From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- api/alltypes/index.html | 358 ++- api/index-outline.html | 2652 ++++++++++++++------ api/index.html | 29 +- api/package-list | 28 +- .../-k-v-service/-init-.html | 14 + .../-k-v-service/index.html | 39 + api/pl.treksoft.kvision.annotations/index.html | 24 + api/pl.treksoft.kvision.chart/-chart/chart.html | 16 - api/pl.treksoft.kvision.chart/-chart/index.html | 124 +- api/pl.treksoft.kvision.chart/chart.html | 16 + api/pl.treksoft.kvision.chart/index.html | 9 + .../-capture-exception/code.html | 14 - .../-capture-exception/index.html | 12 - .../-bs-bg-color/-d-a-n-g-e-r.html | 14 + .../-bs-bg-color/-d-a-r-k.html | 14 + .../-bs-bg-color/-i-n-f-o.html | 14 + .../-bs-bg-color/-l-i-g-h-t.html | 14 + .../-bs-bg-color/-p-r-i-m-a-r-y.html | 14 + .../-bs-bg-color/-s-e-c-o-n-d-a-r-y.html | 14 + .../-bs-bg-color/-s-u-c-c-e-s-s.html | 14 + .../-bs-bg-color/-t-r-a-n-s-p-a-r-e-n-t.html | 14 + .../-bs-bg-color/-w-a-r-n-i-n-g.html | 14 + .../-bs-bg-color/-w-h-i-t-e.html | 14 + .../-bs-bg-color/index.html | 102 + .../-bs-border/-b-o-r-d-e-r-b-o-t-t-o-m.html | 14 + .../-bs-border/-b-o-r-d-e-r-b-o-t-t-o-m_0.html | 14 + .../-bs-border/-b-o-r-d-e-r-d-a-n-g-e-r.html | 14 + .../-bs-border/-b-o-r-d-e-r-d-a-r-k.html | 14 + .../-bs-border/-b-o-r-d-e-r-i-n-f-o.html | 14 + .../-bs-border/-b-o-r-d-e-r-l-e-f-t.html | 14 + .../-bs-border/-b-o-r-d-e-r-l-e-f-t_0.html | 14 + .../-bs-border/-b-o-r-d-e-r-l-i-g-h-t.html | 14 + .../-bs-border/-b-o-r-d-e-r-p-r-i-m-a-r-y.html | 14 + .../-bs-border/-b-o-r-d-e-r-r-i-g-h-t.html | 14 + .../-bs-border/-b-o-r-d-e-r-r-i-g-h-t_0.html | 14 + .../-bs-border/-b-o-r-d-e-r-s-e-c-o-n-d-a-r-y.html | 14 + .../-bs-border/-b-o-r-d-e-r-s-u-c-c-e-s-s.html | 14 + .../-bs-border/-b-o-r-d-e-r-t-o-p.html | 14 + .../-bs-border/-b-o-r-d-e-r-t-o-p_0.html | 14 + .../-bs-border/-b-o-r-d-e-r-w-a-r-n-i-n-g.html | 14 + .../-bs-border/-b-o-r-d-e-r-w-h-i-t-e.html | 14 + .../-bs-border/-b-o-r-d-e-r.html | 14 + .../-bs-border/-b-o-r-d-e-r_0.html | 14 + api/pl.treksoft.kvision.core/-bs-border/index.html | 165 ++ .../-bs-color/-b-l-a-c-k50.html | 14 + .../-bs-color/-b-o-d-y.html | 14 + .../-bs-color/-d-a-n-g-e-r.html | 14 + .../-bs-color/-d-a-r-k.html | 14 + .../-bs-color/-i-n-f-o.html | 14 + .../-bs-color/-l-i-g-h-t.html | 14 + .../-bs-color/-m-u-t-e-d.html | 14 + .../-bs-color/-p-r-i-m-a-r-y.html | 14 + .../-bs-color/-s-e-c-o-n-d-a-r-y.html | 14 + .../-bs-color/-s-u-c-c-e-s-s.html | 14 + .../-bs-color/-w-a-r-n-i-n-g.html | 14 + .../-bs-color/-w-h-i-t-e.html | 14 + .../-bs-color/-w-h-i-t-e50.html | 14 + api/pl.treksoft.kvision.core/-bs-color/index.html | 123 + .../-bs-rounded/-r-o-u-n-d-e-d-b-o-t-t-o-m.html | 14 + .../-bs-rounded/-r-o-u-n-d-e-d-c-i-r-c-l-e.html | 14 + .../-bs-rounded/-r-o-u-n-d-e-d-l-e-f-t.html | 14 + .../-bs-rounded/-r-o-u-n-d-e-d-l-g.html | 14 + .../-bs-rounded/-r-o-u-n-d-e-d-p-i-l-l.html | 14 + .../-bs-rounded/-r-o-u-n-d-e-d-r-i-g-h-t.html | 14 + .../-bs-rounded/-r-o-u-n-d-e-d-s-m.html | 14 + .../-bs-rounded/-r-o-u-n-d-e-d-t-o-p.html | 14 + .../-bs-rounded/-r-o-u-n-d-e-d.html | 14 + .../-bs-rounded/index.html | 95 + api/pl.treksoft.kvision.core/-component/index.html | 70 + api/pl.treksoft.kvision.core/-container/index.html | 735 ++++++ api/pl.treksoft.kvision.core/-style/index.html | 21 +- api/pl.treksoft.kvision.core/-style/style.html | 20 - .../-widget-wrapper/index.html | 776 +++++- .../-widget-wrapper/widget-wrapper.html | 16 - api/pl.treksoft.kvision.core/-widget/index.html | 132 +- .../-widget/set-context-menu.html | 20 - api/pl.treksoft.kvision.core/-widget/tabindex.html | 21 + api/pl.treksoft.kvision.core/-widget/widget.html | 16 - api/pl.treksoft.kvision.core/add-bs-bg-color.html | 14 + api/pl.treksoft.kvision.core/add-bs-border.html | 14 + api/pl.treksoft.kvision.core/add-bs-clearfix.html | 14 + api/pl.treksoft.kvision.core/add-bs-color.html | 14 + api/pl.treksoft.kvision.core/add-bs-rounded.html | 14 + api/pl.treksoft.kvision.core/index.html | 127 + .../remove-bs-bg-color.html | 14 + api/pl.treksoft.kvision.core/remove-bs-border.html | 14 + .../remove-bs-clearfix.html | 14 + api/pl.treksoft.kvision.core/remove-bs-color.html | 14 + .../remove-bs-rounded.html | 14 + api/pl.treksoft.kvision.core/style.html | 20 + api/pl.treksoft.kvision.core/widget-wrapper.html | 16 + api/pl.treksoft.kvision.core/widget.html | 16 + .../-data-container/data-container.html | 20 - .../-data-container/index.html | 784 +++++- api/pl.treksoft.kvision.data/data-container.html | 20 + api/pl.treksoft.kvision.data/index.html | 16 + .../-context-menu/context-menu.html | 16 - .../-context-menu/index.html | 834 +++++- .../-direction/-d-r-o-p-d-o-w-n.html | 14 + .../-direction/-d-r-o-p-l-e-f-t.html | 14 + .../-direction/-d-r-o-p-r-i-g-h-t.html | 14 + .../-direction/-d-r-o-p-u-p.html | 14 + .../-direction/index.html | 61 + .../-drop-down/-init-.html | 10 +- .../-drop-down/direction.html | 21 + .../-drop-down/drop-down.html | 16 - .../-drop-down/dropup.html | 21 - .../-drop-down/for-drop-down.html | 15 + .../-drop-down/index.html | 847 ++++++- .../-drop-down/render.html | 18 - .../-header/header.html | 18 - .../-header/index.html | 773 +++++- .../-separator/index.html | 758 +++++- .../-separator/separator.html | 18 - .../cm-link-disabled.html | 16 + api/pl.treksoft.kvision.dropdown/cm-link.html | 16 + api/pl.treksoft.kvision.dropdown/context-menu.html | 16 + .../dd-link-disabled.html | 16 + api/pl.treksoft.kvision.dropdown/dd-link.html | 16 + api/pl.treksoft.kvision.dropdown/drop-down.html | 16 + api/pl.treksoft.kvision.dropdown/header.html | 18 + api/pl.treksoft.kvision.dropdown/index.html | 101 +- api/pl.treksoft.kvision.dropdown/separator.html | 18 + .../set-context-menu.html | 20 + .../-check-box-input/check-box-input.html | 16 - .../-check-box-input/index.html | 108 +- .../-check-box-style/-d-e-f-a-u-l-t.html | 14 - .../-check-box-style/index.html | 7 - .../-check-box/check-box.html | 16 - .../-check-box/index.html | 817 +++++- .../-check-box/invalid-feedback.html | 16 + .../style-for-horizontal-form-panel.html | 16 + .../-check-box/style-for-inline-form-panel.html | 16 + .../-check-box/style-for-vertical-form-panel.html | 16 + .../-check-box/validation-info.html | 16 - .../-check-input/index.html | 124 +- .../-check-input/validation-status.html | 22 + .../-radio-group-input/index.html | 785 +++++- .../-radio-group-input/radio-group-input.html | 16 - .../-radio-group-input/validation-status.html | 16 + .../-radio-group/index.html | 809 +++++- .../-radio-group/invalid-feedback.html | 16 + .../-radio-group/radio-group.html | 16 - .../style-for-horizontal-form-panel.html | 16 + .../-radio-group/validation-info.html | 16 - .../-radio-group/validation-status.html | 16 + .../-radio-group/validator-error.html | 16 + .../-radio-input/index.html | 108 +- .../-radio-input/radio-input.html | 16 - .../-radio-style/-d-e-f-a-u-l-t.html | 14 - .../-radio-style/index.html | 7 - .../-radio/index.html | 817 +++++- .../-radio/invalid-feedback.html | 16 + .../-radio/radio.html | 16 - .../-radio/style-for-horizontal-form-panel.html | 16 + .../-radio/style-for-inline-form-panel.html | 16 + .../-radio/style-for-vertical-form-panel.html | 16 + .../-radio/validation-info.html | 16 - .../check-box-input.html | 16 + api/pl.treksoft.kvision.form.check/check-box.html | 16 + api/pl.treksoft.kvision.form.check/index.html | 59 + .../radio-group-input.html | 16 + .../radio-group.html | 16 + .../radio-input.html | 16 + api/pl.treksoft.kvision.form.check/radio.html | 16 + .../-select-dropdown-align/-a-u-t-o.html | 14 + .../-select-dropdown-align/-l-e-f-t.html | 14 + .../-select-dropdown-align/-r-i-g-h-t.html | 14 + .../-select-dropdown-align/index.html | 54 + .../-select-input/dropdown-align.html | 21 + .../-select-input/index.html | 812 +++++- .../-select-input/select-input.html | 16 - .../-select-input/validation-status.html | 22 + .../-select-opt-group/index.html | 786 +++++- .../-select-opt-group/select-opt-group.html | 18 - .../-select-option/index.html | 119 +- .../-select-option/select-option.html | 20 - .../-select-remote-input/-init-.html | 6 +- .../-select-remote-input/index.html | 802 +++++- .../-select-remote-input/select-remote-input.html | 16 - .../-select-remote/-init-.html | 6 +- .../-select-remote/dropdown-align.html | 15 + .../-select-remote/index.html | 801 +++++- .../-select-remote/invalid-feedback.html | 16 + .../-select-remote/select-remote.html | 16 - .../-select-remote/validation-info.html | 16 - .../-select/dropdown-align.html | 15 + .../-select/index.html | 817 +++++- .../-select/invalid-feedback.html | 16 + .../-select/select.html | 16 - .../-select/validation-info.html | 16 - .../-simple-select-input/index.html | 785 +++++- .../-simple-select-input/simple-select-input.html | 16 - .../-simple-select-input/validation-status.html | 22 + .../-simple-select/index.html | 790 +++++- .../-simple-select/invalid-feedback.html | 16 + .../-simple-select/simple-select.html | 16 - .../-simple-select/validation-info.html | 16 - api/pl.treksoft.kvision.form.select/index.html | 84 + .../select-input.html | 16 + .../select-opt-group.html | 18 + .../select-option.html | 20 + .../select-remote-input.html | 16 + .../select-remote.html | 16 + api/pl.treksoft.kvision.form.select/select.html | 16 + .../simple-select-input.html | 16 + .../simple-select.html | 16 + .../-spinner-input/-init-.html | 6 +- .../-spinner-input/button-style.html | 21 + .../-spinner-input/buttons-type.html | 10 +- .../-spinner-input/index.html | 141 +- .../-spinner-input/spinner-input.html | 16 - .../-spinner-input/validation-status.html | 22 + .../-spinner/-init-.html | 4 +- .../-spinner/button-style.html | 15 + .../-spinner/buttons-type.html | 4 +- .../-spinner/index.html | 815 +++++- .../-spinner/invalid-feedback.html | 16 + .../-spinner/spinner.html | 16 - .../-spinner/style-for-horizontal-form-panel.html | 16 + .../-spinner/validation-info.html | 16 - .../-spinner/validator-error.html | 16 + api/pl.treksoft.kvision.form.spinner/index.html | 23 + .../spinner-input.html | 16 + api/pl.treksoft.kvision.form.spinner/spinner.html | 16 + .../-abstract-text-input/index.html | 124 +- .../-abstract-text-input/validation-status.html | 22 + .../-abstract-text/index.html | 788 +++++- .../-abstract-text/invalid-feedback.html | 16 + .../-abstract-text/validation-info.html | 16 - .../-password/index.html | 764 +++++- .../-password/password.html | 16 - .../-rich-text-input/index.html | 108 +- .../-rich-text-input/rich-text-input.html | 16 - .../-rich-text/index.html | 782 +++++- .../-rich-text/rich-text.html | 16 - .../-text-area-input/index.html | 108 +- .../-text-area-input/text-area-input.html | 16 - .../-text-area/index.html | 782 +++++- .../-text-area/text-area.html | 16 - .../-text-input/index.html | 108 +- .../-text-input/text-input.html | 16 - api/pl.treksoft.kvision.form.text/-text/index.html | 782 +++++- api/pl.treksoft.kvision.form.text/-text/text.html | 16 - api/pl.treksoft.kvision.form.text/index.html | 68 + api/pl.treksoft.kvision.form.text/password.html | 16 + .../rich-text-input.html | 16 + api/pl.treksoft.kvision.form.text/rich-text.html | 16 + .../text-area-input.html | 16 + api/pl.treksoft.kvision.form.text/text-area.html | 16 + api/pl.treksoft.kvision.form.text/text-input.html | 16 + api/pl.treksoft.kvision.form.text/text.html | 16 + .../-date-time-input/autofocus.html | 6 - .../-date-time-input/change-value.html | 14 - .../-date-time-input/clear-btn.html | 21 - .../-date-time-input/date-time-input.html | 16 - .../-date-time-input/disabled-dates.html | 21 + .../-date-time-input/disabled.html | 6 - .../-date-time-input/enabled-dates.html | 21 + .../-date-time-input/get-sn-attrs.html | 18 - .../-date-time-input/ignore-readonly.html | 21 + .../-date-time-input/index.html | 884 +++++-- .../-date-time-input/max-date.html | 21 + .../-date-time-input/min-date.html | 21 + .../-date-time-input/minute-step.html | 21 - .../-date-time-input/name.html | 6 - .../-date-time-input/placeholder.html | 6 - .../-date-time-input/readonly.html | 6 - .../-date-time-input/refresh-state.html | 14 - .../-date-time-input/render.html | 18 - .../-date-time-input/show-clear.html | 21 + .../-date-time-input/show-close.html | 21 + .../-date-time-input/show-meridian.html | 21 - .../-date-time-input/show-today-button.html | 21 + .../-date-time-input/side-by-side.html | 21 + .../-date-time-input/size.html | 6 - .../-date-time-input/stepping.html | 21 + .../-date-time-input/today-btn.html | 21 - .../-date-time-input/today-highlight.html | 21 - .../-date-time-input/toggle-popup.html | 15 + .../-date-time-input/validation-status.html | 16 + .../-date-time-input/value.html | 6 - .../-date-time-input/week-start.html | 21 - .../-date-time/clear-btn.html | 15 - .../-date-time/date-time.html | 16 - .../-date-time/disabled-dates.html | 15 + .../-date-time/enabled-dates.html | 15 + .../-date-time/ignore-readonly.html | 15 + .../-date-time/index.html | 869 ++++++- .../-date-time/invalid-feedback.html | 16 + .../-date-time/max-date.html | 15 + .../-date-time/min-date.html | 15 + .../-date-time/minute-step.html | 15 - .../-date-time/show-clear.html | 15 + .../-date-time/show-close.html | 15 + .../-date-time/show-meridian.html | 15 - .../-date-time/show-today-button.html | 15 + .../-date-time/side-by-side.html | 15 + .../-date-time/stepping.html | 15 + .../-date-time/today-btn.html | 15 - .../-date-time/today-highlight.html | 15 - .../-date-time/toggle-popup.html | 15 + .../-date-time/validation-info.html | 16 - .../-date-time/week-start.html | 15 - .../date-time-input.html | 16 + api/pl.treksoft.kvision.form.time/date-time.html | 16 + api/pl.treksoft.kvision.form.time/index.html | 25 +- .../-upload-input/get-content.html | 24 - .../-upload-input/index.html | 124 +- .../-upload-input/upload-input.html | 16 - .../-upload-input/validation-status.html | 22 + .../-upload/index.html | 790 +++++- .../-upload/invalid-feedback.html | 16 + .../-upload/upload.html | 4 - .../-upload/validation-info.html | 16 - .../get-content.html | 24 + api/pl.treksoft.kvision.form.upload/index.html | 33 + .../upload-input.html | 16 + api/pl.treksoft.kvision.form.upload/upload.html | 16 + .../-bool-form-control/index.html | 112 +- .../-date-form-control/index.html | 112 +- .../-field-label/field-label.html | 16 - .../-field-label/index.html | 772 +++++- .../-form-control/index.html | 112 +- .../-form-control/invalid-feedback.html | 15 + .../style-for-horizontal-form-panel.html | 15 + .../-form-control/style-for-inline-form-panel.html | 15 + .../style-for-vertical-form-panel.html | 15 + .../-form-control/validation-info.html | 15 - .../-form-control/validation-status.html | 15 + .../-form-input/index.html | 81 +- .../-form-input/validation-status.html | 15 + .../-form-panel/-init-.html | 6 +- .../-form-panel/condensed.html | 21 + .../-form-panel/create.html | 4 +- .../-form-panel/form-panel.html | 16 - .../-form-panel/index.html | 801 +++++- api/pl.treksoft.kvision.form/-form/index.html | 9 + .../-help-block/-init-.html | 21 - .../-help-block/index.html | 139 - .../-help-text/-init-.html | 21 + api/pl.treksoft.kvision.form/-help-text/index.html | 901 +++++++ .../-invalid-feedback/-init-.html | 21 + .../-invalid-feedback/index.html | 901 +++++++ .../-k-files-form-control/index.html | 112 +- .../-number-form-control/index.html | 112 +- .../-string-form-control/index.html | 112 +- .../-validation-status/-i-n-v-a-l-i-d.html | 26 + .../-validation-status/-v-a-l-i-d.html | 26 + .../-validation-status/class-name.html | 14 + .../-validation-status/index.html | 59 + api/pl.treksoft.kvision.form/field-label.html | 16 + api/pl.treksoft.kvision.form/form-panel.html | 16 + api/pl.treksoft.kvision.form/index.html | 47 +- .../-application-base/dispose.html | 17 - .../-application-base/index.html | 52 - .../-application-base/start.html | 18 - api/pl.treksoft.kvision.hmr/-hot/accept.html | 18 - api/pl.treksoft.kvision.hmr/-hot/data.html | 14 - api/pl.treksoft.kvision.hmr/-hot/dispose.html | 14 - api/pl.treksoft.kvision.hmr/-hot/index.html | 61 - api/pl.treksoft.kvision.hmr/-module/hot.html | 14 - api/pl.treksoft.kvision.hmr/-module/index.html | 40 - api/pl.treksoft.kvision.hmr/index.html | 59 - api/pl.treksoft.kvision.hmr/module.html | 15 - api/pl.treksoft.kvision.html/-bold/-init-.html | 27 + api/pl.treksoft.kvision.html/-bold/index.html | 901 +++++++ .../-button-size/-x-s-m-a-l-l.html | 14 - .../-button-size/index.html | 7 - .../-button-style/-d-a-r-k.html | 26 + .../-button-style/-d-e-f-a-u-l-t.html | 26 - .../-button-style/-l-i-g-h-t.html | 26 + .../-button-style/-o-u-t-l-i-n-e-d-a-n-g-e-r.html | 26 + .../-button-style/-o-u-t-l-i-n-e-d-a-r-k.html | 26 + .../-button-style/-o-u-t-l-i-n-e-i-n-f-o.html | 26 + .../-button-style/-o-u-t-l-i-n-e-l-i-g-h-t.html | 26 + .../-o-u-t-l-i-n-e-p-r-i-m-a-r-y.html | 26 + .../-o-u-t-l-i-n-e-s-e-c-o-n-d-a-r-y.html | 26 + .../-o-u-t-l-i-n-e-s-u-c-c-e-s-s.html | 26 + .../-o-u-t-l-i-n-e-w-a-r-n-i-n-g.html | 26 + .../-button-style/-s-e-c-o-n-d-a-r-y.html | 26 + .../-button-style/index.html | 78 +- api/pl.treksoft.kvision.html/-button/-init-.html | 2 +- api/pl.treksoft.kvision.html/-button/button.html | 16 - api/pl.treksoft.kvision.html/-button/index.html | 119 +- api/pl.treksoft.kvision.html/-canvas/canvas.html | 16 - api/pl.treksoft.kvision.html/-canvas/index.html | 117 +- api/pl.treksoft.kvision.html/-div/div.html | 16 - api/pl.treksoft.kvision.html/-div/index.html | 804 +++++- api/pl.treksoft.kvision.html/-footer/footer.html | 16 - api/pl.treksoft.kvision.html/-footer/index.html | 772 +++++- api/pl.treksoft.kvision.html/-h1/h1.html | 16 - api/pl.treksoft.kvision.html/-h1/index.html | 772 +++++- api/pl.treksoft.kvision.html/-h2/h2.html | 16 - api/pl.treksoft.kvision.html/-h2/index.html | 772 +++++- api/pl.treksoft.kvision.html/-h3/h3.html | 16 - api/pl.treksoft.kvision.html/-h3/index.html | 772 +++++- api/pl.treksoft.kvision.html/-h4/h4.html | 16 - api/pl.treksoft.kvision.html/-h4/index.html | 772 +++++- api/pl.treksoft.kvision.html/-h5/h5.html | 16 - api/pl.treksoft.kvision.html/-h5/index.html | 772 +++++- api/pl.treksoft.kvision.html/-h6/h6.html | 16 - api/pl.treksoft.kvision.html/-h6/index.html | 772 +++++- api/pl.treksoft.kvision.html/-header/header.html | 16 - api/pl.treksoft.kvision.html/-header/index.html | 772 +++++- api/pl.treksoft.kvision.html/-icon/icon.html | 4 - api/pl.treksoft.kvision.html/-icon/index.html | 772 +++++- api/pl.treksoft.kvision.html/-iframe/iframe.html | 16 - api/pl.treksoft.kvision.html/-iframe/index.html | 117 +- api/pl.treksoft.kvision.html/-image/image.html | 16 - api/pl.treksoft.kvision.html/-image/index.html | 117 +- api/pl.treksoft.kvision.html/-label/-init-.html | 21 - api/pl.treksoft.kvision.html/-label/index.html | 66 - api/pl.treksoft.kvision.html/-label/label.html | 18 - api/pl.treksoft.kvision.html/-link/index.html | 774 +++++- .../-link/link-disabled.html | 18 - api/pl.treksoft.kvision.html/-link/link.html | 16 - api/pl.treksoft.kvision.html/-list-tag/index.html | 778 +++++- .../-list-tag/list-tag.html | 16 - api/pl.treksoft.kvision.html/-p/index.html | 772 +++++- api/pl.treksoft.kvision.html/-p/p.html | 16 - api/pl.treksoft.kvision.html/-section/index.html | 772 +++++- api/pl.treksoft.kvision.html/-section/section.html | 16 - api/pl.treksoft.kvision.html/-span/index.html | 774 +++++- api/pl.treksoft.kvision.html/-span/span.html | 16 - .../-t-a-g/-f-i-g-c-a-p-t-i-o-n.html | 14 + .../-t-a-g/-f-i-g-u-r-e.html | 14 + api/pl.treksoft.kvision.html/-t-a-g/-n-a-v.html | 14 + .../-t-a-g/-p-i-c-t-u-r-e.html | 14 + .../-t-a-g/-s-o-u-r-c-e.html | 14 + .../-t-a-g/-t-a-b-l-e.html | 14 + api/pl.treksoft.kvision.html/-t-a-g/index.html | 42 + api/pl.treksoft.kvision.html/-tag/index.html | 905 ++++++- api/pl.treksoft.kvision.html/-tag/tag.html | 16 - api/pl.treksoft.kvision.html/bold.html | 16 + api/pl.treksoft.kvision.html/button.html | 16 + api/pl.treksoft.kvision.html/canvas.html | 16 + api/pl.treksoft.kvision.html/div.html | 16 + api/pl.treksoft.kvision.html/footer.html | 16 + api/pl.treksoft.kvision.html/h1.html | 16 + api/pl.treksoft.kvision.html/h2.html | 16 + api/pl.treksoft.kvision.html/h3.html | 16 + api/pl.treksoft.kvision.html/h4.html | 16 + api/pl.treksoft.kvision.html/h5.html | 16 + api/pl.treksoft.kvision.html/h6.html | 16 + api/pl.treksoft.kvision.html/header.html | 16 + api/pl.treksoft.kvision.html/icon.html | 16 + api/pl.treksoft.kvision.html/iframe.html | 16 + api/pl.treksoft.kvision.html/image.html | 16 + api/pl.treksoft.kvision.html/index.html | 207 +- api/pl.treksoft.kvision.html/link.html | 16 + api/pl.treksoft.kvision.html/list-tag.html | 16 + api/pl.treksoft.kvision.html/p.html | 16 + api/pl.treksoft.kvision.html/section.html | 16 + api/pl.treksoft.kvision.html/span.html | 16 + api/pl.treksoft.kvision.html/tag.html | 16 + api/pl.treksoft.kvision.modal/-alert/index.html | 771 +++++- .../-close-icon/index.html | 115 +- api/pl.treksoft.kvision.modal/-confirm/index.html | 771 +++++- api/pl.treksoft.kvision.modal/-dialog/index.html | 771 +++++- .../-modal-size/-x-l-a-r-g-e.html | 26 + .../-modal-size/index.html | 7 + .../-modal/get-sn-attrs.html | 18 - api/pl.treksoft.kvision.modal/-modal/index.html | 783 +++++- .../-nav-form/index.html | 772 +++++- .../-nav-form/nav-form.html | 16 - api/pl.treksoft.kvision.navbar/-nav/index.html | 794 +++++- api/pl.treksoft.kvision.navbar/-nav/nav.html | 16 - .../-navbar-color/-d-a-r-k.html | 14 + .../-navbar-color/-l-i-g-h-t.html | 14 + .../-navbar-color/index.html | 47 + .../-navbar-expand/-a-l-w-a-y-s.html | 14 + .../-navbar-expand/-l-g.html | 14 + .../-navbar-expand/-m-d.html | 14 + .../-navbar-expand/-s-m.html | 14 + .../-navbar-expand/-x-l.html | 14 + .../-navbar-expand/index.html | 68 + .../-navbar-type/-s-t-a-t-i-c-t-o-p.html | 14 - .../-navbar-type/-s-t-i-c-k-y-t-o-p.html | 14 + .../-navbar-type/index.html | 2 +- api/pl.treksoft.kvision.navbar/-navbar/-init-.html | 12 +- .../-navbar/bg-color.html | 21 + api/pl.treksoft.kvision.navbar/-navbar/expand.html | 21 + api/pl.treksoft.kvision.navbar/-navbar/index.html | 827 +++++- .../-navbar/inverted.html | 21 - .../-navbar/n-color.html | 21 + api/pl.treksoft.kvision.navbar/-navbar/navbar.html | 16 - api/pl.treksoft.kvision.navbar/index.html | 77 +- api/pl.treksoft.kvision.navbar/nav-form.html | 16 + .../nav-link-disabled.html | 16 + api/pl.treksoft.kvision.navbar/nav-link.html | 16 + api/pl.treksoft.kvision.navbar/nav-text.html | 14 + api/pl.treksoft.kvision.navbar/nav.html | 16 + api/pl.treksoft.kvision.navbar/navbar.html | 16 + .../-pace-options/-init-.html | 4 +- .../-pace-options/index.html | 2 +- api/pl.treksoft.kvision.pace/-pace/hide.html | 14 + api/pl.treksoft.kvision.pace/-pace/index.html | 14 + api/pl.treksoft.kvision.pace/-pace/show.html | 14 + .../-dock-panel/dock-panel.html | 16 - .../-dock-panel/index.html | 776 +++++- .../-flex-panel/flex-panel.html | 16 - .../-flex-panel/index.html | 776 +++++- .../-grid-panel/grid-panel.html | 16 - .../-grid-panel/index.html | 776 +++++- api/pl.treksoft.kvision.panel/-grid-size/-x-l.html | 14 + api/pl.treksoft.kvision.panel/-grid-size/-x-s.html | 14 - .../-grid-size/index.html | 8 +- .../-grid-wrapper/index.html | 762 ++++++ .../-h-panel/h-panel.html | 16 - api/pl.treksoft.kvision.panel/-h-panel/index.html | 764 +++++- .../-responsive-grid-panel/index.html | 776 +++++- .../responsive-grid-panel.html | 16 - api/pl.treksoft.kvision.panel/-root/-init-.html | 16 +- .../-root/add-context-menu.html | 14 + api/pl.treksoft.kvision.panel/-root/index.html | 784 +++++- .../-simple-panel/children.html | 14 + .../-simple-panel/index.html | 837 +++++- .../-simple-panel/simple-panel.html | 16 - .../-split-panel/index.html | 776 +++++- .../-split-panel/split-panel.html | 16 - .../-stack-panel/index.html | 776 +++++- .../-stack-panel/stack-panel.html | 16 - .../-tab-panel/index.html | 776 +++++- .../-tab-panel/tab-panel.html | 16 - api/pl.treksoft.kvision.panel/-v-panel/index.html | 764 +++++- .../-v-panel/v-panel.html | 16 - api/pl.treksoft.kvision.panel/dock-panel.html | 16 + api/pl.treksoft.kvision.panel/flex-panel.html | 16 + api/pl.treksoft.kvision.panel/grid-panel.html | 16 + api/pl.treksoft.kvision.panel/h-panel.html | 16 + api/pl.treksoft.kvision.panel/index.html | 106 + .../responsive-grid-panel.html | 16 + api/pl.treksoft.kvision.panel/root.html | 38 + api/pl.treksoft.kvision.panel/simple-panel.html | 16 + api/pl.treksoft.kvision.panel/split-panel.html | 16 + api/pl.treksoft.kvision.panel/stack-panel.html | 16 + api/pl.treksoft.kvision.panel/tab-panel.html | 16 + api/pl.treksoft.kvision.panel/v-panel.html | 16 + .../-progress-bar/index.html | 776 +++++- .../-progress-bar/progress-bar.html | 16 - api/pl.treksoft.kvision.progress/index.html | 14 + api/pl.treksoft.kvision.progress/progress-bar.html | 16 + .../-redux-store/get-state.html | 1 - .../-redux-store/index.html | 10 +- .../-redux-store/subscribe.html | 5 +- .../-state-binding/-init-.html | 30 - .../-state-binding/index.html | 551 ---- .../-state-binding/state-binding.html | 16 - .../-state-binding/state-update.html | 16 - .../-state-binding/update.html | 15 - .../-updateable/-init-.html | 15 - .../-updateable/index.html | 54 - .../-updateable/update-with.html | 14 - api/pl.treksoft.kvision.redux/index.html | 20 +- .../-dummy-web-socket-session/-init-.html | 14 - .../-dummy-web-socket-session/close.html | 16 - .../get-accepted-protocol.html | 14 - .../-dummy-web-socket-session/get-attributes.html | 14 - .../get-binary-message-size-limit.html | 14 - .../-dummy-web-socket-session/get-extensions.html | 14 - .../get-handshake-headers.html | 14 - .../-dummy-web-socket-session/get-id.html | 14 - .../get-local-address.html | 14 - .../-dummy-web-socket-session/get-principal.html | 14 - .../get-remote-address.html | 14 - .../get-text-message-size-limit.html | 14 - .../-dummy-web-socket-session/get-uri.html | 14 - .../-dummy-web-socket-session/index.html | 157 -- .../-dummy-web-socket-session/is-open.html | 14 - .../-dummy-web-socket-session/send-message.html | 14 - .../set-binary-message-size-limit.html | 14 - .../set-text-message-size-limit.html | 14 - api/pl.treksoft.kvision.remote/-id.html | 13 + .../-k-v-controller/-init-.html | 15 - .../-k-v-controller/application-context.html | 14 - .../-k-v-controller/index.html | 73 - .../-k-v-controller/k-v-mapping.html | 14 - .../-k-v-controller/services.html | 14 - .../-k-v-handler/-init-.html | 14 + .../-k-v-handler/application-context.html | 14 + .../-k-v-handler/handle.html | 14 + .../-k-v-handler/index.html | 70 + .../-k-v-handler/services.html | 14 + .../-k-v-router-configuration/-init-.html | 14 + .../-k-v-router-configuration/index-router.html | 14 + .../-k-v-router-configuration/index.html | 58 + .../-k-v-router-configuration/kv-routes.html | 14 + .../-k-v-service-manager/bind-select-remote.html | 18 + .../bind-tabulator-remote.html | 18 + .../-k-v-service-manager/bind.html | 12 - .../-k-v-service-manager/index.html | 22 +- .../-k-v-web-socket-config/-init-.html | 5 +- .../application-context.html | 14 - .../-k-v-web-socket-config/handler-adapter.html | 14 + .../-k-v-web-socket-config/handler-mapping.html | 14 + .../-k-v-web-socket-config/index.html | 46 +- .../register-web-socket-handlers.html | 14 - .../-k-v-web-socket-config/route-interceptor.html | 14 - .../-k-v-web-socket-config/services.html | 14 - .../-k-v-web-socket-config/socket-handler.html | 14 - .../-k-v-web-socket-config/web-socket-session.html | 14 - .../-k-v-web-socket-handler/-init-.html | 14 + .../-k-v-web-socket-handler/handle.html | 14 + .../-k-v-web-socket-handler/index.html | 51 + .../-k-v_-r-o-u-t-e_-i-d_-a-t-t-r-i-b-u-t-e.html | 14 - .../-profile/-profile/get-authorities.html | 14 + .../-profile/-profile/get-password.html | 14 + .../-profile/-profile/get-username.html | 14 + .../-profile/-profile/index.html | 68 + .../-profile/-profile/is-account-non-expired.html | 14 + .../-profile/-profile/is-account-non-locked.html | 14 + .../-profile/is-credentials-non-expired.html | 14 + .../-profile/-profile/is-enabled.html | 14 + .../-profile/-profile/set-password.html | 14 + .../-profile/-profile/set-username.html | 14 + api/pl.treksoft.kvision.remote/-profile/index.html | 68 + api/pl.treksoft.kvision.remote/-transient.html | 13 + .../-web-socket-session-holder/index.html | 39 - .../web-socket-session.html | 14 - .../-with-principal/index.html | 39 + .../-with-principal/principal.html | 14 + .../-with-profile/index.html | 39 + .../-with-profile/profile.html | 14 + .../-with-request/index.html | 39 + .../-with-request/server-request.html | 14 + .../-with-web-session/index.html | 39 + .../-with-web-session/web-session.html | 14 + .../-with-web-socket-session/index.html | 39 + .../web-socket-session.html | 14 + .../add-path-patterns-from-services.html | 15 - .../get-server-web-exchange-matcher.html | 15 + api/pl.treksoft.kvision.remote/index.html | 107 +- .../service-matchers.html | 17 + api/pl.treksoft.kvision.remote/with-profile.html | 4 +- .../-observable-list-wrapper/-init-.html | 15 + .../-observable-list-wrapper/add-all.html | 16 + .../-observable-list-wrapper/add.html | 16 + .../-observable-list-wrapper/clear.html | 14 + .../-observable-list-wrapper/contains-all.html | 14 + .../-observable-list-wrapper/contains.html | 14 + .../-observable-list-wrapper/get.html | 14 + .../-observable-list-wrapper/index-of.html | 14 + .../-observable-list-wrapper/index.html | 213 ++ .../-observable-list-wrapper/is-empty.html | 14 + .../-observable-list-wrapper/iterator.html | 14 + .../-observable-list-wrapper/last-index-of.html | 14 + .../-observable-list-wrapper/list-iterator.html | 16 + .../-observable-list-wrapper/mutable-list.html | 14 + .../-observable-list-wrapper/on-update.html | 15 + .../-observable-list-wrapper/remove-all.html | 14 + .../-observable-list-wrapper/remove-at.html | 14 + .../-observable-list-wrapper/remove.html | 14 + .../-observable-list-wrapper/retain-all.html | 14 + .../-observable-list-wrapper/set.html | 14 + .../-observable-list-wrapper/size.html | 14 + .../-observable-list-wrapper/sub-list.html | 14 + .../-observable-list-wrapper/subscribe.html | 16 + .../-observable-list/index.html | 77 + .../-observable-list/on-update.html | 14 + .../-observable-state/index.html | 74 + .../-observable-state/subscribe.html | 15 + .../-state-binding/-init-.html | 28 + .../-state-binding/index.html | 625 +++++ .../-state-binding/update.html | 15 + .../-updateable/-init-.html | 15 + .../-updateable/index.html | 54 + .../-updateable/update-with.html | 14 + api/pl.treksoft.kvision.state/index.html | 94 + .../observable-list-of.html | 15 + api/pl.treksoft.kvision.state/state-binding.html | 16 + api/pl.treksoft.kvision.state/state-update.html | 16 + api/pl.treksoft.kvision.table/-cell/cell.html | 16 - api/pl.treksoft.kvision.table/-cell/index.html | 772 +++++- .../-header-cell/-init-.html | 4 +- .../-header-cell/header-cell.html | 16 - .../-header-cell/index.html | 774 +++++- .../-responsive-type/-r-e-s-p-o-n-s-i-v-e-l-g.html | 26 + .../-responsive-type/-r-e-s-p-o-n-s-i-v-e-m-d.html | 26 + .../-responsive-type/-r-e-s-p-o-n-s-i-v-e-s-m.html | 26 + .../-responsive-type/-r-e-s-p-o-n-s-i-v-e-x-l.html | 26 + .../-responsive-type/-r-e-s-p-o-n-s-i-v-e.html | 26 + .../-responsive-type/index.html | 80 + .../-responsive-type/type.html | 14 + api/pl.treksoft.kvision.table/-row/index.html | 799 +++++- api/pl.treksoft.kvision.table/-row/row.html | 16 - api/pl.treksoft.kvision.table/-scope/-c-o-l.html | 14 + api/pl.treksoft.kvision.table/-scope/-r-o-w.html | 14 + api/pl.treksoft.kvision.table/-scope/index.html | 46 + .../-table-type/-b-o-r-d-e-r-l-e-s-s.html | 26 + .../-table-type/-c-o-n-d-e-n-s-e-d.html | 26 - .../-table-type/-d-a-r-k.html | 26 + .../-table-type/-s-m-a-l-l.html | 26 + .../-table-type/index.html | 16 +- api/pl.treksoft.kvision.table/-table/-init-.html | 8 +- api/pl.treksoft.kvision.table/-table/index.html | 791 +++++- .../-table/responsive-type.html | 21 + .../-table/responsive.html | 21 - api/pl.treksoft.kvision.table/-table/table.html | 16 - .../-thead-type/-d-a-r-k.html | 14 + .../-thead-type/-l-i-g-h-t.html | 14 + .../-thead-type/index.html | 47 + api/pl.treksoft.kvision.table/cell.html | 16 + api/pl.treksoft.kvision.table/header-cell.html | 16 + api/pl.treksoft.kvision.table/index.html | 75 + api/pl.treksoft.kvision.table/row.html | 16 + api/pl.treksoft.kvision.table/table.html | 16 + api/pl.treksoft.kvision.table/thcell.html | 16 + .../-tabulator-remote/-init-.html | 4 +- .../-tabulator-remote/index.html | 101 +- .../-tabulator-remote/tabulator-remote.html | 16 - .../-tabulator/index.html | 126 +- .../-tabulator/tabulator.html | 25 - api/pl.treksoft.kvision.tabulator/index.html | 24 + .../tabulator-remote.html | 16 + api/pl.treksoft.kvision.tabulator/tabulator.html | 25 + .../-button-group-size/-x-s-m-a-l-l.html | 14 - .../-button-group-size/index.html | 7 - .../-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 | 47 - .../-button-group/-init-.html | 8 +- .../-button-group/button-group.html | 16 - .../-button-group/index.html | 784 +++++- .../-button-group/style.html | 21 - .../-button-group/vertical.html | 21 + .../-toolbar/-init-.html | 10 +- .../-toolbar/index.html | 812 +++++- api/pl.treksoft.kvision.toolbar/-toolbar/size.html | 15 + .../-toolbar/spacing.html | 15 + .../-toolbar/toolbar.html | 16 - .../-toolbar/vertical.html | 15 + api/pl.treksoft.kvision.toolbar/button-group.html | 20 + api/pl.treksoft.kvision.toolbar/index.html | 28 +- api/pl.treksoft.kvision.toolbar/toolbar.html | 16 + api/pl.treksoft.kvision.types/-date/-date.html | 9 +- api/pl.treksoft.kvision.types/-date/index.html | 7 +- .../-json-date-serializer/descriptor.html | 14 - .../-json-date-serializer/deserialize.html | 14 - .../-json-date-serializer/index.html | 59 - .../-json-date-serializer/serialize.html | 14 - .../-local-date-deserializer/-init-.html | 14 + .../-local-date-deserializer/deserialize.html | 14 + .../-local-date-deserializer/index.html | 51 + .../-local-date-serializer/-init-.html | 14 + .../-local-date-serializer/index.html | 51 + .../-local-date-serializer/serialize.html | 14 + .../-local-date-time-deserializer/-init-.html | 14 + .../-local-date-time-deserializer/deserialize.html | 14 + .../-local-date-time-deserializer/index.html | 51 + .../-local-date-time-serializer/-init-.html | 14 + .../-local-date-time-serializer/index.html | 51 + .../-local-date-time-serializer/serialize.html | 14 + .../-local-date-time/-local-date-time.html | 16 + .../-local-date-time/index.html | 13 + .../-local-date/-local-date.html | 16 + .../-local-date/index.html | 13 + .../-local-time-deserializer/-init-.html | 14 + .../-local-time-deserializer/deserialize.html | 14 + .../-local-time-deserializer/index.html | 51 + .../-local-time-serializer/-init-.html | 14 + .../-local-time-serializer/index.html | 51 + .../-local-time-serializer/serialize.html | 14 + .../-local-time/-local-time.html | 16 + .../-local-time/index.html | 13 + .../-offset-date-time-deserializer/-init-.html | 14 + .../deserialize.html | 14 + .../-offset-date-time-deserializer/index.html | 51 + .../-offset-date-time-serializer/-init-.html | 14 + .../-offset-date-time-serializer/index.html | 51 + .../-offset-date-time-serializer/serialize.html | 14 + .../-offset-date-time/-offset-date-time.html | 16 + .../-offset-date-time/index.html | 13 + .../-offset-time-deserializer/-init-.html | 14 + .../-offset-time-deserializer/deserialize.html | 14 + .../-offset-time-deserializer/index.html | 51 + .../-offset-time-serializer/-init-.html | 14 + .../-offset-time-serializer/index.html | 51 + .../-offset-time-serializer/serialize.html | 14 + .../-offset-time/-offset-time.html | 16 + .../-offset-time/index.html | 13 + api/pl.treksoft.kvision.types/index.html | 182 +- .../java.time.-local-date-time/index.html | 23 + .../java.time.-local-date-time/to-string-f.html | 14 + .../java.time.-local-date/index.html | 23 + .../java.time.-local-date/to-string-f.html | 14 + .../java.time.-local-time/index.html | 23 + .../java.time.-local-time/to-string-f.html | 14 + .../java.time.-offset-date-time/index.html | 23 + .../java.time.-offset-date-time/to-string-f.html | 14 + .../java.time.-offset-time/index.html | 23 + .../java.time.-offset-time/to-string-f.html | 14 + .../kotlin.-string/index.html | 32 +- .../kotlin.-string/to-date-f.html | 11 +- .../kotlin.-string/to-date-time-f.html | 14 + .../kotlin.-string/to-offset-date-time-f.html | 14 + .../kotlin.-string/to-offset-time-f.html | 14 + .../kotlin.-string/to-time-f.html | 14 + .../kotlin.js.-date/index.html | 4 +- .../kotlin.js.-date/to-string-f.html | 8 +- .../-observable-list-wrapper/-init-.html | 15 - .../-observable-list-wrapper/add-all.html | 16 - .../-observable-list-wrapper/add.html | 16 - .../-observable-list-wrapper/clear.html | 14 - .../-observable-list-wrapper/contains-all.html | 14 - .../-observable-list-wrapper/contains.html | 14 - .../-observable-list-wrapper/get.html | 14 - .../-observable-list-wrapper/index-of.html | 14 - .../-observable-list-wrapper/index.html | 204 -- .../-observable-list-wrapper/is-empty.html | 14 - .../-observable-list-wrapper/iterator.html | 14 - .../-observable-list-wrapper/last-index-of.html | 14 - .../-observable-list-wrapper/list-iterator.html | 16 - .../-observable-list-wrapper/mutable-list.html | 14 - .../-observable-list-wrapper/on-update.html | 15 - .../-observable-list-wrapper/remove-all.html | 14 - .../-observable-list-wrapper/remove-at.html | 14 - .../-observable-list-wrapper/remove.html | 14 - .../-observable-list-wrapper/retain-all.html | 14 - .../-observable-list-wrapper/set.html | 14 - .../-observable-list-wrapper/size.html | 14 - .../-observable-list-wrapper/sub-list.html | 14 - .../-observable-list/index.html | 63 - .../-observable-list/on-update.html | 14 - api/pl.treksoft.kvision.utils/index.html | 27 - .../observable-list-of.html | 15 - .../-maximize-icon/index.html | 115 +- .../-minimize-icon/index.html | 115 +- api/pl.treksoft.kvision.window/-window/index.html | 776 +++++- api/pl.treksoft.kvision.window/-window/window.html | 16 - api/pl.treksoft.kvision.window/index.html | 14 + api/pl.treksoft.kvision.window/window.html | 16 + api/pl.treksoft.kvision/-application/-init-.html | 15 + api/pl.treksoft.kvision/-application/dispose.html | 17 + api/pl.treksoft.kvision/-application/index.html | 78 + api/pl.treksoft.kvision/-application/start.html | 21 + api/pl.treksoft.kvision/-hot/accept.html | 18 + api/pl.treksoft.kvision/-hot/data.html | 14 + api/pl.treksoft.kvision/-hot/dispose.html | 14 + api/pl.treksoft.kvision/-hot/index.html | 61 + api/pl.treksoft.kvision/-k-v-manager.html | 28 + api/pl.treksoft.kvision/-module/hot.html | 14 + api/pl.treksoft.kvision/-module/index.html | 40 + api/pl.treksoft.kvision/index.html | 81 + api/pl.treksoft.kvision/module.html | 15 + api/pl.treksoft.kvision/start-application.html | 15 + 846 files changed, 75162 insertions(+), 7583 deletions(-) create mode 100644 api/pl.treksoft.kvision.annotations/-k-v-service/-init-.html create mode 100644 api/pl.treksoft.kvision.annotations/-k-v-service/index.html create mode 100644 api/pl.treksoft.kvision.annotations/index.html delete mode 100644 api/pl.treksoft.kvision.chart/-chart/chart.html create mode 100644 api/pl.treksoft.kvision.chart/chart.html delete mode 100644 api/pl.treksoft.kvision.cordova/-capture-exception/code.html create mode 100644 api/pl.treksoft.kvision.core/-bs-bg-color/-d-a-n-g-e-r.html create mode 100644 api/pl.treksoft.kvision.core/-bs-bg-color/-d-a-r-k.html create mode 100644 api/pl.treksoft.kvision.core/-bs-bg-color/-i-n-f-o.html create mode 100644 api/pl.treksoft.kvision.core/-bs-bg-color/-l-i-g-h-t.html create mode 100644 api/pl.treksoft.kvision.core/-bs-bg-color/-p-r-i-m-a-r-y.html create mode 100644 api/pl.treksoft.kvision.core/-bs-bg-color/-s-e-c-o-n-d-a-r-y.html create mode 100644 api/pl.treksoft.kvision.core/-bs-bg-color/-s-u-c-c-e-s-s.html create mode 100644 api/pl.treksoft.kvision.core/-bs-bg-color/-t-r-a-n-s-p-a-r-e-n-t.html create mode 100644 api/pl.treksoft.kvision.core/-bs-bg-color/-w-a-r-n-i-n-g.html create mode 100644 api/pl.treksoft.kvision.core/-bs-bg-color/-w-h-i-t-e.html create mode 100644 api/pl.treksoft.kvision.core/-bs-bg-color/index.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-b-o-t-t-o-m.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-b-o-t-t-o-m_0.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-d-a-n-g-e-r.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-d-a-r-k.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-i-n-f-o.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-l-e-f-t.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-l-e-f-t_0.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-l-i-g-h-t.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-p-r-i-m-a-r-y.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-r-i-g-h-t.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-r-i-g-h-t_0.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-s-e-c-o-n-d-a-r-y.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-s-u-c-c-e-s-s.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-t-o-p.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-t-o-p_0.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-w-a-r-n-i-n-g.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-w-h-i-t-e.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r_0.html create mode 100644 api/pl.treksoft.kvision.core/-bs-border/index.html create mode 100644 api/pl.treksoft.kvision.core/-bs-color/-b-l-a-c-k50.html create mode 100644 api/pl.treksoft.kvision.core/-bs-color/-b-o-d-y.html create mode 100644 api/pl.treksoft.kvision.core/-bs-color/-d-a-n-g-e-r.html create mode 100644 api/pl.treksoft.kvision.core/-bs-color/-d-a-r-k.html create mode 100644 api/pl.treksoft.kvision.core/-bs-color/-i-n-f-o.html create mode 100644 api/pl.treksoft.kvision.core/-bs-color/-l-i-g-h-t.html create mode 100644 api/pl.treksoft.kvision.core/-bs-color/-m-u-t-e-d.html create mode 100644 api/pl.treksoft.kvision.core/-bs-color/-p-r-i-m-a-r-y.html create mode 100644 api/pl.treksoft.kvision.core/-bs-color/-s-e-c-o-n-d-a-r-y.html create mode 100644 api/pl.treksoft.kvision.core/-bs-color/-s-u-c-c-e-s-s.html create mode 100644 api/pl.treksoft.kvision.core/-bs-color/-w-a-r-n-i-n-g.html create mode 100644 api/pl.treksoft.kvision.core/-bs-color/-w-h-i-t-e.html create mode 100644 api/pl.treksoft.kvision.core/-bs-color/-w-h-i-t-e50.html create mode 100644 api/pl.treksoft.kvision.core/-bs-color/index.html create mode 100644 api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-b-o-t-t-o-m.html create mode 100644 api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-c-i-r-c-l-e.html create mode 100644 api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-l-e-f-t.html create mode 100644 api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-l-g.html create mode 100644 api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-p-i-l-l.html create mode 100644 api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-r-i-g-h-t.html create mode 100644 api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-s-m.html create mode 100644 api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-t-o-p.html create mode 100644 api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d.html create mode 100644 api/pl.treksoft.kvision.core/-bs-rounded/index.html delete mode 100644 api/pl.treksoft.kvision.core/-style/style.html delete mode 100644 api/pl.treksoft.kvision.core/-widget-wrapper/widget-wrapper.html delete mode 100644 api/pl.treksoft.kvision.core/-widget/set-context-menu.html create mode 100644 api/pl.treksoft.kvision.core/-widget/tabindex.html delete mode 100644 api/pl.treksoft.kvision.core/-widget/widget.html create mode 100644 api/pl.treksoft.kvision.core/add-bs-bg-color.html create mode 100644 api/pl.treksoft.kvision.core/add-bs-border.html create mode 100644 api/pl.treksoft.kvision.core/add-bs-clearfix.html create mode 100644 api/pl.treksoft.kvision.core/add-bs-color.html create mode 100644 api/pl.treksoft.kvision.core/add-bs-rounded.html create mode 100644 api/pl.treksoft.kvision.core/remove-bs-bg-color.html create mode 100644 api/pl.treksoft.kvision.core/remove-bs-border.html create mode 100644 api/pl.treksoft.kvision.core/remove-bs-clearfix.html create mode 100644 api/pl.treksoft.kvision.core/remove-bs-color.html create mode 100644 api/pl.treksoft.kvision.core/remove-bs-rounded.html create mode 100644 api/pl.treksoft.kvision.core/style.html create mode 100644 api/pl.treksoft.kvision.core/widget-wrapper.html create mode 100644 api/pl.treksoft.kvision.core/widget.html delete mode 100644 api/pl.treksoft.kvision.data/-data-container/data-container.html create mode 100644 api/pl.treksoft.kvision.data/data-container.html delete mode 100644 api/pl.treksoft.kvision.dropdown/-context-menu/context-menu.html create mode 100644 api/pl.treksoft.kvision.dropdown/-direction/-d-r-o-p-d-o-w-n.html create mode 100644 api/pl.treksoft.kvision.dropdown/-direction/-d-r-o-p-l-e-f-t.html create mode 100644 api/pl.treksoft.kvision.dropdown/-direction/-d-r-o-p-r-i-g-h-t.html create mode 100644 api/pl.treksoft.kvision.dropdown/-direction/-d-r-o-p-u-p.html create mode 100644 api/pl.treksoft.kvision.dropdown/-direction/index.html create mode 100644 api/pl.treksoft.kvision.dropdown/-drop-down/direction.html delete mode 100644 api/pl.treksoft.kvision.dropdown/-drop-down/drop-down.html delete mode 100644 api/pl.treksoft.kvision.dropdown/-drop-down/dropup.html create mode 100644 api/pl.treksoft.kvision.dropdown/-drop-down/for-drop-down.html delete mode 100644 api/pl.treksoft.kvision.dropdown/-drop-down/render.html delete mode 100644 api/pl.treksoft.kvision.dropdown/-header/header.html delete mode 100644 api/pl.treksoft.kvision.dropdown/-separator/separator.html create mode 100644 api/pl.treksoft.kvision.dropdown/cm-link-disabled.html create mode 100644 api/pl.treksoft.kvision.dropdown/cm-link.html create mode 100644 api/pl.treksoft.kvision.dropdown/context-menu.html create mode 100644 api/pl.treksoft.kvision.dropdown/dd-link-disabled.html create mode 100644 api/pl.treksoft.kvision.dropdown/dd-link.html create mode 100644 api/pl.treksoft.kvision.dropdown/drop-down.html create mode 100644 api/pl.treksoft.kvision.dropdown/header.html create mode 100644 api/pl.treksoft.kvision.dropdown/separator.html create mode 100644 api/pl.treksoft.kvision.dropdown/set-context-menu.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box-input/check-box-input.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box-style/-d-e-f-a-u-l-t.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/check-box.html create mode 100644 api/pl.treksoft.kvision.form.check/-check-box/invalid-feedback.html create mode 100644 api/pl.treksoft.kvision.form.check/-check-box/style-for-horizontal-form-panel.html create mode 100644 api/pl.treksoft.kvision.form.check/-check-box/style-for-inline-form-panel.html create mode 100644 api/pl.treksoft.kvision.form.check/-check-box/style-for-vertical-form-panel.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/validation-info.html create mode 100644 api/pl.treksoft.kvision.form.check/-check-input/validation-status.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group-input/radio-group-input.html create mode 100644 api/pl.treksoft.kvision.form.check/-radio-group-input/validation-status.html create mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/invalid-feedback.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/radio-group.html create mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/style-for-horizontal-form-panel.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/validation-info.html create mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/validation-status.html create mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/validator-error.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-input/radio-input.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-style/-d-e-f-a-u-l-t.html create mode 100644 api/pl.treksoft.kvision.form.check/-radio/invalid-feedback.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/radio.html create mode 100644 api/pl.treksoft.kvision.form.check/-radio/style-for-horizontal-form-panel.html create mode 100644 api/pl.treksoft.kvision.form.check/-radio/style-for-inline-form-panel.html create mode 100644 api/pl.treksoft.kvision.form.check/-radio/style-for-vertical-form-panel.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/validation-info.html create mode 100644 api/pl.treksoft.kvision.form.check/check-box-input.html create mode 100644 api/pl.treksoft.kvision.form.check/check-box.html create mode 100644 api/pl.treksoft.kvision.form.check/radio-group-input.html create mode 100644 api/pl.treksoft.kvision.form.check/radio-group.html create mode 100644 api/pl.treksoft.kvision.form.check/radio-input.html create mode 100644 api/pl.treksoft.kvision.form.check/radio.html create mode 100644 api/pl.treksoft.kvision.form.select/-select-dropdown-align/-a-u-t-o.html create mode 100644 api/pl.treksoft.kvision.form.select/-select-dropdown-align/-l-e-f-t.html create mode 100644 api/pl.treksoft.kvision.form.select/-select-dropdown-align/-r-i-g-h-t.html create mode 100644 api/pl.treksoft.kvision.form.select/-select-dropdown-align/index.html create mode 100644 api/pl.treksoft.kvision.form.select/-select-input/dropdown-align.html delete mode 100644 api/pl.treksoft.kvision.form.select/-select-input/select-input.html create mode 100644 api/pl.treksoft.kvision.form.select/-select-input/validation-status.html delete mode 100644 api/pl.treksoft.kvision.form.select/-select-opt-group/select-opt-group.html delete mode 100644 api/pl.treksoft.kvision.form.select/-select-option/select-option.html delete mode 100644 api/pl.treksoft.kvision.form.select/-select-remote-input/select-remote-input.html create mode 100644 api/pl.treksoft.kvision.form.select/-select-remote/dropdown-align.html create mode 100644 api/pl.treksoft.kvision.form.select/-select-remote/invalid-feedback.html delete mode 100644 api/pl.treksoft.kvision.form.select/-select-remote/select-remote.html delete mode 100644 api/pl.treksoft.kvision.form.select/-select-remote/validation-info.html create mode 100644 api/pl.treksoft.kvision.form.select/-select/dropdown-align.html create mode 100644 api/pl.treksoft.kvision.form.select/-select/invalid-feedback.html delete mode 100644 api/pl.treksoft.kvision.form.select/-select/select.html delete mode 100644 api/pl.treksoft.kvision.form.select/-select/validation-info.html delete mode 100644 api/pl.treksoft.kvision.form.select/-simple-select-input/simple-select-input.html create mode 100644 api/pl.treksoft.kvision.form.select/-simple-select-input/validation-status.html create mode 100644 api/pl.treksoft.kvision.form.select/-simple-select/invalid-feedback.html delete mode 100644 api/pl.treksoft.kvision.form.select/-simple-select/simple-select.html delete mode 100644 api/pl.treksoft.kvision.form.select/-simple-select/validation-info.html create mode 100644 api/pl.treksoft.kvision.form.select/select-input.html create mode 100644 api/pl.treksoft.kvision.form.select/select-opt-group.html create mode 100644 api/pl.treksoft.kvision.form.select/select-option.html create mode 100644 api/pl.treksoft.kvision.form.select/select-remote-input.html create mode 100644 api/pl.treksoft.kvision.form.select/select-remote.html create mode 100644 api/pl.treksoft.kvision.form.select/select.html create mode 100644 api/pl.treksoft.kvision.form.select/simple-select-input.html create mode 100644 api/pl.treksoft.kvision.form.select/simple-select.html create mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner-input/button-style.html delete mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner-input/spinner-input.html create mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner-input/validation-status.html create mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner/button-style.html create mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner/invalid-feedback.html delete mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner/spinner.html create mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner/style-for-horizontal-form-panel.html delete mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner/validation-info.html create mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner/validator-error.html create mode 100644 api/pl.treksoft.kvision.form.spinner/spinner-input.html create mode 100644 api/pl.treksoft.kvision.form.spinner/spinner.html create mode 100644 api/pl.treksoft.kvision.form.text/-abstract-text-input/validation-status.html create mode 100644 api/pl.treksoft.kvision.form.text/-abstract-text/invalid-feedback.html delete mode 100644 api/pl.treksoft.kvision.form.text/-abstract-text/validation-info.html delete mode 100644 api/pl.treksoft.kvision.form.text/-password/password.html delete mode 100644 api/pl.treksoft.kvision.form.text/-rich-text-input/rich-text-input.html delete mode 100644 api/pl.treksoft.kvision.form.text/-rich-text/rich-text.html delete mode 100644 api/pl.treksoft.kvision.form.text/-text-area-input/text-area-input.html delete mode 100644 api/pl.treksoft.kvision.form.text/-text-area/text-area.html delete mode 100644 api/pl.treksoft.kvision.form.text/-text-input/text-input.html delete mode 100644 api/pl.treksoft.kvision.form.text/-text/text.html create mode 100644 api/pl.treksoft.kvision.form.text/password.html create mode 100644 api/pl.treksoft.kvision.form.text/rich-text-input.html create mode 100644 api/pl.treksoft.kvision.form.text/rich-text.html create mode 100644 api/pl.treksoft.kvision.form.text/text-area-input.html create mode 100644 api/pl.treksoft.kvision.form.text/text-area.html create mode 100644 api/pl.treksoft.kvision.form.text/text-input.html create mode 100644 api/pl.treksoft.kvision.form.text/text.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/change-value.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/clear-btn.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/date-time-input.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/disabled-dates.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/enabled-dates.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/get-sn-attrs.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/ignore-readonly.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/max-date.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/min-date.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/minute-step.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/refresh-state.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/render.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/show-clear.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/show-close.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/show-meridian.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/show-today-button.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/side-by-side.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/stepping.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/today-btn.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/today-highlight.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/toggle-popup.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/validation-status.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/week-start.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time/clear-btn.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time/date-time.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/disabled-dates.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/enabled-dates.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/ignore-readonly.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/invalid-feedback.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/max-date.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/min-date.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time/minute-step.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/show-clear.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/show-close.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time/show-meridian.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/show-today-button.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/side-by-side.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/stepping.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time/today-btn.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time/today-highlight.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/toggle-popup.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time/validation-info.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time/week-start.html create mode 100644 api/pl.treksoft.kvision.form.time/date-time-input.html create mode 100644 api/pl.treksoft.kvision.form.time/date-time.html delete mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/get-content.html delete mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/upload-input.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/validation-status.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/invalid-feedback.html delete mode 100644 api/pl.treksoft.kvision.form.upload/-upload/validation-info.html create mode 100644 api/pl.treksoft.kvision.form.upload/get-content.html create mode 100644 api/pl.treksoft.kvision.form.upload/upload-input.html create mode 100644 api/pl.treksoft.kvision.form.upload/upload.html delete mode 100644 api/pl.treksoft.kvision.form/-field-label/field-label.html create mode 100644 api/pl.treksoft.kvision.form/-form-control/invalid-feedback.html create mode 100644 api/pl.treksoft.kvision.form/-form-control/style-for-horizontal-form-panel.html create mode 100644 api/pl.treksoft.kvision.form/-form-control/style-for-inline-form-panel.html create mode 100644 api/pl.treksoft.kvision.form/-form-control/style-for-vertical-form-panel.html delete mode 100644 api/pl.treksoft.kvision.form/-form-control/validation-info.html create mode 100644 api/pl.treksoft.kvision.form/-form-control/validation-status.html create mode 100644 api/pl.treksoft.kvision.form/-form-input/validation-status.html create mode 100644 api/pl.treksoft.kvision.form/-form-panel/condensed.html delete mode 100644 api/pl.treksoft.kvision.form/-form-panel/form-panel.html delete mode 100644 api/pl.treksoft.kvision.form/-help-block/-init-.html delete mode 100644 api/pl.treksoft.kvision.form/-help-block/index.html create mode 100644 api/pl.treksoft.kvision.form/-help-text/-init-.html create mode 100644 api/pl.treksoft.kvision.form/-help-text/index.html create mode 100644 api/pl.treksoft.kvision.form/-invalid-feedback/-init-.html create mode 100644 api/pl.treksoft.kvision.form/-invalid-feedback/index.html create mode 100644 api/pl.treksoft.kvision.form/-validation-status/-i-n-v-a-l-i-d.html create mode 100644 api/pl.treksoft.kvision.form/-validation-status/-v-a-l-i-d.html create mode 100644 api/pl.treksoft.kvision.form/-validation-status/class-name.html create mode 100644 api/pl.treksoft.kvision.form/-validation-status/index.html create mode 100644 api/pl.treksoft.kvision.form/field-label.html create mode 100644 api/pl.treksoft.kvision.form/form-panel.html delete mode 100644 api/pl.treksoft.kvision.hmr/-application-base/dispose.html delete mode 100644 api/pl.treksoft.kvision.hmr/-application-base/index.html delete mode 100644 api/pl.treksoft.kvision.hmr/-application-base/start.html delete mode 100644 api/pl.treksoft.kvision.hmr/-hot/accept.html delete mode 100644 api/pl.treksoft.kvision.hmr/-hot/data.html delete mode 100644 api/pl.treksoft.kvision.hmr/-hot/dispose.html delete mode 100644 api/pl.treksoft.kvision.hmr/-hot/index.html delete mode 100644 api/pl.treksoft.kvision.hmr/-module/hot.html delete mode 100644 api/pl.treksoft.kvision.hmr/-module/index.html delete mode 100644 api/pl.treksoft.kvision.hmr/index.html delete mode 100644 api/pl.treksoft.kvision.hmr/module.html create mode 100644 api/pl.treksoft.kvision.html/-bold/-init-.html create mode 100644 api/pl.treksoft.kvision.html/-bold/index.html delete mode 100644 api/pl.treksoft.kvision.html/-button-size/-x-s-m-a-l-l.html create mode 100644 api/pl.treksoft.kvision.html/-button-style/-d-a-r-k.html delete mode 100644 api/pl.treksoft.kvision.html/-button-style/-d-e-f-a-u-l-t.html create mode 100644 api/pl.treksoft.kvision.html/-button-style/-l-i-g-h-t.html create mode 100644 api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-d-a-n-g-e-r.html create mode 100644 api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-d-a-r-k.html create mode 100644 api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-i-n-f-o.html create mode 100644 api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-l-i-g-h-t.html create mode 100644 api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-p-r-i-m-a-r-y.html create mode 100644 api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-s-e-c-o-n-d-a-r-y.html create mode 100644 api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-s-u-c-c-e-s-s.html create mode 100644 api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-w-a-r-n-i-n-g.html create mode 100644 api/pl.treksoft.kvision.html/-button-style/-s-e-c-o-n-d-a-r-y.html delete mode 100644 api/pl.treksoft.kvision.html/-button/button.html delete mode 100644 api/pl.treksoft.kvision.html/-canvas/canvas.html delete mode 100644 api/pl.treksoft.kvision.html/-div/div.html delete mode 100644 api/pl.treksoft.kvision.html/-footer/footer.html delete mode 100644 api/pl.treksoft.kvision.html/-h1/h1.html delete mode 100644 api/pl.treksoft.kvision.html/-h2/h2.html delete mode 100644 api/pl.treksoft.kvision.html/-h3/h3.html delete mode 100644 api/pl.treksoft.kvision.html/-h4/h4.html delete mode 100644 api/pl.treksoft.kvision.html/-h5/h5.html delete mode 100644 api/pl.treksoft.kvision.html/-h6/h6.html delete mode 100644 api/pl.treksoft.kvision.html/-header/header.html delete mode 100644 api/pl.treksoft.kvision.html/-iframe/iframe.html delete mode 100644 api/pl.treksoft.kvision.html/-image/image.html delete mode 100644 api/pl.treksoft.kvision.html/-label/-init-.html delete mode 100644 api/pl.treksoft.kvision.html/-label/index.html delete mode 100644 api/pl.treksoft.kvision.html/-label/label.html delete mode 100644 api/pl.treksoft.kvision.html/-link/link-disabled.html delete mode 100644 api/pl.treksoft.kvision.html/-link/link.html delete mode 100644 api/pl.treksoft.kvision.html/-list-tag/list-tag.html delete mode 100644 api/pl.treksoft.kvision.html/-p/p.html delete mode 100644 api/pl.treksoft.kvision.html/-section/section.html delete mode 100644 api/pl.treksoft.kvision.html/-span/span.html create mode 100644 api/pl.treksoft.kvision.html/-t-a-g/-f-i-g-c-a-p-t-i-o-n.html create mode 100644 api/pl.treksoft.kvision.html/-t-a-g/-f-i-g-u-r-e.html create mode 100644 api/pl.treksoft.kvision.html/-t-a-g/-n-a-v.html create mode 100644 api/pl.treksoft.kvision.html/-t-a-g/-p-i-c-t-u-r-e.html create mode 100644 api/pl.treksoft.kvision.html/-t-a-g/-s-o-u-r-c-e.html create mode 100644 api/pl.treksoft.kvision.html/-t-a-g/-t-a-b-l-e.html delete mode 100644 api/pl.treksoft.kvision.html/-tag/tag.html create mode 100644 api/pl.treksoft.kvision.html/bold.html create mode 100644 api/pl.treksoft.kvision.html/button.html create mode 100644 api/pl.treksoft.kvision.html/canvas.html create mode 100644 api/pl.treksoft.kvision.html/div.html create mode 100644 api/pl.treksoft.kvision.html/footer.html create mode 100644 api/pl.treksoft.kvision.html/h1.html create mode 100644 api/pl.treksoft.kvision.html/h2.html create mode 100644 api/pl.treksoft.kvision.html/h3.html create mode 100644 api/pl.treksoft.kvision.html/h4.html create mode 100644 api/pl.treksoft.kvision.html/h5.html create mode 100644 api/pl.treksoft.kvision.html/h6.html create mode 100644 api/pl.treksoft.kvision.html/header.html create mode 100644 api/pl.treksoft.kvision.html/icon.html create mode 100644 api/pl.treksoft.kvision.html/iframe.html create mode 100644 api/pl.treksoft.kvision.html/image.html create mode 100644 api/pl.treksoft.kvision.html/link.html create mode 100644 api/pl.treksoft.kvision.html/list-tag.html create mode 100644 api/pl.treksoft.kvision.html/p.html create mode 100644 api/pl.treksoft.kvision.html/section.html create mode 100644 api/pl.treksoft.kvision.html/span.html create mode 100644 api/pl.treksoft.kvision.html/tag.html create mode 100644 api/pl.treksoft.kvision.modal/-modal-size/-x-l-a-r-g-e.html delete mode 100644 api/pl.treksoft.kvision.modal/-modal/get-sn-attrs.html delete mode 100644 api/pl.treksoft.kvision.navbar/-nav-form/nav-form.html delete mode 100644 api/pl.treksoft.kvision.navbar/-nav/nav.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar-color/-d-a-r-k.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar-color/-l-i-g-h-t.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar-color/index.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar-expand/-a-l-w-a-y-s.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar-expand/-l-g.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar-expand/-m-d.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar-expand/-s-m.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar-expand/-x-l.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar-expand/index.html delete 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/-s-t-i-c-k-y-t-o-p.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar/bg-color.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar/expand.html delete mode 100644 api/pl.treksoft.kvision.navbar/-navbar/inverted.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar/n-color.html delete mode 100644 api/pl.treksoft.kvision.navbar/-navbar/navbar.html create mode 100644 api/pl.treksoft.kvision.navbar/nav-form.html create mode 100644 api/pl.treksoft.kvision.navbar/nav-link-disabled.html create mode 100644 api/pl.treksoft.kvision.navbar/nav-link.html create mode 100644 api/pl.treksoft.kvision.navbar/nav-text.html create mode 100644 api/pl.treksoft.kvision.navbar/nav.html create mode 100644 api/pl.treksoft.kvision.navbar/navbar.html create mode 100644 api/pl.treksoft.kvision.pace/-pace/hide.html create mode 100644 api/pl.treksoft.kvision.pace/-pace/show.html delete mode 100644 api/pl.treksoft.kvision.panel/-dock-panel/dock-panel.html delete mode 100644 api/pl.treksoft.kvision.panel/-flex-panel/flex-panel.html delete mode 100644 api/pl.treksoft.kvision.panel/-grid-panel/grid-panel.html create mode 100644 api/pl.treksoft.kvision.panel/-grid-size/-x-l.html delete mode 100644 api/pl.treksoft.kvision.panel/-grid-size/-x-s.html delete mode 100644 api/pl.treksoft.kvision.panel/-h-panel/h-panel.html delete mode 100644 api/pl.treksoft.kvision.panel/-responsive-grid-panel/responsive-grid-panel.html create mode 100644 api/pl.treksoft.kvision.panel/-root/add-context-menu.html create mode 100644 api/pl.treksoft.kvision.panel/-simple-panel/children.html delete mode 100644 api/pl.treksoft.kvision.panel/-simple-panel/simple-panel.html delete mode 100644 api/pl.treksoft.kvision.panel/-split-panel/split-panel.html delete mode 100644 api/pl.treksoft.kvision.panel/-stack-panel/stack-panel.html delete mode 100644 api/pl.treksoft.kvision.panel/-tab-panel/tab-panel.html delete mode 100644 api/pl.treksoft.kvision.panel/-v-panel/v-panel.html create mode 100644 api/pl.treksoft.kvision.panel/dock-panel.html create mode 100644 api/pl.treksoft.kvision.panel/flex-panel.html create mode 100644 api/pl.treksoft.kvision.panel/grid-panel.html create mode 100644 api/pl.treksoft.kvision.panel/h-panel.html create mode 100644 api/pl.treksoft.kvision.panel/responsive-grid-panel.html create mode 100644 api/pl.treksoft.kvision.panel/root.html create mode 100644 api/pl.treksoft.kvision.panel/simple-panel.html create mode 100644 api/pl.treksoft.kvision.panel/split-panel.html create mode 100644 api/pl.treksoft.kvision.panel/stack-panel.html create mode 100644 api/pl.treksoft.kvision.panel/tab-panel.html create mode 100644 api/pl.treksoft.kvision.panel/v-panel.html delete mode 100644 api/pl.treksoft.kvision.progress/-progress-bar/progress-bar.html create mode 100644 api/pl.treksoft.kvision.progress/progress-bar.html delete mode 100644 api/pl.treksoft.kvision.redux/-state-binding/-init-.html delete mode 100644 api/pl.treksoft.kvision.redux/-state-binding/index.html delete mode 100644 api/pl.treksoft.kvision.redux/-state-binding/state-binding.html delete mode 100644 api/pl.treksoft.kvision.redux/-state-binding/state-update.html delete mode 100644 api/pl.treksoft.kvision.redux/-state-binding/update.html delete mode 100644 api/pl.treksoft.kvision.redux/-updateable/-init-.html delete mode 100644 api/pl.treksoft.kvision.redux/-updateable/index.html delete mode 100644 api/pl.treksoft.kvision.redux/-updateable/update-with.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/-init-.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/close.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-accepted-protocol.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-attributes.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-binary-message-size-limit.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-extensions.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-handshake-headers.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-id.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-local-address.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-principal.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-remote-address.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-text-message-size-limit.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-uri.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/is-open.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/send-message.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/set-binary-message-size-limit.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/set-text-message-size-limit.html create mode 100644 api/pl.treksoft.kvision.remote/-id.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v-controller/-init-.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v-controller/application-context.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v-controller/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v-controller/k-v-mapping.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v-controller/services.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-handler/-init-.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-handler/application-context.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-handler/handle.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-handler/index.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-handler/services.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-router-configuration/-init-.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-router-configuration/index-router.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-router-configuration/index.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-router-configuration/kv-routes.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/bind-select-remote.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/bind-tabulator-remote.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v-web-socket-config/application-context.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-web-socket-config/handler-adapter.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-web-socket-config/handler-mapping.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v-web-socket-config/register-web-socket-handlers.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v-web-socket-config/route-interceptor.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v-web-socket-config/services.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v-web-socket-config/socket-handler.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v-web-socket-config/web-socket-session.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-web-socket-handler/-init-.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-web-socket-handler/handle.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-web-socket-handler/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v_-r-o-u-t-e_-i-d_-a-t-t-r-i-b-u-t-e.html create mode 100644 api/pl.treksoft.kvision.remote/-profile/-profile/get-authorities.html create mode 100644 api/pl.treksoft.kvision.remote/-profile/-profile/get-password.html create mode 100644 api/pl.treksoft.kvision.remote/-profile/-profile/get-username.html create mode 100644 api/pl.treksoft.kvision.remote/-profile/-profile/is-account-non-expired.html create mode 100644 api/pl.treksoft.kvision.remote/-profile/-profile/is-account-non-locked.html create mode 100644 api/pl.treksoft.kvision.remote/-profile/-profile/is-credentials-non-expired.html create mode 100644 api/pl.treksoft.kvision.remote/-profile/-profile/is-enabled.html create mode 100644 api/pl.treksoft.kvision.remote/-profile/-profile/set-password.html create mode 100644 api/pl.treksoft.kvision.remote/-profile/-profile/set-username.html create mode 100644 api/pl.treksoft.kvision.remote/-transient.html delete mode 100644 api/pl.treksoft.kvision.remote/-web-socket-session-holder/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-web-socket-session-holder/web-socket-session.html create mode 100644 api/pl.treksoft.kvision.remote/-with-principal/index.html create mode 100644 api/pl.treksoft.kvision.remote/-with-principal/principal.html create mode 100644 api/pl.treksoft.kvision.remote/-with-profile/index.html create mode 100644 api/pl.treksoft.kvision.remote/-with-profile/profile.html create mode 100644 api/pl.treksoft.kvision.remote/-with-request/index.html create mode 100644 api/pl.treksoft.kvision.remote/-with-request/server-request.html create mode 100644 api/pl.treksoft.kvision.remote/-with-web-session/index.html create mode 100644 api/pl.treksoft.kvision.remote/-with-web-session/web-session.html create mode 100644 api/pl.treksoft.kvision.remote/-with-web-socket-session/index.html create mode 100644 api/pl.treksoft.kvision.remote/-with-web-socket-session/web-socket-session.html delete mode 100644 api/pl.treksoft.kvision.remote/add-path-patterns-from-services.html create mode 100644 api/pl.treksoft.kvision.remote/get-server-web-exchange-matcher.html create mode 100644 api/pl.treksoft.kvision.remote/service-matchers.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/-init-.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/add-all.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/add.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/clear.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/contains-all.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/contains.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/get.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/index-of.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/index.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/is-empty.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/iterator.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/last-index-of.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/list-iterator.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/mutable-list.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/on-update.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/remove-all.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/remove-at.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/remove.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/retain-all.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/set.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/size.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/sub-list.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list-wrapper/subscribe.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list/index.html create mode 100644 api/pl.treksoft.kvision.state/-observable-list/on-update.html create mode 100644 api/pl.treksoft.kvision.state/-observable-state/index.html create mode 100644 api/pl.treksoft.kvision.state/-observable-state/subscribe.html create mode 100644 api/pl.treksoft.kvision.state/-state-binding/-init-.html create mode 100644 api/pl.treksoft.kvision.state/-state-binding/index.html create mode 100644 api/pl.treksoft.kvision.state/-state-binding/update.html create mode 100644 api/pl.treksoft.kvision.state/-updateable/-init-.html create mode 100644 api/pl.treksoft.kvision.state/-updateable/index.html create mode 100644 api/pl.treksoft.kvision.state/-updateable/update-with.html create mode 100644 api/pl.treksoft.kvision.state/index.html create mode 100644 api/pl.treksoft.kvision.state/observable-list-of.html create mode 100644 api/pl.treksoft.kvision.state/state-binding.html create mode 100644 api/pl.treksoft.kvision.state/state-update.html delete mode 100644 api/pl.treksoft.kvision.table/-cell/cell.html delete mode 100644 api/pl.treksoft.kvision.table/-header-cell/header-cell.html create mode 100644 api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e-l-g.html create mode 100644 api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e-m-d.html create mode 100644 api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e-s-m.html create mode 100644 api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e-x-l.html create mode 100644 api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e.html create mode 100644 api/pl.treksoft.kvision.table/-responsive-type/index.html create mode 100644 api/pl.treksoft.kvision.table/-responsive-type/type.html delete mode 100644 api/pl.treksoft.kvision.table/-row/row.html create mode 100644 api/pl.treksoft.kvision.table/-scope/-c-o-l.html create mode 100644 api/pl.treksoft.kvision.table/-scope/-r-o-w.html create mode 100644 api/pl.treksoft.kvision.table/-scope/index.html create mode 100644 api/pl.treksoft.kvision.table/-table-type/-b-o-r-d-e-r-l-e-s-s.html delete mode 100644 api/pl.treksoft.kvision.table/-table-type/-c-o-n-d-e-n-s-e-d.html create mode 100644 api/pl.treksoft.kvision.table/-table-type/-d-a-r-k.html create mode 100644 api/pl.treksoft.kvision.table/-table-type/-s-m-a-l-l.html create mode 100644 api/pl.treksoft.kvision.table/-table/responsive-type.html delete mode 100644 api/pl.treksoft.kvision.table/-table/responsive.html delete mode 100644 api/pl.treksoft.kvision.table/-table/table.html create mode 100644 api/pl.treksoft.kvision.table/-thead-type/-d-a-r-k.html create mode 100644 api/pl.treksoft.kvision.table/-thead-type/-l-i-g-h-t.html create mode 100644 api/pl.treksoft.kvision.table/-thead-type/index.html create mode 100644 api/pl.treksoft.kvision.table/cell.html create mode 100644 api/pl.treksoft.kvision.table/header-cell.html create mode 100644 api/pl.treksoft.kvision.table/row.html create mode 100644 api/pl.treksoft.kvision.table/table.html create mode 100644 api/pl.treksoft.kvision.table/thcell.html delete mode 100644 api/pl.treksoft.kvision.tabulator/-tabulator-remote/tabulator-remote.html delete mode 100644 api/pl.treksoft.kvision.tabulator/-tabulator/tabulator.html create mode 100644 api/pl.treksoft.kvision.tabulator/tabulator-remote.html create mode 100644 api/pl.treksoft.kvision.tabulator/tabulator.html delete mode 100644 api/pl.treksoft.kvision.toolbar/-button-group-size/-x-s-m-a-l-l.html delete mode 100644 api/pl.treksoft.kvision.toolbar/-button-group-style/-j-u-s-t-i-f-i-e-d.html delete mode 100644 api/pl.treksoft.kvision.toolbar/-button-group-style/-v-e-r-t-i-c-a-l.html delete mode 100644 api/pl.treksoft.kvision.toolbar/-button-group-style/index.html delete mode 100644 api/pl.treksoft.kvision.toolbar/-button-group/button-group.html delete mode 100644 api/pl.treksoft.kvision.toolbar/-button-group/style.html create mode 100644 api/pl.treksoft.kvision.toolbar/-button-group/vertical.html create mode 100644 api/pl.treksoft.kvision.toolbar/-toolbar/size.html create mode 100644 api/pl.treksoft.kvision.toolbar/-toolbar/spacing.html delete mode 100644 api/pl.treksoft.kvision.toolbar/-toolbar/toolbar.html create mode 100644 api/pl.treksoft.kvision.toolbar/-toolbar/vertical.html create mode 100644 api/pl.treksoft.kvision.toolbar/button-group.html create mode 100644 api/pl.treksoft.kvision.toolbar/toolbar.html delete mode 100644 api/pl.treksoft.kvision.types/-json-date-serializer/descriptor.html delete mode 100644 api/pl.treksoft.kvision.types/-json-date-serializer/deserialize.html delete mode 100644 api/pl.treksoft.kvision.types/-json-date-serializer/index.html delete mode 100644 api/pl.treksoft.kvision.types/-json-date-serializer/serialize.html create mode 100644 api/pl.treksoft.kvision.types/-local-date-deserializer/-init-.html create mode 100644 api/pl.treksoft.kvision.types/-local-date-deserializer/deserialize.html create mode 100644 api/pl.treksoft.kvision.types/-local-date-deserializer/index.html create mode 100644 api/pl.treksoft.kvision.types/-local-date-serializer/-init-.html create mode 100644 api/pl.treksoft.kvision.types/-local-date-serializer/index.html create mode 100644 api/pl.treksoft.kvision.types/-local-date-serializer/serialize.html create mode 100644 api/pl.treksoft.kvision.types/-local-date-time-deserializer/-init-.html create mode 100644 api/pl.treksoft.kvision.types/-local-date-time-deserializer/deserialize.html create mode 100644 api/pl.treksoft.kvision.types/-local-date-time-deserializer/index.html create mode 100644 api/pl.treksoft.kvision.types/-local-date-time-serializer/-init-.html create mode 100644 api/pl.treksoft.kvision.types/-local-date-time-serializer/index.html create mode 100644 api/pl.treksoft.kvision.types/-local-date-time-serializer/serialize.html create mode 100644 api/pl.treksoft.kvision.types/-local-date-time/-local-date-time.html create mode 100644 api/pl.treksoft.kvision.types/-local-date-time/index.html create mode 100644 api/pl.treksoft.kvision.types/-local-date/-local-date.html create mode 100644 api/pl.treksoft.kvision.types/-local-date/index.html create mode 100644 api/pl.treksoft.kvision.types/-local-time-deserializer/-init-.html create mode 100644 api/pl.treksoft.kvision.types/-local-time-deserializer/deserialize.html create mode 100644 api/pl.treksoft.kvision.types/-local-time-deserializer/index.html create mode 100644 api/pl.treksoft.kvision.types/-local-time-serializer/-init-.html create mode 100644 api/pl.treksoft.kvision.types/-local-time-serializer/index.html create mode 100644 api/pl.treksoft.kvision.types/-local-time-serializer/serialize.html create mode 100644 api/pl.treksoft.kvision.types/-local-time/-local-time.html create mode 100644 api/pl.treksoft.kvision.types/-local-time/index.html create mode 100644 api/pl.treksoft.kvision.types/-offset-date-time-deserializer/-init-.html create mode 100644 api/pl.treksoft.kvision.types/-offset-date-time-deserializer/deserialize.html create mode 100644 api/pl.treksoft.kvision.types/-offset-date-time-deserializer/index.html create mode 100644 api/pl.treksoft.kvision.types/-offset-date-time-serializer/-init-.html create mode 100644 api/pl.treksoft.kvision.types/-offset-date-time-serializer/index.html create mode 100644 api/pl.treksoft.kvision.types/-offset-date-time-serializer/serialize.html create mode 100644 api/pl.treksoft.kvision.types/-offset-date-time/-offset-date-time.html create mode 100644 api/pl.treksoft.kvision.types/-offset-date-time/index.html create mode 100644 api/pl.treksoft.kvision.types/-offset-time-deserializer/-init-.html create mode 100644 api/pl.treksoft.kvision.types/-offset-time-deserializer/deserialize.html create mode 100644 api/pl.treksoft.kvision.types/-offset-time-deserializer/index.html create mode 100644 api/pl.treksoft.kvision.types/-offset-time-serializer/-init-.html create mode 100644 api/pl.treksoft.kvision.types/-offset-time-serializer/index.html create mode 100644 api/pl.treksoft.kvision.types/-offset-time-serializer/serialize.html create mode 100644 api/pl.treksoft.kvision.types/-offset-time/-offset-time.html create mode 100644 api/pl.treksoft.kvision.types/-offset-time/index.html create mode 100644 api/pl.treksoft.kvision.types/java.time.-local-date-time/index.html create mode 100644 api/pl.treksoft.kvision.types/java.time.-local-date-time/to-string-f.html create mode 100644 api/pl.treksoft.kvision.types/java.time.-local-date/index.html create mode 100644 api/pl.treksoft.kvision.types/java.time.-local-date/to-string-f.html create mode 100644 api/pl.treksoft.kvision.types/java.time.-local-time/index.html create mode 100644 api/pl.treksoft.kvision.types/java.time.-local-time/to-string-f.html create mode 100644 api/pl.treksoft.kvision.types/java.time.-offset-date-time/index.html create mode 100644 api/pl.treksoft.kvision.types/java.time.-offset-date-time/to-string-f.html create mode 100644 api/pl.treksoft.kvision.types/java.time.-offset-time/index.html create mode 100644 api/pl.treksoft.kvision.types/java.time.-offset-time/to-string-f.html create mode 100644 api/pl.treksoft.kvision.types/kotlin.-string/to-date-time-f.html create mode 100644 api/pl.treksoft.kvision.types/kotlin.-string/to-offset-date-time-f.html create mode 100644 api/pl.treksoft.kvision.types/kotlin.-string/to-offset-time-f.html create mode 100644 api/pl.treksoft.kvision.types/kotlin.-string/to-time-f.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/-init-.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/add-all.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/add.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/clear.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/contains-all.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/contains.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/get.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/index-of.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/index.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/is-empty.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/iterator.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/last-index-of.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/list-iterator.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/mutable-list.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/on-update.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-all.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-at.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/retain-all.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/set.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/size.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/sub-list.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list/index.html delete mode 100644 api/pl.treksoft.kvision.utils/-observable-list/on-update.html delete mode 100644 api/pl.treksoft.kvision.utils/observable-list-of.html delete mode 100644 api/pl.treksoft.kvision.window/-window/window.html create mode 100644 api/pl.treksoft.kvision.window/window.html create mode 100644 api/pl.treksoft.kvision/-application/-init-.html create mode 100644 api/pl.treksoft.kvision/-application/dispose.html create mode 100644 api/pl.treksoft.kvision/-application/index.html create mode 100644 api/pl.treksoft.kvision/-application/start.html create mode 100644 api/pl.treksoft.kvision/-hot/accept.html create mode 100644 api/pl.treksoft.kvision/-hot/data.html create mode 100644 api/pl.treksoft.kvision/-hot/dispose.html create mode 100644 api/pl.treksoft.kvision/-hot/index.html create mode 100644 api/pl.treksoft.kvision/-k-v-manager.html create mode 100644 api/pl.treksoft.kvision/-module/hot.html create mode 100644 api/pl.treksoft.kvision/-module/index.html create mode 100644 api/pl.treksoft.kvision/index.html create mode 100644 api/pl.treksoft.kvision/module.html create mode 100644 api/pl.treksoft.kvision/start-application.html (limited to 'api') diff --git a/api/alltypes/index.html b/api/alltypes/index.html index e175017a..929c6577 100644 --- a/api/alltypes/index.html +++ b/api/alltypes/index.html @@ -115,9 +115,9 @@ -pl.treksoft.kvision.hmr.ApplicationBase +pl.treksoft.kvision.Application -

Base interface for applications.

+

Base class for KVision applications.

@@ -222,6 +222,13 @@ +pl.treksoft.kvision.html.Bold + +

Simple component rendered as b.

+ + + + pl.treksoft.kvision.form.BoolFormControl

Base interface of a form control with a boolean value.

@@ -280,6 +287,30 @@ +pl.treksoft.kvision.core.BsBgColor + + + + + +pl.treksoft.kvision.core.BsBorder + + + + + +pl.treksoft.kvision.core.BsColor + + + + + +pl.treksoft.kvision.core.BsRounded + + + + + pl.treksoft.kvision.html.Button

Button component.

@@ -301,13 +332,6 @@ -pl.treksoft.kvision.toolbar.ButtonGroupStyle - -

Button group styles.

- - - - pl.treksoft.kvision.html.ButtonSize

Button sizes.

@@ -899,6 +923,13 @@ performance is O(1) and for cache eviction, it is O(1).

+pl.treksoft.kvision.dropdown.Direction + +

Dropdown directions.

+ + + + pl.treksoft.kvision.panel.Direction

Split panel direction.

@@ -942,15 +973,15 @@ performance is O(1) and for cache eviction, it is O(1).

-pl.treksoft.kvision.electron.Display +pl.treksoft.kvision.core.Display +

Definitions of CSS display options.

-pl.treksoft.kvision.core.Display +pl.treksoft.kvision.electron.Display -

Definitions of CSS display options.

@@ -1001,12 +1032,6 @@ performance is O(1) and for cache eviction, it is O(1).

-pl.treksoft.kvision.remote.DummyWebSocketSession - - - - - pl.treksoft.kvision.electron.EditFlags @@ -1113,15 +1138,15 @@ performance is O(1) and for cache eviction, it is O(1).

-pl.treksoft.kvision.cordova.File +org.w3c.files.File (extensions in package pl.treksoft.kvision.utils) -

Main object for Cordova file.

-org.w3c.files.File (extensions in package pl.treksoft.kvision.utils) +pl.treksoft.kvision.cordova.File +

Main object for Cordova file.

@@ -1529,15 +1554,15 @@ performance is O(1) and for cache eviction, it is O(1).

-pl.treksoft.kvision.electron.Header +pl.treksoft.kvision.dropdown.Header +

Menu header component.

-pl.treksoft.kvision.dropdown.Header +pl.treksoft.kvision.electron.Header -

Menu header component.

@@ -1562,14 +1587,14 @@ performance is O(1) and for cache eviction, it is O(1).

-pl.treksoft.kvision.form.HelpBlock +pl.treksoft.kvision.form.HelpText -

Helper class for Bootstrap help block element.

+

Helper class for Bootstrap help text element.

-pl.treksoft.kvision.hmr.Hot +pl.treksoft.kvision.Hot

Helper interface for Hot Module Replacement (HMR).

@@ -1623,6 +1648,12 @@ performance is O(1) and for cache eviction, it is O(1).

+pl.treksoft.kvision.remote.Id + + + + + pl.treksoft.kvision.html.Iframe

Iframe component.

@@ -1745,6 +1776,13 @@ performance is O(1) and for cache eviction, it is O(1).

+pl.treksoft.kvision.form.InvalidFeedback + +

Helper class for Bootstrap invalid feedback element.

+ + + + pl.treksoft.kvision.electron.IOCounters @@ -1781,14 +1819,14 @@ performance is O(1) and for cache eviction, it is O(1).

-pl.treksoft.kvision.remote.JSON +pl.treksoft.kvision.utils.JSON

JSON utility functions

-pl.treksoft.kvision.utils.JSON +pl.treksoft.kvision.remote.JSON

JSON utility functions

@@ -1801,13 +1839,6 @@ performance is O(1) and for cache eviction, it is O(1).

-pl.treksoft.kvision.types.JsonDateSerializer - -

JSON date serializer.

- - - - pl.treksoft.kvision.electron.JumpListCategory @@ -1840,16 +1871,22 @@ performance is O(1) and for cache eviction, it is O(1).

-pl.treksoft.kvision.remote.KVController +pl.treksoft.kvision.utils.KvEvent -

Controller for handling automatic routes.

+

Helper class for defining custom events.

-pl.treksoft.kvision.utils.KvEvent +pl.treksoft.kvision.remote.KVHandler -

Helper class for defining custom events.

+ + + + +pl.treksoft.kvision.KVManager + +

Internal singleton object which initializes and configures KVision framework.

@@ -1861,6 +1898,18 @@ performance is O(1) and for cache eviction, it is O(1).

+pl.treksoft.kvision.remote.KVRouterConfiguration + + + + + +pl.treksoft.kvision.annotations.KVService + + + + + pl.treksoft.kvision.remote.KVServiceManager

Multiplatform service manager.

@@ -1870,14 +1919,12 @@ performance is O(1) and for cache eviction, it is O(1).

pl.treksoft.kvision.remote.KVWebSocketConfig -

Automatic websockets configuration.

-pl.treksoft.kvision.html.Label +pl.treksoft.kvision.remote.KVWebSocketHandler -

Simple label component rendered as span.

@@ -1984,6 +2031,42 @@ performance is O(1) and for cache eviction, it is O(1).

+java.time.LocalDate (extensions in package pl.treksoft.kvision.types) + + + + + +pl.treksoft.kvision.types.LocalDateDeserializer + + + + + +pl.treksoft.kvision.types.LocalDateSerializer + + + + + +java.time.LocalDateTime (extensions in package pl.treksoft.kvision.types) + + + + + +pl.treksoft.kvision.types.LocalDateTimeDeserializer + + + + + +pl.treksoft.kvision.types.LocalDateTimeSerializer + + + + + pl.treksoft.kvision.cordova.LocalFileSystem @@ -1996,6 +2079,24 @@ performance is O(1) and for cache eviction, it is O(1).

+java.time.LocalTime (extensions in package pl.treksoft.kvision.types) + + + + + +pl.treksoft.kvision.types.LocalTimeDeserializer + + + + + +pl.treksoft.kvision.types.LocalTimeSerializer + + + + + pl.treksoft.kvision.cordova.Locationservices

Main geolocation object based on Google location services api.

@@ -2175,7 +2276,7 @@ performance is O(1) and for cache eviction, it is O(1).

-pl.treksoft.kvision.hmr.Module +pl.treksoft.kvision.Module

Helper interface for Hot Module Replacement (HMR).

@@ -2214,6 +2315,20 @@ performance is O(1) and for cache eviction, it is O(1).

+pl.treksoft.kvision.navbar.NavbarColor + +

Navbar colors.

+ + + + +pl.treksoft.kvision.navbar.NavbarExpand + +

Navbar responsive behavior.

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

Navbar types.

@@ -2292,34 +2407,77 @@ performance is O(1) and for cache eviction, it is O(1).

-pl.treksoft.kvision.remote.Object +pl.treksoft.kvision.utils.Object

JavaScript Object type

-pl.treksoft.kvision.utils.Object +pl.treksoft.kvision.remote.Object

JavaScript Object type

-pl.treksoft.kvision.utils.ObservableList +pl.treksoft.kvision.state.ObservableList

Observable list interface.

-pl.treksoft.kvision.utils.ObservableListWrapper +pl.treksoft.kvision.state.ObservableListWrapper

Simple observable list implementation.

+pl.treksoft.kvision.state.ObservableState + +

An interface of observable state.

+ + + + +java.time.OffsetDateTime (extensions in package pl.treksoft.kvision.types) + + + + + +pl.treksoft.kvision.types.OffsetDateTimeDeserializer + + + + + +pl.treksoft.kvision.types.OffsetDateTimeSerializer + + + + + +java.time.OffsetTime (extensions in package pl.treksoft.kvision.types) + + + + + +pl.treksoft.kvision.types.OffsetTimeDeserializer + + + + + +pl.treksoft.kvision.types.OffsetTimeSerializer + + + + + pl.treksoft.kvision.electron.OnBeforeRedirectDetails @@ -2607,23 +2765,23 @@ performance is O(1) and for cache eviction, it is O(1).

-pl.treksoft.kvision.chart.Position +pl.treksoft.kvision.core.Position -

Chart objects positions.

+

Definitions of CSS position options.

-pl.treksoft.kvision.cordova.Position +pl.treksoft.kvision.chart.Position -

Geolocation position value.

+

Chart objects positions.

-pl.treksoft.kvision.core.Position +pl.treksoft.kvision.cordova.Position -

Definitions of CSS position options.

+

Geolocation position value.

@@ -2957,6 +3115,13 @@ performance is O(1) and for cache eviction, it is O(1).

+pl.treksoft.kvision.table.ResponsiveType + +

HTML table responsive types.

+ + + + pl.treksoft.kvision.core.ResString

This type is used for accessing resources with CommonJS require function.

@@ -3066,6 +3231,12 @@ performance is O(1) and for cache eviction, it is O(1).

+pl.treksoft.kvision.table.Scope + + + + + pl.treksoft.kvision.cordova.Screen

Main object for Cordova screen.

@@ -3119,6 +3290,13 @@ performance is O(1) and for cache eviction, it is O(1).

+pl.treksoft.kvision.form.select.SelectDropdownAlign + +

Select dropdown align. See Bootstrap Select width.

+ + + + pl.treksoft.kvision.form.select.SelectInput

The basic component for Select control.

@@ -3346,9 +3524,9 @@ performance is O(1) and for cache eviction, it is O(1).

-pl.treksoft.kvision.redux.StateBinding +pl.treksoft.kvision.state.StateBinding -

A class which binds the redux store with the given container.

+

A class which binds the given container to the observable state.

@@ -3598,6 +3776,13 @@ performance is O(1) and for cache eviction, it is O(1).

+pl.treksoft.kvision.table.TheadType + +

HTML table header types.

+ + + + pl.treksoft.kvision.electron.ThumbarButton @@ -3651,16 +3836,16 @@ performance is O(1) and for cache eviction, it is O(1).

-pl.treksoft.kvision.chart.TooltipOptions +pl.treksoft.kvision.core.TooltipOptions -

Chart tooltip options.

+

Tooltip options.

-pl.treksoft.kvision.core.TooltipOptions +pl.treksoft.kvision.chart.TooltipOptions -

Tooltip options.

+

Chart tooltip options.

@@ -3804,6 +3989,12 @@ performance is O(1) and for cache eviction, it is O(1).

+pl.treksoft.kvision.remote.Transient + + + + + pl.treksoft.kvision.electron.Tray @@ -3831,9 +4022,9 @@ performance is O(1) and for cache eviction, it is O(1).

-pl.treksoft.kvision.redux.Updateable +pl.treksoft.kvision.state.Updateable -

A helper class for updateable redux content.

+

A helper class for updateable content.

@@ -3888,6 +4079,13 @@ performance is O(1) and for cache eviction, it is O(1).

+pl.treksoft.kvision.form.ValidationStatus + +

Input controls validation status.

+ + + + pl.treksoft.kvision.tabulator.Validator

Built-in validators.

@@ -3952,12 +4150,6 @@ performance is O(1) and for cache eviction, it is O(1).

-pl.treksoft.kvision.remote.WebSocketSessionHolder - - - - - pl.treksoft.kvision.electron.WebSource @@ -4004,6 +4196,36 @@ performance is O(1) and for cache eviction, it is O(1).

+pl.treksoft.kvision.remote.WithPrincipal + + + + + +pl.treksoft.kvision.remote.WithProfile + + + + + +pl.treksoft.kvision.remote.WithRequest + + + + + +pl.treksoft.kvision.remote.WithWebSession + + + + + +pl.treksoft.kvision.remote.WithWebSocketSession + + + + + pl.treksoft.kvision.core.WordBreak

Definitions of CSS word-break options.

diff --git a/api/index-outline.html b/api/index-outline.html index 856b05eb..ccff4194 100644 --- a/api/index-outline.html +++ b/api/index-outline.html @@ -56,6 +56,7 @@ open fun focus(): Unit
protected open fun getSnClass(): List<StringBoolPair>
abstract val input: AbstractTextInput
+val invalidFeedback: InvalidFeedback
var label: String?
var maxlength: Int?
var placeholder: String?
@@ -65,7 +66,6 @@ open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
var startValue: String?
-val validationInfo: HelpBlock
open var value: String?
@@ -93,6 +93,7 @@ var readonly: Boolean?
open var size: InputSize?
var startValue: String?
+open var validationStatus: ValidationStatus?
var value: String?
@@ -414,7 +415,7 @@ -interface ApplicationBase
+abstract class Application
@@ -686,6 +689,19 @@ +open class Bold : Tag
+ interface BoolFormControl : FormControl
+enum class BsBgColor
+ +enum class BsBorder
+ +enum class BsColor
+ +enum class BsRounded
+ open class Button : Widget
@@ -1205,21 +1318,6 @@ LARGE
SMALL
-XSMALL
- - - -enum class ButtonGroupStyle
- @@ -1234,7 +1332,6 @@ LARGE
SMALL
-XSMALL
@@ -1249,10 +1346,20 @@ val className: String
DANGER
-DEFAULT
+DARK
INFO
+LIGHT
LINK
+OUTLINEDANGER
+OUTLINEDARK
+OUTLINEINFO
+OUTLINELIGHT
+OUTLINEPRIMARY
+OUTLINESECONDARY
+OUTLINESUCCESS
+OUTLINEWARNING
PRIMARY
+SECONDARY
SUCCESS
WARNING
@@ -1511,7 +1618,6 @@ Canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf())
-fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas
var canvasHeight: Int?
var canvasWidth: Int?
lateinit var context2D: <ERROR CLASS>
@@ -1530,7 +1636,6 @@ CaptureException(code: MediaCapture.CaptureErrorCode)
-val code: MediaCapture.CaptureErrorCode
@@ -1544,7 +1649,6 @@ Cell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Cell.() -> Unit)? = null)
-fun Row.cell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Cell.() -> Unit)? = null): Cell
@@ -1628,7 +1732,6 @@ Chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf())
-fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart
open fun clearChart(): Unit
var configuration: Configuration
open fun getNativeConfig(): Chart.ChartConfiguration?
@@ -2684,13 +2787,13 @@ CheckBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false)
open fun blur(): Unit
-fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (CheckBox.() -> Unit)? = null): CheckBox
var circled: Boolean
val flabel: FieldLabel
open fun focus(): Unit
protected open fun getSnClass(): List<StringBoolPair>
var inline: Boolean
val input: CheckBoxInput
+val invalidFeedback: InvalidFeedback
var label: String?
open fun onClick(handler: CheckBox.(MouseEvent) -> Unit): CheckBox
open fun removeEventListeners(): Widget
@@ -2699,7 +2802,9 @@ open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
var startValue: Boolean
var style: CheckBoxStyle?
-val validationInfo: HelpBlock
+open fun styleForHorizontalFormPanel(): Unit
+open fun styleForInlineFormPanel(): Unit
+open fun styleForVerticalFormPanel(): Unit
open var value: Boolean
@@ -2714,7 +2819,6 @@ CheckBoxInput(value: Boolean = false, classes: Set<String> = setOf())
-fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput
@@ -2728,7 +2832,6 @@ DANGER
-DEFAULT
INFO
PRIMARY
SUCCESS
@@ -2759,6 +2862,7 @@ open var size: InputSize?
var startValue: Boolean
var type: CheckInputType
+open var validationStatus: ValidationStatus?
var value: Boolean
@@ -3358,7 +3462,7 @@ -open class ContextMenu : ListTag
+open class ContextMenu : Div
-open class DateTimeInput : Widget, FormInput
+open class DateTimeInput : SimplePanel, FormInput
@@ -4157,6 +4263,22 @@ +enum class Direction
+ enum class Direction
typealias Dispatch<A> = (A) -> Unit
-external interface Display
- enum class Display
+external interface Display
+ external interface DisplayBalloonOptions
@@ -4349,7 +4470,6 @@ open fun add(child: Component, position: Side): DockPanel
open fun add(child: Component): DockPanel
open fun addAll(children: List<Component>): DockPanel
-fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel
open fun remove(child: Component): DockPanel
open fun removeAll(): DockPanel
open fun removeAt(position: Side): DockPanel
@@ -4421,15 +4541,15 @@ -DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, withCaret: Boolean = true, classes: Set<String> = setOf())
+DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: 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
fun buttonId(): String?
+var direction: Direction
var disabled: Boolean
-fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, withCaret: Boolean = true, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown
-var dropup: Boolean
+val forDropDown: Boolean
val forNavbar: Boolean
open fun getChildren(): List<Component>
protected open fun getSnClass(): List<StringBoolPair>
@@ -4437,7 +4557,6 @@ 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
@@ -4446,36 +4565,6 @@ -open class DummyWebSocketSession
- external interface EditFlags
@@ -5270,10 +5356,14 @@ abstract fun getValue(): Any?
abstract fun getValueAsString(): String?
abstract val input: FormInput
+abstract val invalidFeedback: InvalidFeedback
open var name: String?
abstract fun setValue(v: Any?): Unit
open var size: InputSize?
-abstract val validationInfo: HelpBlock
+open fun styleForHorizontalFormPanel(): Unit
+open fun styleForInlineFormPanel(): Unit
+open fun styleForVerticalFormPanel(): Unit
+open var validationStatus: ValidationStatus?
open var validatorError: String?
@@ -5307,6 +5397,7 @@ abstract fun focus(): Unit
abstract var name: String?
abstract var size: InputSize?
+abstract var validationStatus: ValidationStatus?
@@ -5333,7 +5424,7 @@ -FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), serializer: KSerializer<K>)
+FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), serializer: KSerializer<K>)
var action: String?
open fun <C : StringFormControl> add(key: KProperty1<K, String?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
open fun <C : BoolFormControl> add(key: KProperty1<K, Boolean?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
@@ -5343,9 +5434,9 @@ protected fun <C : FormControl> addInternal(key: KProperty1<K, *>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
var autocomplete: Boolean?
open fun clearData(): Unit
-inline fun <reified K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>
+var condensed: Boolean
+inline fun <reified K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>
var enctype: FormEnctype?
-inline fun <reified K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>
operator fun get(key: KProperty1<K, *>): Any?
open fun getControl(key: KProperty1<K, *>): FormControl?
open fun getData(): K
@@ -5642,7 +5733,6 @@ var autoRows: String?
var columnGap: Int?
protected open fun getSnStyle(): List<StringPair>
-fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel
var justifyContent: GridJustifyContent?
var justifyItems: GridJustify?
open fun remove(child: Component): GridPanel
@@ -5666,7 +5756,7 @@ LG
MD
SM
-XS
+XL
@@ -5694,7 +5784,6 @@ H1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null)
-fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1
@@ -5708,7 +5797,6 @@ H2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null)
-fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2
@@ -5722,7 +5810,6 @@ H3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null)
-fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3
@@ -5736,7 +5823,6 @@ H4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null)
-fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4
@@ -5750,7 +5836,6 @@ H5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null)
-fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5
@@ -5764,11 +5849,10 @@ H6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null)
-fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6
-external interface Header
+open class Header : Tag
-open class Header : Tag
+external interface Header
@@ -5806,7 +5888,6 @@ Header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null)
-fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header
@@ -5819,13 +5900,12 @@ -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
+HeaderCell(content: String? = null, rich: Boolean = false, align: Align? = null, scope: Scope? = null, classes: Set<String> = setOf(), init: (HeaderCell.() -> Unit)? = null)
external interface Headers
-open class HelpBlock : Tag
+open class HelpText : Tag
-external interface Hot
+external interface Hot
@@ -5882,7 +5962,6 @@ HPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null)
-fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel
@@ -5963,10 +6042,10 @@ Icon(icon: String)
protected open fun getSnClass(): List<StringBoolPair>
var icon: String
-fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon
+actual typealias Id = Id
open class Iframe : Widget
+open class InvalidFeedback : Tag
+ external interface IOCounters
-external class Jed
+java.time.LocalDate
-object JSON
+java.time.LocalDateTime
+java.time.LocalTime
+ +java.time.OffsetDateTime
+ +java.time.OffsetTime
+ +external class Jed
+ @@ -6417,7 +6557,7 @@ -object JsonDateSerializer : KSerializer<Date>
+object JSON
@@ -6577,7 +6717,7 @@ -fun Date.toStringF(format: String = KV_DEFAULT_DATE_FORMAT): String
+fun Date.toStringF(format: String = KV_DEFAULT_DATE_FORMAT): String
@@ -6640,7 +6780,12 @@ -fun String.toDateF(format: String = KV_DEFAULT_DATE_FORMAT): Date
+fun String.toDateF(): LocalDate
+fun String.toDateF(format: String = KV_DEFAULT_DATE_FORMAT): Date
+fun String.toDateTimeF(): LocalDateTime
+fun String.toOffsetDateTimeF(): OffsetDateTime
+fun String.toOffsetTimeF(): OffsetTime
+fun String.toTimeF(): LocalTime
@@ -6658,7 +6803,7 @@ -open class KVController
+class KvEvent : CustomEvent
-class KvEvent : CustomEvent
+open class KVHandler
+object KVManager
open class KVRemoteAgent<T : Any> : RemoteAgent
+open class KVRouterConfiguration
+ +@Target([AnnotationTarget.CLASS]) annotation class KVService
+ open actual class KVServiceManager<T : Any>
-open class Label : Span
+class KVWebSocketHandler
@@ -6960,9 +7130,6 @@ var icon: String?
var image: ResString?
var label: String
-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
open fun onClick(handler: Link.(MouseEvent) -> Unit): Link
protected open fun render(): VNode
var url: String?
@@ -7006,7 +7173,6 @@ protected open fun childrenVNodes(): Array<VNode>
var elements: List<String>?
protected open fun getSnClass(): List<StringBoolPair>
-fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag
protected open fun render(): VNode
var rich: Boolean
var type: ListType
@@ -7062,7 +7228,7 @@ -external object LocalFileSystem
+class LocalDateDeserializer
-external object LocalFileSystemSync
+class LocalDateSerializer
-object Locationservices
+class LocalDateTimeDeserializer
+class LocalDateTimeSerializer
+ +external object LocalFileSystem
+ +external object LocalFileSystemSync
+ +class LocalTimeDeserializer
+ +class LocalTimeSerializer
+ +object Locationservices
+ -external interface Module
+external interface Module
@@ -7785,7 +8035,7 @@ -open class Nav : Tag
+open class Nav : Div
+enum class NavbarColor
+ +enum class NavbarExpand
+ enum class NavbarType
@@ -7851,7 +8132,6 @@ NavForm(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: (NavForm.() -> Unit)? = null)
protected open fun getSnClass(): List<StringBoolPair>
-fun Navbar.navForm(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: (NavForm.() -> Unit)? = null): NavForm
var rightAlign: Boolean
@@ -8054,6 +8334,19 @@ +external class Object
+ external class Object
-external class Object
+interface ObservableList<T> : MutableList<T>, ObservableState<List<T>>
+class ObservableListWrapper<T> : MutableList<T>, ObservableList<T>, ObservableState<List<T>>
+ +interface ObservableState<S>
+ +class OffsetDateTimeDeserializer
+ +class OffsetDateTimeSerializer
+ -interface ObservableList<T> : MutableList<T>
+class OffsetTimeDeserializer
-class ObservableListWrapper<T> : MutableList<T>, ObservableList<T>
+class OffsetTimeSerializer
@@ -8460,7 +8810,6 @@ P(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null)
-fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P
@@ -8474,9 +8823,11 @@ Pace()
+fun hide(): Unit
fun init(req: dynamic = require("pace-progressbar/themes/blue/pace-theme-flash.css")): Unit
fun on(event: Event, handler: (() -> Unit)? = null, context: List<dynamic>? = null): dynamic
fun setOptions(options: PaceOptions): Unit
+fun show(): Unit
fun start(): Unit
fun stop(): Unit
@@ -8530,7 +8881,7 @@ -PaceOptions(ajax: PaceAjaxOptions? = null, catchupTime: Int? = null, easeFactor: Double? = null, elements: PaceElementsOptions? = null, eventLag: PaceEventLagOptions? = null, ghostTime: Int? = null, initialRate: Double? = null, maxProgressPerFrame: Int? = null, minTime: Int? = null, restartOnPushState: Boolean? = null, restartOnRequestAfter: Double? = null, startOnPageLoad: Boolean? = null, target: String? = null)
+PaceOptions(ajax: PaceAjaxOptions? = null, catchupTime: Int? = null, easeFactor: Double? = null, elements: PaceElementsOptions? = null, eventLag: PaceEventLagOptions? = null, ghostTime: Int? = null, initialRate: Double? = null, maxProgressPerFrame: Int? = null, minTime: Int? = null, restartOnPushState: Boolean? = null, restartOnRequestAfter: Double? = null, startOnPageLoad: Boolean? = null, target: String? = null, manual: Boolean = false)
@@ -8603,7 +8954,6 @@ Password(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)
-fun Container.password(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Password.() -> Unit)? = null): Password
@@ -8858,7 +9208,7 @@ -enum class Position
+enum class Position
-external class Position
+enum class Position
-enum class Position
+external class Position
@@ -9114,7 +9464,6 @@ var max: Int
var min: Int
var progress: Int
-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
var rich: Boolean
var striped: Boolean
var style: ProgressBarStyle?
@@ -9237,9 +9586,9 @@ protected open fun getSnClass(): List<StringBoolPair>
var inline: Boolean
val input: RadioInput
+val invalidFeedback: InvalidFeedback
var label: String?
open fun onClick(handler: Radio.(MouseEvent) -> Unit): Radio
-fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio
open fun removeEventListeners(): Widget
var rich: Boolean
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
@@ -9247,7 +9596,9 @@ var squared: Boolean
var startValue: Boolean
var style: RadioStyle?
-val validationInfo: HelpBlock
+open fun styleForHorizontalFormPanel(): Unit
+open fun styleForInlineFormPanel(): Unit
+open fun styleForVerticalFormPanel(): Unit
open var value: Boolean
@@ -9269,13 +9620,15 @@ protected open fun getSnClass(): List<StringBoolPair>
var inline: Boolean
val input: RadioInput
+val invalidFeedback: InvalidFeedback
var label: String?
open var name: String?
var options: List<StringPair>?
-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
var rich: Boolean
open var size: InputSize?
-val validationInfo: HelpBlock
+open fun styleForHorizontalFormPanel(): Unit
+open var validationStatus: ValidationStatus?
+open var validatorError: String?
open var value: String?
@@ -9297,8 +9650,8 @@ var inline: Boolean
open var name: String?
var options: List<StringPair>?
-fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput
open var size: InputSize?
+open var validationStatus: ValidationStatus?
var value: String?
@@ -9313,7 +9666,6 @@ RadioInput(value: Boolean = false, classes: Set<String> = setOf())
-fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput
@@ -9327,7 +9679,6 @@ DANGER
-DEFAULT
INFO
PRIMARY
SUCCESS
@@ -9412,7 +9763,7 @@ typealias ReducerFun<S, A> = (S, A) -> S
-class ReduxStore<S : Any, A : RAction>
+class ReduxStore<S : Any, A : RAction> : ObservableState<S>
@@ -9733,7 +10084,6 @@ var align: Align?
open fun remove(child: Component): ResponsiveGridPanel
open fun removeAt(col: Int, row: Int): ResponsiveGridPanel
-fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel
@@ -9751,6 +10101,24 @@ +enum class ResponsiveType
+ typealias ResString = String
open class RestClient
@@ -9895,7 +10262,6 @@ protected open fun afterInsert(node: VNode): Unit
protected open fun getSnAttrs(): List<StringPair>
protected open fun render(): VNode
-fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput
@@ -9908,7 +10274,9 @@ -Root(id: String? = null, element: <ERROR CLASS>? = null, fixed: Boolean = false, init: (Root.() -> Unit)? = null)
+Root(id: String, fixed: Boolean = false, init: (Root.() -> Unit)? = null)
+Root(element: <ERROR CLASS>, fixed: Boolean = false, init: (Root.() -> Unit)? = null)
+fun addContextMenu(contextMenu: Widget): Unit
fun getRoot(): Root?
protected fun getSnClass(): List<StringBoolPair>
val isFirstRoot: Boolean
@@ -9941,7 +10309,6 @@ Row(classes: Set<String> = setOf(), init: (Row.() -> Unit)? = null)
-fun Table.row(classes: Set<String> = setOf(), init: (Row.() -> Unit)? = null): Row
@@ -10049,6 +10416,20 @@ +enum class Scope
+ object Screen
@@ -10202,6 +10582,7 @@ var ajaxOptions: AjaxOptions?
var autofocus: Boolean?
open fun blur(): Unit
+var dropdownAlign: SelectDropdownAlign
var emptyOption: Boolean
val flabel: FieldLabel
open fun focus(): Unit
@@ -10209,6 +10590,7 @@ protected open fun getSnClass(): List<StringBoolPair>
open fun hideOptions(): Unit
val input: SelectInput
+val invalidFeedback: InvalidFeedback
var label: String?
var liveSearch: Boolean
var maxOptions: Int?
@@ -10219,7 +10601,6 @@ open fun removeAll(): SimplePanel
open fun removeEventListeners(): Widget
var rich: Boolean
-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
var selectWidth: CssSize?
var selectWidthType: SelectWidthType?
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
@@ -10227,11 +10608,25 @@ open fun showOptions(): Unit
var style: ButtonStyle?
open fun toggleOptions(): Unit
-val validationInfo: HelpBlock
open var value: String?
+enum class SelectDropdownAlign
+ open class SelectInput : SimplePanel, FormInput
@@ -10314,9 +10708,6 @@ var label: String?
protected open fun render(): VNode
var selected: Boolean
-fun Select.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
-fun SelectInput.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
-fun SelectOptGroup.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
var subtext: String?
var value: String?
@@ -10331,11 +10722,12 @@ -SelectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false)
+SelectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false)
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
var autofocus: Boolean?
open fun blur(): Unit
+var dropdownAlign: SelectDropdownAlign
var emptyOption: Boolean
val flabel: FieldLabel
open fun focus(): Unit
@@ -10343,6 +10735,7 @@ protected open fun getSnClass(): List<StringBoolPair>
open fun hideOptions(): Unit
val input: SelectRemoteInput<T>
+val invalidFeedback: InvalidFeedback
var label: String?
var maxOptions: Int?
var multiple: Boolean
@@ -10351,7 +10744,6 @@ open fun removeAll(): SimplePanel
open fun removeEventListeners(): Widget
var rich: Boolean
-fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T>
var selectWidth: CssSize?
var selectWidthType: SelectWidthType?
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
@@ -10359,7 +10751,6 @@ open fun showOptions(): Unit
var style: ButtonStyle?
open fun toggleOptions(): Unit
-val validationInfo: HelpBlock
open var value: String?
@@ -10373,8 +10764,7 @@ -SelectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf())
-fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T>
+SelectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf())
@@ -10392,7 +10782,7 @@ -open class Separator : Tag
+open class Separator : Div
@@ -10570,12 +10958,12 @@ open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
protected fun addInternal(child: Component): SimplePanel
+protected val children: MutableList<Component>
protected open fun childrenVNodes(): Array<VNode>
open fun getChildren(): List<Component>
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
protected open fun render(): VNode
-fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel
@@ -10599,6 +10987,7 @@ open fun getChildren(): List<Component>
protected open fun getSnClass(): List<StringBoolPair>
val input: SimpleSelectInput
+val invalidFeedback: InvalidFeedback
var label: String?
var options: List<StringPair>?
open fun remove(child: Component): SimplePanel
@@ -10607,9 +10996,7 @@ var rich: Boolean
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
-fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect
var startValue: String?
-val validationInfo: HelpBlock
open var value: String?
@@ -10635,9 +11022,9 @@ open var name: String?
var options: List<StringPair>?
protected open fun render(): VNode
-fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput
open var size: InputSize?
var startValue: String?
+open var validationStatus: ValidationStatus?
var value: String?
@@ -10778,7 +11165,6 @@ Span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null)
-fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span
@@ -10791,10 +11177,11 @@ -Spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, 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? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false)
var autofocus: Boolean?
open fun blur(): Unit
-var buttonsType: ButtonsType
+var buttonStyle: ButtonStyle?
+val buttonsType: ButtonsType
var decimals: Int
val flabel: FieldLabel
open fun focus(): Unit
@@ -10803,6 +11190,7 @@ open fun getValueAsString(): String?
protected val idc: String
val input: SpinnerInput
+val invalidFeedback: InvalidFeedback
var label: String?
var max: Int?
var min: Int?
@@ -10813,11 +11201,11 @@ open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
open fun spinDown(): Spinner
-fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, 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
open fun spinUp(): Spinner
var startValue: Number?
var step: Double
-val validationInfo: HelpBlock
+open fun styleForHorizontalFormPanel(): Unit
+open var validatorError: String?
open var value: Number?
@@ -10831,12 +11219,13 @@ -SpinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, classes: Set<String> = setOf())
+SpinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf())
protected open fun afterDestroy(): Unit
protected open fun afterInsert(node: VNode): Unit
var autofocus: Boolean?
open fun blur(): Unit
-var buttonsType: ButtonsType
+var buttonStyle: ButtonStyle?
+val buttonsType: ButtonsType
protected open fun changeValue(): Unit
var decimals: Int
open var disabled: Boolean
@@ -10853,10 +11242,10 @@ protected open fun render(): VNode
open var size: InputSize?
fun spinDown(): SpinnerInput
-fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput
fun spinUp(): SpinnerInput
var startValue: Number?
var step: Double
+open var validationStatus: ValidationStatus?
var value: Number?
@@ -10886,7 +11275,6 @@ SplitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null)
protected open fun childrenVNodes(): Array<VNode>
-fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel
@@ -10908,7 +11296,6 @@ protected open fun childrenVNodes(): Array<VNode>
open fun remove(child: Component): StackPanel
open fun removeAll(): StackPanel
-fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel
@@ -10940,7 +11327,7 @@ -class StateBinding<S : Any, A : RAction, CONT : Container, CONTENT> : Widget
+class StateBinding<S : Any, CONT : Container, CONTENT> : Widget
@@ -11054,8 +11439,6 @@ protected fun <T> refreshOnUpdate(refreshFunction: (T) -> Unit = { this.refresh() }): Style.RefreshDelegateProvider<T>
protected fun <T> refreshOnUpdate(initialValue: T, refreshFunction: (T) -> Unit = { this.refresh() }): Style.RefreshDelegateProvider<T>
-fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style
-fun Style.style(className: String? = null, init: (Style.() -> Unit)? = null): Style
@@ -11229,7 +11612,7 @@ -Table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null)
+Table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null)
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
fun addHeaderCell(cell: HeaderCell): Table
@@ -11243,8 +11626,7 @@ fun removeHeaderCell(cell: HeaderCell): Table
fun removeHeaderCells(): Table
protected open fun render(): VNode
-var responsive: Boolean
-fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table
+var responsiveType: ResponsiveType?
var types: Set<TableType>
@@ -11259,8 +11641,10 @@ BORDERED
-CONDENSED
+BORDERLESS
+DARK
HOVER
+SMALL
STRIPED
val type: String
@@ -11285,7 +11669,6 @@ open fun remove(child: Component): TabPanel
open fun removeAll(): TabPanel
open fun removeTab(index: Int): TabPanel
-fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel
@@ -11367,10 +11750,6 @@ open fun setPage(page: Int): Unit
open fun setPageSize(size: Int): Unit
open fun setPageToRow(row: Int): Unit
-fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
-fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
-fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
-fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
open fun toggleSelectRow(row: Int): Unit
var types: Set<TableType>
open fun undo(): Boolean
@@ -12736,8 +13115,7 @@ -TabulatorRemote(serviceManager: KVServiceManager<E>, function: E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf())
-fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E>
+TabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf())
@@ -12762,6 +13140,8 @@ DEL
DIV
EM
+FIGCAPTION
+FIGURE
FOOTER
FORM
H1
@@ -12779,17 +13159,21 @@ LABEL
LI
MARK
+NAV
OL
OPTION
P
+PICTURE
PRE
S
SAMP
SECTION
SELECT
SMALL
+SOURCE
SPAN
STRONG
+TABLE
TBODY
TD
TH
@@ -12816,7 +13200,6 @@ protected open fun getSnClass(): List<StringBoolPair>
protected open fun render(): VNode
open var rich: Boolean
-fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag
open var template: ((Any?) -> String)?
open var templates: Map<String, (Any?) -> String>
var type: TAG
@@ -12871,7 +13254,6 @@ 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, name: String? = null, label: String? = null, rich: Boolean = false, init: (Text.() -> Unit)? = null): Text
var type: TextInputType
@@ -12907,7 +13289,6 @@ var cols: Int?
val input: TextAreaInput
var rows: Int?
-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
@@ -12926,7 +13307,6 @@ protected open fun getSnAttrs(): List<StringPair>
protected open fun render(): VNode
var rows: Int?
-fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput
var wrapHard: Boolean
@@ -12998,7 +13378,6 @@ var autocomplete: Boolean?
protected open fun getSnAttrs(): List<StringPair>
protected open fun render(): VNode
-fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput
var type: TextInputType
@@ -13072,6 +13451,20 @@ +enum class TheadType
+ external interface ThumbarButton
@@ -13212,6 +13607,26 @@ +data class TooltipOptions
+ data class TooltipOptions
-data class TooltipOptions
- -enum class TooltipPosition
+enum class TooltipPosition
+actual typealias Transient = Transient
open external class Tray : EventEmitter
-class Updateable<S : Any, CONTENT>
+class Updateable<S : Any, CONTENT>
@@ -13845,6 +14241,7 @@ open fun getValueAsString(): String?
protected val idc: String
val input: UploadInput
+val invalidFeedback: InvalidFeedback
var label: String?
open fun lock(): Unit
var multiple: Boolean
@@ -13863,10 +14260,8 @@ var showUpload: Boolean
open fun unlock(): Unit
open fun upload(): Unit
-fun Container.upload(uploadUrl: String? = null, multiple: Boolean = false, label: String? = null, rich: Boolean = false, init: (Upload.() -> Unit)? = null): Upload
var uploadExtraData: ((String, Int) -> dynamic)?
var uploadUrl: String?
-val validationInfo: HelpBlock
open var value: List<KFile>?
@@ -13956,8 +14351,6 @@ var dropZoneEnabled: Boolean
var explorerTheme: Boolean
open fun focus(): Unit
-suspend fun <K : Any> Form<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
-suspend fun <K : Any> FormPanel<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
fun getNativeFile(kFile: KFile): File?
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
@@ -13979,8 +14372,8 @@ open fun unlock(): Unit
open fun upload(): Unit
var uploadExtraData: ((String, Int) -> dynamic)?
-fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput
var uploadUrl: String?
+open var validationStatus: ValidationStatus?
var value: List<KFile>?
@@ -13999,6 +14392,21 @@ +enum class ValidationStatus
+ enum class Validator
@@ -14456,19 +14863,6 @@ -object WebSocketSessionHolder
- external interface WebSource
@@ -14772,7 +15165,6 @@ WidgetWrapper(wrapped: Component?, classes: Set<String> = setOf())
protected open fun render(): VNode
open var visible: Boolean
-fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper
@@ -14821,7 +15213,71 @@ open fun toFront(): Unit
open fun toggleMaximize(): Unit
open fun toggleMinimize(): Unit
-fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window
+ + + +interface WithPrincipal
+ +interface WithProfile
+ +interface WithRequest
+ +interface WithWebSession
+ +interface WithWebSocketSession
+ @@ -14843,6 +15299,92 @@ +package pl.treksoft.kvision
+ +package pl.treksoft.kvision.annotations
+ package pl.treksoft.kvision.chart
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart
data class ChartOptions
@@ -17967,6 +18508,11 @@ +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+fun Component.addBsClearfix(): Unit
+fun Component.addBsColor(bsColor: BsColor): Unit
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
class Background
+enum class BsBgColor
+ +enum class BsBorder
+ +enum class BsColor
+ +enum class BsRounded
+ enum class Clear
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+fun Component.removeBsClearfix(): Unit
+fun Component.removeBsColor(bsColor: BsColor): Unit
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
enum class Resize
protected fun <T> refreshOnUpdate(refreshFunction: (T) -> Unit = { this.refresh() }): Style.RefreshDelegateProvider<T>
protected fun <T> refreshOnUpdate(initialValue: T, refreshFunction: (T) -> Unit = { this.refresh() }): Style.RefreshDelegateProvider<T>
-fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style
-fun Style.style(className: String? = null, init: (Style.() -> Unit)? = null): Style
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style
+fun Style.style(className: String? = null, init: (Style.() -> Unit)? = null): Style
abstract class StyledComponent
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget
open class WidgetWrapper : SimplePanel
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper
enum class WordBreak
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT>
+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel>
interface DataUpdatable
@@ -24240,11 +24911,11 @@ FieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"))
-fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel
protected open fun getSnAttrs(): List<StringPair>
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel
class Form<K : Any>
@@ -24354,7 +25030,7 @@ -FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), serializer: KSerializer<K>)
+FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), serializer: KSerializer<K>)
var action: String?
open fun <C : StringFormControl> add(key: KProperty1<K, String?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
open fun <C : BoolFormControl> add(key: KProperty1<K, Boolean?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
@@ -24364,9 +25040,9 @@ protected fun <C : FormControl> addInternal(key: KProperty1<K, *>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
var autocomplete: Boolean?
open fun clearData(): Unit
-inline fun <reified K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>
+var condensed: Boolean
+inline fun <reified K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>
var enctype: FormEnctype?
-inline fun <reified K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>
operator fun get(key: KProperty1<K, *>): Any?
open fun getControl(key: KProperty1<K, *>): FormControl?
open fun getData(): K
@@ -24387,6 +25063,7 @@ +inline fun <reified K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>
enum class FormTarget
-open class HelpBlock : Tag
+open class HelpText : Tag
@@ -24445,6 +25122,19 @@ +open class InvalidFeedback : Tag
+ interface KFilesFormControl : FormControl
+enum class ValidationStatus
+ @@ -24543,13 +25248,13 @@ CheckBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false)
open fun blur(): Unit
-fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (CheckBox.() -> Unit)? = null): CheckBox
var circled: Boolean
val flabel: FieldLabel
open fun focus(): Unit
protected open fun getSnClass(): List<StringBoolPair>
var inline: Boolean
val input: CheckBoxInput
+val invalidFeedback: InvalidFeedback
var label: String?
open fun onClick(handler: CheckBox.(MouseEvent) -> Unit): CheckBox
open fun removeEventListeners(): Widget
@@ -24558,11 +25263,14 @@ open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
var startValue: Boolean
var style: CheckBoxStyle?
-val validationInfo: HelpBlock
+open fun styleForHorizontalFormPanel(): Unit
+open fun styleForInlineFormPanel(): Unit
+open fun styleForVerticalFormPanel(): Unit
open var value: Boolean
+fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (CheckBox.() -> Unit)? = null): CheckBox
open class CheckBoxInput : CheckInput
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput
enum class CheckBoxStyle
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio
open class RadioGroup : SimplePanel, StringFormControl
+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
open class RadioGroupInput : SimplePanel, FormInput
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput
open class RadioInput : CheckInput
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput
enum class RadioStyle
+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
+enum class SelectDropdownAlign
+ open class SelectInput : SimplePanel, FormInput
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput
open class SelectOptGroup : SimplePanel
+fun Select.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf(), init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup
+fun SelectInput.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf(), init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup
open class SelectOption : Widget
+fun Select.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
+fun SelectInput.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
+fun SelectOptGroup.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
open class SelectRemote<T : Any> : SimplePanel, StringFormControl
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T>
open class SelectRemoteInput<T : Any> : SelectInput
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T>
enum class SelectWidthType
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect
open class SimpleSelectInput : SimplePanel, FormInput
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput
fun AjaxOptions.toJs(emptyOption: Boolean): dynamic
@@ -25143,10 +25877,11 @@ -Spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, 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? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false)
var autofocus: Boolean?
open fun blur(): Unit
-var buttonsType: ButtonsType
+var buttonStyle: ButtonStyle?
+val buttonsType: ButtonsType
var decimals: Int
val flabel: FieldLabel
open fun focus(): Unit
@@ -25155,6 +25890,7 @@ open fun getValueAsString(): String?
protected val idc: String
val input: SpinnerInput
+val invalidFeedback: InvalidFeedback
var label: String?
var max: Int?
var min: Int?
@@ -25165,15 +25901,16 @@ open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
open fun spinDown(): Spinner
-fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, 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
open fun spinUp(): Spinner
var startValue: Number?
var step: Double
-val validationInfo: HelpBlock
+open fun styleForHorizontalFormPanel(): Unit
+open var validatorError: String?
open var value: Number?
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner
open class SpinnerInput : Widget, FormInput
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput
@@ -25241,6 +25980,7 @@ open fun focus(): Unit
protected open fun getSnClass(): List<StringBoolPair>
abstract val input: AbstractTextInput
+val invalidFeedback: InvalidFeedback
var label: String?
var maxlength: Int?
var placeholder: String?
@@ -25250,7 +25990,6 @@ open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
var startValue: String?
-val validationInfo: HelpBlock
open var value: String?
@@ -25278,6 +26017,7 @@ var readonly: Boolean?
open var size: InputSize?
var startValue: String?
+open var validationStatus: ValidationStatus?
var value: String?
@@ -25292,10 +26032,10 @@ Password(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)
-fun Container.password(value: String? = null, name: 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
open class RichText : AbstractText
+fun Container.richText(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (RichText.() -> Unit)? = null): RichText
open class RichTextInput : AbstractTextInput
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput
open class Text : AbstractText
+fun Container.text(type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Text.() -> Unit)? = null): Text
open class TextArea : AbstractText
+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
open class TextAreaInput : AbstractTextInput
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput
open class TextInput : AbstractTextInput
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput
enum class TextInputType
-open class DateTimeInput : Widget, FormInput
+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
+open class DateTimeInput : SimplePanel, FormInput
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput
@@ -25527,6 +26274,8 @@ +suspend fun <K : Any> Form<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
+suspend fun <K : Any> FormPanel<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
open class Upload : SimplePanel, KFilesFormControl
+fun Container.upload(uploadUrl: String? = null, multiple: Boolean = false, label: String? = null, rich: Boolean = false, init: (Upload.() -> Unit)? = null): Upload
open class UploadInput : Widget, FormInput
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput
-package pl.treksoft.kvision.hmr
+package pl.treksoft.kvision.html
-package pl.treksoft.kvision.html
- +fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas
open class Div : Tag
+fun Container.div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Div.() -> Unit)? = null): Div
open class Footer : Tag
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer
open class H1 : Tag
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1
open class H2 : Tag
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2
open class H3 : Tag
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3
open class H4 : Tag
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4
open class H5 : Tag
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5
open class H6 : Tag
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6
open class Header : Tag
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header
open class Icon : Tag
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon
open class Iframe : Widget
+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
open class Image : Widget
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image
enum class ImageShape
-open class Label : Span
- open class Link : SimplePanel
+fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link
open class ListTag : SimplePanel
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag
enum class ListType
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P
enum class Sandbox
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section
fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
inline fun <reified K : Any> Template.setData(obj: K): Unit
open class Span : Tag
@@ -26147,10 +26845,10 @@ Span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null)
-fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span
enum class TAG
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag
interface Template
@@ -26572,7 +27276,7 @@ -open class Nav : Tag
+open class Nav : Div
+fun Navbar.nav(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: (Nav.() -> Unit)? = null): Nav
open class Navbar : SimplePanel
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar
+enum class NavbarColor
+ +enum class NavbarExpand
+ enum class NavbarType
@@ -26638,11 +27375,14 @@ NavForm(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: (NavForm.() -> Unit)? = null)
protected open fun getSnClass(): List<StringBoolPair>
-fun Navbar.navForm(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: (NavForm.() -> Unit)? = null): NavForm
var rightAlign: Boolean
+fun Navbar.navForm(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: (NavForm.() -> Unit)? = null): NavForm
+fun Nav.navLink(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link
+fun Nav.navLinkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link
+fun Navbar.navText(label: String, classes: Set<String> = setOf()): Span
@@ -26665,9 +27405,11 @@ Pace()
+fun hide(): Unit
fun init(req: dynamic = require("pace-progressbar/themes/blue/pace-theme-flash.css")): Unit
fun on(event: Event, handler: (() -> Unit)? = null, context: List<dynamic>? = null): dynamic
fun setOptions(options: PaceOptions): Unit
+fun show(): Unit
fun start(): Unit
fun stop(): Unit
@@ -26721,7 +27463,7 @@ -PaceOptions(ajax: PaceAjaxOptions? = null, catchupTime: Int? = null, easeFactor: Double? = null, elements: PaceElementsOptions? = null, eventLag: PaceEventLagOptions? = null, ghostTime: Int? = null, initialRate: Double? = null, maxProgressPerFrame: Int? = null, minTime: Int? = null, restartOnPushState: Boolean? = null, restartOnRequestAfter: Double? = null, startOnPageLoad: Boolean? = null, target: String? = null)
+PaceOptions(ajax: PaceAjaxOptions? = null, catchupTime: Int? = null, easeFactor: Double? = null, elements: PaceElementsOptions? = null, eventLag: PaceEventLagOptions? = null, ghostTime: Int? = null, initialRate: Double? = null, maxProgressPerFrame: Int? = null, minTime: Int? = null, restartOnPushState: Boolean? = null, restartOnRequestAfter: Double? = null, startOnPageLoad: Boolean? = null, target: String? = null, manual: Boolean = false)
@@ -26764,13 +27506,13 @@ open fun add(child: Component, position: Side): DockPanel
open fun add(child: Component): DockPanel
open fun addAll(children: List<Component>): DockPanel
-fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel
open fun remove(child: Component): DockPanel
open fun removeAll(): DockPanel
open fun removeAt(position: Side): DockPanel
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel
enum class FlexAlignContent
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel
enum class FlexWrap
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel
enum class GridSize
@@ -27039,10 +27781,10 @@ HPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null)
-fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel
open class ResponsiveGridPanel : SimplePanel
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel
class Root : SimplePanel
+fun Application.root(id: String, fixed: Boolean = false, init: Root.() -> Unit): Root
+fun Application.root(element: <ERROR CLASS>, fixed: Boolean = false, init: Root.() -> Unit): Root
enum class Side
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel
open class SplitPanel : SimplePanel
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel
open class StackPanel : SimplePanel
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel
open class TabPanel : SimplePanel
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel
enum class TabPosition
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel
@@ -27254,13 +28001,13 @@ var max: Int
var min: Int
var progress: Int
-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
var rich: Boolean
var striped: Boolean
var style: ProgressBarStyle?
+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
enum class ProgressBarStyle
-const val KV_ROUTE_ID_ATTRIBUTE: String
-open class KVController
+open class KVHandler
@@ -27486,6 +28173,21 @@ +open class KVRouterConfiguration
+ open actual class KVServiceManager<T : Any>
+class KVWebSocketHandler
+ @@ -27597,13 +28309,22 @@ var email: String?
var familyName: String?
var firstName: String?
+fun getAuthorities(): MutableCollection<out <ERROR CLASS>>
+fun getPassword(): String?
+fun getUsername(): String?
val id: String?
+fun isAccountNonExpired(): Boolean
+fun isAccountNonLocked(): Boolean
+fun isCredentialsNonExpired(): Boolean
+fun isEnabled(): Boolean
val linkedId: String?
val permissions: MutableSet<String>
var pictureUrl: String?
var profileUrl: String?
val remembered: Boolean
val roles: MutableSet<String>
+fun setPassword(password: String?): Unit
+fun setUsername(username: String?): Unit
var username: String?
@@ -27655,6 +28376,8 @@ +fun <ERROR CLASS>.serviceMatchers(vararg services: KVServiceManager<*>): <ERROR CLASS>
+fun serviceMatchers(vararg services: KVServiceManager<*>): <ERROR CLASS>
class Socket
-object WebSocketSessionHolder
+actual typealias Transient = Transient
+interface WithPrincipal
suspend fun <RESP> <ERROR CLASS>.withProfile(block: suspend (Profile) -> RESP): RESP
-suspend fun <RESP> withProfile(block: suspend (Profile) -> RESP): RESP
+interface WithProfile
+ +interface WithRequest
+ +interface WithWebSession
+ +interface WithWebSocketSession
+ @@ -27786,6 +28561,112 @@ +package pl.treksoft.kvision.state
+ package pl.treksoft.kvision.table
+fun Row.cell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Cell.() -> Unit)? = null): Cell
open class HeaderCell : Tag
+fun Row.headerCell(content: String? = null, rich: Boolean = false, align: Align? = null, scope: Scope? = null, classes: Set<String> = setOf(), init: (HeaderCell.() -> Unit)? = null): HeaderCell
+enum class ResponsiveType
+ @@ -27833,7 +28732,21 @@ Row(classes: Set<String> = setOf(), init: (Row.() -> Unit)? = null)
-fun Table.row(classes: Set<String> = setOf(), init: (Row.() -> Unit)? = null): Row
+ + + +fun Table.row(classes: Set<String> = setOf(), init: (Row.() -> Unit)? = null): Row
+enum class Scope
+ @@ -27846,7 +28759,7 @@ -Table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null)
+Table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null)
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
fun addHeaderCell(cell: HeaderCell): Table
@@ -27860,12 +28773,12 @@ fun removeHeaderCell(cell: HeaderCell): Table
fun removeHeaderCells(): Table
protected open fun render(): VNode
-var responsive: Boolean
-fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table
+var responsiveType: ResponsiveType?
var types: Set<TableType>
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table
enum class TableType
+fun Row.thcell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (HeaderCell.() -> Unit)? = null): HeaderCell
+enum class TheadType
+ @@ -28334,16 +29264,16 @@ open fun setPage(page: Int): Unit
open fun setPageSize(size: Int): Unit
open fun setPageToRow(row: Int): Unit
-fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
-fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
-fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
-fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
open fun toggleSelectRow(row: Int): Unit
var types: Set<TableType>
open fun undo(): Boolean
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
data class TabulatorOptions<T : Any>
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E>
fun DownloadConfig.toJs(): Tabulator.DownloadConfig
fun <T : Any> ColumnDefinition<T>.toJs(i18nTranslator: (String) -> String): Tabulator.ColumnDefinition
fun <T : Any> TabulatorOptions<T>.toJs(i18nTranslator: (String) -> String): Tabulator.Options
@@ -29782,14 +30712,15 @@ -ButtonGroup(size: ButtonGroupSize? = null, style: ButtonGroupStyle? = null, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null)
-fun Container.buttonGroup(size: ButtonGroupSize? = null, style: ButtonGroupStyle? = null, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup
+ButtonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null)
protected open fun getSnClass(): List<StringBoolPair>
var size: ButtonGroupSize?
-var style: ButtonGroupStyle?
+var vertical: Boolean
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup
+fun Toolbar.buttonGroup(classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup
enum class ButtonGroupSize
-enum class ButtonGroupStyle
+open class Toolbar : SimplePanel
-open class Toolbar : SimplePanel
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar
+ + + +package pl.treksoft.kvision.types
+ @@ -29927,11 +30896,226 @@ -fun String.toDateF(format: String = KV_DEFAULT_DATE_FORMAT): Date
+fun String.toDateF(): LocalDate
+fun String.toDateF(format: String = KV_DEFAULT_DATE_FORMAT): Date
+fun String.toDateTimeF(): LocalDateTime
+fun String.toOffsetDateTimeF(): OffsetDateTime
+fun String.toOffsetTimeF(): OffsetTime
+fun String.toTimeF(): LocalTime
const val KV_DEFAULT_DATE_FORMAT: String
+LocalDate
+ +class LocalDateDeserializer
+ +class LocalDateSerializer
+ +LocalDateTime
+ +class LocalDateTimeDeserializer
+ +class LocalDateTimeSerializer
+ +LocalTime
+ +class LocalTimeDeserializer
+ +class LocalTimeSerializer
+ +OffsetDateTime
+ +class OffsetDateTimeDeserializer
+ +class OffsetDateTimeSerializer
+ +OffsetTime
+ +class OffsetTimeDeserializer
+ +class OffsetTimeSerializer
+ @@ -30129,56 +31313,6 @@ -interface ObservableList<T> : MutableList<T>
- -fun <T> observableListOf(vararg items: T): ObservableListWrapper<T>
-class ObservableListWrapper<T> : MutableList<T>, ObservableList<T>
- org.w3c.files.File
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window
diff --git a/api/index.html b/api/index.html index 6e97545f..94fa6013 100644 --- a/api/index.html +++ b/api/index.html @@ -13,6 +13,20 @@ +

pl.treksoft.kvision

+ + + + + + +

pl.treksoft.kvision.annotations

+ + + + + +

pl.treksoft.kvision.chart

@@ -135,14 +149,6 @@ validation.

-

pl.treksoft.kvision.hmr

- - -

Helper interfaces and classes necessary to develop applications supporting Hot Module Replacement (HMR).

- - - -

pl.treksoft.kvision.html

@@ -241,6 +247,13 @@ CSS grid and Bootstrap responsive 12 columns gid).

+

pl.treksoft.kvision.state

+ + + + + +

pl.treksoft.kvision.table

diff --git a/api/package-list b/api/package-list index f407e020..32238274 100644 --- a/api/package-list +++ b/api/package-list @@ -13,17 +13,41 @@ $dokka.location:pl.treksoft.kvision.remote.Profile$displayNamepl.treksoft.kvisi $dokka.location:pl.treksoft.kvision.remote.Profile$emailpl.treksoft.kvision.remote/-profile/-profile/email.html $dokka.location:pl.treksoft.kvision.remote.Profile$familyNamepl.treksoft.kvision.remote/-profile/-profile/family-name.html $dokka.location:pl.treksoft.kvision.remote.Profile$firstNamepl.treksoft.kvision.remote/-profile/-profile/first-name.html +$dokka.location:pl.treksoft.kvision.remote.Profile$getAuthorities()pl.treksoft.kvision.remote/-profile/-profile/get-authorities.html +$dokka.location:pl.treksoft.kvision.remote.Profile$getPassword()pl.treksoft.kvision.remote/-profile/-profile/get-password.html +$dokka.location:pl.treksoft.kvision.remote.Profile$getUsername()pl.treksoft.kvision.remote/-profile/-profile/get-username.html $dokka.location:pl.treksoft.kvision.remote.Profile$idpl.treksoft.kvision.remote/-profile/-profile/id.html +$dokka.location:pl.treksoft.kvision.remote.Profile$isAccountNonExpired()pl.treksoft.kvision.remote/-profile/-profile/is-account-non-expired.html +$dokka.location:pl.treksoft.kvision.remote.Profile$isAccountNonLocked()pl.treksoft.kvision.remote/-profile/-profile/is-account-non-locked.html +$dokka.location:pl.treksoft.kvision.remote.Profile$isCredentialsNonExpired()pl.treksoft.kvision.remote/-profile/-profile/is-credentials-non-expired.html +$dokka.location:pl.treksoft.kvision.remote.Profile$isEnabled()pl.treksoft.kvision.remote/-profile/-profile/is-enabled.html $dokka.location:pl.treksoft.kvision.remote.Profile$linkedIdpl.treksoft.kvision.remote/-profile/-profile/linked-id.html $dokka.location:pl.treksoft.kvision.remote.Profile$permissionspl.treksoft.kvision.remote/-profile/-profile/permissions.html $dokka.location:pl.treksoft.kvision.remote.Profile$pictureUrlpl.treksoft.kvision.remote/-profile/-profile/picture-url.html $dokka.location:pl.treksoft.kvision.remote.Profile$profileUrlpl.treksoft.kvision.remote/-profile/-profile/profile-url.html $dokka.location:pl.treksoft.kvision.remote.Profile$rememberedpl.treksoft.kvision.remote/-profile/-profile/remembered.html $dokka.location:pl.treksoft.kvision.remote.Profile$rolespl.treksoft.kvision.remote/-profile/-profile/roles.html +$dokka.location:pl.treksoft.kvision.remote.Profile$setPassword(kotlin.String)pl.treksoft.kvision.remote/-profile/-profile/set-password.html +$dokka.location:pl.treksoft.kvision.remote.Profile$setUsername(kotlin.String)pl.treksoft.kvision.remote/-profile/-profile/set-username.html $dokka.location:pl.treksoft.kvision.remote.Profile$usernamepl.treksoft.kvision.remote/-profile/-profile/username.html +$dokka.location:pl.treksoft.kvision.types$toDateF(kotlin.String)pl.treksoft.kvision.types/kotlin.-string/to-date-f.html $dokka.location:pl.treksoft.kvision.types$toDateF(kotlin.String, kotlin.String)pl.treksoft.kvision.types/kotlin.-string/to-date-f.html +$dokka.location:pl.treksoft.kvision.types$toDateTimeF(kotlin.String)pl.treksoft.kvision.types/kotlin.-string/to-date-time-f.html +$dokka.location:pl.treksoft.kvision.types$toOffsetDateTimeF(kotlin.String)pl.treksoft.kvision.types/kotlin.-string/to-offset-date-time-f.html +$dokka.location:pl.treksoft.kvision.types$toOffsetTimeF(kotlin.String)pl.treksoft.kvision.types/kotlin.-string/to-offset-time-f.html +$dokka.location:pl.treksoft.kvision.types$toStringF(java.time.LocalDate)pl.treksoft.kvision.types/java.time.-local-date/to-string-f.html +$dokka.location:pl.treksoft.kvision.types$toStringF(java.time.LocalDateTime)pl.treksoft.kvision.types/java.time.-local-date-time/to-string-f.html +$dokka.location:pl.treksoft.kvision.types$toStringF(java.time.LocalTime)pl.treksoft.kvision.types/java.time.-local-time/to-string-f.html +$dokka.location:pl.treksoft.kvision.types$toStringF(java.time.OffsetDateTime)pl.treksoft.kvision.types/java.time.-offset-date-time/to-string-f.html +$dokka.location:pl.treksoft.kvision.types$toStringF(java.time.OffsetTime)pl.treksoft.kvision.types/java.time.-offset-time/to-string-f.html $dokka.location:pl.treksoft.kvision.types$toStringF(kotlin.js.Date, kotlin.String)pl.treksoft.kvision.types/kotlin.js.-date/to-string-f.html +$dokka.location:pl.treksoft.kvision.types$toTimeF(kotlin.String)pl.treksoft.kvision.types/kotlin.-string/to-time-f.html $dokka.location:pl.treksoft.kvision.types.Datepl.treksoft.kvision.types/-date/index.html +$dokka.location:pl.treksoft.kvision.types.LocalDatepl.treksoft.kvision.types/-local-date/index.html +$dokka.location:pl.treksoft.kvision.types.LocalDateTimepl.treksoft.kvision.types/-local-date-time/index.html +$dokka.location:pl.treksoft.kvision.types.LocalTimepl.treksoft.kvision.types/-local-time/index.html +$dokka.location:pl.treksoft.kvision.types.OffsetDateTimepl.treksoft.kvision.types/-offset-date-time/index.html +$dokka.location:pl.treksoft.kvision.types.OffsetTimepl.treksoft.kvision.types/-offset-time/index.html $dokka.location:pl.treksoft.kvision.utils$asString(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)))pl.treksoft.kvision.utils/kotlin.-pair/as-string.html $dokka.location:pl.treksoft.kvision.utils$ch#kotlin.Numberpl.treksoft.kvision.utils/kotlin.-number/ch.html $dokka.location:pl.treksoft.kvision.utils$cm#kotlin.Numberpl.treksoft.kvision.utils/kotlin.-number/cm.html @@ -43,6 +67,8 @@ $dokka.location:pl.treksoft.kvision.utils$vh#kotlin.Numberpl.treksoft.kvision.u $dokka.location:pl.treksoft.kvision.utils$vmax#kotlin.Numberpl.treksoft.kvision.utils/kotlin.-number/vmax.html $dokka.location:pl.treksoft.kvision.utils$vmin#kotlin.Numberpl.treksoft.kvision.utils/kotlin.-number/vmin.html $dokka.location:pl.treksoft.kvision.utils$vw#kotlin.Numberpl.treksoft.kvision.utils/kotlin.-number/vw.html +pl.treksoft.kvision +pl.treksoft.kvision.annotations pl.treksoft.kvision.chart pl.treksoft.kvision.chart.js pl.treksoft.kvision.cordova @@ -58,7 +84,6 @@ 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.i18n pl.treksoft.kvision.modal @@ -71,6 +96,7 @@ pl.treksoft.kvision.redux pl.treksoft.kvision.remote pl.treksoft.kvision.rest pl.treksoft.kvision.routing +pl.treksoft.kvision.state pl.treksoft.kvision.table pl.treksoft.kvision.tabulator pl.treksoft.kvision.tabulator.js diff --git a/api/pl.treksoft.kvision.annotations/-k-v-service/-init-.html b/api/pl.treksoft.kvision.annotations/-k-v-service/-init-.html new file mode 100644 index 00000000..057c322b --- /dev/null +++ b/api/pl.treksoft.kvision.annotations/-k-v-service/-init-.html @@ -0,0 +1,14 @@ + + + +KVService.<init> - kvision + + + +kvision / pl.treksoft.kvision.annotations / KVService / <init>
+
+

<init>

+ +KVService() + + diff --git a/api/pl.treksoft.kvision.annotations/-k-v-service/index.html b/api/pl.treksoft.kvision.annotations/-k-v-service/index.html new file mode 100644 index 00000000..48e77024 --- /dev/null +++ b/api/pl.treksoft.kvision.annotations/-k-v-service/index.html @@ -0,0 +1,39 @@ + + + +KVService - kvision + + + +kvision / pl.treksoft.kvision.annotations / KVService
+
+

KVService

+@Target([AnnotationTarget.CLASS]) annotation class KVService +

Constructors

+ + + + + + + +
+

<init>

+
+KVService()
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.annotations/index.html b/api/pl.treksoft.kvision.annotations/index.html new file mode 100644 index 00000000..aeb0d7d0 --- /dev/null +++ b/api/pl.treksoft.kvision.annotations/index.html @@ -0,0 +1,24 @@ + + + +pl.treksoft.kvision.annotations - kvision + + + +kvision / pl.treksoft.kvision.annotations
+
+

Package pl.treksoft.kvision.annotations

+

Annotations

+ + + + + + + +
+

KVService

+
+annotation class KVService
+ + diff --git a/api/pl.treksoft.kvision.chart/-chart/chart.html b/api/pl.treksoft.kvision.chart/-chart/chart.html deleted file mode 100644 index 611fd9b4..00000000 --- a/api/pl.treksoft.kvision.chart/-chart/chart.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Chart.chart - kvision - - - -kvision / pl.treksoft.kvision.chart / Chart / chart
-
-

chart

- -fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart -

DSL builder extension function.

-

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

- - diff --git a/api/pl.treksoft.kvision.chart/-chart/index.html b/api/pl.treksoft.kvision.chart/-chart/index.html index 508d8d9c..586f6851 100644 --- a/api/pl.treksoft.kvision.chart/-chart/index.html +++ b/api/pl.treksoft.kvision.chart/-chart/index.html @@ -105,6 +105,15 @@ +

tabindex

+ + +var tabindex: Int? +

A tabindex attribute of generated HTML element.

+ + + +

title

@@ -479,15 +488,6 @@ -

setContextMenu

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

Sets context menu for the current widget.

- - - -

setDragDropData

@@ -582,15 +582,6 @@ -

chart

- - -fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart -

DSL builder extension function.

- - - -

registerPlugin

@@ -610,6 +601,50 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + + +

contextMenu

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

DSL builder extension function.

+ + + +

createInstance

@@ -617,6 +652,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit + + + +

setContextMenu

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

Sets context menu for the current widget.

+ + + + +

style

+ + +fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

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

chart

+ +fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+

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

+ + diff --git a/api/pl.treksoft.kvision.chart/index.html b/api/pl.treksoft.kvision.chart/index.html index c5585b64..6bece6df 100644 --- a/api/pl.treksoft.kvision.chart/index.html +++ b/api/pl.treksoft.kvision.chart/index.html @@ -307,6 +307,15 @@ +

chart

+ + +fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+ + + +

toJs

diff --git a/api/pl.treksoft.kvision.cordova/-capture-exception/code.html b/api/pl.treksoft.kvision.cordova/-capture-exception/code.html deleted file mode 100644 index b687ad9e..00000000 --- a/api/pl.treksoft.kvision.cordova/-capture-exception/code.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -CaptureException.code - kvision - - - -kvision / pl.treksoft.kvision.cordova / CaptureException / code
-
-

code

- -val code: MediaCapture.CaptureErrorCode - - diff --git a/api/pl.treksoft.kvision.cordova/-capture-exception/index.html b/api/pl.treksoft.kvision.cordova/-capture-exception/index.html index d752befe..83c723f7 100644 --- a/api/pl.treksoft.kvision.cordova/-capture-exception/index.html +++ b/api/pl.treksoft.kvision.cordova/-capture-exception/index.html @@ -24,18 +24,6 @@ -

Properties

- - - - - - - -
-

code

-
-val code: MediaCapture.CaptureErrorCode

Extension Functions

diff --git a/api/pl.treksoft.kvision.core/-bs-bg-color/-d-a-n-g-e-r.html b/api/pl.treksoft.kvision.core/-bs-bg-color/-d-a-n-g-e-r.html new file mode 100644 index 00000000..434212b8 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-bg-color/-d-a-n-g-e-r.html @@ -0,0 +1,14 @@ + + + +BsBgColor.DANGER - kvision + + + +kvision / pl.treksoft.kvision.core / BsBgColor / DANGER
+
+

DANGER

+ +DANGER + + diff --git a/api/pl.treksoft.kvision.core/-bs-bg-color/-d-a-r-k.html b/api/pl.treksoft.kvision.core/-bs-bg-color/-d-a-r-k.html new file mode 100644 index 00000000..4da4d69c --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-bg-color/-d-a-r-k.html @@ -0,0 +1,14 @@ + + + +BsBgColor.DARK - kvision + + + +kvision / pl.treksoft.kvision.core / BsBgColor / DARK
+
+

DARK

+ +DARK + + diff --git a/api/pl.treksoft.kvision.core/-bs-bg-color/-i-n-f-o.html b/api/pl.treksoft.kvision.core/-bs-bg-color/-i-n-f-o.html new file mode 100644 index 00000000..b565e3cf --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-bg-color/-i-n-f-o.html @@ -0,0 +1,14 @@ + + + +BsBgColor.INFO - kvision + + + +kvision / pl.treksoft.kvision.core / BsBgColor / INFO
+
+

INFO

+ +INFO + + diff --git a/api/pl.treksoft.kvision.core/-bs-bg-color/-l-i-g-h-t.html b/api/pl.treksoft.kvision.core/-bs-bg-color/-l-i-g-h-t.html new file mode 100644 index 00000000..a7f67972 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-bg-color/-l-i-g-h-t.html @@ -0,0 +1,14 @@ + + + +BsBgColor.LIGHT - kvision + + + +kvision / pl.treksoft.kvision.core / BsBgColor / LIGHT
+
+

LIGHT

+ +LIGHT + + diff --git a/api/pl.treksoft.kvision.core/-bs-bg-color/-p-r-i-m-a-r-y.html b/api/pl.treksoft.kvision.core/-bs-bg-color/-p-r-i-m-a-r-y.html new file mode 100644 index 00000000..7d028960 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-bg-color/-p-r-i-m-a-r-y.html @@ -0,0 +1,14 @@ + + + +BsBgColor.PRIMARY - kvision + + + +kvision / pl.treksoft.kvision.core / BsBgColor / PRIMARY
+
+

PRIMARY

+ +PRIMARY + + diff --git a/api/pl.treksoft.kvision.core/-bs-bg-color/-s-e-c-o-n-d-a-r-y.html b/api/pl.treksoft.kvision.core/-bs-bg-color/-s-e-c-o-n-d-a-r-y.html new file mode 100644 index 00000000..0bf8ce29 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-bg-color/-s-e-c-o-n-d-a-r-y.html @@ -0,0 +1,14 @@ + + + +BsBgColor.SECONDARY - kvision + + + +kvision / pl.treksoft.kvision.core / BsBgColor / SECONDARY
+
+

SECONDARY

+ +SECONDARY + + diff --git a/api/pl.treksoft.kvision.core/-bs-bg-color/-s-u-c-c-e-s-s.html b/api/pl.treksoft.kvision.core/-bs-bg-color/-s-u-c-c-e-s-s.html new file mode 100644 index 00000000..1e76f745 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-bg-color/-s-u-c-c-e-s-s.html @@ -0,0 +1,14 @@ + + + +BsBgColor.SUCCESS - kvision + + + +kvision / pl.treksoft.kvision.core / BsBgColor / SUCCESS
+
+

SUCCESS

+ +SUCCESS + + diff --git a/api/pl.treksoft.kvision.core/-bs-bg-color/-t-r-a-n-s-p-a-r-e-n-t.html b/api/pl.treksoft.kvision.core/-bs-bg-color/-t-r-a-n-s-p-a-r-e-n-t.html new file mode 100644 index 00000000..4dd66a21 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-bg-color/-t-r-a-n-s-p-a-r-e-n-t.html @@ -0,0 +1,14 @@ + + + +BsBgColor.TRANSPARENT - kvision + + + +kvision / pl.treksoft.kvision.core / BsBgColor / TRANSPARENT
+
+

TRANSPARENT

+ +TRANSPARENT + + diff --git a/api/pl.treksoft.kvision.core/-bs-bg-color/-w-a-r-n-i-n-g.html b/api/pl.treksoft.kvision.core/-bs-bg-color/-w-a-r-n-i-n-g.html new file mode 100644 index 00000000..ad78f6c6 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-bg-color/-w-a-r-n-i-n-g.html @@ -0,0 +1,14 @@ + + + +BsBgColor.WARNING - kvision + + + +kvision / pl.treksoft.kvision.core / BsBgColor / WARNING
+
+

WARNING

+ +WARNING + + diff --git a/api/pl.treksoft.kvision.core/-bs-bg-color/-w-h-i-t-e.html b/api/pl.treksoft.kvision.core/-bs-bg-color/-w-h-i-t-e.html new file mode 100644 index 00000000..3c109623 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-bg-color/-w-h-i-t-e.html @@ -0,0 +1,14 @@ + + + +BsBgColor.WHITE - kvision + + + +kvision / pl.treksoft.kvision.core / BsBgColor / WHITE
+
+

WHITE

+ +WHITE + + diff --git a/api/pl.treksoft.kvision.core/-bs-bg-color/index.html b/api/pl.treksoft.kvision.core/-bs-bg-color/index.html new file mode 100644 index 00000000..09a23886 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-bg-color/index.html @@ -0,0 +1,102 @@ + + + +BsBgColor - kvision + + + +kvision / pl.treksoft.kvision.core / BsBgColor
+
+

BsBgColor

+enum class BsBgColor +

Enum Values

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

PRIMARY

+
+
+

SECONDARY

+
+
+

SUCCESS

+
+
+

DANGER

+
+
+

WARNING

+
+
+

INFO

+
+
+

LIGHT

+
+
+

DARK

+
+
+

WHITE

+
+
+

TRANSPARENT

+
+
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-b-o-t-t-o-m.html b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-b-o-t-t-o-m.html new file mode 100644 index 00000000..2fb08b20 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-b-o-t-t-o-m.html @@ -0,0 +1,14 @@ + + + +BsBorder.BORDERBOTTOM - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder / BORDERBOTTOM
+
+

BORDERBOTTOM

+ +BORDERBOTTOM + + diff --git a/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-b-o-t-t-o-m_0.html b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-b-o-t-t-o-m_0.html new file mode 100644 index 00000000..7eb59e9b --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-b-o-t-t-o-m_0.html @@ -0,0 +1,14 @@ + + + +BsBorder.BORDERBOTTOM_0 - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder / BORDERBOTTOM_0
+
+

BORDERBOTTOM_0

+ +BORDERBOTTOM_0 + + diff --git a/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-d-a-n-g-e-r.html b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-d-a-n-g-e-r.html new file mode 100644 index 00000000..a53ee78c --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-d-a-n-g-e-r.html @@ -0,0 +1,14 @@ + + + +BsBorder.BORDERDANGER - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder / BORDERDANGER
+
+

BORDERDANGER

+ +BORDERDANGER + + diff --git a/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-d-a-r-k.html b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-d-a-r-k.html new file mode 100644 index 00000000..68eab3cf --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-d-a-r-k.html @@ -0,0 +1,14 @@ + + + +BsBorder.BORDERDARK - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder / BORDERDARK
+
+

BORDERDARK

+ +BORDERDARK + + diff --git a/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-i-n-f-o.html b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-i-n-f-o.html new file mode 100644 index 00000000..cf3b9ec6 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-i-n-f-o.html @@ -0,0 +1,14 @@ + + + +BsBorder.BORDERINFO - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder / BORDERINFO
+
+

BORDERINFO

+ +BORDERINFO + + diff --git a/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-l-e-f-t.html b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-l-e-f-t.html new file mode 100644 index 00000000..88fc71b1 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-l-e-f-t.html @@ -0,0 +1,14 @@ + + + +BsBorder.BORDERLEFT - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder / BORDERLEFT
+
+

BORDERLEFT

+ +BORDERLEFT + + diff --git a/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-l-e-f-t_0.html b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-l-e-f-t_0.html new file mode 100644 index 00000000..9d832586 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-l-e-f-t_0.html @@ -0,0 +1,14 @@ + + + +BsBorder.BORDERLEFT_0 - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder / BORDERLEFT_0
+
+

BORDERLEFT_0

+ +BORDERLEFT_0 + + diff --git a/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-l-i-g-h-t.html b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-l-i-g-h-t.html new file mode 100644 index 00000000..18441a1e --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-l-i-g-h-t.html @@ -0,0 +1,14 @@ + + + +BsBorder.BORDERLIGHT - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder / BORDERLIGHT
+
+

BORDERLIGHT

+ +BORDERLIGHT + + diff --git a/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-p-r-i-m-a-r-y.html b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-p-r-i-m-a-r-y.html new file mode 100644 index 00000000..a088a988 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-p-r-i-m-a-r-y.html @@ -0,0 +1,14 @@ + + + +BsBorder.BORDERPRIMARY - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder / BORDERPRIMARY
+
+

BORDERPRIMARY

+ +BORDERPRIMARY + + diff --git a/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-r-i-g-h-t.html b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-r-i-g-h-t.html new file mode 100644 index 00000000..484a902a --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-r-i-g-h-t.html @@ -0,0 +1,14 @@ + + + +BsBorder.BORDERRIGHT - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder / BORDERRIGHT
+
+

BORDERRIGHT

+ +BORDERRIGHT + + diff --git a/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-r-i-g-h-t_0.html b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-r-i-g-h-t_0.html new file mode 100644 index 00000000..e6c81101 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-r-i-g-h-t_0.html @@ -0,0 +1,14 @@ + + + +BsBorder.BORDERRIGHT_0 - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder / BORDERRIGHT_0
+
+

BORDERRIGHT_0

+ +BORDERRIGHT_0 + + diff --git a/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-s-e-c-o-n-d-a-r-y.html b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-s-e-c-o-n-d-a-r-y.html new file mode 100644 index 00000000..18a415f4 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-s-e-c-o-n-d-a-r-y.html @@ -0,0 +1,14 @@ + + + +BsBorder.BORDERSECONDARY - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder / BORDERSECONDARY
+
+

BORDERSECONDARY

+ +BORDERSECONDARY + + diff --git a/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-s-u-c-c-e-s-s.html b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-s-u-c-c-e-s-s.html new file mode 100644 index 00000000..ffae5fb0 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-s-u-c-c-e-s-s.html @@ -0,0 +1,14 @@ + + + +BsBorder.BORDERSUCCESS - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder / BORDERSUCCESS
+
+

BORDERSUCCESS

+ +BORDERSUCCESS + + diff --git a/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-t-o-p.html b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-t-o-p.html new file mode 100644 index 00000000..74bd877c --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-t-o-p.html @@ -0,0 +1,14 @@ + + + +BsBorder.BORDERTOP - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder / BORDERTOP
+
+

BORDERTOP

+ +BORDERTOP + + diff --git a/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-t-o-p_0.html b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-t-o-p_0.html new file mode 100644 index 00000000..69e2b913 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-t-o-p_0.html @@ -0,0 +1,14 @@ + + + +BsBorder.BORDERTOP_0 - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder / BORDERTOP_0
+
+

BORDERTOP_0

+ +BORDERTOP_0 + + diff --git a/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-w-a-r-n-i-n-g.html b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-w-a-r-n-i-n-g.html new file mode 100644 index 00000000..64b7b388 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-w-a-r-n-i-n-g.html @@ -0,0 +1,14 @@ + + + +BsBorder.BORDERWARNING - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder / BORDERWARNING
+
+

BORDERWARNING

+ +BORDERWARNING + + diff --git a/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-w-h-i-t-e.html b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-w-h-i-t-e.html new file mode 100644 index 00000000..af1a3960 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r-w-h-i-t-e.html @@ -0,0 +1,14 @@ + + + +BsBorder.BORDERWHITE - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder / BORDERWHITE
+
+

BORDERWHITE

+ +BORDERWHITE + + diff --git a/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r.html b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r.html new file mode 100644 index 00000000..f7468ff4 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r.html @@ -0,0 +1,14 @@ + + + +BsBorder.BORDER - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder / BORDER
+
+

BORDER

+ +BORDER + + diff --git a/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r_0.html b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r_0.html new file mode 100644 index 00000000..87fc6a2b --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/-b-o-r-d-e-r_0.html @@ -0,0 +1,14 @@ + + + +BsBorder.BORDER_0 - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder / BORDER_0
+
+

BORDER_0

+ +BORDER_0 + + diff --git a/api/pl.treksoft.kvision.core/-bs-border/index.html b/api/pl.treksoft.kvision.core/-bs-border/index.html new file mode 100644 index 00000000..5a57239b --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-border/index.html @@ -0,0 +1,165 @@ + + + +BsBorder - kvision + + + +kvision / pl.treksoft.kvision.core / BsBorder
+
+

BsBorder

+enum class BsBorder +

Enum Values

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

BORDER

+
+
+

BORDERTOP

+
+
+

BORDERBOTTOM

+
+
+

BORDERRIGHT

+
+
+

BORDERLEFT

+
+
+

BORDER_0

+
+
+

BORDERTOP_0

+
+
+

BORDERBOTTOM_0

+
+
+

BORDERRIGHT_0

+
+
+

BORDERLEFT_0

+
+
+

BORDERPRIMARY

+
+
+

BORDERSECONDARY

+
+
+

BORDERSUCCESS

+
+
+

BORDERDANGER

+
+
+

BORDERWARNING

+
+
+

BORDERINFO

+
+
+

BORDERLIGHT

+
+
+

BORDERDARK

+
+
+

BORDERWHITE

+
+
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.core/-bs-color/-b-l-a-c-k50.html b/api/pl.treksoft.kvision.core/-bs-color/-b-l-a-c-k50.html new file mode 100644 index 00000000..dd6e0199 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-color/-b-l-a-c-k50.html @@ -0,0 +1,14 @@ + + + +BsColor.BLACK50 - kvision + + + +kvision / pl.treksoft.kvision.core / BsColor / BLACK50
+
+

BLACK50

+ +BLACK50 + + diff --git a/api/pl.treksoft.kvision.core/-bs-color/-b-o-d-y.html b/api/pl.treksoft.kvision.core/-bs-color/-b-o-d-y.html new file mode 100644 index 00000000..4f07c6ba --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-color/-b-o-d-y.html @@ -0,0 +1,14 @@ + + + +BsColor.BODY - kvision + + + +kvision / pl.treksoft.kvision.core / BsColor / BODY
+
+

BODY

+ +BODY + + diff --git a/api/pl.treksoft.kvision.core/-bs-color/-d-a-n-g-e-r.html b/api/pl.treksoft.kvision.core/-bs-color/-d-a-n-g-e-r.html new file mode 100644 index 00000000..93983edc --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-color/-d-a-n-g-e-r.html @@ -0,0 +1,14 @@ + + + +BsColor.DANGER - kvision + + + +kvision / pl.treksoft.kvision.core / BsColor / DANGER
+
+

DANGER

+ +DANGER + + diff --git a/api/pl.treksoft.kvision.core/-bs-color/-d-a-r-k.html b/api/pl.treksoft.kvision.core/-bs-color/-d-a-r-k.html new file mode 100644 index 00000000..58221126 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-color/-d-a-r-k.html @@ -0,0 +1,14 @@ + + + +BsColor.DARK - kvision + + + +kvision / pl.treksoft.kvision.core / BsColor / DARK
+
+

DARK

+ +DARK + + diff --git a/api/pl.treksoft.kvision.core/-bs-color/-i-n-f-o.html b/api/pl.treksoft.kvision.core/-bs-color/-i-n-f-o.html new file mode 100644 index 00000000..e777a6df --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-color/-i-n-f-o.html @@ -0,0 +1,14 @@ + + + +BsColor.INFO - kvision + + + +kvision / pl.treksoft.kvision.core / BsColor / INFO
+
+

INFO

+ +INFO + + diff --git a/api/pl.treksoft.kvision.core/-bs-color/-l-i-g-h-t.html b/api/pl.treksoft.kvision.core/-bs-color/-l-i-g-h-t.html new file mode 100644 index 00000000..913984f3 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-color/-l-i-g-h-t.html @@ -0,0 +1,14 @@ + + + +BsColor.LIGHT - kvision + + + +kvision / pl.treksoft.kvision.core / BsColor / LIGHT
+
+

LIGHT

+ +LIGHT + + diff --git a/api/pl.treksoft.kvision.core/-bs-color/-m-u-t-e-d.html b/api/pl.treksoft.kvision.core/-bs-color/-m-u-t-e-d.html new file mode 100644 index 00000000..bfd096b4 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-color/-m-u-t-e-d.html @@ -0,0 +1,14 @@ + + + +BsColor.MUTED - kvision + + + +kvision / pl.treksoft.kvision.core / BsColor / MUTED
+
+

MUTED

+ +MUTED + + diff --git a/api/pl.treksoft.kvision.core/-bs-color/-p-r-i-m-a-r-y.html b/api/pl.treksoft.kvision.core/-bs-color/-p-r-i-m-a-r-y.html new file mode 100644 index 00000000..cfe22d81 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-color/-p-r-i-m-a-r-y.html @@ -0,0 +1,14 @@ + + + +BsColor.PRIMARY - kvision + + + +kvision / pl.treksoft.kvision.core / BsColor / PRIMARY
+
+

PRIMARY

+ +PRIMARY + + diff --git a/api/pl.treksoft.kvision.core/-bs-color/-s-e-c-o-n-d-a-r-y.html b/api/pl.treksoft.kvision.core/-bs-color/-s-e-c-o-n-d-a-r-y.html new file mode 100644 index 00000000..b710a9a6 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-color/-s-e-c-o-n-d-a-r-y.html @@ -0,0 +1,14 @@ + + + +BsColor.SECONDARY - kvision + + + +kvision / pl.treksoft.kvision.core / BsColor / SECONDARY
+
+

SECONDARY

+ +SECONDARY + + diff --git a/api/pl.treksoft.kvision.core/-bs-color/-s-u-c-c-e-s-s.html b/api/pl.treksoft.kvision.core/-bs-color/-s-u-c-c-e-s-s.html new file mode 100644 index 00000000..ed9be834 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-color/-s-u-c-c-e-s-s.html @@ -0,0 +1,14 @@ + + + +BsColor.SUCCESS - kvision + + + +kvision / pl.treksoft.kvision.core / BsColor / SUCCESS
+
+

SUCCESS

+ +SUCCESS + + diff --git a/api/pl.treksoft.kvision.core/-bs-color/-w-a-r-n-i-n-g.html b/api/pl.treksoft.kvision.core/-bs-color/-w-a-r-n-i-n-g.html new file mode 100644 index 00000000..871cb5d8 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-color/-w-a-r-n-i-n-g.html @@ -0,0 +1,14 @@ + + + +BsColor.WARNING - kvision + + + +kvision / pl.treksoft.kvision.core / BsColor / WARNING
+
+

WARNING

+ +WARNING + + diff --git a/api/pl.treksoft.kvision.core/-bs-color/-w-h-i-t-e.html b/api/pl.treksoft.kvision.core/-bs-color/-w-h-i-t-e.html new file mode 100644 index 00000000..ed7716b7 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-color/-w-h-i-t-e.html @@ -0,0 +1,14 @@ + + + +BsColor.WHITE - kvision + + + +kvision / pl.treksoft.kvision.core / BsColor / WHITE
+
+

WHITE

+ +WHITE + + diff --git a/api/pl.treksoft.kvision.core/-bs-color/-w-h-i-t-e50.html b/api/pl.treksoft.kvision.core/-bs-color/-w-h-i-t-e50.html new file mode 100644 index 00000000..2b6faa9e --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-color/-w-h-i-t-e50.html @@ -0,0 +1,14 @@ + + + +BsColor.WHITE50 - kvision + + + +kvision / pl.treksoft.kvision.core / BsColor / WHITE50
+
+

WHITE50

+ +WHITE50 + + diff --git a/api/pl.treksoft.kvision.core/-bs-color/index.html b/api/pl.treksoft.kvision.core/-bs-color/index.html new file mode 100644 index 00000000..c89c683e --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-color/index.html @@ -0,0 +1,123 @@ + + + +BsColor - kvision + + + +kvision / pl.treksoft.kvision.core / BsColor
+
+

BsColor

+enum class BsColor +

Enum Values

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

PRIMARY

+
+
+

SECONDARY

+
+
+

SUCCESS

+
+
+

DANGER

+
+
+

WARNING

+
+
+

INFO

+
+
+

LIGHT

+
+
+

DARK

+
+
+

WHITE

+
+
+

BODY

+
+
+

MUTED

+
+
+

BLACK50

+
+
+

WHITE50

+
+
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-b-o-t-t-o-m.html b/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-b-o-t-t-o-m.html new file mode 100644 index 00000000..e4edebc8 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-b-o-t-t-o-m.html @@ -0,0 +1,14 @@ + + + +BsRounded.ROUNDEDBOTTOM - kvision + + + +kvision / pl.treksoft.kvision.core / BsRounded / ROUNDEDBOTTOM
+
+

ROUNDEDBOTTOM

+ +ROUNDEDBOTTOM + + diff --git a/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-c-i-r-c-l-e.html b/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-c-i-r-c-l-e.html new file mode 100644 index 00000000..15dc7ff6 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-c-i-r-c-l-e.html @@ -0,0 +1,14 @@ + + + +BsRounded.ROUNDEDCIRCLE - kvision + + + +kvision / pl.treksoft.kvision.core / BsRounded / ROUNDEDCIRCLE
+
+

ROUNDEDCIRCLE

+ +ROUNDEDCIRCLE + + diff --git a/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-l-e-f-t.html b/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-l-e-f-t.html new file mode 100644 index 00000000..391beaae --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-l-e-f-t.html @@ -0,0 +1,14 @@ + + + +BsRounded.ROUNDEDLEFT - kvision + + + +kvision / pl.treksoft.kvision.core / BsRounded / ROUNDEDLEFT
+
+

ROUNDEDLEFT

+ +ROUNDEDLEFT + + diff --git a/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-l-g.html b/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-l-g.html new file mode 100644 index 00000000..6790f101 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-l-g.html @@ -0,0 +1,14 @@ + + + +BsRounded.ROUNDEDLG - kvision + + + +kvision / pl.treksoft.kvision.core / BsRounded / ROUNDEDLG
+
+

ROUNDEDLG

+ +ROUNDEDLG + + diff --git a/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-p-i-l-l.html b/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-p-i-l-l.html new file mode 100644 index 00000000..dae37c81 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-p-i-l-l.html @@ -0,0 +1,14 @@ + + + +BsRounded.ROUNDEDPILL - kvision + + + +kvision / pl.treksoft.kvision.core / BsRounded / ROUNDEDPILL
+
+

ROUNDEDPILL

+ +ROUNDEDPILL + + diff --git a/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-r-i-g-h-t.html b/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-r-i-g-h-t.html new file mode 100644 index 00000000..48e59da0 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-r-i-g-h-t.html @@ -0,0 +1,14 @@ + + + +BsRounded.ROUNDEDRIGHT - kvision + + + +kvision / pl.treksoft.kvision.core / BsRounded / ROUNDEDRIGHT
+
+

ROUNDEDRIGHT

+ +ROUNDEDRIGHT + + diff --git a/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-s-m.html b/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-s-m.html new file mode 100644 index 00000000..2c592ec6 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-s-m.html @@ -0,0 +1,14 @@ + + + +BsRounded.ROUNDEDSM - kvision + + + +kvision / pl.treksoft.kvision.core / BsRounded / ROUNDEDSM
+
+

ROUNDEDSM

+ +ROUNDEDSM + + diff --git a/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-t-o-p.html b/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-t-o-p.html new file mode 100644 index 00000000..eef2197c --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d-t-o-p.html @@ -0,0 +1,14 @@ + + + +BsRounded.ROUNDEDTOP - kvision + + + +kvision / pl.treksoft.kvision.core / BsRounded / ROUNDEDTOP
+
+

ROUNDEDTOP

+ +ROUNDEDTOP + + diff --git a/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d.html b/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d.html new file mode 100644 index 00000000..b156dad5 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-rounded/-r-o-u-n-d-e-d.html @@ -0,0 +1,14 @@ + + + +BsRounded.ROUNDED - kvision + + + +kvision / pl.treksoft.kvision.core / BsRounded / ROUNDED
+
+

ROUNDED

+ +ROUNDED + + diff --git a/api/pl.treksoft.kvision.core/-bs-rounded/index.html b/api/pl.treksoft.kvision.core/-bs-rounded/index.html new file mode 100644 index 00000000..488fad20 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-bs-rounded/index.html @@ -0,0 +1,95 @@ + + + +BsRounded - kvision + + + +kvision / pl.treksoft.kvision.core / BsRounded
+
+

BsRounded

+enum class BsRounded +

Enum Values

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

ROUNDED

+
+
+

ROUNDEDTOP

+
+
+

ROUNDEDBOTTOM

+
+
+

ROUNDEDLEFT

+
+
+

ROUNDEDRIGHT

+
+
+

ROUNDEDCIRCLE

+
+
+

ROUNDEDPILL

+
+
+

ROUNDEDLG

+
+
+

ROUNDEDSM

+
+
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.core/-component/index.html b/api/pl.treksoft.kvision.core/-component/index.html index 3042d07c..2038e6d0 100644 --- a/api/pl.treksoft.kvision.core/-component/index.html +++ b/api/pl.treksoft.kvision.core/-component/index.html @@ -141,6 +141,41 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + +

createInstance

@@ -148,6 +183,41 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit +

Inheritors

diff --git a/api/pl.treksoft.kvision.core/-container/index.html b/api/pl.treksoft.kvision.core/-container/index.html index 56cf68c7..83d2bcf8 100644 --- a/api/pl.treksoft.kvision.core/-container/index.html +++ b/api/pl.treksoft.kvision.core/-container/index.html @@ -200,6 +200,104 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + + +

bold

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

DSL builder extension function.

+ + + + +

button

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

DSL builder extension function.

+ + + + +

buttonGroup

+ + +fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+ + + + +

canvas

+ + +fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+ + + + +

chart

+ + +fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+ + + + +

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.

+ + + + +

checkBoxInput

+ + +fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+ + + +

createInstance

@@ -207,6 +305,643 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

dataContainer

+ + +fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+ + + + +

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.

+ + + + +

dateTimeInput

+ + +fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+ + + + +

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.

+ + + + +

dockPanel

+ + +fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+ + + + +

dropDown

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

DSL builder extension function.

+ + + + +

fieldLabel

+ + +fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+ + + + +

flexPanel

+ + +fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+ + + + +

footer

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

DSL builder extension function.

+ + + + +

formPanel

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

DSL builder extension function.

+ + + + +

gridPanel

+ + +fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+ + + + +

h1

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

DSL builder extension function.

+ + + + +

h2

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

DSL builder extension function.

+ + + + +

h3

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

DSL builder extension function.

+ + + + +

h4

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

DSL builder extension function.

+ + + + +

h5

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

DSL builder extension function.

+ + + + +

h6

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

DSL builder extension function.

+ + + + +

header

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

DSL builder extension function.

+ + + + +

hPanel

+ + +fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+ + + + +

icon

+ + +fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+ + + + +

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.

+ + + + +

image

+ + +fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+ + + + +

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.

+ + + + +

listTag

+ + +fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+ + + + +

navbar

+ + +fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+ + + + +

p

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

DSL builder extension function.

+ + + + +

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.

+ + + + +

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.

+ + + + +

radio

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

DSL builder extension function.

+ + + + +

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.

+ + + + +

radioGroupInput

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

DSL builder extension function.

+ + + + +

radioInput

+ + +fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+ + + + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit + + + +

responsiveGridPanel

+ + +fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+ + + + +

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.

+ + + + +

richTextInput

+ + +fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+ + + + +

section

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

DSL builder extension function.

+ + + + +

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.

+ + + + +

selectInput

+ + +fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+ + + + +

selectRemote

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

DSL builder extension function.

+ + + + +

selectRemoteInput

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

DSL builder extension function.

+ + + + +

simplePanel

+ + +fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+ + + + +

simpleSelect

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

DSL builder extension function.

+ + + + +

simpleSelectInput

+ + +fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+ + + + +

span

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

DSL builder extension function.

+ + + + +

spinner

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

DSL builder extension function.

+ + + + +

spinnerInput

+ + +fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+ + + + +

splitPanel

+ + +fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+ + + + +

stackPanel

+ + +fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+ + + + +

stateBinding

+ + +fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+ + + + +

stateUpdate

+ + +fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+ + + + +

table

+ + +fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+ + + + +

tabPanel

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

DSL builder extension function.

+ + + + +

tabulator

+ + +fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+ + + + +

tabulatorRemote

+ + +fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+ + + + +

tag

+ + +fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+ + + + +

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.

+ + + + +

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.

+ + + + +

textAreaInput

+ + +fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+ + + + +

textInput

+ + +fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+ + + + +

toolbar

+ + +fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+ + + + +

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.

+ + + + +

uploadInput

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

DSL builder extension function.

+ + + + +

vPanel

+ + +fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+ + + + +

widget

+ + +fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+ + + + +

widgetWrapper

+ + +fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+ + + + +

window

+ + +fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+ +

Inheritors

diff --git a/api/pl.treksoft.kvision.core/-style/index.html b/api/pl.treksoft.kvision.core/-style/index.html index 9a77e6b9..3a33d5e3 100644 --- a/api/pl.treksoft.kvision.core/-style/index.html +++ b/api/pl.treksoft.kvision.core/-style/index.html @@ -616,32 +616,25 @@ -

Companion Object Functions

+

Extension Functions

- -
-

style

+

createInstance

-fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style -

DSL builder extension function.

-fun Style.style(className: String? = null, init: (Style.() -> Unit)? = null): Style -

DSL builder extension function for cascading styles.

+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

-

Extension Functions

- - diff --git a/api/pl.treksoft.kvision.core/-style/style.html b/api/pl.treksoft.kvision.core/-style/style.html deleted file mode 100644 index 8ca3a926..00000000 --- a/api/pl.treksoft.kvision.core/-style/style.html +++ /dev/null @@ -1,20 +0,0 @@ - - - -Style.style - kvision - - - -kvision / pl.treksoft.kvision.core / Style / style
-
-

style

- -fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style -

DSL builder extension function.

-

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

- -fun Style.style(className: String? = null, init: (Style.() -> Unit)? = null): Style -

DSL builder extension function for cascading styles.

-

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

- - diff --git a/api/pl.treksoft.kvision.core/-widget-wrapper/index.html b/api/pl.treksoft.kvision.core/-widget-wrapper/index.html index 193530a0..14a887d3 100644 --- a/api/pl.treksoft.kvision.core/-widget-wrapper/index.html +++ b/api/pl.treksoft.kvision.core/-widget-wrapper/index.html @@ -34,6 +34,18 @@
-

createInstance

+

style

-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

+fun Style.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function for cascading styles.

+

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -116,23 +128,116 @@
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

widgetWrapper

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -142,6 +247,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+

Inheritors

diff --git a/api/pl.treksoft.kvision.core/-widget-wrapper/widget-wrapper.html b/api/pl.treksoft.kvision.core/-widget-wrapper/widget-wrapper.html deleted file mode 100644 index 63278644..00000000 --- a/api/pl.treksoft.kvision.core/-widget-wrapper/widget-wrapper.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -WidgetWrapper.widgetWrapper - kvision - - - -kvision / pl.treksoft.kvision.core / WidgetWrapper / widgetWrapper
-
-

widgetWrapper

- -fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper -

DSL builder extension function.

-

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

- - diff --git a/api/pl.treksoft.kvision.core/-widget/index.html b/api/pl.treksoft.kvision.core/-widget/index.html index 2a69b677..80ad97f2 100644 --- a/api/pl.treksoft.kvision.core/-widget/index.html +++ b/api/pl.treksoft.kvision.core/-widget/index.html @@ -113,6 +113,15 @@ +

tabindex

+ + +var tabindex: Int? +

A tabindex attribute of generated HTML element.

+ + + +

title

@@ -945,15 +954,6 @@ -

setContextMenu

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

Sets context menu for the current widget.

- - - -

setDragDropData

@@ -1066,23 +1066,53 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + - -
-

widget

+

addBsBgColor

-fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -1092,6 +1122,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

setContextMenu

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

Sets context menu for the current widget.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+

Inheritors

@@ -1162,15 +1245,6 @@ -

DateTimeInput

- - -open class DateTimeInput : Widget, FormInput -

Basic date/time chooser component.

- - - -

Iframe

@@ -1234,11 +1308,11 @@ -

StateBinding

+

StateBinding

-class StateBinding<S : Any, A : RAction, CONT : Container, CONTENT> : Widget -

A class which binds the redux store with the given container.

+class StateBinding<S : Any, CONT : Container, CONTENT> : Widget +

A class which binds the given container to the observable state.

diff --git a/api/pl.treksoft.kvision.core/-widget/set-context-menu.html b/api/pl.treksoft.kvision.core/-widget/set-context-menu.html deleted file mode 100644 index ac6afcfb..00000000 --- a/api/pl.treksoft.kvision.core/-widget/set-context-menu.html +++ /dev/null @@ -1,20 +0,0 @@ - - - -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/-widget/tabindex.html b/api/pl.treksoft.kvision.core/-widget/tabindex.html new file mode 100644 index 00000000..14dfaf55 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/tabindex.html @@ -0,0 +1,21 @@ + + + +Widget.tabindex - kvision + + + +kvision / pl.treksoft.kvision.core / Widget / tabindex
+
+

tabindex

+ +var tabindex: Int? +

A tabindex attribute of generated HTML element.

+

Getter
+

A tabindex attribute of generated HTML element.

+

+

Setter
+

A tabindex attribute of generated HTML element.

+

+ + diff --git a/api/pl.treksoft.kvision.core/-widget/widget.html b/api/pl.treksoft.kvision.core/-widget/widget.html deleted file mode 100644 index be1743f6..00000000 --- a/api/pl.treksoft.kvision.core/-widget/widget.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Widget.widget - kvision - - - -kvision / pl.treksoft.kvision.core / Widget / widget
-
-

widget

- -fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget -

DSL builder extension function.

-

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

- - diff --git a/api/pl.treksoft.kvision.core/add-bs-bg-color.html b/api/pl.treksoft.kvision.core/add-bs-bg-color.html new file mode 100644 index 00000000..0e0625bc --- /dev/null +++ b/api/pl.treksoft.kvision.core/add-bs-bg-color.html @@ -0,0 +1,14 @@ + + + +addBsBgColor - kvision + + + +kvision / pl.treksoft.kvision.core / addBsBgColor
+
+

addBsBgColor

+ +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + diff --git a/api/pl.treksoft.kvision.core/add-bs-border.html b/api/pl.treksoft.kvision.core/add-bs-border.html new file mode 100644 index 00000000..3cf8618d --- /dev/null +++ b/api/pl.treksoft.kvision.core/add-bs-border.html @@ -0,0 +1,14 @@ + + + +addBsBorder - kvision + + + +kvision / pl.treksoft.kvision.core / addBsBorder
+
+

addBsBorder

+ +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + diff --git a/api/pl.treksoft.kvision.core/add-bs-clearfix.html b/api/pl.treksoft.kvision.core/add-bs-clearfix.html new file mode 100644 index 00000000..08171686 --- /dev/null +++ b/api/pl.treksoft.kvision.core/add-bs-clearfix.html @@ -0,0 +1,14 @@ + + + +addBsClearfix - kvision + + + +kvision / pl.treksoft.kvision.core / addBsClearfix
+
+

addBsClearfix

+ +fun Component.addBsClearfix(): Unit + + diff --git a/api/pl.treksoft.kvision.core/add-bs-color.html b/api/pl.treksoft.kvision.core/add-bs-color.html new file mode 100644 index 00000000..1321c548 --- /dev/null +++ b/api/pl.treksoft.kvision.core/add-bs-color.html @@ -0,0 +1,14 @@ + + + +addBsColor - kvision + + + +kvision / pl.treksoft.kvision.core / addBsColor
+
+

addBsColor

+ +fun Component.addBsColor(bsColor: BsColor): Unit + + diff --git a/api/pl.treksoft.kvision.core/add-bs-rounded.html b/api/pl.treksoft.kvision.core/add-bs-rounded.html new file mode 100644 index 00000000..fc1ef8df --- /dev/null +++ b/api/pl.treksoft.kvision.core/add-bs-rounded.html @@ -0,0 +1,14 @@ + + + +addBsRounded - kvision + + + +kvision / pl.treksoft.kvision.core / addBsRounded
+
+

addBsRounded

+ +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + diff --git a/api/pl.treksoft.kvision.core/index.html b/api/pl.treksoft.kvision.core/index.html index 7e64ef45..ff1a7c91 100644 --- a/api/pl.treksoft.kvision.core/index.html +++ b/api/pl.treksoft.kvision.core/index.html @@ -87,6 +87,34 @@ backgrounds, fonts, text and position) and the main Widget class.

+

BsBgColor

+ + +enum class BsBgColor + + + +

BsBorder

+ + +enum class BsBorder + + + +

BsColor

+ + +enum class BsColor + + + +

BsRounded

+ + +enum class BsRounded + + +

Clear

@@ -457,6 +485,87 @@ backgrounds, fonts, text and position) and the main Widget class.

+

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit + + + +

style

+ + +fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+fun Style.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function for cascading styles.

+ + + +

toJs

@@ -466,6 +575,24 @@ backgrounds, fonts, text and position) and the main Widget class.

Convert PopoverOptions to JavaScript JSON object.

+ + +

widget

+ + +fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+ + + + +

widgetWrapper

+ + +fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+ + diff --git a/api/pl.treksoft.kvision.core/remove-bs-bg-color.html b/api/pl.treksoft.kvision.core/remove-bs-bg-color.html new file mode 100644 index 00000000..ba65c439 --- /dev/null +++ b/api/pl.treksoft.kvision.core/remove-bs-bg-color.html @@ -0,0 +1,14 @@ + + + +removeBsBgColor - kvision + + + +kvision / pl.treksoft.kvision.core / removeBsBgColor
+
+

removeBsBgColor

+ +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + diff --git a/api/pl.treksoft.kvision.core/remove-bs-border.html b/api/pl.treksoft.kvision.core/remove-bs-border.html new file mode 100644 index 00000000..1e3a4c78 --- /dev/null +++ b/api/pl.treksoft.kvision.core/remove-bs-border.html @@ -0,0 +1,14 @@ + + + +removeBsBorder - kvision + + + +kvision / pl.treksoft.kvision.core / removeBsBorder
+
+

removeBsBorder

+ +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + diff --git a/api/pl.treksoft.kvision.core/remove-bs-clearfix.html b/api/pl.treksoft.kvision.core/remove-bs-clearfix.html new file mode 100644 index 00000000..8781331c --- /dev/null +++ b/api/pl.treksoft.kvision.core/remove-bs-clearfix.html @@ -0,0 +1,14 @@ + + + +removeBsClearfix - kvision + + + +kvision / pl.treksoft.kvision.core / removeBsClearfix
+
+

removeBsClearfix

+ +fun Component.removeBsClearfix(): Unit + + diff --git a/api/pl.treksoft.kvision.core/remove-bs-color.html b/api/pl.treksoft.kvision.core/remove-bs-color.html new file mode 100644 index 00000000..42a84192 --- /dev/null +++ b/api/pl.treksoft.kvision.core/remove-bs-color.html @@ -0,0 +1,14 @@ + + + +removeBsColor - kvision + + + +kvision / pl.treksoft.kvision.core / removeBsColor
+
+

removeBsColor

+ +fun Component.removeBsColor(bsColor: BsColor): Unit + + diff --git a/api/pl.treksoft.kvision.core/remove-bs-rounded.html b/api/pl.treksoft.kvision.core/remove-bs-rounded.html new file mode 100644 index 00000000..6047f31d --- /dev/null +++ b/api/pl.treksoft.kvision.core/remove-bs-rounded.html @@ -0,0 +1,14 @@ + + + +removeBsRounded - kvision + + + +kvision / pl.treksoft.kvision.core / removeBsRounded
+
+

removeBsRounded

+ +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit + + diff --git a/api/pl.treksoft.kvision.core/style.html b/api/pl.treksoft.kvision.core/style.html new file mode 100644 index 00000000..026bae77 --- /dev/null +++ b/api/pl.treksoft.kvision.core/style.html @@ -0,0 +1,20 @@ + + + +style - kvision + + + +kvision / pl.treksoft.kvision.core / style
+
+

style

+ +fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+

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

+ +fun Style.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function for cascading styles.

+

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

+ + diff --git a/api/pl.treksoft.kvision.core/widget-wrapper.html b/api/pl.treksoft.kvision.core/widget-wrapper.html new file mode 100644 index 00000000..410ee28e --- /dev/null +++ b/api/pl.treksoft.kvision.core/widget-wrapper.html @@ -0,0 +1,16 @@ + + + +widgetWrapper - kvision + + + +kvision / pl.treksoft.kvision.core / widgetWrapper
+
+

widgetWrapper

+ +fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+

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

+ + diff --git a/api/pl.treksoft.kvision.core/widget.html b/api/pl.treksoft.kvision.core/widget.html new file mode 100644 index 00000000..7a9b021f --- /dev/null +++ b/api/pl.treksoft.kvision.core/widget.html @@ -0,0 +1,16 @@ + + + +widget - kvision + + + +kvision / pl.treksoft.kvision.core / widget
+
+

widget

+ +fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+

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

+ + diff --git a/api/pl.treksoft.kvision.data/-data-container/data-container.html b/api/pl.treksoft.kvision.data/-data-container/data-container.html deleted file mode 100644 index a048354f..00000000 --- a/api/pl.treksoft.kvision.data/-data-container/data-container.html +++ /dev/null @@ -1,20 +0,0 @@ - - - -DataContainer.dataContainer - kvision - - - -kvision / pl.treksoft.kvision.data / DataContainer / dataContainer
-
-

dataContainer

- -fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> -

DSL builder extension function.

-

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

- -fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> -

DSL builder extension function with VPanel default.

-

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

- - diff --git a/api/pl.treksoft.kvision.data/-data-container/index.html b/api/pl.treksoft.kvision.data/-data-container/index.html index c74daa17..439bbfaf 100644 --- a/api/pl.treksoft.kvision.data/-data-container/index.html +++ b/api/pl.treksoft.kvision.data/-data-container/index.html @@ -107,6 +107,15 @@ +

tabindex

+ + +var tabindex: Int? +

A tabindex attribute of generated HTML element.

+ + + +

title

@@ -489,15 +498,6 @@ -

setContextMenu

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

Sets context menu for the current widget.

- - - -

setDragDropData

@@ -587,25 +587,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

dataContainer

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> -

DSL builder extension function with VPanel default.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -615,6 +706,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.data/data-container.html b/api/pl.treksoft.kvision.data/data-container.html new file mode 100644 index 00000000..d1a69659 --- /dev/null +++ b/api/pl.treksoft.kvision.data/data-container.html @@ -0,0 +1,20 @@ + + + +dataContainer - kvision + + + +kvision / pl.treksoft.kvision.data / dataContainer
+
+

dataContainer

+ +fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+

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

+ +fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+

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

+ + diff --git a/api/pl.treksoft.kvision.data/index.html b/api/pl.treksoft.kvision.data/index.html index 86c30325..f2f8ddb2 100644 --- a/api/pl.treksoft.kvision.data/index.html +++ b/api/pl.treksoft.kvision.data/index.html @@ -59,5 +59,21 @@ +

Functions

+ + + + + + + +
+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

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

contextMenu

- -fun Widget.contextMenu(fixedPosition: Boolean = false, 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 index 0f9dc915..03b025e3 100644 --- a/api/pl.treksoft.kvision.dropdown/-context-menu/index.html +++ b/api/pl.treksoft.kvision.dropdown/-context-menu/index.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.dropdown / ContextMenu

ContextMenu

-open class ContextMenu : ListTag +open class ContextMenu : Div

Context menu component.

Constructors

@@ -36,120 +36,167 @@
-

Inherited Properties

+

Functions

+ +
-

elements

+

positionMenu

-var elements: List<String>? -

List of elements.

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

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

+

Companion Object Properties

+ + +const val DEFAULT_FIXED_POS_X: Int +const val DEFAULT_FIXED_POS_Y: Int
-

rich

+

DEFAULT_FIXED_POS_X

-var rich: Boolean -

Determines if elements can contain HTML code.

-
-

type

+

DEFAULT_FIXED_POS_Y

-var type: ListType -

List type.

-
-

Functions

+

Extension Functions

+ + + + + + + + - -
-

positionMenu

+

addBsBgColor

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

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

+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
-

Inherited Functions

- - + + + + - -
-

childrenVNodes

+

addBsColor

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

Returns the array of the children Snabbdom vnodes.

+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
-

getSnClass

+

bold

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

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

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

DSL builder extension function.

-

render

+

button

-open fun render(): VNode -

Renders current component as a Snabbdom vnode.

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

DSL builder extension function.

-

Companion Object Properties

- - +fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+ +fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+ - -
-

DEFAULT_FIXED_POS_X

+

buttonGroup

-const val DEFAULT_FIXED_POS_X: Int
-

DEFAULT_FIXED_POS_Y

+

canvas

-const val DEFAULT_FIXED_POS_Y: Int
-

Companion Object Functions

- - + + + + + + + + + + + + + + + + + + + + - -
-

contextMenu

+

chart

-fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

cmLink

+
+fun ContextMenu.cmLink(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link +

DSL builder extension function for a link in a context menu list.

+
+

cmLinkDisabled

+
+fun ContextMenu.cmLinkDisabled(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 context menu list.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -159,6 +206,689 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

separator

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.dropdown/-direction/-d-r-o-p-d-o-w-n.html b/api/pl.treksoft.kvision.dropdown/-direction/-d-r-o-p-d-o-w-n.html new file mode 100644 index 00000000..00aa4255 --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-direction/-d-r-o-p-d-o-w-n.html @@ -0,0 +1,14 @@ + + + +Direction.DROPDOWN - kvision + + + +kvision / pl.treksoft.kvision.dropdown / Direction / DROPDOWN
+
+

DROPDOWN

+ +DROPDOWN + + diff --git a/api/pl.treksoft.kvision.dropdown/-direction/-d-r-o-p-l-e-f-t.html b/api/pl.treksoft.kvision.dropdown/-direction/-d-r-o-p-l-e-f-t.html new file mode 100644 index 00000000..838d234d --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-direction/-d-r-o-p-l-e-f-t.html @@ -0,0 +1,14 @@ + + + +Direction.DROPLEFT - kvision + + + +kvision / pl.treksoft.kvision.dropdown / Direction / DROPLEFT
+
+

DROPLEFT

+ +DROPLEFT + + diff --git a/api/pl.treksoft.kvision.dropdown/-direction/-d-r-o-p-r-i-g-h-t.html b/api/pl.treksoft.kvision.dropdown/-direction/-d-r-o-p-r-i-g-h-t.html new file mode 100644 index 00000000..54d104db --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-direction/-d-r-o-p-r-i-g-h-t.html @@ -0,0 +1,14 @@ + + + +Direction.DROPRIGHT - kvision + + + +kvision / pl.treksoft.kvision.dropdown / Direction / DROPRIGHT
+
+

DROPRIGHT

+ +DROPRIGHT + + diff --git a/api/pl.treksoft.kvision.dropdown/-direction/-d-r-o-p-u-p.html b/api/pl.treksoft.kvision.dropdown/-direction/-d-r-o-p-u-p.html new file mode 100644 index 00000000..cfc8f534 --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-direction/-d-r-o-p-u-p.html @@ -0,0 +1,14 @@ + + + +Direction.DROPUP - kvision + + + +kvision / pl.treksoft.kvision.dropdown / Direction / DROPUP
+
+

DROPUP

+ +DROPUP + + diff --git a/api/pl.treksoft.kvision.dropdown/-direction/index.html b/api/pl.treksoft.kvision.dropdown/-direction/index.html new file mode 100644 index 00000000..81878f40 --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-direction/index.html @@ -0,0 +1,61 @@ + + + +Direction - kvision + + + +kvision / pl.treksoft.kvision.dropdown / Direction
+
+

Direction

+enum class Direction +

Dropdown directions.

+

Enum Values

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

DROPDOWN

+
+
+

DROPUP

+
+
+

DROPLEFT

+
+
+

DROPRIGHT

+
+
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html b/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html index 67e3cdef..b888b053 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, forNavbar: Boolean = false, withCaret: Boolean = true, classes: Set<String> = setOf()) + +DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf())

Parameters

text - the label of the dropdown button

@@ -19,12 +19,14 @@ icon - the icon of the dropdown button

style - the style of the dropdown button

+

+direction - the direction of the dropdown

disabled - determines if the component is disabled on start

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

-

-withCaret - determines if the dropdown button renders caret

+

+forDropDown - determines if the component will be used in a dropdown

classes - a set of CSS class names

Constructor
diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/direction.html b/api/pl.treksoft.kvision.dropdown/-drop-down/direction.html new file mode 100644 index 00000000..f60fc025 --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-drop-down/direction.html @@ -0,0 +1,21 @@ + + + +DropDown.direction - kvision + + + +kvision / pl.treksoft.kvision.dropdown / DropDown / direction
+
+

direction

+ +var direction: Direction +

The direction of the dropdown.

+

Getter
+

The direction of the dropdown.

+

+

Setter
+

The direction of the dropdown.

+

+ + diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/drop-down.html b/api/pl.treksoft.kvision.dropdown/-drop-down/drop-down.html deleted file mode 100644 index 8c8fddaa..00000000 --- a/api/pl.treksoft.kvision.dropdown/-drop-down/drop-down.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -DropDown.dropDown - kvision - - - -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, forNavbar: Boolean = false, withCaret: Boolean = true, 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/dropup.html b/api/pl.treksoft.kvision.dropdown/-drop-down/dropup.html deleted file mode 100644 index 40a56d7b..00000000 --- a/api/pl.treksoft.kvision.dropdown/-drop-down/dropup.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -DropDown.dropup - kvision - - - -kvision / pl.treksoft.kvision.dropdown / DropDown / dropup
-
-

dropup

- -var dropup: Boolean -

Determines if the dropdown is showing upwards.

-

Getter
-

Determines if the dropdown is showing upwards.

-

-

Setter
-

Determines if the dropdown is showing upwards.

-

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

forDropDown

+ +val forDropDown: Boolean +

determines if the component will be used in a dropdown

+ + diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/index.html b/api/pl.treksoft.kvision.dropdown/-drop-down/index.html index 245bb51f..b08471fd 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, forNavbar: Boolean = false, withCaret: Boolean = true, classes: Set<String> = setOf()) +DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf()) @@ -36,6 +36,15 @@ +

direction

+ + +var direction: Direction +

The direction of the dropdown.

+ + + +

disabled

@@ -45,11 +54,11 @@ -

dropup

+

forDropDown

-var dropup: Boolean -

Determines if the dropdown is showing upwards.

+val forDropDown: Boolean +

determines if the component will be used in a dropdown

@@ -117,6 +126,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -192,15 +213,6 @@ - - - - - -
-

render

-
-open fun render(): VNode -

Renders current component as a Snabbdom vnode.

-

toggle

@@ -231,18 +243,13 @@

Returns the array of the children Snabbdom vnodes.

-

Companion Object Functions

- - @@ -252,6 +259,113 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-

dropDown

+

render

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

DSL builder extension function.

+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

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

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

+

createInstance

@@ -259,6 +373,697 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

ddLink

+
+fun DropDown.ddLink(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link +

DSL builder extension function for a link in a dropdown list.

+
+

ddLinkDisabled

+
+fun DropDown.ddLinkDisabled(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.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

separator

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

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 deleted file mode 100644 index 6f4b3a6b..00000000 --- a/api/pl.treksoft.kvision.dropdown/-drop-down/render.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -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/header.html b/api/pl.treksoft.kvision.dropdown/-header/header.html deleted file mode 100644 index cd2a539b..00000000 --- a/api/pl.treksoft.kvision.dropdown/-header/header.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -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 index 3fc28402..67dd28f7 100644 --- a/api/pl.treksoft.kvision.dropdown/-header/index.html +++ b/api/pl.treksoft.kvision.dropdown/-header/index.html @@ -111,24 +111,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

header

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun ListTag.header(content: String? = null, classes: Set<String> = setOf()): Header
-fun DropDown.header(content: String? = null, classes: Set<String> = setOf()): Header +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

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

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.dropdown/-separator/index.html b/api/pl.treksoft.kvision.dropdown/-separator/index.html index d5774eab..67b90f8d 100644 --- a/api/pl.treksoft.kvision.dropdown/-separator/index.html +++ b/api/pl.treksoft.kvision.dropdown/-separator/index.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.dropdown / Separator

Separator

-open class Separator : Tag +open class Separator : Div

Menu separator component.

Constructors

createInstance

@@ -140,12 +232,667 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

@@ -22,113 +22,116 @@
-

Inherited Properties

+

Extension Functions

+ + + + + + + + + + + + - -
-

align

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

-var align: Align? -

Text align.

+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+fun Component.addBsClearfix(): Unit
-

content

+

addBsColor

-open var content: String? -

Text content of the tag.

+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
-

rich

+

bold

-open var rich: Boolean -

Determines if content can contain HTML code.

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

DSL builder extension function.

-

template

+

button

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

Handlebars template.

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

DSL builder extension function.

-

templates

+

buttonGroup

-open var templates: Map<String, (Any?) -> String> -

Handlebars templates for i18n.

+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

-

type

+

canvas

-var type: TAG -

Tag type.

+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

-

Inherited Functions

- - +fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+ - -
-

getSnClass

+

chart

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

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

+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

-

render

+

checkBox

-open fun render(): VNode -

Renders current component as a Snabbdom vnode.

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

DSL builder extension function.

-

unaryPlus

+

checkBoxInput

-operator fun String.unaryPlus(): Unit
-

Companion Object Functions

- - - -
-

separator

+

contextMenu

-fun ListTag.separator(classes: Set<String> = setOf()): Separator
-fun DropDown.separator(classes: Set<String> = setOf()): Separator +fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.dropdown/-separator/separator.html b/api/pl.treksoft.kvision.dropdown/-separator/separator.html deleted file mode 100644 index d58d968c..00000000 --- a/api/pl.treksoft.kvision.dropdown/-separator/separator.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -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/cm-link-disabled.html b/api/pl.treksoft.kvision.dropdown/cm-link-disabled.html new file mode 100644 index 00000000..b4d42f4b --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/cm-link-disabled.html @@ -0,0 +1,16 @@ + + + +cmLinkDisabled - kvision + + + +kvision / pl.treksoft.kvision.dropdown / cmLinkDisabled
+
+

cmLinkDisabled

+ +fun ContextMenu.cmLinkDisabled(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 context menu list.

+

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

+ + diff --git a/api/pl.treksoft.kvision.dropdown/cm-link.html b/api/pl.treksoft.kvision.dropdown/cm-link.html new file mode 100644 index 00000000..9001bb4c --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/cm-link.html @@ -0,0 +1,16 @@ + + + +cmLink - kvision + + + +kvision / pl.treksoft.kvision.dropdown / cmLink
+
+

cmLink

+ +fun ContextMenu.cmLink(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link +

DSL builder extension function for a link in a context menu list.

+

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

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

contextMenu

+ +fun Widget.contextMenu(fixedPosition: Boolean = false, 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/dd-link-disabled.html b/api/pl.treksoft.kvision.dropdown/dd-link-disabled.html new file mode 100644 index 00000000..ba0c634a --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/dd-link-disabled.html @@ -0,0 +1,16 @@ + + + +ddLinkDisabled - kvision + + + +kvision / pl.treksoft.kvision.dropdown / ddLinkDisabled
+
+

ddLinkDisabled

+ +fun DropDown.ddLinkDisabled(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.dropdown/dd-link.html b/api/pl.treksoft.kvision.dropdown/dd-link.html new file mode 100644 index 00000000..f20e8bf1 --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/dd-link.html @@ -0,0 +1,16 @@ + + + +ddLink - kvision + + + +kvision / pl.treksoft.kvision.dropdown / ddLink
+
+

ddLink

+ +fun DropDown.ddLink(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link +

DSL builder extension function for a link in a dropdown list.

+

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

+ + diff --git a/api/pl.treksoft.kvision.dropdown/drop-down.html b/api/pl.treksoft.kvision.dropdown/drop-down.html new file mode 100644 index 00000000..53e40c60 --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/drop-down.html @@ -0,0 +1,16 @@ + + + +dropDown - kvision + + + +kvision / pl.treksoft.kvision.dropdown / dropDown
+
+

dropDown

+ +fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: 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/header.html b/api/pl.treksoft.kvision.dropdown/header.html new file mode 100644 index 00000000..3503b77e --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/header.html @@ -0,0 +1,18 @@ + + + +header - kvision + + + +kvision / pl.treksoft.kvision.dropdown / header
+
+

header

+ +fun ContextMenu.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/index.html b/api/pl.treksoft.kvision.dropdown/index.html index 7a7a7294..cbd2ca11 100644 --- a/api/pl.treksoft.kvision.dropdown/index.html +++ b/api/pl.treksoft.kvision.dropdown/index.html @@ -17,7 +17,7 @@

ContextMenu

@@ -32,6 +32,15 @@ + + + +

createInstance

@@ -140,12 +143,667 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

-open class ContextMenu : ListTag +open class ContextMenu : Div

Context menu component.

+

Direction

+
+enum class Direction +

Dropdown directions.

+

DropDown

@@ -53,11 +62,99 @@

Separator

-open class Separator : Tag +open class Separator : Div

Menu separator component.

+

Functions

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

cmLink

+
+fun ContextMenu.cmLink(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link +

DSL builder extension function for a link in a context menu list.

+
+

cmLinkDisabled

+
+fun ContextMenu.cmLinkDisabled(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 context menu list.

+
+

contextMenu

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

DSL builder extension function.

+
+

ddLink

+
+fun DropDown.ddLink(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link +

DSL builder extension function for a link in a dropdown list.

+
+

ddLinkDisabled

+
+fun DropDown.ddLinkDisabled(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.

+
+

dropDown

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

separator

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

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

separator

+ +fun ContextMenu.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/set-context-menu.html b/api/pl.treksoft.kvision.dropdown/set-context-menu.html new file mode 100644 index 00000000..13a237a3 --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/set-context-menu.html @@ -0,0 +1,20 @@ + + + +setContextMenu - kvision + + + +kvision / pl.treksoft.kvision.dropdown / setContextMenu
+
+

setContextMenu

+ +fun Widget.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.form.check/-check-box-input/check-box-input.html b/api/pl.treksoft.kvision.form.check/-check-box-input/check-box-input.html deleted file mode 100644 index 649428bd..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box-input/check-box-input.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -CheckBoxInput.checkBoxInput - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBoxInput / checkBoxInput
-
-

checkBoxInput

- -fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput -

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-input/index.html b/api/pl.treksoft.kvision.form.check/-check-box-input/index.html index c6e3ce14..72ed9ad2 100644 --- a/api/pl.treksoft.kvision.form.check/-check-box-input/index.html +++ b/api/pl.treksoft.kvision.form.check/-check-box-input/index.html @@ -81,6 +81,15 @@ +

validationStatus

+ + +open var validationStatus: ValidationStatus? +

The validation status of the input.

+ + + +

value

@@ -158,23 +167,53 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + - -
-

checkBoxInput

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

-fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -184,6 +223,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

setContextMenu

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

Sets context menu for the current widget.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.check/-check-box-style/-d-e-f-a-u-l-t.html b/api/pl.treksoft.kvision.form.check/-check-box-style/-d-e-f-a-u-l-t.html deleted file mode 100644 index ac33f0ed..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box-style/-d-e-f-a-u-l-t.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -CheckBoxStyle.DEFAULT - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBoxStyle / DEFAULT
-
-

DEFAULT

- -DEFAULT - - diff --git a/api/pl.treksoft.kvision.form.check/-check-box-style/index.html b/api/pl.treksoft.kvision.form.check/-check-box-style/index.html index 2b483566..3045ff62 100644 --- a/api/pl.treksoft.kvision.form.check/-check-box-style/index.html +++ b/api/pl.treksoft.kvision.form.check/-check-box-style/index.html @@ -15,13 +15,6 @@ -

DEFAULT

- - - - - -

PRIMARY

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 deleted file mode 100644 index e7e03a80..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/check-box.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -CheckBox.checkBox - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / checkBox
-
-

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/index.html b/api/pl.treksoft.kvision.form.check/-check-box/index.html index 551da763..b6e8332d 100644 --- a/api/pl.treksoft.kvision.form.check/-check-box/index.html +++ b/api/pl.treksoft.kvision.form.check/-check-box/index.html @@ -63,6 +63,15 @@ +

invalidFeedback

+ + +val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+ + + +

label

@@ -99,21 +108,24 @@ -

validationInfo

+

value

-val validationInfo: HelpBlock -

Validation info component.

+open var value: Boolean +

The selection state of the checkbox.

+ + +

Inherited Properties

+ + +val children: MutableList<Component>
-

value

+

children

-open var value: Boolean -

The selection state of the checkbox.

-
@@ -176,6 +188,33 @@

Sets an event listener for current widget.

+ + +

styleForHorizontalFormPanel

+ + +open fun styleForHorizontalFormPanel(): Unit +

Style form control element for horizontal form panel.

+ + + + +

styleForInlineFormPanel

+ + +open fun styleForInlineFormPanel(): Unit +

Style form control element for inline form panel.

+ + + + +

styleForVerticalFormPanel

+ + +open fun styleForVerticalFormPanel(): Unit +

Style form control element for vertical form panel.

+ +

Inherited Functions

@@ -282,23 +321,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

checkBox

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

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

bold

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

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -308,6 +440,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.check/-check-box/invalid-feedback.html b/api/pl.treksoft.kvision.form.check/-check-box/invalid-feedback.html new file mode 100644 index 00000000..5e67a14e --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-check-box/invalid-feedback.html @@ -0,0 +1,16 @@ + + + +CheckBox.invalidFeedback - kvision + + + +kvision / pl.treksoft.kvision.form.check / CheckBox / invalidFeedback
+
+

invalidFeedback

+ +val invalidFeedback: InvalidFeedback +

Overrides FormControl.invalidFeedback

+

Invalid feedback component.

+ + diff --git a/api/pl.treksoft.kvision.form.check/-check-box/style-for-horizontal-form-panel.html b/api/pl.treksoft.kvision.form.check/-check-box/style-for-horizontal-form-panel.html new file mode 100644 index 00000000..7f7b9a2b --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-check-box/style-for-horizontal-form-panel.html @@ -0,0 +1,16 @@ + + + +CheckBox.styleForHorizontalFormPanel - kvision + + + +kvision / pl.treksoft.kvision.form.check / CheckBox / styleForHorizontalFormPanel
+
+

styleForHorizontalFormPanel

+ +open fun styleForHorizontalFormPanel(): Unit +

Overrides FormControl.styleForHorizontalFormPanel

+

Style form control element for horizontal form panel.

+ + diff --git a/api/pl.treksoft.kvision.form.check/-check-box/style-for-inline-form-panel.html b/api/pl.treksoft.kvision.form.check/-check-box/style-for-inline-form-panel.html new file mode 100644 index 00000000..e7ca7896 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-check-box/style-for-inline-form-panel.html @@ -0,0 +1,16 @@ + + + +CheckBox.styleForInlineFormPanel - kvision + + + +kvision / pl.treksoft.kvision.form.check / CheckBox / styleForInlineFormPanel
+
+

styleForInlineFormPanel

+ +open fun styleForInlineFormPanel(): Unit +

Overrides FormControl.styleForInlineFormPanel

+

Style form control element for inline form panel.

+ + diff --git a/api/pl.treksoft.kvision.form.check/-check-box/style-for-vertical-form-panel.html b/api/pl.treksoft.kvision.form.check/-check-box/style-for-vertical-form-panel.html new file mode 100644 index 00000000..16352d13 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-check-box/style-for-vertical-form-panel.html @@ -0,0 +1,16 @@ + + + +CheckBox.styleForVerticalFormPanel - kvision + + + +kvision / pl.treksoft.kvision.form.check / CheckBox / styleForVerticalFormPanel
+
+

styleForVerticalFormPanel

+ +open fun styleForVerticalFormPanel(): Unit +

Overrides FormControl.styleForVerticalFormPanel

+

Style form control element for vertical form panel.

+ + diff --git a/api/pl.treksoft.kvision.form.check/-check-box/validation-info.html b/api/pl.treksoft.kvision.form.check/-check-box/validation-info.html deleted file mode 100644 index 881e33ea..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/validation-info.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -CheckBox.validationInfo - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / validationInfo
-
-

validationInfo

- -val validationInfo: HelpBlock -

Overrides FormControl.validationInfo

-

Validation info component.

- - 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 0eef0e47..1ceb0a69 100644 --- a/api/pl.treksoft.kvision.form.check/-check-input/index.html +++ b/api/pl.treksoft.kvision.form.check/-check-input/index.html @@ -81,6 +81,15 @@ +

validationStatus

+ + +open var validationStatus: ValidationStatus? +

The validation status of the input.

+ + + +

value

@@ -159,6 +168,15 @@ +

tabindex

+ + +var tabindex: Int? +

A tabindex attribute of generated HTML element.

+ + + +

title

@@ -504,15 +522,6 @@ -

setContextMenu

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

Sets context menu for the current widget.

- - - -

setDragDropData

@@ -607,6 +616,50 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + + +

contextMenu

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

DSL builder extension function.

+ + + +

createInstance

@@ -614,6 +667,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit + + + +

setContextMenu

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

Sets context menu for the current widget.

+ + + + +

style

+ + +fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+ +

Inheritors

diff --git a/api/pl.treksoft.kvision.form.check/-check-input/validation-status.html b/api/pl.treksoft.kvision.form.check/-check-input/validation-status.html new file mode 100644 index 00000000..1de75b11 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-check-input/validation-status.html @@ -0,0 +1,22 @@ + + + +CheckInput.validationStatus - kvision + + + +kvision / pl.treksoft.kvision.form.check / CheckInput / validationStatus
+
+

validationStatus

+ +open var validationStatus: ValidationStatus? +

Overrides FormInput.validationStatus

+

The validation status of the input.

+

Getter
+

The validation status of the input.

+

+

Setter
+

The validation status of the input.

+

+ + diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/index.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/index.html index 2c6a01e3..c05af838 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-group-input/index.html +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/index.html @@ -74,6 +74,15 @@ +

validationStatus

+ + +open var validationStatus: ValidationStatus? +

Input control validation status.

+ + + +

value

@@ -83,6 +92,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -192,23 +213,116 @@
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

radioGroupInput

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -218,6 +332,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/radio-group-input.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/radio-group-input.html deleted file mode 100644 index fbacc61e..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-group-input/radio-group-input.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -RadioGroupInput.radioGroupInput - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroupInput / radioGroupInput
-
-

radioGroupInput

- -fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput -

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-input/validation-status.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/validation-status.html new file mode 100644 index 00000000..049a44b1 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/validation-status.html @@ -0,0 +1,16 @@ + + + +RadioGroupInput.validationStatus - kvision + + + +kvision / pl.treksoft.kvision.form.check / RadioGroupInput / validationStatus
+
+

validationStatus

+ +open var validationStatus: ValidationStatus? +

Overrides FormInput.validationStatus

+

Input control validation status.

+ + 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 5d8300c8..2e29561e 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-group/index.html +++ b/api/pl.treksoft.kvision.form.check/-radio-group/index.html @@ -65,6 +65,15 @@ +

invalidFeedback

+ + +val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+ + + +

label

@@ -110,11 +119,20 @@ -

validationInfo

+

validationStatus

+ + +open var validationStatus: ValidationStatus? +

Input control validation status.

+ + + + +

validatorError

-val validationInfo: HelpBlock -

Validation info component.

+open var validatorError: String? +

Validator error message.

@@ -128,6 +146,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

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

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

+ + + +
+

styleForHorizontalFormPanel

+
+open fun styleForHorizontalFormPanel(): Unit +

Style form control element for horizontal form panel.

+

Inherited Functions

@@ -264,23 +303,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

radioGroup

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

-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 +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

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

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -290,6 +422,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

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

invalidFeedback

+ +val invalidFeedback: InvalidFeedback +

Overrides FormControl.invalidFeedback

+

Invalid feedback component.

+ + 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 deleted file mode 100644 index 12047665..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-group/radio-group.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -RadioGroup.radioGroup - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroup / radioGroup
-
-

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/style-for-horizontal-form-panel.html b/api/pl.treksoft.kvision.form.check/-radio-group/style-for-horizontal-form-panel.html new file mode 100644 index 00000000..73b7daac --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group/style-for-horizontal-form-panel.html @@ -0,0 +1,16 @@ + + + +RadioGroup.styleForHorizontalFormPanel - kvision + + + +kvision / pl.treksoft.kvision.form.check / RadioGroup / styleForHorizontalFormPanel
+
+

styleForHorizontalFormPanel

+ +open fun styleForHorizontalFormPanel(): Unit +

Overrides FormControl.styleForHorizontalFormPanel

+

Style form control element for horizontal form panel.

+ + diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/validation-info.html b/api/pl.treksoft.kvision.form.check/-radio-group/validation-info.html deleted file mode 100644 index 40d3409b..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-group/validation-info.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -RadioGroup.validationInfo - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroup / validationInfo
-
-

validationInfo

- -val validationInfo: HelpBlock -

Overrides FormControl.validationInfo

-

Validation info component.

- - diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/validation-status.html b/api/pl.treksoft.kvision.form.check/-radio-group/validation-status.html new file mode 100644 index 00000000..8ead69f2 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group/validation-status.html @@ -0,0 +1,16 @@ + + + +RadioGroup.validationStatus - kvision + + + +kvision / pl.treksoft.kvision.form.check / RadioGroup / validationStatus
+
+

validationStatus

+ +open var validationStatus: ValidationStatus? +

Overrides FormControl.validationStatus

+

Input control validation status.

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

validatorError

+ +open var validatorError: String? +

Overrides FormControl.validatorError

+

Validator error message.

+ + diff --git a/api/pl.treksoft.kvision.form.check/-radio-input/index.html b/api/pl.treksoft.kvision.form.check/-radio-input/index.html index 3d0a285d..7a246d67 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-input/index.html +++ b/api/pl.treksoft.kvision.form.check/-radio-input/index.html @@ -81,6 +81,15 @@ +

validationStatus

+ + +open var validationStatus: ValidationStatus? +

The validation status of the input.

+ + + +

value

@@ -158,23 +167,53 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + - -
-

radioInput

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

-fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -184,6 +223,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

setContextMenu

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

Sets context menu for the current widget.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.check/-radio-input/radio-input.html b/api/pl.treksoft.kvision.form.check/-radio-input/radio-input.html deleted file mode 100644 index e956dd3c..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-input/radio-input.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -RadioInput.radioInput - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioInput / radioInput
-
-

radioInput

- -fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput -

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-style/-d-e-f-a-u-l-t.html b/api/pl.treksoft.kvision.form.check/-radio-style/-d-e-f-a-u-l-t.html deleted file mode 100644 index 9d09d78f..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-style/-d-e-f-a-u-l-t.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -RadioStyle.DEFAULT - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioStyle / DEFAULT
-
-

DEFAULT

- -DEFAULT - - diff --git a/api/pl.treksoft.kvision.form.check/-radio-style/index.html b/api/pl.treksoft.kvision.form.check/-radio-style/index.html index 823ca75d..757bc98a 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-style/index.html +++ b/api/pl.treksoft.kvision.form.check/-radio-style/index.html @@ -15,13 +15,6 @@ -

DEFAULT

- - - - - -

PRIMARY

diff --git a/api/pl.treksoft.kvision.form.check/-radio/index.html b/api/pl.treksoft.kvision.form.check/-radio/index.html index a6d10da5..ffb7bcb5 100644 --- a/api/pl.treksoft.kvision.form.check/-radio/index.html +++ b/api/pl.treksoft.kvision.form.check/-radio/index.html @@ -63,6 +63,15 @@ +

invalidFeedback

+ + +val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+ + + +

label

@@ -108,21 +117,24 @@ -

validationInfo

+

value

-val validationInfo: HelpBlock -

Validation info component.

+open var value: Boolean +

The selection state of the radio button.

+ + +

Inherited Properties

+ + +val children: MutableList<Component>
-

value

+

children

-open var value: Boolean -

The selection state of the radio button.

-
@@ -185,6 +197,33 @@

Sets an event listener for current widget.

+ + +

styleForHorizontalFormPanel

+ + +open fun styleForHorizontalFormPanel(): Unit +

Style form control element for horizontal form panel.

+ + + + +

styleForInlineFormPanel

+ + +open fun styleForInlineFormPanel(): Unit +

Style form control element for inline form panel.

+ + + + +

styleForVerticalFormPanel

+ + +open fun styleForVerticalFormPanel(): Unit +

Style form control element for vertical form panel.

+ +

Inherited Functions

@@ -291,23 +330,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

radio

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

-fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

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

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -317,6 +449,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.check/-radio/invalid-feedback.html b/api/pl.treksoft.kvision.form.check/-radio/invalid-feedback.html new file mode 100644 index 00000000..c5a6fd3a --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio/invalid-feedback.html @@ -0,0 +1,16 @@ + + + +Radio.invalidFeedback - kvision + + + +kvision / pl.treksoft.kvision.form.check / Radio / invalidFeedback
+
+

invalidFeedback

+ +val invalidFeedback: InvalidFeedback +

Overrides FormControl.invalidFeedback

+

Invalid feedback component.

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

radio

- -fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio -

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/style-for-horizontal-form-panel.html b/api/pl.treksoft.kvision.form.check/-radio/style-for-horizontal-form-panel.html new file mode 100644 index 00000000..f245334f --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio/style-for-horizontal-form-panel.html @@ -0,0 +1,16 @@ + + + +Radio.styleForHorizontalFormPanel - kvision + + + +kvision / pl.treksoft.kvision.form.check / Radio / styleForHorizontalFormPanel
+
+

styleForHorizontalFormPanel

+ +open fun styleForHorizontalFormPanel(): Unit +

Overrides FormControl.styleForHorizontalFormPanel

+

Style form control element for horizontal form panel.

+ + diff --git a/api/pl.treksoft.kvision.form.check/-radio/style-for-inline-form-panel.html b/api/pl.treksoft.kvision.form.check/-radio/style-for-inline-form-panel.html new file mode 100644 index 00000000..32a74a48 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio/style-for-inline-form-panel.html @@ -0,0 +1,16 @@ + + + +Radio.styleForInlineFormPanel - kvision + + + +kvision / pl.treksoft.kvision.form.check / Radio / styleForInlineFormPanel
+
+

styleForInlineFormPanel

+ +open fun styleForInlineFormPanel(): Unit +

Overrides FormControl.styleForInlineFormPanel

+

Style form control element for inline form panel.

+ + diff --git a/api/pl.treksoft.kvision.form.check/-radio/style-for-vertical-form-panel.html b/api/pl.treksoft.kvision.form.check/-radio/style-for-vertical-form-panel.html new file mode 100644 index 00000000..30c5fca9 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio/style-for-vertical-form-panel.html @@ -0,0 +1,16 @@ + + + +Radio.styleForVerticalFormPanel - kvision + + + +kvision / pl.treksoft.kvision.form.check / Radio / styleForVerticalFormPanel
+
+

styleForVerticalFormPanel

+ +open fun styleForVerticalFormPanel(): Unit +

Overrides FormControl.styleForVerticalFormPanel

+

Style form control element for vertical form panel.

+ + diff --git a/api/pl.treksoft.kvision.form.check/-radio/validation-info.html b/api/pl.treksoft.kvision.form.check/-radio/validation-info.html deleted file mode 100644 index 6464d415..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/validation-info.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Radio.validationInfo - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / validationInfo
-
-

validationInfo

- -val validationInfo: HelpBlock -

Overrides FormControl.validationInfo

-

Validation info component.

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

checkBoxInput

+ +fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

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.html b/api/pl.treksoft.kvision.form.check/check-box.html new file mode 100644 index 00000000..92ad964a --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/check-box.html @@ -0,0 +1,16 @@ + + + +checkBox - kvision + + + +kvision / pl.treksoft.kvision.form.check / checkBox
+
+

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/index.html b/api/pl.treksoft.kvision.form.check/index.html index 3f550ef8..3adc909e 100644 --- a/api/pl.treksoft.kvision.form.check/index.html +++ b/api/pl.treksoft.kvision.form.check/index.html @@ -104,5 +104,64 @@ +

Functions

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

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

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 new file mode 100644 index 00000000..21047b3f --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/radio-group-input.html @@ -0,0 +1,16 @@ + + + +radioGroupInput - kvision + + + +kvision / pl.treksoft.kvision.form.check / radioGroupInput
+
+

radioGroupInput

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

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.html b/api/pl.treksoft.kvision.form.check/radio-group.html new file mode 100644 index 00000000..4167c9e5 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/radio-group.html @@ -0,0 +1,16 @@ + + + +radioGroup - kvision + + + +kvision / pl.treksoft.kvision.form.check / radioGroup
+
+

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-input.html b/api/pl.treksoft.kvision.form.check/radio-input.html new file mode 100644 index 00000000..6494bbf6 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/radio-input.html @@ -0,0 +1,16 @@ + + + +radioInput - kvision + + + +kvision / pl.treksoft.kvision.form.check / radioInput
+
+

radioInput

+ +fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

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.html b/api/pl.treksoft.kvision.form.check/radio.html new file mode 100644 index 00000000..68ff0371 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/radio.html @@ -0,0 +1,16 @@ + + + +radio - kvision + + + +kvision / pl.treksoft.kvision.form.check / radio
+
+

radio

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

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-dropdown-align/-a-u-t-o.html b/api/pl.treksoft.kvision.form.select/-select-dropdown-align/-a-u-t-o.html new file mode 100644 index 00000000..746a163f --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-dropdown-align/-a-u-t-o.html @@ -0,0 +1,14 @@ + + + +SelectDropdownAlign.AUTO - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectDropdownAlign / AUTO
+
+

AUTO

+ +AUTO + + diff --git a/api/pl.treksoft.kvision.form.select/-select-dropdown-align/-l-e-f-t.html b/api/pl.treksoft.kvision.form.select/-select-dropdown-align/-l-e-f-t.html new file mode 100644 index 00000000..212ce67f --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-dropdown-align/-l-e-f-t.html @@ -0,0 +1,14 @@ + + + +SelectDropdownAlign.LEFT - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectDropdownAlign / LEFT
+
+

LEFT

+ +LEFT + + diff --git a/api/pl.treksoft.kvision.form.select/-select-dropdown-align/-r-i-g-h-t.html b/api/pl.treksoft.kvision.form.select/-select-dropdown-align/-r-i-g-h-t.html new file mode 100644 index 00000000..538172c6 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-dropdown-align/-r-i-g-h-t.html @@ -0,0 +1,14 @@ + + + +SelectDropdownAlign.RIGHT - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectDropdownAlign / RIGHT
+
+

RIGHT

+ +RIGHT + + diff --git a/api/pl.treksoft.kvision.form.select/-select-dropdown-align/index.html b/api/pl.treksoft.kvision.form.select/-select-dropdown-align/index.html new file mode 100644 index 00000000..aac3f85f --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-dropdown-align/index.html @@ -0,0 +1,54 @@ + + + +SelectDropdownAlign - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectDropdownAlign
+
+

SelectDropdownAlign

+enum class SelectDropdownAlign +

Select dropdown align. See Bootstrap Select width.

+

Enum Values

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

AUTO

+
+
+

LEFT

+
+
+

RIGHT

+
+
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.form.select/-select-input/dropdown-align.html b/api/pl.treksoft.kvision.form.select/-select-input/dropdown-align.html new file mode 100644 index 00000000..e76e7942 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-input/dropdown-align.html @@ -0,0 +1,21 @@ + + + +SelectInput.dropdownAlign - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectInput / dropdownAlign
+
+

dropdownAlign

+ +var dropdownAlign: SelectDropdownAlign +

The dropdown align of the select control.

+

Getter
+

The dropdown align of the select control.

+

+

Setter
+

The dropdown align of the select control.

+

+ + 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 df9a9f5b..01d932fe 100644 --- a/api/pl.treksoft.kvision.form.select/-select-input/index.html +++ b/api/pl.treksoft.kvision.form.select/-select-input/index.html @@ -56,6 +56,15 @@ +

dropdownAlign

+ + +var dropdownAlign: SelectDropdownAlign +

The dropdown align of the select control.

+ + + +

emptyOption

@@ -155,6 +164,15 @@ +

validationStatus

+ + +open var validationStatus: ValidationStatus? +

The validation status of the input.

+ + + +

value

@@ -164,6 +182,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -325,23 +355,116 @@
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

selectInput

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

-fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

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

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -351,6 +474,679 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectOptGroup

+
+fun SelectInput.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf(), init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup +

DSL builder extension function.

+
+

selectOption

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

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+

Inheritors

diff --git a/api/pl.treksoft.kvision.form.select/-select-input/select-input.html b/api/pl.treksoft.kvision.form.select/-select-input/select-input.html deleted file mode 100644 index 9b45fff2..00000000 --- a/api/pl.treksoft.kvision.form.select/-select-input/select-input.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -SelectInput.selectInput - kvision - - - -kvision / pl.treksoft.kvision.form.select / SelectInput / selectInput
-
-

selectInput

- -fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput -

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-input/validation-status.html b/api/pl.treksoft.kvision.form.select/-select-input/validation-status.html new file mode 100644 index 00000000..7e3df26c --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-input/validation-status.html @@ -0,0 +1,22 @@ + + + +SelectInput.validationStatus - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectInput / validationStatus
+
+

validationStatus

+ +open var validationStatus: ValidationStatus? +

Overrides FormInput.validationStatus

+

The validation status of the input.

+

Getter
+

The validation status of the input.

+

+

Setter
+

The validation status of the input.

+

+ + diff --git a/api/pl.treksoft.kvision.form.select/-select-opt-group/index.html b/api/pl.treksoft.kvision.form.select/-select-opt-group/index.html index 3f352b57..82ef729b 100644 --- a/api/pl.treksoft.kvision.form.select/-select-opt-group/index.html +++ b/api/pl.treksoft.kvision.form.select/-select-opt-group/index.html @@ -65,6 +65,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -156,24 +168,116 @@
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

selectOptGroup

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Select.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf(), init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup
-fun SelectInput.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf(), init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -183,6 +287,670 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectOption

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

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.select/-select-opt-group/select-opt-group.html b/api/pl.treksoft.kvision.form.select/-select-opt-group/select-opt-group.html deleted file mode 100644 index 769f4f55..00000000 --- a/api/pl.treksoft.kvision.form.select/-select-opt-group/select-opt-group.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -SelectOptGroup.selectOptGroup - kvision - - - -kvision / pl.treksoft.kvision.form.select / SelectOptGroup / selectOptGroup
-
-

selectOptGroup

- -fun Select.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf(), init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup
- -fun SelectInput.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf(), init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup -

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-option/index.html b/api/pl.treksoft.kvision.form.select/-select-option/index.html index 19f660cd..bbe2f44b 100644 --- a/api/pl.treksoft.kvision.form.select/-select-option/index.html +++ b/api/pl.treksoft.kvision.form.select/-select-option/index.html @@ -159,6 +159,15 @@ +

tabindex

+ + +var tabindex: Int? +

A tabindex attribute of generated HTML element.

+ + + +

title

@@ -477,15 +486,6 @@ -

setContextMenu

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

Sets context menu for the current widget.

- - - -

setDragDropData

@@ -575,25 +575,53 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + - -
-

selectOption

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

-fun Select.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
-fun SelectInput.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
-fun SelectOptGroup.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption +fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -603,6 +631,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

setContextMenu

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

Sets context menu for the current widget.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.select/-select-option/select-option.html b/api/pl.treksoft.kvision.form.select/-select-option/select-option.html deleted file mode 100644 index a9900d46..00000000 --- a/api/pl.treksoft.kvision.form.select/-select-option/select-option.html +++ /dev/null @@ -1,20 +0,0 @@ - - - -SelectOption.selectOption - kvision - - - -kvision / pl.treksoft.kvision.form.select / SelectOption / selectOption
-
-

selectOption

- -fun Select.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
- -fun SelectInput.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
- -fun SelectOptGroup.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption -

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-remote-input/-init-.html b/api/pl.treksoft.kvision.form.select/-select-remote-input/-init-.html index 9e3b7665..66cc0c67 100644 --- a/api/pl.treksoft.kvision.form.select/-select-remote-input/-init-.html +++ b/api/pl.treksoft.kvision.form.select/-select-remote-input/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.select / SelectRemoteInput / <init>

<init>

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

Parameters

value - selected value

@@ -17,6 +17,8 @@ serviceManager - multiplatform service manager

function - multiplatform service method returning the list of options

+

+stateFunction - a function to generate the state object passed with the remote request

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

diff --git a/api/pl.treksoft.kvision.form.select/-select-remote-input/index.html b/api/pl.treksoft.kvision.form.select/-select-remote-input/index.html index 94a50eeb..32dd6f78 100644 --- a/api/pl.treksoft.kvision.form.select/-select-remote-input/index.html +++ b/api/pl.treksoft.kvision.form.select/-select-remote-input/index.html @@ -18,7 +18,7 @@

<init>

-SelectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf()) +SelectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf()) @@ -54,6 +54,15 @@ +

dropdownAlign

+ + +var dropdownAlign: SelectDropdownAlign +

The dropdown align of the select control.

+ + + +

emptyOption

@@ -153,6 +162,15 @@ +

validationStatus

+ + +open var validationStatus: ValidationStatus? +

The validation status of the input.

+ + + +

value

@@ -291,23 +309,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

selectRemoteInput

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -317,6 +428,679 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectOptGroup

+
+fun SelectInput.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf(), init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup +

DSL builder extension function.

+
+

selectOption

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

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.select/-select-remote-input/select-remote-input.html b/api/pl.treksoft.kvision.form.select/-select-remote-input/select-remote-input.html deleted file mode 100644 index 7a540f42..00000000 --- a/api/pl.treksoft.kvision.form.select/-select-remote-input/select-remote-input.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -SelectRemoteInput.selectRemoteInput - kvision - - - -kvision / pl.treksoft.kvision.form.select / SelectRemoteInput / selectRemoteInput
-
-

selectRemoteInput

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

DSL builder extension function.

-

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

- - diff --git a/api/pl.treksoft.kvision.form.select/-select-remote/-init-.html b/api/pl.treksoft.kvision.form.select/-select-remote/-init-.html index 273bf455..ac20a519 100644 --- a/api/pl.treksoft.kvision.form.select/-select-remote/-init-.html +++ b/api/pl.treksoft.kvision.form.select/-select-remote/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.select / SelectRemote / <init>

<init>

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

Parameters

value - selected value

@@ -17,6 +17,8 @@ serviceManager - multiplatform service manager

function - multiplatform service method returning the list of options

+

+stateFunction - a function to generate the state object passed with the remote request

name - the name attribute of the generated HTML input element

diff --git a/api/pl.treksoft.kvision.form.select/-select-remote/dropdown-align.html b/api/pl.treksoft.kvision.form.select/-select-remote/dropdown-align.html new file mode 100644 index 00000000..cb66d6eb --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-remote/dropdown-align.html @@ -0,0 +1,15 @@ + + + +SelectRemote.dropdownAlign - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectRemote / dropdownAlign
+
+

dropdownAlign

+ +var dropdownAlign: SelectDropdownAlign +

The dropdown align of the select control.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-select-remote/index.html b/api/pl.treksoft.kvision.form.select/-select-remote/index.html index 19275a04..325fffb5 100644 --- a/api/pl.treksoft.kvision.form.select/-select-remote/index.html +++ b/api/pl.treksoft.kvision.form.select/-select-remote/index.html @@ -18,7 +18,7 @@

<init>

-SelectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false) +SelectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false) @@ -36,6 +36,15 @@ +

dropdownAlign

+ + +var dropdownAlign: SelectDropdownAlign +

The dropdown align of the select control.

+ + + +

emptyOption

@@ -63,6 +72,15 @@ +

invalidFeedback

+ + +val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+ + + +

label

@@ -135,21 +153,24 @@ -

validationInfo

+

value

-val validationInfo: HelpBlock -

Validation info component.

+open var value: String? +

A value of the selected option.

+ + +

Inherited Properties

+ + +val children: MutableList<Component>
-

value

+

children

-open var value: String? -

A value of the selected option.

-
@@ -336,23 +357,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

selectRemote

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -362,6 +476,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.select/-select-remote/invalid-feedback.html b/api/pl.treksoft.kvision.form.select/-select-remote/invalid-feedback.html new file mode 100644 index 00000000..eb854edd --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-remote/invalid-feedback.html @@ -0,0 +1,16 @@ + + + +SelectRemote.invalidFeedback - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectRemote / invalidFeedback
+
+

invalidFeedback

+ +val invalidFeedback: InvalidFeedback +

Overrides FormControl.invalidFeedback

+

Invalid feedback component.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-select-remote/select-remote.html b/api/pl.treksoft.kvision.form.select/-select-remote/select-remote.html deleted file mode 100644 index 7a0025e3..00000000 --- a/api/pl.treksoft.kvision.form.select/-select-remote/select-remote.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -SelectRemote.selectRemote - kvision - - - -kvision / pl.treksoft.kvision.form.select / SelectRemote / selectRemote
-
-

selectRemote

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

DSL builder extension function.

-

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

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

validationInfo

- -val validationInfo: HelpBlock -

Overrides FormControl.validationInfo

-

Validation info component.

- - diff --git a/api/pl.treksoft.kvision.form.select/-select/dropdown-align.html b/api/pl.treksoft.kvision.form.select/-select/dropdown-align.html new file mode 100644 index 00000000..21f215d9 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select/dropdown-align.html @@ -0,0 +1,15 @@ + + + +Select.dropdownAlign - kvision + + + +kvision / pl.treksoft.kvision.form.select / Select / dropdownAlign
+
+

dropdownAlign

+ +var dropdownAlign: SelectDropdownAlign +

The dropdown align of the select control.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-select/index.html b/api/pl.treksoft.kvision.form.select/-select/index.html index 8f2734f1..c4d52ca9 100644 --- a/api/pl.treksoft.kvision.form.select/-select/index.html +++ b/api/pl.treksoft.kvision.form.select/-select/index.html @@ -47,6 +47,15 @@ +

dropdownAlign

+ + +var dropdownAlign: SelectDropdownAlign +

The dropdown align of the select control.

+ + + +

emptyOption

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

invalidFeedback

+ + +val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+ + + +

label

@@ -164,21 +182,24 @@ -

validationInfo

+

value

-val validationInfo: HelpBlock -

Validation info component.

+open var value: String? +

A value of the selected option.

+ + +

Inherited Properties

+ + +val children: MutableList<Component>
-

value

+

children

-open var value: String? -

A value of the selected option.

-
@@ -365,23 +386,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

select

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-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 +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -391,6 +505,679 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectOptGroup

+
+fun Select.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf(), init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup +

DSL builder extension function.

+
+

selectOption

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

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.select/-select/invalid-feedback.html b/api/pl.treksoft.kvision.form.select/-select/invalid-feedback.html new file mode 100644 index 00000000..b5d8e6fe --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select/invalid-feedback.html @@ -0,0 +1,16 @@ + + + +Select.invalidFeedback - kvision + + + +kvision / pl.treksoft.kvision.form.select / Select / invalidFeedback
+
+

invalidFeedback

+ +val invalidFeedback: InvalidFeedback +

Overrides FormControl.invalidFeedback

+

Invalid feedback component.

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

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

validationInfo

- -val validationInfo: HelpBlock -

Overrides FormControl.validationInfo

-

Validation info component.

- - diff --git a/api/pl.treksoft.kvision.form.select/-simple-select-input/index.html b/api/pl.treksoft.kvision.form.select/-simple-select-input/index.html index f7e858d7..631b6861 100644 --- a/api/pl.treksoft.kvision.form.select/-simple-select-input/index.html +++ b/api/pl.treksoft.kvision.form.select/-simple-select-input/index.html @@ -90,6 +90,15 @@ +

validationStatus

+ + +open var validationStatus: ValidationStatus? +

The validation status of the input.

+ + + +

value

@@ -99,6 +108,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -226,23 +247,116 @@
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

simpleSelectInput

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -252,6 +366,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.select/-simple-select-input/simple-select-input.html b/api/pl.treksoft.kvision.form.select/-simple-select-input/simple-select-input.html deleted file mode 100644 index 55cc36b7..00000000 --- a/api/pl.treksoft.kvision.form.select/-simple-select-input/simple-select-input.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -SimpleSelectInput.simpleSelectInput - kvision - - - -kvision / pl.treksoft.kvision.form.select / SimpleSelectInput / simpleSelectInput
-
-

simpleSelectInput

- -fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput -

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/-simple-select-input/validation-status.html b/api/pl.treksoft.kvision.form.select/-simple-select-input/validation-status.html new file mode 100644 index 00000000..ca1f8db5 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select-input/validation-status.html @@ -0,0 +1,22 @@ + + + +SimpleSelectInput.validationStatus - kvision + + + +kvision / pl.treksoft.kvision.form.select / SimpleSelectInput / validationStatus
+
+

validationStatus

+ +open var validationStatus: ValidationStatus? +

Overrides FormInput.validationStatus

+

The validation status of the input.

+

Getter
+

The validation status of the input.

+

+

Setter
+

The validation status of the input.

+

+ + diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/index.html b/api/pl.treksoft.kvision.form.select/-simple-select/index.html index 4a4d80bd..bdb8d6c8 100644 --- a/api/pl.treksoft.kvision.form.select/-simple-select/index.html +++ b/api/pl.treksoft.kvision.form.select/-simple-select/index.html @@ -63,6 +63,15 @@ +

invalidFeedback

+ + +val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+ + + +

label

@@ -99,21 +108,24 @@ -

validationInfo

+

value

-val validationInfo: HelpBlock -

Validation info component.

+open var value: String? +

A value of the selected option.

+ + +

Inherited Properties

+ + +val children: MutableList<Component>
-

value

+

children

-open var value: String? -

A value of the selected option.

-
@@ -273,23 +285,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

simpleSelect

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -299,6 +404,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/invalid-feedback.html b/api/pl.treksoft.kvision.form.select/-simple-select/invalid-feedback.html new file mode 100644 index 00000000..2a4a2d35 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-simple-select/invalid-feedback.html @@ -0,0 +1,16 @@ + + + +SimpleSelect.invalidFeedback - kvision + + + +kvision / pl.treksoft.kvision.form.select / SimpleSelect / invalidFeedback
+
+

invalidFeedback

+ +val invalidFeedback: InvalidFeedback +

Overrides FormControl.invalidFeedback

+

Invalid feedback component.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-simple-select/simple-select.html b/api/pl.treksoft.kvision.form.select/-simple-select/simple-select.html deleted file mode 100644 index 8c49f2fb..00000000 --- a/api/pl.treksoft.kvision.form.select/-simple-select/simple-select.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -SimpleSelect.simpleSelect - kvision - - - -kvision / pl.treksoft.kvision.form.select / SimpleSelect / simpleSelect
-
-

simpleSelect

- -fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect -

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/-simple-select/validation-info.html b/api/pl.treksoft.kvision.form.select/-simple-select/validation-info.html deleted file mode 100644 index c47d4257..00000000 --- a/api/pl.treksoft.kvision.form.select/-simple-select/validation-info.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -SimpleSelect.validationInfo - kvision - - - -kvision / pl.treksoft.kvision.form.select / SimpleSelect / validationInfo
-
-

validationInfo

- -val validationInfo: HelpBlock -

Overrides FormControl.validationInfo

-

Validation info component.

- - diff --git a/api/pl.treksoft.kvision.form.select/index.html b/api/pl.treksoft.kvision.form.select/index.html index d328334a..67f5d74f 100644 --- a/api/pl.treksoft.kvision.form.select/index.html +++ b/api/pl.treksoft.kvision.form.select/index.html @@ -50,6 +50,15 @@ +

SelectDropdownAlign

+ + +enum class SelectDropdownAlign +

Select dropdown align. See Bootstrap Select width.

+ + + +

SelectInput

@@ -134,6 +143,81 @@ +

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.

+ + + + +

selectInput

+ + +fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+ + + + +

selectOptGroup

+ + +fun Select.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf(), init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup
+fun SelectInput.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf(), init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup +

DSL builder extension function.

+ + + + +

selectOption

+ + +fun Select.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
+fun SelectInput.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
+fun SelectOptGroup.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption +

DSL builder extension function.

+ + + + +

selectRemote

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

DSL builder extension function.

+ + + + +

selectRemoteInput

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

DSL builder extension function.

+ + + + +

simpleSelect

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

DSL builder extension function.

+ + + + +

simpleSelectInput

+ + +fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+ + + +

toJs

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

selectInput

+ +fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

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-opt-group.html b/api/pl.treksoft.kvision.form.select/select-opt-group.html new file mode 100644 index 00000000..04610e68 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/select-opt-group.html @@ -0,0 +1,18 @@ + + + +selectOptGroup - kvision + + + +kvision / pl.treksoft.kvision.form.select / selectOptGroup
+
+

selectOptGroup

+ +fun Select.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf(), init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup
+ +fun SelectInput.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf(), init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup +

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-option.html b/api/pl.treksoft.kvision.form.select/select-option.html new file mode 100644 index 00000000..3d156c11 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/select-option.html @@ -0,0 +1,20 @@ + + + +selectOption - kvision + + + +kvision / pl.treksoft.kvision.form.select / selectOption
+
+

selectOption

+ +fun Select.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
+ +fun SelectInput.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
+ +fun SelectOptGroup.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption +

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-remote-input.html b/api/pl.treksoft.kvision.form.select/select-remote-input.html new file mode 100644 index 00000000..fc929365 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/select-remote-input.html @@ -0,0 +1,16 @@ + + + +selectRemoteInput - kvision + + + +kvision / pl.treksoft.kvision.form.select / selectRemoteInput
+
+

selectRemoteInput

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

DSL builder extension function.

+

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

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

selectRemote

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

DSL builder extension function.

+

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

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

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/simple-select-input.html b/api/pl.treksoft.kvision.form.select/simple-select-input.html new file mode 100644 index 00000000..6eb74869 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/simple-select-input.html @@ -0,0 +1,16 @@ + + + +simpleSelectInput - kvision + + + +kvision / pl.treksoft.kvision.form.select / simpleSelectInput
+
+

simpleSelectInput

+ +fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

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/simple-select.html b/api/pl.treksoft.kvision.form.select/simple-select.html new file mode 100644 index 00000000..c1c46cfa --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/simple-select.html @@ -0,0 +1,16 @@ + + + +simpleSelect - kvision + + + +kvision / pl.treksoft.kvision.form.select / simpleSelect
+
+

simpleSelect

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

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/-spinner-input/-init-.html b/api/pl.treksoft.kvision.form.spinner/-spinner-input/-init-.html index 0799e4b2..a6548e93 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner-input/-init-.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner-input/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.spinner / SpinnerInput / <init>

<init>

- -SpinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, classes: Set<String> = setOf()) + +SpinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf())

Parameters

value - spinner value

@@ -25,6 +25,8 @@ buttonsType - spinner buttons type

forceType - spinner force rounding type

+

+buttonStyle - the style of the up/down buttons

classes - a set of CSS class names

Constructor
diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner-input/button-style.html b/api/pl.treksoft.kvision.form.spinner/-spinner-input/button-style.html new file mode 100644 index 00000000..60dcae96 --- /dev/null +++ b/api/pl.treksoft.kvision.form.spinner/-spinner-input/button-style.html @@ -0,0 +1,21 @@ + + + +SpinnerInput.buttonStyle - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / SpinnerInput / buttonStyle
+
+

buttonStyle

+ +var buttonStyle: ButtonStyle? +

The style of the up/down buttons.

+

Getter
+

The style of the up/down buttons.

+

+

Setter
+

The style of the up/down buttons.

+

+ + diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner-input/buttons-type.html b/api/pl.treksoft.kvision.form.spinner/-spinner-input/buttons-type.html index b9191d5b..237f5317 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner-input/buttons-type.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner-input/buttons-type.html @@ -9,13 +9,7 @@

buttonsType

-var buttonsType: ButtonsType -

Spinner buttons type.

-

Getter
-

Spinner buttons type.

-

-

Setter
-

Spinner buttons type.

-

+val buttonsType: ButtonsType +

spinner buttons type

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 d14962de..543e6c48 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html @@ -18,7 +18,7 @@

<init>

-SpinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, classes: Set<String> = setOf()) +SpinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf()) @@ -36,11 +36,20 @@ +

buttonStyle

+ + +var buttonStyle: ButtonStyle? +

The style of the up/down buttons.

+ + + +

buttonsType

-var buttonsType: ButtonsType -

Spinner buttons type.

+val buttonsType: ButtonsType +

spinner buttons type

@@ -144,6 +153,15 @@ +

validationStatus

+ + +open var validationStatus: ValidationStatus? +

The validation status of the input.

+ + + +

value

@@ -222,6 +240,15 @@ +

tabindex

+ + +var tabindex: Int? +

A tabindex attribute of generated HTML element.

+ + + +

title

@@ -592,15 +619,6 @@ -

setContextMenu

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

Sets context menu for the current widget.

- - - -

setDragDropData

@@ -690,23 +708,53 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + - -
-

spinnerInput

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

-fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -716,6 +764,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

setContextMenu

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

Sets context menu for the current widget.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner-input/spinner-input.html b/api/pl.treksoft.kvision.form.spinner/-spinner-input/spinner-input.html deleted file mode 100644 index 03c23910..00000000 --- a/api/pl.treksoft.kvision.form.spinner/-spinner-input/spinner-input.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -SpinnerInput.spinnerInput - kvision - - - -kvision / pl.treksoft.kvision.form.spinner / SpinnerInput / spinnerInput
-
-

spinnerInput

- -fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput -

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/-spinner-input/validation-status.html b/api/pl.treksoft.kvision.form.spinner/-spinner-input/validation-status.html new file mode 100644 index 00000000..48a5352e --- /dev/null +++ b/api/pl.treksoft.kvision.form.spinner/-spinner-input/validation-status.html @@ -0,0 +1,22 @@ + + + +SpinnerInput.validationStatus - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / SpinnerInput / validationStatus
+
+

validationStatus

+ +open var validationStatus: ValidationStatus? +

Overrides FormInput.validationStatus

+

The validation status of the input.

+

Getter
+

The validation status of the input.

+

+

Setter
+

The validation status 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 c1b6525e..f89e5120 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.spinner / Spinner / <init>

<init>

- -Spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, 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? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false)

Parameters

value - spinner value

diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/button-style.html b/api/pl.treksoft.kvision.form.spinner/-spinner/button-style.html new file mode 100644 index 00000000..238b671a --- /dev/null +++ b/api/pl.treksoft.kvision.form.spinner/-spinner/button-style.html @@ -0,0 +1,15 @@ + + + +Spinner.buttonStyle - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / Spinner / buttonStyle
+
+

buttonStyle

+ +var buttonStyle: ButtonStyle? +

The style of the up/down buttons.

+ + diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/buttons-type.html b/api/pl.treksoft.kvision.form.spinner/-spinner/buttons-type.html index 6292856b..23095f85 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner/buttons-type.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner/buttons-type.html @@ -9,7 +9,7 @@

buttonsType

-var buttonsType: ButtonsType -

Spinner buttons type.

+val buttonsType: ButtonsType +

spinner buttons type

diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/index.html b/api/pl.treksoft.kvision.form.spinner/-spinner/index.html index c1000c14..9da9bab9 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, name: String? = null, min: Int? = null, max: Int? = null, 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? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false) @@ -36,11 +36,20 @@ +

buttonStyle

+ + +var buttonStyle: ButtonStyle? +

The style of the up/down buttons.

+ + + +

buttonsType

-var buttonsType: ButtonsType -

Spinner buttons type.

+val buttonsType: ButtonsType +

spinner buttons type

@@ -88,6 +97,15 @@ +

invalidFeedback

+ + +val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+ + + +

label

@@ -160,11 +178,11 @@ -

validationInfo

+

validatorError

-val validationInfo: HelpBlock -

Validation info component.

+open var validatorError: String? +

Validator error message.

@@ -178,6 +196,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -255,6 +285,15 @@

Change value in plus.

+ + + +
+

styleForHorizontalFormPanel

+
+open fun styleForHorizontalFormPanel(): Unit +

Style form control element for horizontal form panel.

+

Inherited Functions

@@ -352,23 +391,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

spinner

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

-fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, 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 Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

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

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -378,6 +510,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/invalid-feedback.html b/api/pl.treksoft.kvision.form.spinner/-spinner/invalid-feedback.html new file mode 100644 index 00000000..3aef27d9 --- /dev/null +++ b/api/pl.treksoft.kvision.form.spinner/-spinner/invalid-feedback.html @@ -0,0 +1,16 @@ + + + +Spinner.invalidFeedback - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / Spinner / invalidFeedback
+
+

invalidFeedback

+ +val invalidFeedback: InvalidFeedback +

Overrides FormControl.invalidFeedback

+

Invalid feedback component.

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

spinner

- -fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, 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/-spinner/style-for-horizontal-form-panel.html b/api/pl.treksoft.kvision.form.spinner/-spinner/style-for-horizontal-form-panel.html new file mode 100644 index 00000000..14ea2ba6 --- /dev/null +++ b/api/pl.treksoft.kvision.form.spinner/-spinner/style-for-horizontal-form-panel.html @@ -0,0 +1,16 @@ + + + +Spinner.styleForHorizontalFormPanel - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / Spinner / styleForHorizontalFormPanel
+
+

styleForHorizontalFormPanel

+ +open fun styleForHorizontalFormPanel(): Unit +

Overrides FormControl.styleForHorizontalFormPanel

+

Style form control element for horizontal form panel.

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

validationInfo

- -val validationInfo: HelpBlock -

Overrides FormControl.validationInfo

-

Validation info component.

- - diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/validator-error.html b/api/pl.treksoft.kvision.form.spinner/-spinner/validator-error.html new file mode 100644 index 00000000..5c97c3c4 --- /dev/null +++ b/api/pl.treksoft.kvision.form.spinner/-spinner/validator-error.html @@ -0,0 +1,16 @@ + + + +Spinner.validatorError - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / Spinner / validatorError
+
+

validatorError

+ +open var validatorError: String? +

Overrides FormControl.validatorError

+

Validator error message.

+ + diff --git a/api/pl.treksoft.kvision.form.spinner/index.html b/api/pl.treksoft.kvision.form.spinner/index.html index 7512883f..26904bde 100644 --- a/api/pl.treksoft.kvision.form.spinner/index.html +++ b/api/pl.treksoft.kvision.form.spinner/index.html @@ -50,5 +50,28 @@ +

Functions

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

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

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

spinnerInput

+ +fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

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/spinner.html b/api/pl.treksoft.kvision.form.spinner/spinner.html new file mode 100644 index 00000000..80c81f42 --- /dev/null +++ b/api/pl.treksoft.kvision.form.spinner/spinner.html @@ -0,0 +1,16 @@ + + + +spinner - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / spinner
+
+

spinner

+ +fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, 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.text/-abstract-text-input/index.html b/api/pl.treksoft.kvision.form.text/-abstract-text-input/index.html index 362afc78..11a6de61 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 @@ -99,6 +99,15 @@ +

validationStatus

+ + +open var validationStatus: ValidationStatus? +

The validation status of the input.

+ + + +

value

@@ -177,6 +186,15 @@ +

tabindex

+ + +var tabindex: Int? +

A tabindex attribute of generated HTML element.

+ + + +

title

@@ -505,15 +523,6 @@ -

setContextMenu

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

Sets context menu for the current widget.

- - - -

setDragDropData

@@ -608,6 +617,50 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + + +

contextMenu

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

DSL builder extension function.

+ + + +

createInstance

@@ -615,6 +668,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit + + + +

setContextMenu

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

Sets context menu for the current widget.

+ + + + +

style

+ + +fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+ +

Inheritors

diff --git a/api/pl.treksoft.kvision.form.text/-abstract-text-input/validation-status.html b/api/pl.treksoft.kvision.form.text/-abstract-text-input/validation-status.html new file mode 100644 index 00000000..c25776d3 --- /dev/null +++ b/api/pl.treksoft.kvision.form.text/-abstract-text-input/validation-status.html @@ -0,0 +1,22 @@ + + + +AbstractTextInput.validationStatus - kvision + + + +kvision / pl.treksoft.kvision.form.text / AbstractTextInput / validationStatus
+
+

validationStatus

+ +open var validationStatus: ValidationStatus? +

Overrides FormInput.validationStatus

+

The validation status of the input.

+

Getter
+

The validation status of the input.

+

+

Setter
+

The validation status of the input.

+

+ + 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 8431fa76..ea9ea214 100644 --- a/api/pl.treksoft.kvision.form.text/-abstract-text/index.html +++ b/api/pl.treksoft.kvision.form.text/-abstract-text/index.html @@ -54,6 +54,15 @@ +

invalidFeedback

+ + +val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+ + + +

label

@@ -108,21 +117,24 @@ -

validationInfo

+

value

-val validationInfo: HelpBlock -

Validation info component.

+open var value: String? +

Text input value.

+ + +

Inherited Properties

+ + +val children: MutableList<Component>
-

value

+

children

-open var value: String? -

Text input value.

-
@@ -287,6 +299,113 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + + +

bold

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

DSL builder extension function.

+ + + + +

button

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

DSL builder extension function.

+ + + + +

buttonGroup

+ + +fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+ + + + +

canvas

+ + +fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+ + + + +

chart

+ + +fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+ + + + +

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.

+ + + + +

checkBoxInput

+ + +fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+ + + + +

contextMenu

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

DSL builder extension function.

+ + + +

createInstance

@@ -294,6 +413,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

dataContainer

+ + +fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+ + + + +

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.

+ + + + +

dateTimeInput

+ + +fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+ + + + +

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.

+ + + + +

dockPanel

+ + +fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+ + + + +

dropDown

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

DSL builder extension function.

+ + + + +

fieldLabel

+ + +fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+ + + + +

flexPanel

+ + +fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+ + + + +

footer

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

DSL builder extension function.

+ + + + +

formPanel

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

DSL builder extension function.

+ + + + +

gridPanel

+ + +fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+ + + + +

h1

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

DSL builder extension function.

+ + + + +

h2

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

DSL builder extension function.

+ + + + +

h3

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

DSL builder extension function.

+ + + + +

h4

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

DSL builder extension function.

+ + + + +

h5

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

DSL builder extension function.

+ + + + +

h6

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

DSL builder extension function.

+ + + + +

header

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

DSL builder extension function.

+ + + + +

hPanel

+ + +fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+ + + + +

icon

+ + +fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+ + + + +

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.

+ + + + +

image

+ + +fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+ + + + +

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.

+ + + + +

listTag

+ + +fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+ + + + +

navbar

+ + +fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+ + + + +

p

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

DSL builder extension function.

+ + + + +

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.

+ + + + +

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.

+ + + + +

radio

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

DSL builder extension function.

+ + + + +

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.

+ + + + +

radioGroupInput

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

DSL builder extension function.

+ + + + +

radioInput

+ + +fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+ + + + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit + + + +

responsiveGridPanel

+ + +fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+ + + + +

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.

+ + + + +

richTextInput

+ + +fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+ + + + +

section

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

DSL builder extension function.

+ + + + +

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.

+ + + + +

selectInput

+ + +fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+ + + + +

selectRemote

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

DSL builder extension function.

+ + + + +

selectRemoteInput

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

DSL builder extension function.

+ + + + +

setContextMenu

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

Sets context menu for the current widget.

+ + + + +

simplePanel

+ + +fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+ + + + +

simpleSelect

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

DSL builder extension function.

+ + + + +

simpleSelectInput

+ + +fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+ + + + +

span

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

DSL builder extension function.

+ + + + +

spinner

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

DSL builder extension function.

+ + + + +

spinnerInput

+ + +fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+ + + + +

splitPanel

+ + +fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+ + + + +

stackPanel

+ + +fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+ + + + +

stateBinding

+ + +fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+ + + + +

stateUpdate

+ + +fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+ + + + +

style

+ + +fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+ + + + +

table

+ + +fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+ + + + +

tabPanel

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

DSL builder extension function.

+ + + + +

tabulator

+ + +fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+ + + + +

tabulatorRemote

+ + +fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+ + + + +

tag

+ + +fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+ + + + +

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.

+ + + + +

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.

+ + + + +

textAreaInput

+ + +fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+ + + + +

textInput

+ + +fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+ + + + +

toolbar

+ + +fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+ + + + +

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.

+ + + + +

uploadInput

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

DSL builder extension function.

+ + + + +

vPanel

+ + +fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+ + + + +

widget

+ + +fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+ + + + +

widgetWrapper

+ + +fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+ + + + +

window

+ + +fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+ +

Inheritors

diff --git a/api/pl.treksoft.kvision.form.text/-abstract-text/invalid-feedback.html b/api/pl.treksoft.kvision.form.text/-abstract-text/invalid-feedback.html new file mode 100644 index 00000000..c0b296d3 --- /dev/null +++ b/api/pl.treksoft.kvision.form.text/-abstract-text/invalid-feedback.html @@ -0,0 +1,16 @@ + + + +AbstractText.invalidFeedback - kvision + + + +kvision / pl.treksoft.kvision.form.text / AbstractText / invalidFeedback
+
+

invalidFeedback

+ +val invalidFeedback: InvalidFeedback +

Overrides FormControl.invalidFeedback

+

Invalid feedback component.

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

validationInfo

- -val validationInfo: HelpBlock -

Overrides FormControl.validationInfo

-

Validation info component.

- - diff --git a/api/pl.treksoft.kvision.form.text/-password/index.html b/api/pl.treksoft.kvision.form.text/-password/index.html index 942bf568..7b880fce 100644 --- a/api/pl.treksoft.kvision.form.text/-password/index.html +++ b/api/pl.treksoft.kvision.form.text/-password/index.html @@ -54,23 +54,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

password

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

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

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

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

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -80,6 +173,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

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 deleted file mode 100644 index 2620f8ff..00000000 --- a/api/pl.treksoft.kvision.form.text/-password/password.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Password.password - kvision - - - -kvision / pl.treksoft.kvision.form.text / Password / password
-
-

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 999cbbed..14b58266 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 @@ -99,6 +99,15 @@ +

validationStatus

+ + +open var validationStatus: ValidationStatus? +

The validation status of the input.

+ + + +

value

@@ -181,23 +190,53 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + - -
-

richTextInput

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

-fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -207,6 +246,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

setContextMenu

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

Sets context menu for the current widget.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.text/-rich-text-input/rich-text-input.html b/api/pl.treksoft.kvision.form.text/-rich-text-input/rich-text-input.html deleted file mode 100644 index cbdaf326..00000000 --- a/api/pl.treksoft.kvision.form.text/-rich-text-input/rich-text-input.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -RichTextInput.richTextInput - kvision - - - -kvision / pl.treksoft.kvision.form.text / RichTextInput / richTextInput
-
-

richTextInput

- -fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput -

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/index.html b/api/pl.treksoft.kvision.form.text/-rich-text/index.html index e31c5605..20141f1e 100644 --- a/api/pl.treksoft.kvision.form.text/-rich-text/index.html +++ b/api/pl.treksoft.kvision.form.text/-rich-text/index.html @@ -68,6 +68,15 @@ +

invalidFeedback

+ + +val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+ + + +

label

@@ -122,15 +131,6 @@ -

validationInfo

- - -val validationInfo: HelpBlock -

Validation info component.

- - - -

value

@@ -192,23 +192,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

richText

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.richText(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (RichText.() -> Unit)? = null): RichText +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -218,6 +311,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

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 deleted file mode 100644 index 47901160..00000000 --- a/api/pl.treksoft.kvision.form.text/-rich-text/rich-text.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -RichText.richText - kvision - - - -kvision / pl.treksoft.kvision.form.text / RichText / richText
-
-

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 83eac4a8..94fed058 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 @@ -131,6 +131,15 @@ +

validationStatus

+ + +open var validationStatus: ValidationStatus? +

The validation status of the input.

+ + + +

value

@@ -204,23 +213,53 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + - -
-

textAreaInput

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

-fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -230,6 +269,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

setContextMenu

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

Sets context menu for the current widget.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.text/-text-area-input/text-area-input.html b/api/pl.treksoft.kvision.form.text/-text-area-input/text-area-input.html deleted file mode 100644 index a4a3bc7c..00000000 --- a/api/pl.treksoft.kvision.form.text/-text-area-input/text-area-input.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -TextAreaInput.textAreaInput - kvision - - - -kvision / pl.treksoft.kvision.form.text / TextAreaInput / textAreaInput
-
-

textAreaInput

- -fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput -

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/index.html b/api/pl.treksoft.kvision.form.text/-text-area/index.html index dca797f7..106e1420 100644 --- a/api/pl.treksoft.kvision.form.text/-text-area/index.html +++ b/api/pl.treksoft.kvision.form.text/-text-area/index.html @@ -86,6 +86,15 @@ +

invalidFeedback

+ + +val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+ + + +

label

@@ -140,15 +149,6 @@ -

validationInfo

- - -val validationInfo: HelpBlock -

Validation info component.

- - - -

value

@@ -210,23 +210,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

textArea

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-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 +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -236,6 +329,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

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 deleted file mode 100644 index 17bd0fdf..00000000 --- a/api/pl.treksoft.kvision.form.text/-text-area/text-area.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -TextArea.textArea - kvision - - - -kvision / pl.treksoft.kvision.form.text / TextArea / textArea
-
-

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 f39db4f7..bb66d0bd 100644 --- a/api/pl.treksoft.kvision.form.text/-text-input/index.html +++ b/api/pl.treksoft.kvision.form.text/-text-input/index.html @@ -122,6 +122,15 @@ +

validationStatus

+ + +open var validationStatus: ValidationStatus? +

The validation status of the input.

+ + + +

value

@@ -195,23 +204,53 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + - -
-

textInput

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

-fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -221,6 +260,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

setContextMenu

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

Sets context menu for the current widget.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.text/-text-input/text-input.html b/api/pl.treksoft.kvision.form.text/-text-input/text-input.html deleted file mode 100644 index 7dfa223e..00000000 --- a/api/pl.treksoft.kvision.form.text/-text-input/text-input.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -TextInput.textInput - kvision - - - -kvision / pl.treksoft.kvision.form.text / TextInput / textInput
-
-

textInput

- -fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput -

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/index.html b/api/pl.treksoft.kvision.form.text/-text/index.html index edf40b2f..e3310407 100644 --- a/api/pl.treksoft.kvision.form.text/-text/index.html +++ b/api/pl.treksoft.kvision.form.text/-text/index.html @@ -77,6 +77,15 @@ +

invalidFeedback

+ + +val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+ + + +

label

@@ -131,15 +140,6 @@ -

validationInfo

- - -val validationInfo: HelpBlock -

Validation info component.

- - - -

value

@@ -201,23 +201,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

text

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.text(type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Text.() -> Unit)? = null): Text +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -227,6 +320,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

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

DSL builder extension function.

+
+

spinner

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

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

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

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+

Inheritors

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

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 8758e734..57a6f672 100644 --- a/api/pl.treksoft.kvision.form.text/index.html +++ b/api/pl.treksoft.kvision.form.text/index.html @@ -104,5 +104,73 @@ +

Functions

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

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.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.text/password.html b/api/pl.treksoft.kvision.form.text/password.html new file mode 100644 index 00000000..b2653e6e --- /dev/null +++ b/api/pl.treksoft.kvision.form.text/password.html @@ -0,0 +1,16 @@ + + + +password - kvision + + + +kvision / pl.treksoft.kvision.form.text / password
+
+

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.html b/api/pl.treksoft.kvision.form.text/rich-text-input.html new file mode 100644 index 00000000..0299c747 --- /dev/null +++ b/api/pl.treksoft.kvision.form.text/rich-text-input.html @@ -0,0 +1,16 @@ + + + +richTextInput - kvision + + + +kvision / pl.treksoft.kvision.form.text / richTextInput
+
+

richTextInput

+ +fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

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.html b/api/pl.treksoft.kvision.form.text/rich-text.html new file mode 100644 index 00000000..5b31278c --- /dev/null +++ b/api/pl.treksoft.kvision.form.text/rich-text.html @@ -0,0 +1,16 @@ + + + +richText - kvision + + + +kvision / pl.treksoft.kvision.form.text / richText
+
+

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.html b/api/pl.treksoft.kvision.form.text/text-area-input.html new file mode 100644 index 00000000..84230e6e --- /dev/null +++ b/api/pl.treksoft.kvision.form.text/text-area-input.html @@ -0,0 +1,16 @@ + + + +textAreaInput - kvision + + + +kvision / pl.treksoft.kvision.form.text / textAreaInput
+
+

textAreaInput

+ +fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

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.html b/api/pl.treksoft.kvision.form.text/text-area.html new file mode 100644 index 00000000..f79fab96 --- /dev/null +++ b/api/pl.treksoft.kvision.form.text/text-area.html @@ -0,0 +1,16 @@ + + + +textArea - kvision + + + +kvision / pl.treksoft.kvision.form.text / textArea
+
+

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.html b/api/pl.treksoft.kvision.form.text/text-input.html new file mode 100644 index 00000000..742d10f7 --- /dev/null +++ b/api/pl.treksoft.kvision.form.text/text-input.html @@ -0,0 +1,16 @@ + + + +textInput - kvision + + + +kvision / pl.treksoft.kvision.form.text / textInput
+
+

textInput

+ +fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

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.html b/api/pl.treksoft.kvision.form.text/text.html new file mode 100644 index 00000000..7329e1dc --- /dev/null +++ b/api/pl.treksoft.kvision.form.text/text.html @@ -0,0 +1,16 @@ + + + +text - kvision + + + +kvision / pl.treksoft.kvision.form.text / text
+
+

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.time/-date-time-input/autofocus.html b/api/pl.treksoft.kvision.form.time/-date-time-input/autofocus.html index bbdaa979..db39e3d2 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/autofocus.html +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/autofocus.html @@ -11,11 +11,5 @@ var autofocus: Boolean?

Determines if the text input is automatically focused.

-

Getter
-

Determines if the text input is automatically focused.

-

-

Setter
-

Determines if the text input is automatically focused.

-

diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/change-value.html b/api/pl.treksoft.kvision.form.time/-date-time-input/change-value.html deleted file mode 100644 index bbaa5718..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/change-value.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DateTimeInput.changeValue - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / changeValue
-
-

changeValue

- -protected open fun changeValue(): Unit - - diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/clear-btn.html b/api/pl.treksoft.kvision.form.time/-date-time-input/clear-btn.html deleted file mode 100644 index 9caedf09..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/clear-btn.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -DateTimeInput.clearBtn - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / clearBtn
-
-

clearBtn

- -var clearBtn: Boolean -

Determines if Clear button should be visible.

-

Getter
-

Determines if Clear button should be visible.

-

-

Setter
-

Determines if Clear button should be visible.

-

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/date-time-input.html b/api/pl.treksoft.kvision.form.time/-date-time-input/date-time-input.html deleted file mode 100644 index 284dec31..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/date-time-input.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -DateTimeInput.dateTimeInput - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / dateTimeInput
-
-

dateTimeInput

- -fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput -

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-input/disabled-dates.html b/api/pl.treksoft.kvision.form.time/-date-time-input/disabled-dates.html new file mode 100644 index 00000000..85ea9c43 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/disabled-dates.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.disabledDates - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / disabledDates
+
+

disabledDates

+ +var disabledDates: Array<Date> +

An array of disabled dates.

+

Getter
+

An array of disabled dates.

+

+

Setter
+

An array of disabled dates.

+

+ + 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 fccaea04..12c81e49 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 @@ -12,11 +12,5 @@ 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.time/-date-time-input/enabled-dates.html b/api/pl.treksoft.kvision.form.time/-date-time-input/enabled-dates.html new file mode 100644 index 00000000..c23a244c --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/enabled-dates.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.enabledDates - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / enabledDates
+
+

enabledDates

+ +var enabledDates: Array<Date> +

An array of enabled dates.

+

Getter
+

An array of enabled dates.

+

+

Setter
+

An array of enabled dates.

+

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/get-sn-attrs.html b/api/pl.treksoft.kvision.form.time/-date-time-input/get-sn-attrs.html deleted file mode 100644 index cb36049b..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/get-sn-attrs.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -DateTimeInput.getSnAttrs - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / 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.time/-date-time-input/ignore-readonly.html b/api/pl.treksoft.kvision.form.time/-date-time-input/ignore-readonly.html new file mode 100644 index 00000000..56a5bdec --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/ignore-readonly.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.ignoreReadonly - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / ignoreReadonly
+
+

ignoreReadonly

+ +var ignoreReadonly: Boolean +

Allow date picker for readonly component.

+

Getter
+

Allow date picker for readonly component.

+

+

Setter
+

Allow date picker for readonly component.

+

+ + 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 c4690ad6..504d9f9a 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, FormInput +open class DateTimeInput : SimplePanel, FormInput

Basic date/time chooser component.

Constructors

@@ -36,15 +36,6 @@ - - - - + + + + + + + + + + + + + + + + @@ -108,11 +135,38 @@ + + + + + + + + + + + + @@ -126,20 +180,20 @@ @@ -151,592 +205,962 @@

Date/time input value.

+ +
-

clearBtn

-
-var clearBtn: Boolean -

Determines if Clear button should be visible.

-

daysOfWeekDisabled

@@ -63,6 +54,24 @@
+

disabledDates

+
+var disabledDates: Array<Date> +

An array of disabled dates.

+
+

enabledDates

+
+var enabledDates: Array<Date> +

An array of enabled dates.

+

format

@@ -72,11 +81,29 @@
-

minuteStep

+

ignoreReadonly

-var minuteStep: Int -

The increment used to build the hour view.

+var ignoreReadonly: Boolean +

Allow date picker for readonly component.

+
+

maxDate

+
+var maxDate: Date? +

Prevents date selection after this date.

+
+

minDate

+
+var minDate: Date? +

Prevents date selection before this date.

-

showMeridian

+

showClear

+
+var showClear: Boolean +

Determines if Clear button should be visible.

+
+

showClose

+
+var showClose: Boolean +

Determines if Close button should be visible.

+
+

showTodayButton

-var showMeridian: Boolean -

Determines if meridian views are visible in day and hour views.

+var showTodayButton: Boolean +

Determines if Today button should be visible.

+
+

sideBySide

+
+var sideBySide: Boolean +

Shows date and time pickers side by side.

-

todayBtn

+

stepping

-var todayBtn: Boolean -

Determines if Today button should be visible.

+var stepping: Int +

The increment used to build the hour view.

-

todayHighlight

+

validationStatus

-var todayHighlight: Boolean -

Determines if the current day should be highlighted.

+open var validationStatus: ValidationStatus? +

The validation status of the input.

+

Inherited Properties

+ + +val children: MutableList<Component>
-

weekStart

+

children

-var weekStart: Int -

Day of the week start. 0 (Sunday) to 6 (Saturday).

-
-

Inherited Properties

+

Functions

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

Method called after inserting Snabbdom vnode into the DOM.

+ +open fun focus(): Unit +

Makes the input element focused.

+ +fun getValueAsString(): String? +

Get value of date/time input control as String

+ +open fun refreshDatePicker(): Unit +open fun togglePopup(): Unit +

Toggles date/time chooser popup.

+ + +
-

draggable

+

afterDestroy

-var draggable: Boolean? -

Determines if the current widget is draggable.

+open fun afterDestroy(): Unit +

Method called after destroying Snabbdom vnode.

-

eventTarget

+

afterInsert

-var eventTarget: Widget?
-

id

+

blur

-var id: String? -

An ID attribute of generated HTML element.

+open fun blur(): Unit +

Makes the input element blur.

-

lastLanguage

+

focus

-var lastLanguage: String?
-

parent

+

getSnClass

-open var parent: Container? -

Parent of the current component.

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

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

-

popoverOptions

+

getValueAsString

-var popoverOptions: PopoverOptions?
-

role

+

hidePopup

-var role: String? -

A role attribute of generated HTML element.

+open fun hidePopup(): Unit +

Hides date/time chooser popup.

-

surroundingSpan

+

refreshDatePicker

-var surroundingSpan: Boolean
-

title

+

showPopup

-var title: String? -

A title attribute of generated HTML element.

+open fun showPopup(): Unit +

Open date/time chooser popup.

-

tooltipOptions

+

togglePopup

-var tooltipOptions: TooltipOptions?
+

Inherited Functions

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

Adds a list of components to the current container.

+ + + + + + + + + + + + + + + + + + + + + + + + +
-

visible

+

add

-open var visible: Boolean -

Visibility state of the current component.

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

Adds given component to the current container.

-

vnode

+

addAll

-var vnode: VNode?
+

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.

+
-

Functions

+

Extension Functions

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

DSL builder extension function.

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

DSL builder extension function.

+ +fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+ - -
-

afterDestroy

+

addBsBgColor

-open fun afterDestroy(): Unit -

Method called after destroying Snabbdom vnode.

+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
-

afterInsert

+

addBsClearfix

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

Method called after inserting Snabbdom vnode into the DOM.

+fun Component.addBsClearfix(): Unit
+

addBsColor

+fun Component.addBsColor(bsColor: BsColor): Unit
-

blur

+

addBsRounded

-open fun blur(): Unit -

Makes the input element blur.

+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

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

DSL builder extension function.

-

changeValue

+

button

-open fun changeValue(): Unit
-

focus

+

buttonGroup

-open fun focus(): Unit -

Makes the input element focused.

+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

-

getSnAttrs

+

canvas

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

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

+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

-

getSnClass

+

chart

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

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

+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

-

getValueAsString

+

checkBox

-fun getValueAsString(): String? -

Get value of date/time input control as String

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

DSL builder extension function.

-

hidePopup

+

checkBoxInput

-open fun hidePopup(): Unit -

Hides date/time chooser popup.

+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

-

refreshDatePicker

+

contextMenu

-open fun refreshDatePicker(): Unit
-

refreshState

+

createInstance

-open fun refreshState(): Unit
-

render

+

dataContainer

-open fun render(): VNode -

Renders current component as a Snabbdom vnode.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

-

showPopup

+

dateTime

-open fun showPopup(): Unit -

Open date/time chooser popup.

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

-

Inherited Functions

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

DSL builder extension function.

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

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+ +fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+ - -
-

addCssClass

+

dateTimeInput

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

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

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

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

+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

-

addSurroundingCssClass

+

div

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

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

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

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

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

-

afterCreate

+

dockPanel

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

Method called after creating Snabbdom vnode.

+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

-

clearDragDropData

+

dropDown

-open fun clearDragDropData(): Unit -

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

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

DSL builder extension function.

-

disablePopover

+

fieldLabel

-open fun disablePopover(): Widget -

Disables popover for the current widget.

+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

-

disableTooltip

+

flexPanel

-open fun disableTooltip(): Widget -

Disables tooltip for the current widget.

+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

-

dispatchEvent

+

footer

-open fun dispatchEvent(type: String, eventInitDict: CustomEventInit): Boolean?
-

enablePopover

+

formPanel

-open fun enablePopover(options: PopoverOptions = PopoverOptions()): Widget -

Enables popover for the current widget.

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

DSL builder extension function.

-

enableTooltip

+

gridPanel

-open fun enableTooltip(options: TooltipOptions = TooltipOptions()): Widget -

Enables tooltip for the current widget.

+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

-

getAttribute

+

h1

-open fun getAttribute(name: String): String? -

Returns the value of an additional attribute.

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

DSL builder extension function.

-

getElement

+

h2

-open fun getElement(): Node? -

Returns DOM element bound to the current component.

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

DSL builder extension function.

-

getElementJQuery

+

h3

-open fun getElementJQuery(): JQuery? -

Returns JQuery element bound to the current component.

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

DSL builder extension function.

-

getElementJQueryD

+

h4

-open fun getElementJQueryD(): dynamic -

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

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

DSL builder extension function.

-

getSnHooks

+

h5

-open fun getSnHooks(): Hooks? -

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

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

DSL builder extension function.

-

getSnOn

+

h6

-open fun getSnOn(): On? -

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

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

DSL builder extension function.

-

hide

+

header

-open fun hide(): Widget -

Makes current widget invisible.

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

DSL builder extension function.

-

hidePopover

+

hPanel

-open fun hidePopover(): Widget -

Hides popover for the current widget.

+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

-

hideTooltip

+

icon

-open fun hideTooltip(): Widget -

Hides tooltip for the current widget.

+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

-

refreshOnUpdate

+

iframe

-fun <T> refreshOnUpdate(refreshFunction: (T) -> Unit = { this.refresh() }): Widget.RefreshDelegateProvider<T>
-fun <T> refreshOnUpdate(initialValue: T, refreshFunction: (T) -> Unit = { this.refresh() }): Widget.RefreshDelegateProvider<T>
-

removeAttribute

+

image

-open fun removeAttribute(name: String): Widget -

Removes the value of additional attribute.

+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

-

removeCssClass

+

link

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

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

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

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

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

-

removeEventListeners

+

listTag

-open fun removeEventListeners(): Widget -

Removes all event listeners from current widget.

+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

-

removeSurroundingCssClass

+

navbar

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

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

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

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

+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

-

render

+

p

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

Renders current component as a Snabbdom vnode.

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

DSL builder extension function.

+
+

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.

-

setAttribute

+

progressBar

-open fun setAttribute(name: String, value: String): Widget -

Sets the value of additional attribute.

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

-

setContextMenu

+

radio

-open fun setContextMenu(contextMenu: ContextMenu): Widget +fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

-

setDragDropData

+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

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

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

+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

-

setDropTarget

+

span

-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 Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

-

setDropTargetData

+

spinner

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

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

DSL builder extension function.

-

setEventListener

+

spinnerInput

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

+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

-

show

+

splitPanel

-open fun show(): Widget -

Makes current widget visible.

+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

-

showPopover

+

stackPanel

-open fun showPopover(): Widget -

Shows popover for the current widget.

+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

-

showTooltip

+

stateBinding

-open fun showTooltip(): Widget -

Shows tooltip for the current widget.

+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

-

singleRender

+

stateUpdate

-fun <T> singleRender(block: () -> T): T
-

toggleVisible

+

style

-open fun toggleVisible(): Widget -

Toggles visibility of current widget.

+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

-

translate

+

table

-fun translate(text: String?): String?
-

Companion Object Functions

- - - -
-

dateTimeInput

+

tabPanel

-fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/max-date.html b/api/pl.treksoft.kvision.form.time/-date-time-input/max-date.html new file mode 100644 index 00000000..5a9e03b4 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/max-date.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.maxDate - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / maxDate
+
+

maxDate

+ +var maxDate: Date? +

Prevents date selection after this date.

+

Getter
+

Prevents date selection after this date.

+

+

Setter
+

Prevents date selection after this date.

+

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/min-date.html b/api/pl.treksoft.kvision.form.time/-date-time-input/min-date.html new file mode 100644 index 00000000..6fa3fcff --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/min-date.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.minDate - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / minDate
+
+

minDate

+ +var minDate: Date? +

Prevents date selection before this date.

+

Getter
+

Prevents date selection before this date.

+

+

Setter
+

Prevents date selection before this date.

+

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/minute-step.html b/api/pl.treksoft.kvision.form.time/-date-time-input/minute-step.html deleted file mode 100644 index 75fc274a..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/minute-step.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -DateTimeInput.minuteStep - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / minuteStep
-
-

minuteStep

- -var minuteStep: Int -

The increment used to build the hour view.

-

Getter
-

The increment used to build the hour view.

-

-

Setter
-

The increment used to build the hour view.

-

- - 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 4a911863..3d4ad65d 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 @@ -12,11 +12,5 @@ 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.time/-date-time-input/placeholder.html b/api/pl.treksoft.kvision.form.time/-date-time-input/placeholder.html index 94ddee2e..6f803f46 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/placeholder.html +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/placeholder.html @@ -11,11 +11,5 @@ var placeholder: String?

The placeholder for the date/time input.

-

Getter
-

The placeholder for the date/time input.

-

-

Setter
-

The placeholder for the date/time input.

-

diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/readonly.html b/api/pl.treksoft.kvision.form.time/-date-time-input/readonly.html index e72773d9..77328e1e 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/readonly.html +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/readonly.html @@ -11,11 +11,5 @@ var readonly: Boolean?

Determines if the date/time input is read-only.

-

Getter
-

Determines if the date/time input is read-only.

-

-

Setter
-

Determines if the date/time input is read-only.

-

diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/refresh-state.html b/api/pl.treksoft.kvision.form.time/-date-time-input/refresh-state.html deleted file mode 100644 index 35ccc8fc..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/refresh-state.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DateTimeInput.refreshState - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / refreshState
-
-

refreshState

- -protected open fun refreshState(): Unit - - diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/render.html b/api/pl.treksoft.kvision.form.time/-date-time-input/render.html deleted file mode 100644 index 4b157a48..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/render.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -DateTimeInput.render - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / 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.time/-date-time-input/show-clear.html b/api/pl.treksoft.kvision.form.time/-date-time-input/show-clear.html new file mode 100644 index 00000000..8c529a10 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/show-clear.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.showClear - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / showClear
+
+

showClear

+ +var showClear: Boolean +

Determines if Clear button should be visible.

+

Getter
+

Determines if Clear button should be visible.

+

+

Setter
+

Determines if Clear button should be visible.

+

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/show-close.html b/api/pl.treksoft.kvision.form.time/-date-time-input/show-close.html new file mode 100644 index 00000000..b4128c25 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/show-close.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.showClose - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / showClose
+
+

showClose

+ +var showClose: Boolean +

Determines if Close button should be visible.

+

Getter
+

Determines if Close button should be visible.

+

+

Setter
+

Determines if Close button should be visible.

+

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/show-meridian.html b/api/pl.treksoft.kvision.form.time/-date-time-input/show-meridian.html deleted file mode 100644 index f34d477f..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/show-meridian.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -DateTimeInput.showMeridian - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / showMeridian
-
-

showMeridian

- -var showMeridian: Boolean -

Determines if meridian views are visible in day and hour views.

-

Getter
-

Determines if meridian views are visible in day and hour views.

-

-

Setter
-

Determines if meridian views are visible in day and hour views.

-

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/show-today-button.html b/api/pl.treksoft.kvision.form.time/-date-time-input/show-today-button.html new file mode 100644 index 00000000..1e231f8e --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/show-today-button.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.showTodayButton - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / showTodayButton
+
+

showTodayButton

+ +var showTodayButton: Boolean +

Determines if Today button should be visible.

+

Getter
+

Determines if Today button should be visible.

+

+

Setter
+

Determines if Today button should be visible.

+

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/side-by-side.html b/api/pl.treksoft.kvision.form.time/-date-time-input/side-by-side.html new file mode 100644 index 00000000..93686d3c --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/side-by-side.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.sideBySide - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / sideBySide
+
+

sideBySide

+ +var sideBySide: Boolean +

Shows date and time pickers side by side.

+

Getter
+

Shows date and time pickers side by side.

+

+

Setter
+

Shows date and time pickers side by side.

+

+ + 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 8f6e2908..c4242a10 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 @@ -12,11 +12,5 @@ open var size: InputSize?

Overrides FormInput.size

The size of the input.

-

Getter
-

The size of the input.

-

-

Setter
-

The size of the input.

-

diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/stepping.html b/api/pl.treksoft.kvision.form.time/-date-time-input/stepping.html new file mode 100644 index 00000000..d00b60c5 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/stepping.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.stepping - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / stepping
+
+

stepping

+ +var stepping: Int +

The increment used to build the hour view.

+

Getter
+

The increment used to build the hour view.

+

+

Setter
+

The increment used to build the hour view.

+

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/today-btn.html b/api/pl.treksoft.kvision.form.time/-date-time-input/today-btn.html deleted file mode 100644 index 6c372f05..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/today-btn.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -DateTimeInput.todayBtn - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / todayBtn
-
-

todayBtn

- -var todayBtn: Boolean -

Determines if Today button should be visible.

-

Getter
-

Determines if Today button should be visible.

-

-

Setter
-

Determines if Today button should be visible.

-

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/today-highlight.html b/api/pl.treksoft.kvision.form.time/-date-time-input/today-highlight.html deleted file mode 100644 index 7d5b84d5..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/today-highlight.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -DateTimeInput.todayHighlight - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / todayHighlight
-
-

todayHighlight

- -var todayHighlight: Boolean -

Determines if the current day should be highlighted.

-

Getter
-

Determines if the current day should be highlighted.

-

-

Setter
-

Determines if the current day should be highlighted.

-

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/toggle-popup.html b/api/pl.treksoft.kvision.form.time/-date-time-input/toggle-popup.html new file mode 100644 index 00000000..4c13d11c --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/toggle-popup.html @@ -0,0 +1,15 @@ + + + +DateTimeInput.togglePopup - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / togglePopup
+
+

togglePopup

+ +open fun togglePopup(): Unit +

Toggles date/time chooser popup.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/validation-status.html b/api/pl.treksoft.kvision.form.time/-date-time-input/validation-status.html new file mode 100644 index 00000000..63556154 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/validation-status.html @@ -0,0 +1,16 @@ + + + +DateTimeInput.validationStatus - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / validationStatus
+
+

validationStatus

+ +open var validationStatus: ValidationStatus? +

Overrides FormInput.validationStatus

+

The validation status of the input.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/value.html b/api/pl.treksoft.kvision.form.time/-date-time-input/value.html index afa8799a..4dc0a032 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/value.html +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/value.html @@ -11,11 +11,5 @@ var value: Date?

Date/time input value.

-

Getter
-

Date/time input value.

-

-

Setter
-

Date/time input value.

-

diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/week-start.html b/api/pl.treksoft.kvision.form.time/-date-time-input/week-start.html deleted file mode 100644 index 235068c3..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/week-start.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -DateTimeInput.weekStart - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / weekStart
-
-

weekStart

- -var weekStart: Int -

Day of the week start. 0 (Sunday) to 6 (Saturday).

-

Getter
-

Day of the week start. 0 (Sunday) to 6 (Saturday).

-

-

Setter
-

Day of the week start. 0 (Sunday) to 6 (Saturday).

-

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

clearBtn

- -var clearBtn: Boolean -

Determines if Clear button should be visible.

- - 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 deleted file mode 100644 index ac96d8de..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time/date-time.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -DateTime.dateTime - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTime / dateTime
-
-

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-dates.html b/api/pl.treksoft.kvision.form.time/-date-time/disabled-dates.html new file mode 100644 index 00000000..df0ab973 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/disabled-dates.html @@ -0,0 +1,15 @@ + + + +DateTime.disabledDates - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / disabledDates
+
+

disabledDates

+ +var disabledDates: Array<Date> +

An array of disabled dates.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/enabled-dates.html b/api/pl.treksoft.kvision.form.time/-date-time/enabled-dates.html new file mode 100644 index 00000000..6e92d71b --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/enabled-dates.html @@ -0,0 +1,15 @@ + + + +DateTime.enabledDates - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / enabledDates
+
+

enabledDates

+ +var enabledDates: Array<Date> +

An array of enabled dates.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/ignore-readonly.html b/api/pl.treksoft.kvision.form.time/-date-time/ignore-readonly.html new file mode 100644 index 00000000..05c1de36 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/ignore-readonly.html @@ -0,0 +1,15 @@ + + + +DateTime.ignoreReadonly - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / ignoreReadonly
+
+

ignoreReadonly

+ +var ignoreReadonly: Boolean +

Allow date picker for readonly component..

+ + 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 ed1b6e5f..13ce56d3 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time/index.html +++ b/api/pl.treksoft.kvision.form.time/-date-time/index.html @@ -36,20 +36,29 @@ + + + + @@ -72,6 +81,15 @@ + + + + + + + + + + + + @@ -126,38 +162,47 @@ + + + + @@ -169,14 +214,17 @@

Date/time input value.

+ +
-

createInstance

+

tabulator

-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

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

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

-

clearBtn

+

daysOfWeekDisabled

-var clearBtn: Boolean -

Determines if Clear button should be visible.

+var daysOfWeekDisabled: Array<Int> +

Days of the week that should be disabled. Multiple values should be comma separated.

-

daysOfWeekDisabled

+

disabledDates

-var daysOfWeekDisabled: Array<Int> -

Days of the week that should be disabled. Multiple values should be comma separated.

+var disabledDates: Array<Date> +

An array of disabled dates.

+
+

enabledDates

+
+var enabledDates: Array<Date> +

An array of enabled dates.

+

ignoreReadonly

+
+var ignoreReadonly: Boolean +

Allow date picker for readonly component..

+

input

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

invalidFeedback

+
+val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+

label

@@ -90,11 +117,20 @@
-

minuteStep

+

maxDate

-var minuteStep: Int -

The increment used to build the hour view.

+var maxDate: Date? +

Prevents date selection after this date.

+
+

minDate

+
+var minDate: Date? +

Prevents date selection before this date.

-

showMeridian

+

showClear

-var showMeridian: Boolean -

Determines if meridian views are visible in day and hour views.

+var showClear: Boolean +

Determines if Clear button should be visible.

+
+

showClose

+
+var showClose: Boolean +

Determines if Close button should be visible.

-

todayBtn

+

showTodayButton

-var todayBtn: Boolean +var showTodayButton: Boolean

Determines if Today button should be visible.

-

todayHighlight

+

sideBySide

-var todayHighlight: Boolean -

Determines if the current day should be highlighted.

+var sideBySide: Boolean +

Shows date and time pickers side by side.

-

validationInfo

+

stepping

-val validationInfo: HelpBlock -

Validation info component.

+var stepping: Int +

The increment used to build the hour view.

+

Inherited Properties

+ + +val children: MutableList<Component>
-

weekStart

+

children

-var weekStart: Int -

Day of the week start. 0 (Sunday) to 6 (Saturday).

-
@@ -257,6 +305,15 @@

Open date/time chooser popup.

+ + +

togglePopup

+ + +open fun togglePopup(): Unit +

Toggle date/time chooser popup.

+ +

Inherited Functions

@@ -354,23 +411,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

dateTime

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

-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 +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

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

DSL builder extension function.

+
+

button

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

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

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

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -380,6 +530,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

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

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

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

DSL builder extension function.

+
+

formPanel

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

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

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

DSL builder extension function.

+
+

h2

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

DSL builder extension function.

+
+

h3

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

DSL builder extension function.

+
+

h4

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

DSL builder extension function.

+
+

h5

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

DSL builder extension function.

+
+

h6

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

DSL builder extension function.

+
+

header

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

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

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

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

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

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

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

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

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

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

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

DSL builder extension function.

+
+

selectRemoteInput

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

DSL builder extension function.

+
+

setContextMenu

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

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

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

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.time/-date-time/invalid-feedback.html b/api/pl.treksoft.kvision.form.time/-date-time/invalid-feedback.html new file mode 100644 index 00000000..c3b9be98 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/invalid-feedback.html @@ -0,0 +1,16 @@ + + + +DateTime.invalidFeedback - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / invalidFeedback
+
+

invalidFeedback

+ +val invalidFeedback: InvalidFeedback +

Overrides FormControl.invalidFeedback

+

Invalid feedback component.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/max-date.html b/api/pl.treksoft.kvision.form.time/-date-time/max-date.html new file mode 100644 index 00000000..4fcba09e --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/max-date.html @@ -0,0 +1,15 @@ + + + +DateTime.maxDate - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / maxDate
+
+

maxDate

+ +var maxDate: Date? +

Prevents date selection after this date.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/min-date.html b/api/pl.treksoft.kvision.form.time/-date-time/min-date.html new file mode 100644 index 00000000..66fe9a2b --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/min-date.html @@ -0,0 +1,15 @@ + + + +DateTime.minDate - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / minDate
+
+

minDate

+ +var minDate: Date? +

Prevents date selection before this date.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/minute-step.html b/api/pl.treksoft.kvision.form.time/-date-time/minute-step.html deleted file mode 100644 index 5073b48e..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time/minute-step.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -DateTime.minuteStep - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTime / minuteStep
-
-

minuteStep

- -var minuteStep: Int -

The increment used to build the hour view.

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time/show-clear.html b/api/pl.treksoft.kvision.form.time/-date-time/show-clear.html new file mode 100644 index 00000000..2de0c0c7 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/show-clear.html @@ -0,0 +1,15 @@ + + + +DateTime.showClear - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / showClear
+
+

showClear

+ +var showClear: Boolean +

Determines if Clear button should be visible.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/show-close.html b/api/pl.treksoft.kvision.form.time/-date-time/show-close.html new file mode 100644 index 00000000..0107cacd --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/show-close.html @@ -0,0 +1,15 @@ + + + +DateTime.showClose - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / showClose
+
+

showClose

+ +var showClose: Boolean +

Determines if Close button should be visible.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/show-meridian.html b/api/pl.treksoft.kvision.form.time/-date-time/show-meridian.html deleted file mode 100644 index 790fc0e3..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time/show-meridian.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -DateTime.showMeridian - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTime / showMeridian
-
-

showMeridian

- -var showMeridian: Boolean -

Determines if meridian views are visible in day and hour views.

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time/show-today-button.html b/api/pl.treksoft.kvision.form.time/-date-time/show-today-button.html new file mode 100644 index 00000000..70786905 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/show-today-button.html @@ -0,0 +1,15 @@ + + + +DateTime.showTodayButton - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / showTodayButton
+
+

showTodayButton

+ +var showTodayButton: Boolean +

Determines if Today button should be visible.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/side-by-side.html b/api/pl.treksoft.kvision.form.time/-date-time/side-by-side.html new file mode 100644 index 00000000..8933e634 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/side-by-side.html @@ -0,0 +1,15 @@ + + + +DateTime.sideBySide - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / sideBySide
+
+

sideBySide

+ +var sideBySide: Boolean +

Shows date and time pickers side by side.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/stepping.html b/api/pl.treksoft.kvision.form.time/-date-time/stepping.html new file mode 100644 index 00000000..6b438d75 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/stepping.html @@ -0,0 +1,15 @@ + + + +DateTime.stepping - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / stepping
+
+

stepping

+ +var stepping: Int +

The increment used to build the hour view.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/today-btn.html b/api/pl.treksoft.kvision.form.time/-date-time/today-btn.html deleted file mode 100644 index 9ad572a6..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time/today-btn.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -DateTime.todayBtn - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTime / todayBtn
-
-

todayBtn

- -var todayBtn: Boolean -

Determines if Today button should be visible.

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time/today-highlight.html b/api/pl.treksoft.kvision.form.time/-date-time/today-highlight.html deleted file mode 100644 index 4b3281d3..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time/today-highlight.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -DateTime.todayHighlight - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTime / todayHighlight
-
-

todayHighlight

- -var todayHighlight: Boolean -

Determines if the current day should be highlighted.

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time/toggle-popup.html b/api/pl.treksoft.kvision.form.time/-date-time/toggle-popup.html new file mode 100644 index 00000000..c5b9ec81 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/toggle-popup.html @@ -0,0 +1,15 @@ + + + +DateTime.togglePopup - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / togglePopup
+
+

togglePopup

+ +open fun togglePopup(): Unit +

Toggle date/time chooser popup.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/validation-info.html b/api/pl.treksoft.kvision.form.time/-date-time/validation-info.html deleted file mode 100644 index 8fd72073..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time/validation-info.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -DateTime.validationInfo - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTime / validationInfo
-
-

validationInfo

- -val validationInfo: HelpBlock -

Overrides FormControl.validationInfo

-

Validation info component.

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time/week-start.html b/api/pl.treksoft.kvision.form.time/-date-time/week-start.html deleted file mode 100644 index 6dd03632..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time/week-start.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -DateTime.weekStart - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTime / weekStart
-
-

weekStart

- -var weekStart: Int -

Day of the week start. 0 (Sunday) to 6 (Saturday).

- - diff --git a/api/pl.treksoft.kvision.form.time/date-time-input.html b/api/pl.treksoft.kvision.form.time/date-time-input.html new file mode 100644 index 00000000..91e73e2d --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/date-time-input.html @@ -0,0 +1,16 @@ + + + +dateTimeInput - kvision + + + +kvision / pl.treksoft.kvision.form.time / dateTimeInput
+
+

dateTimeInput

+ +fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

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.html b/api/pl.treksoft.kvision.form.time/date-time.html new file mode 100644 index 00000000..615fdf0f --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/date-time.html @@ -0,0 +1,16 @@ + + + +dateTime - kvision + + + +kvision / pl.treksoft.kvision.form.time / dateTime
+
+

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/index.html b/api/pl.treksoft.kvision.form.time/index.html index d811429f..fe3dfda7 100644 --- a/api/pl.treksoft.kvision.form.time/index.html +++ b/api/pl.treksoft.kvision.form.time/index.html @@ -26,11 +26,34 @@

DateTimeInput

-open class DateTimeInput : Widget, FormInput +open class DateTimeInput : SimplePanel, FormInput

Basic date/time chooser component.

+

Functions

+ + + + + + + + + + + +
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/get-content.html b/api/pl.treksoft.kvision.form.upload/-upload-input/get-content.html deleted file mode 100644 index d24d4aed..00000000 --- a/api/pl.treksoft.kvision.form.upload/-upload-input/get-content.html +++ /dev/null @@ -1,24 +0,0 @@ - - - -UploadInput.getContent - kvision - - - -kvision / pl.treksoft.kvision.form.upload / UploadInput / getContent
-
-

getContent

- -suspend fun <K : Any> Form<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
- -suspend fun <K : Any> FormPanel<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile -

Returns file with the content read.

-

Parameters

-

-key - key identifier of the control

-

-kFile - object identifying the file

-

Return
-KFile object

- - diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/index.html b/api/pl.treksoft.kvision.form.upload/-upload-input/index.html index 968c3e21..30d9f1c7 100644 --- a/api/pl.treksoft.kvision.form.upload/-upload-input/index.html +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/index.html @@ -199,6 +199,15 @@ If not set the upload button action will default to form submission.

+

validationStatus

+ + +open var validationStatus: ValidationStatus? +

The validation status of the input.

+ + + +

value

@@ -277,6 +286,15 @@ If not set the upload button action will default to form submission.

+

tabindex

+ + +var tabindex: Int? +

A tabindex attribute of generated HTML element.

+ + + +

title

@@ -685,15 +703,6 @@ If not set the upload button action will default to form submission.

-

setContextMenu

- - -open fun setContextMenu(contextMenu: ContextMenu): Widget -

Sets context menu for the current widget.

- - - -

setDragDropData

@@ -783,33 +792,53 @@ If not set the upload button action will default to form submission.

-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + - -
-

getContent

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

-suspend fun <K : Any> Form<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
-suspend fun <K : Any> FormPanel<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile -

Returns file with the content read.

+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+fun Component.addBsClearfix(): Unit
-

uploadInput

+

addBsColor

-fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -819,6 +848,59 @@ If not set the upload button action will default to form submission.

Helper function for creating JavaScript objects from dynamic constructors.

+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
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 deleted file mode 100644 index 99f9a13a..00000000 --- a/api/pl.treksoft.kvision.form.upload/-upload-input/upload-input.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -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/validation-status.html b/api/pl.treksoft.kvision.form.upload/-upload-input/validation-status.html new file mode 100644 index 00000000..0edf9786 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/validation-status.html @@ -0,0 +1,22 @@ + + + +UploadInput.validationStatus - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / validationStatus
+
+

validationStatus

+ +open var validationStatus: ValidationStatus? +

Overrides FormInput.validationStatus

+

The validation status of the input.

+

Getter
+

The validation status of the input.

+

+

Setter
+

The validation status of the input.

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/index.html b/api/pl.treksoft.kvision.form.upload/-upload/index.html index 2f68dd69..f7bbf358 100644 --- a/api/pl.treksoft.kvision.form.upload/-upload/index.html +++ b/api/pl.treksoft.kvision.form.upload/-upload/index.html @@ -97,6 +97,15 @@ +

invalidFeedback

+ + +val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+ + + +

label

@@ -215,21 +224,24 @@ If not set the upload button action will default to form submission.

-

validationInfo

+

value

-val validationInfo: HelpBlock -

Validation info component.

+open var value: List<KFile>? +

File input value.

+ + +

Inherited Properties

+ + +val children: MutableList<Component>
-

value

+

children

-open var value: List<KFile>? -

File input value.

-
@@ -452,23 +464,116 @@ If not set the upload button action will default to form submission.

-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

upload

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.upload(uploadUrl: String? = null, multiple: Boolean = false, label: String? = null, rich: Boolean = false, init: (Upload.() -> Unit)? = null): Upload +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -478,6 +583,661 @@ If not set the upload button action will default to form submission.

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.upload/-upload/invalid-feedback.html b/api/pl.treksoft.kvision.form.upload/-upload/invalid-feedback.html new file mode 100644 index 00000000..d7f00f4b --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/invalid-feedback.html @@ -0,0 +1,16 @@ + + + +Upload.invalidFeedback - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / invalidFeedback
+
+

invalidFeedback

+ +val invalidFeedback: InvalidFeedback +

Overrides FormControl.invalidFeedback

+

Invalid feedback component.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/upload.html b/api/pl.treksoft.kvision.form.upload/-upload/upload.html index b4f5b861..a879c356 100644 --- a/api/pl.treksoft.kvision.form.upload/-upload/upload.html +++ b/api/pl.treksoft.kvision.form.upload/-upload/upload.html @@ -11,9 +11,5 @@ 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 deleted file mode 100644 index c66192ee..00000000 --- a/api/pl.treksoft.kvision.form.upload/-upload/validation-info.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -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/get-content.html b/api/pl.treksoft.kvision.form.upload/get-content.html new file mode 100644 index 00000000..f5c17c5f --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/get-content.html @@ -0,0 +1,24 @@ + + + +getContent - kvision + + + +kvision / pl.treksoft.kvision.form.upload / getContent
+
+

getContent

+ +suspend fun <K : Any> Form<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
+ +suspend fun <K : Any> FormPanel<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile +

Returns file with the content read.

+

Parameters

+

+key - key identifier of the control

+

+kFile - object identifying the file

+

Return
+KFile object

+ + diff --git a/api/pl.treksoft.kvision.form.upload/index.html b/api/pl.treksoft.kvision.form.upload/index.html index a40f02ef..9c611576 100644 --- a/api/pl.treksoft.kvision.form.upload/index.html +++ b/api/pl.treksoft.kvision.form.upload/index.html @@ -32,5 +32,38 @@ +

Functions

+ + + + + + + + + + + + + + + +
+

getContent

+
+suspend fun <K : Any> Form<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
+suspend fun <K : Any> FormPanel<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile +

Returns file with the content read.

+
+

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.

+
+

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.html b/api/pl.treksoft.kvision.form.upload/upload-input.html new file mode 100644 index 00000000..8af5d4f2 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/upload-input.html @@ -0,0 +1,16 @@ + + + +uploadInput - kvision + + + +kvision / pl.treksoft.kvision.form.upload / 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.html b/api/pl.treksoft.kvision.form.upload/upload.html new file mode 100644 index 00000000..73af19c5 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/upload.html @@ -0,0 +1,16 @@ + + + +upload - kvision + + + +kvision / pl.treksoft.kvision.form.upload / upload
+
+

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.

+

It takes the same parameters as the constructor of the built 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 03a65771..c41f641c 100644 --- a/api/pl.treksoft.kvision.form/-bool-form-control/index.html +++ b/api/pl.treksoft.kvision.form/-bool-form-control/index.html @@ -56,6 +56,15 @@ +

invalidFeedback

+ + +abstract val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+ + + +

name

@@ -74,11 +83,11 @@ -

validationInfo

+

validationStatus

-abstract val validationInfo: HelpBlock -

Validation info component.

+open var validationStatus: ValidationStatus? +

Input control validation status.

@@ -145,6 +154,33 @@

Makes the input element focused.

+ + +

styleForHorizontalFormPanel

+ + +open fun styleForHorizontalFormPanel(): Unit +

Style form control element for horizontal form panel.

+ + + + +

styleForInlineFormPanel

+ + +open fun styleForInlineFormPanel(): Unit +

Style form control element for inline form panel.

+ + + + +

styleForVerticalFormPanel

+ + +open fun styleForVerticalFormPanel(): Unit +

Style form control element for vertical form panel.

+ +

Extension Functions

@@ -152,6 +188,41 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + +

createInstance

@@ -159,6 +230,41 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit +

Inheritors

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 4f8e4e44..2c1c3859 100644 --- a/api/pl.treksoft.kvision.form/-date-form-control/index.html +++ b/api/pl.treksoft.kvision.form/-date-form-control/index.html @@ -56,6 +56,15 @@ +

invalidFeedback

+ + +abstract val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+ + + +

name

@@ -74,11 +83,11 @@ -

validationInfo

+

validationStatus

-abstract val validationInfo: HelpBlock -

Validation info component.

+open var validationStatus: ValidationStatus? +

Input control validation status.

@@ -145,6 +154,33 @@

Makes the input element focused.

+ + +

styleForHorizontalFormPanel

+ + +open fun styleForHorizontalFormPanel(): Unit +

Style form control element for horizontal form panel.

+ + + + +

styleForInlineFormPanel

+ + +open fun styleForInlineFormPanel(): Unit +

Style form control element for inline form panel.

+ + + + +

styleForVerticalFormPanel

+ + +open fun styleForVerticalFormPanel(): Unit +

Style form control element for vertical form panel.

+ +

Extension Functions

@@ -152,6 +188,41 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + +

createInstance

@@ -159,6 +230,41 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit +

Inheritors

diff --git a/api/pl.treksoft.kvision.form/-field-label/field-label.html b/api/pl.treksoft.kvision.form/-field-label/field-label.html deleted file mode 100644 index 274fb73b..00000000 --- a/api/pl.treksoft.kvision.form/-field-label/field-label.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -FieldLabel.fieldLabel - kvision - - - -kvision / pl.treksoft.kvision.form / FieldLabel / fieldLabel
-
-

fieldLabel

- -fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.form/-field-label/index.html b/api/pl.treksoft.kvision.form/-field-label/index.html index fcde0391..3d8ef8a3 100644 --- a/api/pl.treksoft.kvision.form/-field-label/index.html +++ b/api/pl.treksoft.kvision.form/-field-label/index.html @@ -125,23 +125,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

fieldLabel

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.form/-form-control/index.html b/api/pl.treksoft.kvision.form/-form-control/index.html index 05587b00..e8463fa0 100644 --- a/api/pl.treksoft.kvision.form/-form-control/index.html +++ b/api/pl.treksoft.kvision.form/-form-control/index.html @@ -42,6 +42,15 @@ + + + + @@ -149,6 +158,33 @@

Sets the value of the control.

+ + + + + + + + + + + +

createInstance

@@ -153,12 +246,667 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+

invalidFeedback

+
+abstract val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+

name

@@ -60,11 +69,11 @@
-

validationInfo

+

validationStatus

-abstract val validationInfo: HelpBlock -

Validation info component.

+open var validationStatus: ValidationStatus? +

Input control validation status.

+

styleForHorizontalFormPanel

+
+open fun styleForHorizontalFormPanel(): Unit +

Style form control element for horizontal form panel.

+
+

styleForInlineFormPanel

+
+open fun styleForInlineFormPanel(): Unit +

Style form control element for inline form panel.

+
+

styleForVerticalFormPanel

+
+open fun styleForVerticalFormPanel(): Unit +

Style form control element for vertical form panel.

+

Inherited Functions

@@ -259,6 +295,41 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + +

createInstance

@@ -266,6 +337,41 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit +

Inheritors

diff --git a/api/pl.treksoft.kvision.form/-form-control/invalid-feedback.html b/api/pl.treksoft.kvision.form/-form-control/invalid-feedback.html new file mode 100644 index 00000000..a638b625 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-control/invalid-feedback.html @@ -0,0 +1,15 @@ + + + +FormControl.invalidFeedback - kvision + + + +kvision / pl.treksoft.kvision.form / FormControl / invalidFeedback
+
+

invalidFeedback

+ +abstract val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+ + diff --git a/api/pl.treksoft.kvision.form/-form-control/style-for-horizontal-form-panel.html b/api/pl.treksoft.kvision.form/-form-control/style-for-horizontal-form-panel.html new file mode 100644 index 00000000..cf759b30 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-control/style-for-horizontal-form-panel.html @@ -0,0 +1,15 @@ + + + +FormControl.styleForHorizontalFormPanel - kvision + + + +kvision / pl.treksoft.kvision.form / FormControl / styleForHorizontalFormPanel
+
+

styleForHorizontalFormPanel

+ +open fun styleForHorizontalFormPanel(): Unit +

Style form control element for horizontal form panel.

+ + diff --git a/api/pl.treksoft.kvision.form/-form-control/style-for-inline-form-panel.html b/api/pl.treksoft.kvision.form/-form-control/style-for-inline-form-panel.html new file mode 100644 index 00000000..dbd03028 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-control/style-for-inline-form-panel.html @@ -0,0 +1,15 @@ + + + +FormControl.styleForInlineFormPanel - kvision + + + +kvision / pl.treksoft.kvision.form / FormControl / styleForInlineFormPanel
+
+

styleForInlineFormPanel

+ +open fun styleForInlineFormPanel(): Unit +

Style form control element for inline form panel.

+ + diff --git a/api/pl.treksoft.kvision.form/-form-control/style-for-vertical-form-panel.html b/api/pl.treksoft.kvision.form/-form-control/style-for-vertical-form-panel.html new file mode 100644 index 00000000..aaec50bd --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-control/style-for-vertical-form-panel.html @@ -0,0 +1,15 @@ + + + +FormControl.styleForVerticalFormPanel - kvision + + + +kvision / pl.treksoft.kvision.form / FormControl / styleForVerticalFormPanel
+
+

styleForVerticalFormPanel

+ +open fun styleForVerticalFormPanel(): Unit +

Style form control element for vertical form panel.

+ + diff --git a/api/pl.treksoft.kvision.form/-form-control/validation-info.html b/api/pl.treksoft.kvision.form/-form-control/validation-info.html deleted file mode 100644 index e477d349..00000000 --- a/api/pl.treksoft.kvision.form/-form-control/validation-info.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -FormControl.validationInfo - kvision - - - -kvision / pl.treksoft.kvision.form / FormControl / validationInfo
-
-

validationInfo

- -abstract val validationInfo: HelpBlock -

Validation info component.

- - diff --git a/api/pl.treksoft.kvision.form/-form-control/validation-status.html b/api/pl.treksoft.kvision.form/-form-control/validation-status.html new file mode 100644 index 00000000..dfa9495e --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-control/validation-status.html @@ -0,0 +1,15 @@ + + + +FormControl.validationStatus - kvision + + + +kvision / pl.treksoft.kvision.form / FormControl / validationStatus
+
+

validationStatus

+ +open var validationStatus: ValidationStatus? +

Input control validation status.

+ + diff --git a/api/pl.treksoft.kvision.form/-form-input/index.html b/api/pl.treksoft.kvision.form/-form-input/index.html index c7b00081..fbc48276 100644 --- a/api/pl.treksoft.kvision.form/-form-input/index.html +++ b/api/pl.treksoft.kvision.form/-form-input/index.html @@ -39,6 +39,15 @@

Input control field size.

+ + +

validationStatus

+ + +abstract var validationStatus: ValidationStatus? +

Input control validation status.

+ +

Inherited Properties

@@ -195,6 +204,41 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + +

createInstance

@@ -202,6 +246,41 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit +

Inheritors

@@ -230,7 +309,7 @@

DateTimeInput

-open class DateTimeInput : Widget, FormInput +open class DateTimeInput : SimplePanel, FormInput

Basic date/time chooser component.

diff --git a/api/pl.treksoft.kvision.form/-form-input/validation-status.html b/api/pl.treksoft.kvision.form/-form-input/validation-status.html new file mode 100644 index 00000000..4a56c478 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-input/validation-status.html @@ -0,0 +1,15 @@ + + + +FormInput.validationStatus - kvision + + + +kvision / pl.treksoft.kvision.form / FormInput / validationStatus
+
+

validationStatus

+ +abstract var validationStatus: ValidationStatus? +

Input control validation status.

+ + diff --git a/api/pl.treksoft.kvision.form/-form-panel/-init-.html b/api/pl.treksoft.kvision.form/-form-panel/-init-.html index fb819c2f..95b6ea03 100644 --- a/api/pl.treksoft.kvision.form/-form-panel/-init-.html +++ b/api/pl.treksoft.kvision.form/-form-panel/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form / FormPanel / <init>

<init>

- -FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), serializer: KSerializer<K>) + +FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), serializer: KSerializer<K>)

Parameters

K - model class type

@@ -21,6 +21,8 @@ enctype - form encoding type

type - form layout

+

+condensed - determines if the form is condensed.

classes - set of CSS class names

diff --git a/api/pl.treksoft.kvision.form/-form-panel/condensed.html b/api/pl.treksoft.kvision.form/-form-panel/condensed.html new file mode 100644 index 00000000..a8af1f1e --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-panel/condensed.html @@ -0,0 +1,21 @@ + + + +FormPanel.condensed - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / condensed
+
+

condensed

+ +var condensed: Boolean +

Determines if the form is condensed.

+

Getter
+

Determines if the form is condensed.

+

+

Setter
+

Determines if the form is condensed.

+

+ + diff --git a/api/pl.treksoft.kvision.form/-form-panel/create.html b/api/pl.treksoft.kvision.form/-form-panel/create.html index eebfe203..a0bbec40 100644 --- a/api/pl.treksoft.kvision.form/-form-panel/create.html +++ b/api/pl.treksoft.kvision.form/-form-panel/create.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form / FormPanel / create

create

- -inline fun <reified K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> + +inline fun <reified K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> diff --git a/api/pl.treksoft.kvision.form/-form-panel/form-panel.html b/api/pl.treksoft.kvision.form/-form-panel/form-panel.html deleted file mode 100644 index b14d48d2..00000000 --- a/api/pl.treksoft.kvision.form/-form-panel/form-panel.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -FormPanel.formPanel - kvision - - - -kvision / pl.treksoft.kvision.form / FormPanel / formPanel
-
-

formPanel

- -inline fun <reified K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): 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/index.html b/api/pl.treksoft.kvision.form/-form-panel/index.html index 53a980db..dfef50c0 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(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), serializer: KSerializer<K>) +FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), serializer: KSerializer<K>) @@ -45,6 +45,15 @@ +

condensed

+ + +var condensed: Boolean +

Determines if the form is condensed.

+ + + +

enctype

@@ -108,6 +117,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -312,22 +333,120 @@

create

+fun <K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> + + +
-fun <K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>
+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
-

formPanel

+

addBsRounded

-fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -339,6 +458,107 @@
+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

getContent

+
+suspend fun <K : Any> FormPanel<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile +

Returns file with the content read.

+

getDataWithFileContent

@@ -346,6 +566,569 @@

Returns current data model with file content read for all KFiles controls.

+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form/-form/index.html b/api/pl.treksoft.kvision.form/-form/index.html index 5a29cef2..d02d3b11 100644 --- a/api/pl.treksoft.kvision.form/-form/index.html +++ b/api/pl.treksoft.kvision.form/-form/index.html @@ -172,6 +172,15 @@ +

getContent

+ + +suspend fun <K : Any> Form<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile +

Returns file with the content read.

+ + + +

getDataWithFileContent

diff --git a/api/pl.treksoft.kvision.form/-help-block/-init-.html b/api/pl.treksoft.kvision.form/-help-block/-init-.html deleted file mode 100644 index acedfd03..00000000 --- a/api/pl.treksoft.kvision.form/-help-block/-init-.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -HelpBlock.<init> - kvision - - - -kvision / pl.treksoft.kvision.form / HelpBlock / <init>
-
-

<init>

- -HelpBlock(content: String? = null, rich: Boolean = false) -

Parameters

-

-content - the text of the label

-

-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 deleted file mode 100644 index b801d4a1..00000000 --- a/api/pl.treksoft.kvision.form/-help-block/index.html +++ /dev/null @@ -1,139 +0,0 @@ - - - -HelpBlock - kvision - - - -kvision / pl.treksoft.kvision.form / HelpBlock
-
-

HelpBlock

-open class HelpBlock : Tag -

Helper class for Bootstrap help block element.

-

Constructors

- - - - - - - -
-

<init>

-
-HelpBlock(content: String? = null, rich: Boolean = false)
-

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.

-
-

templates

-
-open var templates: Map<String, (Any?) -> String> -

Handlebars templates for i18n.

-
-

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.

-
-

unaryPlus

-
-operator fun String.unaryPlus(): Unit
-

Extension Functions

- - - - - - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
-

setData

-
-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

-
- - diff --git a/api/pl.treksoft.kvision.form/-help-text/-init-.html b/api/pl.treksoft.kvision.form/-help-text/-init-.html new file mode 100644 index 00000000..d72b50a9 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-help-text/-init-.html @@ -0,0 +1,21 @@ + + + +HelpText.<init> - kvision + + + +kvision / pl.treksoft.kvision.form / HelpText / <init>
+
+

<init>

+ +HelpText(content: String? = null, rich: Boolean = false) +

Parameters

+

+content - the text of the label

+

+rich - determines if content can contain HTML code

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.form/-help-text/index.html b/api/pl.treksoft.kvision.form/-help-text/index.html new file mode 100644 index 00000000..97470b4a --- /dev/null +++ b/api/pl.treksoft.kvision.form/-help-text/index.html @@ -0,0 +1,901 @@ + + + +HelpText - kvision + + + +kvision / pl.treksoft.kvision.form / HelpText
+
+

HelpText

+open class HelpText : Tag +

Helper class for Bootstrap help text element.

+

Constructors

+ + + + + + + +
+

<init>

+
+HelpText(content: String? = null, rich: Boolean = false)
+

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.

+
+

templates

+
+open var templates: Map<String, (Any?) -> String> +

Handlebars templates for i18n.

+
+

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.

+
+

unaryPlus

+
+operator fun String.unaryPlus(): Unit
+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +

DSL builder extension function.

+
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
+ + diff --git a/api/pl.treksoft.kvision.form/-invalid-feedback/-init-.html b/api/pl.treksoft.kvision.form/-invalid-feedback/-init-.html new file mode 100644 index 00000000..0485d313 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-invalid-feedback/-init-.html @@ -0,0 +1,21 @@ + + + +InvalidFeedback.<init> - kvision + + + +kvision / pl.treksoft.kvision.form / InvalidFeedback / <init>
+
+

<init>

+ +InvalidFeedback(content: String? = null, rich: Boolean = false) +

Parameters

+

+content - the text of the label

+

+rich - determines if content can contain HTML code

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.form/-invalid-feedback/index.html b/api/pl.treksoft.kvision.form/-invalid-feedback/index.html new file mode 100644 index 00000000..cd6e6c7e --- /dev/null +++ b/api/pl.treksoft.kvision.form/-invalid-feedback/index.html @@ -0,0 +1,901 @@ + + + +InvalidFeedback - kvision + + + +kvision / pl.treksoft.kvision.form / InvalidFeedback
+
+

InvalidFeedback

+open class InvalidFeedback : Tag +

Helper class for Bootstrap invalid feedback element.

+

Constructors

+ + + + + + + +
+

<init>

+
+InvalidFeedback(content: String? = null, rich: Boolean = false)
+

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.

+
+

templates

+
+open var templates: Map<String, (Any?) -> String> +

Handlebars templates for i18n.

+
+

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.

+
+

unaryPlus

+
+operator fun String.unaryPlus(): Unit
+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +

DSL builder extension function.

+
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
+ + diff --git a/api/pl.treksoft.kvision.form/-k-files-form-control/index.html b/api/pl.treksoft.kvision.form/-k-files-form-control/index.html index 4cdc3b8e..0e1cfae7 100644 --- a/api/pl.treksoft.kvision.form/-k-files-form-control/index.html +++ b/api/pl.treksoft.kvision.form/-k-files-form-control/index.html @@ -56,6 +56,15 @@ +

invalidFeedback

+ + +abstract val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+ + + +

name

@@ -74,11 +83,11 @@ -

validationInfo

+

validationStatus

-abstract val validationInfo: HelpBlock -

Validation info component.

+open var validationStatus: ValidationStatus? +

Input control validation status.

@@ -154,6 +163,33 @@

Makes the input element focused.

+ + +

styleForHorizontalFormPanel

+ + +open fun styleForHorizontalFormPanel(): Unit +

Style form control element for horizontal form panel.

+ + + + +

styleForInlineFormPanel

+ + +open fun styleForInlineFormPanel(): Unit +

Style form control element for inline form panel.

+ + + + +

styleForVerticalFormPanel

+ + +open fun styleForVerticalFormPanel(): Unit +

Style form control element for vertical form panel.

+ +

Extension Functions

@@ -161,6 +197,41 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + +

createInstance

@@ -168,6 +239,41 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit +

Inheritors

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 ee295326..5c2c2c7a 100644 --- a/api/pl.treksoft.kvision.form/-number-form-control/index.html +++ b/api/pl.treksoft.kvision.form/-number-form-control/index.html @@ -56,6 +56,15 @@ +

invalidFeedback

+ + +abstract val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+ + + +

name

@@ -74,11 +83,11 @@ -

validationInfo

+

validationStatus

-abstract val validationInfo: HelpBlock -

Validation info component.

+open var validationStatus: ValidationStatus? +

Input control validation status.

@@ -145,6 +154,33 @@

Makes the input element focused.

+ + +

styleForHorizontalFormPanel

+ + +open fun styleForHorizontalFormPanel(): Unit +

Style form control element for horizontal form panel.

+ + + + +

styleForInlineFormPanel

+ + +open fun styleForInlineFormPanel(): Unit +

Style form control element for inline form panel.

+ + + + +

styleForVerticalFormPanel

+ + +open fun styleForVerticalFormPanel(): Unit +

Style form control element for vertical form panel.

+ +

Extension Functions

@@ -152,6 +188,41 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + +

createInstance

@@ -159,6 +230,41 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit +

Inheritors

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 2355b491..2fd12c13 100644 --- a/api/pl.treksoft.kvision.form/-string-form-control/index.html +++ b/api/pl.treksoft.kvision.form/-string-form-control/index.html @@ -56,6 +56,15 @@ +

invalidFeedback

+ + +abstract val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+ + + +

name

@@ -74,11 +83,11 @@ -

validationInfo

+

validationStatus

-abstract val validationInfo: HelpBlock -

Validation info component.

+open var validationStatus: ValidationStatus? +

Input control validation status.

@@ -145,6 +154,33 @@

Makes the input element focused.

+ + +

styleForHorizontalFormPanel

+ + +open fun styleForHorizontalFormPanel(): Unit +

Style form control element for horizontal form panel.

+ + + + +

styleForInlineFormPanel

+ + +open fun styleForInlineFormPanel(): Unit +

Style form control element for inline form panel.

+ + + + +

styleForVerticalFormPanel

+ + +open fun styleForVerticalFormPanel(): Unit +

Style form control element for vertical form panel.

+ +

Extension Functions

@@ -152,6 +188,41 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + +

createInstance

@@ -159,6 +230,41 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit +

Inheritors

diff --git a/api/pl.treksoft.kvision.form/-validation-status/-i-n-v-a-l-i-d.html b/api/pl.treksoft.kvision.form/-validation-status/-i-n-v-a-l-i-d.html new file mode 100644 index 00000000..6552b92e --- /dev/null +++ b/api/pl.treksoft.kvision.form/-validation-status/-i-n-v-a-l-i-d.html @@ -0,0 +1,26 @@ + + + +ValidationStatus.INVALID - kvision + + + +kvision / pl.treksoft.kvision.form / ValidationStatus / INVALID
+
+

INVALID

+ +INVALID +

Inherited Properties

+ + + + + + + +
+

className

+
+val className: String
+ + diff --git a/api/pl.treksoft.kvision.form/-validation-status/-v-a-l-i-d.html b/api/pl.treksoft.kvision.form/-validation-status/-v-a-l-i-d.html new file mode 100644 index 00000000..c51434aa --- /dev/null +++ b/api/pl.treksoft.kvision.form/-validation-status/-v-a-l-i-d.html @@ -0,0 +1,26 @@ + + + +ValidationStatus.VALID - kvision + + + +kvision / pl.treksoft.kvision.form / ValidationStatus / VALID
+
+

VALID

+ +VALID +

Inherited Properties

+ + + + + + + +
+

className

+
+val className: String
+ + diff --git a/api/pl.treksoft.kvision.form/-validation-status/class-name.html b/api/pl.treksoft.kvision.form/-validation-status/class-name.html new file mode 100644 index 00000000..c4c82837 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-validation-status/class-name.html @@ -0,0 +1,14 @@ + + + +ValidationStatus.className - kvision + + + +kvision / pl.treksoft.kvision.form / ValidationStatus / className
+
+

className

+ +val className: String + + diff --git a/api/pl.treksoft.kvision.form/-validation-status/index.html b/api/pl.treksoft.kvision.form/-validation-status/index.html new file mode 100644 index 00000000..ccff1f71 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-validation-status/index.html @@ -0,0 +1,59 @@ + + + +ValidationStatus - kvision + + + +kvision / pl.treksoft.kvision.form / ValidationStatus
+
+

ValidationStatus

+enum class ValidationStatus +

Input controls validation status.

+

Enum Values

+ + + + + + + + + + + +
+

VALID

+
+
+

INVALID

+
+
+

Properties

+ + + + + + + +
+

className

+
+val className: String
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.form/field-label.html b/api/pl.treksoft.kvision.form/field-label.html new file mode 100644 index 00000000..e795ebc9 --- /dev/null +++ b/api/pl.treksoft.kvision.form/field-label.html @@ -0,0 +1,16 @@ + + + +fieldLabel - kvision + + + +kvision / pl.treksoft.kvision.form / fieldLabel
+
+

fieldLabel

+ +fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

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.html b/api/pl.treksoft.kvision.form/form-panel.html new file mode 100644 index 00000000..0578e155 --- /dev/null +++ b/api/pl.treksoft.kvision.form/form-panel.html @@ -0,0 +1,16 @@ + + + +formPanel - kvision + + + +kvision / pl.treksoft.kvision.form / formPanel
+
+

formPanel

+ +inline fun <reified K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): 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/index.html b/api/pl.treksoft.kvision.form/index.html index 67028c16..f4e9a173 100644 --- a/api/pl.treksoft.kvision.form/index.html +++ b/api/pl.treksoft.kvision.form/index.html @@ -112,11 +112,11 @@ validation.

-

HelpBlock

+

HelpText

-open class HelpBlock : Tag -

Helper class for Bootstrap help block element.

+open class HelpText : Tag +

Helper class for Bootstrap help text element.

@@ -130,6 +130,15 @@ validation.

+

InvalidFeedback

+ + +open class InvalidFeedback : Tag +

Helper class for Bootstrap invalid feedback element.

+ + + +

KFilesFormControl

@@ -155,6 +164,15 @@ validation.

Base interface of a form control with a text value.

+ + +

ValidationStatus

+ + +enum class ValidationStatus +

Input controls validation status.

+ +

Extensions for External Classes

@@ -176,5 +194,28 @@ validation.

+

Functions

+ + + + + + + + + + + +
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.hmr/-application-base/dispose.html b/api/pl.treksoft.kvision.hmr/-application-base/dispose.html deleted file mode 100644 index f8902380..00000000 --- a/api/pl.treksoft.kvision.hmr/-application-base/dispose.html +++ /dev/null @@ -1,17 +0,0 @@ - - - -ApplicationBase.dispose - kvision - - - -kvision / pl.treksoft.kvision.hmr / ApplicationBase / dispose
-
-

dispose

- -abstract fun dispose(): Map<String, Any> -

Ending point for an application.

-

Return
-final state for Hot Module Replacement (HMR).

- - diff --git a/api/pl.treksoft.kvision.hmr/-application-base/index.html b/api/pl.treksoft.kvision.hmr/-application-base/index.html deleted file mode 100644 index 21ee7aea..00000000 --- a/api/pl.treksoft.kvision.hmr/-application-base/index.html +++ /dev/null @@ -1,52 +0,0 @@ - - - -ApplicationBase - kvision - - - -kvision / pl.treksoft.kvision.hmr / ApplicationBase
-
-

ApplicationBase

-interface ApplicationBase -

Base interface for applications.

-

Base interface for applications supporting Hot Module Replacement (HMR).

-

Functions

- - - - - - - - - - - -
-

dispose

-
-abstract fun dispose(): Map<String, Any> -

Ending point for an application.

-
-

start

-
-abstract fun start(state: Map<String, Any>): Unit -

Starting point for an application.

-
-

Extension Functions

- - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
- - diff --git a/api/pl.treksoft.kvision.hmr/-application-base/start.html b/api/pl.treksoft.kvision.hmr/-application-base/start.html deleted file mode 100644 index 8cbfa395..00000000 --- a/api/pl.treksoft.kvision.hmr/-application-base/start.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -ApplicationBase.start - kvision - - - -kvision / pl.treksoft.kvision.hmr / ApplicationBase / start
-
-

start

- -abstract fun start(state: Map<String, Any>): Unit -

Starting point for an application.

-

Parameters

-

-state - Initial state between Hot Module Replacement (HMR).

- - diff --git a/api/pl.treksoft.kvision.hmr/-hot/accept.html b/api/pl.treksoft.kvision.hmr/-hot/accept.html deleted file mode 100644 index 218ff720..00000000 --- a/api/pl.treksoft.kvision.hmr/-hot/accept.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -Hot.accept - kvision - - - -kvision / pl.treksoft.kvision.hmr / Hot / accept
-
-

accept

- -abstract fun accept(): Unit
- -abstract fun accept(dependency: String, callback: () -> Unit): Unit
- -abstract fun accept(dependencies: Array<String>, callback: (updated: Array<String>) -> Unit): Unit - - diff --git a/api/pl.treksoft.kvision.hmr/-hot/data.html b/api/pl.treksoft.kvision.hmr/-hot/data.html deleted file mode 100644 index c9783bf7..00000000 --- a/api/pl.treksoft.kvision.hmr/-hot/data.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -Hot.data - kvision - - - -kvision / pl.treksoft.kvision.hmr / Hot / data
-
-

data

- -abstract val data: dynamic - - diff --git a/api/pl.treksoft.kvision.hmr/-hot/dispose.html b/api/pl.treksoft.kvision.hmr/-hot/dispose.html deleted file mode 100644 index 154fd5ce..00000000 --- a/api/pl.treksoft.kvision.hmr/-hot/dispose.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -Hot.dispose - kvision - - - -kvision / pl.treksoft.kvision.hmr / Hot / dispose
-
-

dispose

- -abstract fun dispose(callback: (dynamic) -> Unit): Unit - - diff --git a/api/pl.treksoft.kvision.hmr/-hot/index.html b/api/pl.treksoft.kvision.hmr/-hot/index.html deleted file mode 100644 index 440b722a..00000000 --- a/api/pl.treksoft.kvision.hmr/-hot/index.html +++ /dev/null @@ -1,61 +0,0 @@ - - - -Hot - kvision - - - -kvision / pl.treksoft.kvision.hmr / Hot
-
-

Hot

-external interface Hot -

Helper interface for Hot Module Replacement (HMR).

-

Properties

- - - - - - - -
-

data

-
-abstract val data: dynamic
-

Functions

- - - - - - - - - - - -
-

accept

-
-abstract fun accept(): Unit
-abstract fun accept(dependency: String, callback: () -> Unit): Unit
-abstract fun accept(dependencies: Array<String>, callback: (updated: Array<String>) -> Unit): Unit
-

dispose

-
-abstract fun dispose(callback: (dynamic) -> Unit): Unit
-

Extension Functions

- - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
- - diff --git a/api/pl.treksoft.kvision.hmr/-module/hot.html b/api/pl.treksoft.kvision.hmr/-module/hot.html deleted file mode 100644 index 410cd073..00000000 --- a/api/pl.treksoft.kvision.hmr/-module/hot.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -Module.hot - kvision - - - -kvision / pl.treksoft.kvision.hmr / Module / hot
-
-

hot

- -abstract val hot: Hot? - - diff --git a/api/pl.treksoft.kvision.hmr/-module/index.html b/api/pl.treksoft.kvision.hmr/-module/index.html deleted file mode 100644 index 08267408..00000000 --- a/api/pl.treksoft.kvision.hmr/-module/index.html +++ /dev/null @@ -1,40 +0,0 @@ - - - -Module - kvision - - - -kvision / pl.treksoft.kvision.hmr / Module
-
-

Module

-external interface Module -

Helper interface for Hot Module Replacement (HMR).

-

Properties

- - - - - - - -
-

hot

-
-abstract val hot: Hot?
-

Extension Functions

- - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
- - diff --git a/api/pl.treksoft.kvision.hmr/index.html b/api/pl.treksoft.kvision.hmr/index.html deleted file mode 100644 index 8b52b5bd..00000000 --- a/api/pl.treksoft.kvision.hmr/index.html +++ /dev/null @@ -1,59 +0,0 @@ - - - -pl.treksoft.kvision.hmr - kvision - - - -kvision / pl.treksoft.kvision.hmr
-
-

Package pl.treksoft.kvision.hmr

-

Helper interfaces and classes necessary to develop applications supporting Hot Module Replacement (HMR).

-

Types

- - - - - - - - - - - - - - - -
-

ApplicationBase

-
-interface ApplicationBase -

Base interface for applications.

-
-

Hot

-
-external interface Hot -

Helper interface for Hot Module Replacement (HMR).

-
-

Module

-
-external interface Module -

Helper interface for Hot Module Replacement (HMR).

-
-

Properties

- - - - - - - -
-

module

-
-external val module: Module -

Helper variable for Hot Module Replacement (HMR).

-
- - diff --git a/api/pl.treksoft.kvision.hmr/module.html b/api/pl.treksoft.kvision.hmr/module.html deleted file mode 100644 index 57d3ced1..00000000 --- a/api/pl.treksoft.kvision.hmr/module.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -module - kvision - - - -kvision / pl.treksoft.kvision.hmr / module
-
-

module

- -external val module: Module -

Helper variable for Hot Module Replacement (HMR).

- - diff --git a/api/pl.treksoft.kvision.html/-bold/-init-.html b/api/pl.treksoft.kvision.html/-bold/-init-.html new file mode 100644 index 00000000..12b1a9b2 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-bold/-init-.html @@ -0,0 +1,27 @@ + + + +Bold.<init> - kvision + + + +kvision / pl.treksoft.kvision.html / Bold / <init>
+
+

<init>

+ +Bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null) +

Parameters

+

+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.html/-bold/index.html b/api/pl.treksoft.kvision.html/-bold/index.html new file mode 100644 index 00000000..5d41d84d --- /dev/null +++ b/api/pl.treksoft.kvision.html/-bold/index.html @@ -0,0 +1,901 @@ + + + +Bold - kvision + + + +kvision / pl.treksoft.kvision.html / Bold
+
+

Bold

+open class Bold : Tag +

Simple component rendered as b.

+

Constructors

+ + + + + + + +
+

<init>

+
+Bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null)
+

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.

+
+

templates

+
+open var templates: Map<String, (Any?) -> String> +

Handlebars templates for i18n.

+
+

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.

+
+

unaryPlus

+
+operator fun String.unaryPlus(): Unit
+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +

DSL builder extension function.

+
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
+ + diff --git a/api/pl.treksoft.kvision.html/-button-size/-x-s-m-a-l-l.html b/api/pl.treksoft.kvision.html/-button-size/-x-s-m-a-l-l.html deleted file mode 100644 index 1ae9d409..00000000 --- a/api/pl.treksoft.kvision.html/-button-size/-x-s-m-a-l-l.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -ButtonSize.XSMALL - kvision - - - -kvision / pl.treksoft.kvision.html / ButtonSize / XSMALL
-
-

XSMALL

- -XSMALL - - diff --git a/api/pl.treksoft.kvision.html/-button-size/index.html b/api/pl.treksoft.kvision.html/-button-size/index.html index 9401d4fc..6dce0c09 100644 --- a/api/pl.treksoft.kvision.html/-button-size/index.html +++ b/api/pl.treksoft.kvision.html/-button-size/index.html @@ -27,13 +27,6 @@ - - -

XSMALL

- - - -

Extension Functions

diff --git a/api/pl.treksoft.kvision.html/-button-style/-d-a-r-k.html b/api/pl.treksoft.kvision.html/-button-style/-d-a-r-k.html new file mode 100644 index 00000000..61504ec9 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-button-style/-d-a-r-k.html @@ -0,0 +1,26 @@ + + + +ButtonStyle.DARK - kvision + + + +kvision / pl.treksoft.kvision.html / ButtonStyle / DARK
+
+

DARK

+ +DARK +

Inherited Properties

+ + + + + + + +
+

className

+
+val className: String
+ + diff --git a/api/pl.treksoft.kvision.html/-button-style/-d-e-f-a-u-l-t.html b/api/pl.treksoft.kvision.html/-button-style/-d-e-f-a-u-l-t.html deleted file mode 100644 index 67f06f9f..00000000 --- a/api/pl.treksoft.kvision.html/-button-style/-d-e-f-a-u-l-t.html +++ /dev/null @@ -1,26 +0,0 @@ - - - -ButtonStyle.DEFAULT - kvision - - - -kvision / pl.treksoft.kvision.html / ButtonStyle / DEFAULT
-
-

DEFAULT

- -DEFAULT -

Inherited Properties

- - - - - - - -
-

className

-
-val className: String
- - diff --git a/api/pl.treksoft.kvision.html/-button-style/-l-i-g-h-t.html b/api/pl.treksoft.kvision.html/-button-style/-l-i-g-h-t.html new file mode 100644 index 00000000..01398c72 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-button-style/-l-i-g-h-t.html @@ -0,0 +1,26 @@ + + + +ButtonStyle.LIGHT - kvision + + + +kvision / pl.treksoft.kvision.html / ButtonStyle / LIGHT
+
+

LIGHT

+ +LIGHT +

Inherited Properties

+ + + + + + + +
+

className

+
+val className: String
+ + diff --git a/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-d-a-n-g-e-r.html b/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-d-a-n-g-e-r.html new file mode 100644 index 00000000..d6ceaa40 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-d-a-n-g-e-r.html @@ -0,0 +1,26 @@ + + + +ButtonStyle.OUTLINEDANGER - kvision + + + +kvision / pl.treksoft.kvision.html / ButtonStyle / OUTLINEDANGER
+
+

OUTLINEDANGER

+ +OUTLINEDANGER +

Inherited Properties

+ + + + + + + +
+

className

+
+val className: String
+ + diff --git a/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-d-a-r-k.html b/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-d-a-r-k.html new file mode 100644 index 00000000..61483cbe --- /dev/null +++ b/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-d-a-r-k.html @@ -0,0 +1,26 @@ + + + +ButtonStyle.OUTLINEDARK - kvision + + + +kvision / pl.treksoft.kvision.html / ButtonStyle / OUTLINEDARK
+
+

OUTLINEDARK

+ +OUTLINEDARK +

Inherited Properties

+ + + + + + + +
+

className

+
+val className: String
+ + diff --git a/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-i-n-f-o.html b/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-i-n-f-o.html new file mode 100644 index 00000000..5c71dc1f --- /dev/null +++ b/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-i-n-f-o.html @@ -0,0 +1,26 @@ + + + +ButtonStyle.OUTLINEINFO - kvision + + + +kvision / pl.treksoft.kvision.html / ButtonStyle / OUTLINEINFO
+
+

OUTLINEINFO

+ +OUTLINEINFO +

Inherited Properties

+ + + + + + + +
+

className

+
+val className: String
+ + diff --git a/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-l-i-g-h-t.html b/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-l-i-g-h-t.html new file mode 100644 index 00000000..c2369fda --- /dev/null +++ b/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-l-i-g-h-t.html @@ -0,0 +1,26 @@ + + + +ButtonStyle.OUTLINELIGHT - kvision + + + +kvision / pl.treksoft.kvision.html / ButtonStyle / OUTLINELIGHT
+
+

OUTLINELIGHT

+ +OUTLINELIGHT +

Inherited Properties

+ + + + + + + +
+

className

+
+val className: String
+ + diff --git a/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-p-r-i-m-a-r-y.html b/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-p-r-i-m-a-r-y.html new file mode 100644 index 00000000..7d513191 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-p-r-i-m-a-r-y.html @@ -0,0 +1,26 @@ + + + +ButtonStyle.OUTLINEPRIMARY - kvision + + + +kvision / pl.treksoft.kvision.html / ButtonStyle / OUTLINEPRIMARY
+
+

OUTLINEPRIMARY

+ +OUTLINEPRIMARY +

Inherited Properties

+ + + + + + + +
+

className

+
+val className: String
+ + diff --git a/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-s-e-c-o-n-d-a-r-y.html b/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-s-e-c-o-n-d-a-r-y.html new file mode 100644 index 00000000..55911b88 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-s-e-c-o-n-d-a-r-y.html @@ -0,0 +1,26 @@ + + + +ButtonStyle.OUTLINESECONDARY - kvision + + + +kvision / pl.treksoft.kvision.html / ButtonStyle / OUTLINESECONDARY
+
+

OUTLINESECONDARY

+ +OUTLINESECONDARY +

Inherited Properties

+ + + + + + + +
+

className

+
+val className: String
+ + diff --git a/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-s-u-c-c-e-s-s.html b/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-s-u-c-c-e-s-s.html new file mode 100644 index 00000000..0039b61e --- /dev/null +++ b/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-s-u-c-c-e-s-s.html @@ -0,0 +1,26 @@ + + + +ButtonStyle.OUTLINESUCCESS - kvision + + + +kvision / pl.treksoft.kvision.html / ButtonStyle / OUTLINESUCCESS
+
+

OUTLINESUCCESS

+ +OUTLINESUCCESS +

Inherited Properties

+ + + + + + + +
+

className

+
+val className: String
+ + diff --git a/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-w-a-r-n-i-n-g.html b/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-w-a-r-n-i-n-g.html new file mode 100644 index 00000000..cfe946c8 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-button-style/-o-u-t-l-i-n-e-w-a-r-n-i-n-g.html @@ -0,0 +1,26 @@ + + + +ButtonStyle.OUTLINEWARNING - kvision + + + +kvision / pl.treksoft.kvision.html / ButtonStyle / OUTLINEWARNING
+
+

OUTLINEWARNING

+ +OUTLINEWARNING +

Inherited Properties

+ + + + + + + +
+

className

+
+val className: String
+ + diff --git a/api/pl.treksoft.kvision.html/-button-style/-s-e-c-o-n-d-a-r-y.html b/api/pl.treksoft.kvision.html/-button-style/-s-e-c-o-n-d-a-r-y.html new file mode 100644 index 00000000..dd0d31ac --- /dev/null +++ b/api/pl.treksoft.kvision.html/-button-style/-s-e-c-o-n-d-a-r-y.html @@ -0,0 +1,26 @@ + + + +ButtonStyle.SECONDARY - kvision + + + +kvision / pl.treksoft.kvision.html / ButtonStyle / SECONDARY
+
+

SECONDARY

+ +SECONDARY +

Inherited Properties

+ + + + + + + +
+

className

+
+val className: String
+ + diff --git a/api/pl.treksoft.kvision.html/-button-style/index.html b/api/pl.treksoft.kvision.html/-button-style/index.html index d3e03a81..7b57037b 100644 --- a/api/pl.treksoft.kvision.html/-button-style/index.html +++ b/api/pl.treksoft.kvision.html/-button-style/index.html @@ -15,14 +15,14 @@ -

DEFAULT

+

PRIMARY

-

PRIMARY

+

SECONDARY

@@ -36,7 +36,7 @@ -

INFO

+

DANGER

@@ -50,7 +50,21 @@ -

DANGER

+

INFO

+ + + + + + +

LIGHT

+ + + + + + +

DARK

@@ -62,6 +76,62 @@ + + +

OUTLINEPRIMARY

+ + + + + + +

OUTLINESECONDARY

+ + + + + + +

OUTLINESUCCESS

+ + + + + + +

OUTLINEDANGER

+ + + + + + +

OUTLINEWARNING

+ + + + + + +

OUTLINEINFO

+ + + + + + +

OUTLINELIGHT

+ + + + + + +

OUTLINEDARK

+ + + +

Properties

diff --git a/api/pl.treksoft.kvision.html/-button/-init-.html b/api/pl.treksoft.kvision.html/-button/-init-.html index 35134291..75f56b28 100644 --- a/api/pl.treksoft.kvision.html/-button/-init-.html +++ b/api/pl.treksoft.kvision.html/-button/-init-.html @@ -9,7 +9,7 @@

<init>

-Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf()) +Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, 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 deleted file mode 100644 index e48858ba..00000000 --- a/api/pl.treksoft.kvision.html/-button/button.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Button.button - kvision - - - -kvision / pl.treksoft.kvision.html / Button / button
-
-

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 715a4418..04b4a113 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, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf()) +Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf()) @@ -168,6 +168,15 @@ +

tabindex

+ + +var tabindex: Int? +

A tabindex attribute of generated HTML element.

+ + + +

title

@@ -495,15 +504,6 @@ -

setContextMenu

- - -open fun setContextMenu(contextMenu: ContextMenu): Widget -

Sets context menu for the current widget.

- - - -

setDragDropData

@@ -593,23 +593,53 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + - -
-

button

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

-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 +fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -619,6 +649,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.html/-canvas/canvas.html b/api/pl.treksoft.kvision.html/-canvas/canvas.html deleted file mode 100644 index cb9c0ce8..00000000 --- a/api/pl.treksoft.kvision.html/-canvas/canvas.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Canvas.canvas - kvision - - - -kvision / pl.treksoft.kvision.html / Canvas / canvas
-
-

canvas

- -fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.html/-canvas/index.html b/api/pl.treksoft.kvision.html/-canvas/index.html index 81c52019..c95133bb 100644 --- a/api/pl.treksoft.kvision.html/-canvas/index.html +++ b/api/pl.treksoft.kvision.html/-canvas/index.html @@ -123,6 +123,15 @@ +

tabindex

+ + +var tabindex: Int? +

A tabindex attribute of generated HTML element.

+ + + +

title

@@ -441,15 +450,6 @@ -

setContextMenu

- - -open fun setContextMenu(contextMenu: ContextMenu): Widget -

Sets context menu for the current widget.

- - - -

setDragDropData

@@ -539,23 +539,53 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + - -
-

canvas

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

-fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -565,6 +595,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.html/-div/div.html b/api/pl.treksoft.kvision.html/-div/div.html deleted file mode 100644 index 620d5de6..00000000 --- a/api/pl.treksoft.kvision.html/-div/div.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Div.div - kvision - - - -kvision / pl.treksoft.kvision.html / Div / div
-
-

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 b05c8ff9..7a8f6757 100644 --- a/api/pl.treksoft.kvision.html/-div/index.html +++ b/api/pl.treksoft.kvision.html/-div/index.html @@ -111,23 +111,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

div

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun Container.div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Div.() -> Unit)? = null): Div +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -139,12 +232,699 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
+

Inheritors

+ + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.html/-footer/footer.html b/api/pl.treksoft.kvision.html/-footer/footer.html deleted file mode 100644 index 38a80976..00000000 --- a/api/pl.treksoft.kvision.html/-footer/footer.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Footer.footer - kvision - - - -kvision / pl.treksoft.kvision.html / Footer / footer
-
-

footer

- -fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.html/-footer/index.html b/api/pl.treksoft.kvision.html/-footer/index.html index 60d8029c..cf9f84e7 100644 --- a/api/pl.treksoft.kvision.html/-footer/index.html +++ b/api/pl.treksoft.kvision.html/-footer/index.html @@ -111,23 +111,116 @@
+

ContextMenu

+
+open class ContextMenu : Div +

Context menu component.

+
+

Nav

+
+open class Nav : Div +

The Bootstrap Nav container.

+
+

Separator

+
+open class Separator : Div +

Menu separator component.

-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

footer

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.html/-h1/h1.html b/api/pl.treksoft.kvision.html/-h1/h1.html deleted file mode 100644 index bb627a58..00000000 --- a/api/pl.treksoft.kvision.html/-h1/h1.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -H1.h1 - kvision - - - -kvision / pl.treksoft.kvision.html / H1 / h1
-
-

h1

- -fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.html/-h1/index.html b/api/pl.treksoft.kvision.html/-h1/index.html index 1593c4d3..d91288c1 100644 --- a/api/pl.treksoft.kvision.html/-h1/index.html +++ b/api/pl.treksoft.kvision.html/-h1/index.html @@ -111,23 +111,116 @@

createInstance

@@ -139,12 +232,667 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

h1

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.html/-h2/h2.html b/api/pl.treksoft.kvision.html/-h2/h2.html deleted file mode 100644 index 0c6850ff..00000000 --- a/api/pl.treksoft.kvision.html/-h2/h2.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -H2.h2 - kvision - - - -kvision / pl.treksoft.kvision.html / H2 / h2
-
-

h2

- -fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.html/-h2/index.html b/api/pl.treksoft.kvision.html/-h2/index.html index 3694063e..3ebe5e35 100644 --- a/api/pl.treksoft.kvision.html/-h2/index.html +++ b/api/pl.treksoft.kvision.html/-h2/index.html @@ -111,23 +111,116 @@

createInstance

@@ -139,12 +232,667 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

h2

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.html/-h3/h3.html b/api/pl.treksoft.kvision.html/-h3/h3.html deleted file mode 100644 index 0aab19f2..00000000 --- a/api/pl.treksoft.kvision.html/-h3/h3.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -H3.h3 - kvision - - - -kvision / pl.treksoft.kvision.html / H3 / h3
-
-

h3

- -fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.html/-h3/index.html b/api/pl.treksoft.kvision.html/-h3/index.html index bb31761e..9504db7c 100644 --- a/api/pl.treksoft.kvision.html/-h3/index.html +++ b/api/pl.treksoft.kvision.html/-h3/index.html @@ -111,23 +111,116 @@

createInstance

@@ -139,12 +232,667 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

h3

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.html/-h4/h4.html b/api/pl.treksoft.kvision.html/-h4/h4.html deleted file mode 100644 index 116396c3..00000000 --- a/api/pl.treksoft.kvision.html/-h4/h4.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -H4.h4 - kvision - - - -kvision / pl.treksoft.kvision.html / H4 / h4
-
-

h4

- -fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.html/-h4/index.html b/api/pl.treksoft.kvision.html/-h4/index.html index 0ba549c9..77a8120b 100644 --- a/api/pl.treksoft.kvision.html/-h4/index.html +++ b/api/pl.treksoft.kvision.html/-h4/index.html @@ -111,23 +111,116 @@

createInstance

@@ -139,12 +232,667 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

h4

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.html/-h5/h5.html b/api/pl.treksoft.kvision.html/-h5/h5.html deleted file mode 100644 index 38000142..00000000 --- a/api/pl.treksoft.kvision.html/-h5/h5.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -H5.h5 - kvision - - - -kvision / pl.treksoft.kvision.html / H5 / h5
-
-

h5

- -fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.html/-h5/index.html b/api/pl.treksoft.kvision.html/-h5/index.html index 65cda355..992f0e25 100644 --- a/api/pl.treksoft.kvision.html/-h5/index.html +++ b/api/pl.treksoft.kvision.html/-h5/index.html @@ -111,23 +111,116 @@

createInstance

@@ -139,12 +232,667 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

h5

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.html/-h6/h6.html b/api/pl.treksoft.kvision.html/-h6/h6.html deleted file mode 100644 index 4af0a12c..00000000 --- a/api/pl.treksoft.kvision.html/-h6/h6.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -H6.h6 - kvision - - - -kvision / pl.treksoft.kvision.html / H6 / h6
-
-

h6

- -fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.html/-h6/index.html b/api/pl.treksoft.kvision.html/-h6/index.html index 494b2479..89b91722 100644 --- a/api/pl.treksoft.kvision.html/-h6/index.html +++ b/api/pl.treksoft.kvision.html/-h6/index.html @@ -111,23 +111,116 @@

createInstance

@@ -139,12 +232,667 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

h6

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.html/-header/header.html b/api/pl.treksoft.kvision.html/-header/header.html deleted file mode 100644 index 96300213..00000000 --- a/api/pl.treksoft.kvision.html/-header/header.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Header.header - kvision - - - -kvision / pl.treksoft.kvision.html / Header / header
-
-

header

- -fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.html/-header/index.html b/api/pl.treksoft.kvision.html/-header/index.html index f6d7278e..b2bf484c 100644 --- a/api/pl.treksoft.kvision.html/-header/index.html +++ b/api/pl.treksoft.kvision.html/-header/index.html @@ -111,23 +111,116 @@

createInstance

@@ -139,12 +232,667 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

header

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.html/-icon/icon.html b/api/pl.treksoft.kvision.html/-icon/icon.html index 3ed999be..56ff7d38 100644 --- a/api/pl.treksoft.kvision.html/-icon/icon.html +++ b/api/pl.treksoft.kvision.html/-icon/icon.html @@ -17,9 +17,5 @@

Setter

Icon type.

- -fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

diff --git a/api/pl.treksoft.kvision.html/-icon/index.html b/api/pl.treksoft.kvision.html/-icon/index.html index 4f9b2ad9..ca4434da 100644 --- a/api/pl.treksoft.kvision.html/-icon/index.html +++ b/api/pl.treksoft.kvision.html/-icon/index.html @@ -130,23 +130,116 @@

createInstance

@@ -139,12 +232,667 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

icon

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.html/-iframe/iframe.html b/api/pl.treksoft.kvision.html/-iframe/iframe.html deleted file mode 100644 index 80df42e3..00000000 --- a/api/pl.treksoft.kvision.html/-iframe/iframe.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -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 index 90f518dc..6b8f81e0 100644 --- a/api/pl.treksoft.kvision.html/-iframe/index.html +++ b/api/pl.treksoft.kvision.html/-iframe/index.html @@ -159,6 +159,15 @@ + + + + - - - -

createInstance

@@ -158,12 +251,667 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+

tabindex

+
+var tabindex: Int? +

A tabindex attribute of generated HTML element.

+

title

@@ -486,15 +495,6 @@
-

setContextMenu

-
-open fun setContextMenu(contextMenu: ContextMenu): Widget -

Sets context menu for the current widget.

-

setDragDropData

@@ -584,23 +584,53 @@
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + - -
-

iframe

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

-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 +fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -610,6 +640,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.html/-image/image.html b/api/pl.treksoft.kvision.html/-image/image.html deleted file mode 100644 index 639d55e4..00000000 --- a/api/pl.treksoft.kvision.html/-image/image.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Image.image - kvision - - - -kvision / pl.treksoft.kvision.html / Image / image
-
-

image

- -fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.html/-image/index.html b/api/pl.treksoft.kvision.html/-image/index.html index 0e2b386d..8668df23 100644 --- a/api/pl.treksoft.kvision.html/-image/index.html +++ b/api/pl.treksoft.kvision.html/-image/index.html @@ -141,6 +141,15 @@ +

tabindex

+ + +var tabindex: Int? +

A tabindex attribute of generated HTML element.

+ + + +

title

@@ -459,15 +468,6 @@ -

setContextMenu

- - -open fun setContextMenu(contextMenu: ContextMenu): Widget -

Sets context menu for the current widget.

- - - -

setDragDropData

@@ -557,23 +557,53 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + - -
-

image

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

-fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -583,6 +613,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.html/-label/-init-.html b/api/pl.treksoft.kvision.html/-label/-init-.html deleted file mode 100644 index 4b2bf1ef..00000000 --- a/api/pl.treksoft.kvision.html/-label/-init-.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -Label.<init> - kvision - - - -kvision / pl.treksoft.kvision.html / Label / <init>
-
-

<init>

- -Label(content: String? = null, rich: Boolean = false) -

Parameters

-

-content - label text

-

-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 deleted file mode 100644 index 95ee6660..00000000 --- a/api/pl.treksoft.kvision.html/-label/index.html +++ /dev/null @@ -1,66 +0,0 @@ - - - -Label - kvision - - - -kvision / pl.treksoft.kvision.html / Label
-
-

Label

-open class Label : Span
-Deprecated: Use Span class instead.
-
-

Simple label component rendered as span.

-

Constructors

- - - - - - - -
-

<init>

-
-Label(content: String? = null, rich: Boolean = false)
-

Companion Object Functions

- - - - - - - -
-

label

-
-fun Container.label(content: String? = null, rich: Boolean = false, init: (Label.() -> Unit)? = null): Label -

DSL builder extension function.

-
-

Extension Functions

- - - - - - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
-

setData

-
-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

-
- - diff --git a/api/pl.treksoft.kvision.html/-label/label.html b/api/pl.treksoft.kvision.html/-label/label.html deleted file mode 100644 index b4b4f9ef..00000000 --- a/api/pl.treksoft.kvision.html/-label/label.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -Label.label - kvision - - - -kvision / pl.treksoft.kvision.html / Label / label
-
-

label

- -fun Container.label(content: String? = null, rich: Boolean = false, init: (Label.() -> Unit)? = null): Label
-Deprecated: User Span.Companion.span function instead.
-
-

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/index.html b/api/pl.treksoft.kvision.html/-link/index.html index 9ff080aa..5285c31d 100644 --- a/api/pl.treksoft.kvision.html/-link/index.html +++ b/api/pl.treksoft.kvision.html/-link/index.html @@ -63,6 +63,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -163,33 +175,116 @@
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

link

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold

DSL builder extension function.

-

linkDisabled

+

button

-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.

+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -199,6 +294,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.html/-link/link-disabled.html b/api/pl.treksoft.kvision.html/-link/link-disabled.html deleted file mode 100644 index 4c3ffe22..00000000 --- a/api/pl.treksoft.kvision.html/-link/link-disabled.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -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 deleted file mode 100644 index 9ebd545f..00000000 --- a/api/pl.treksoft.kvision.html/-link/link.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Link.link - kvision - - - -kvision / pl.treksoft.kvision.html / Link / link
-
-

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/-list-tag/index.html b/api/pl.treksoft.kvision.html/-list-tag/index.html index 921c32cc..a71bfb08 100644 --- a/api/pl.treksoft.kvision.html/-list-tag/index.html +++ b/api/pl.treksoft.kvision.html/-list-tag/index.html @@ -56,6 +56,18 @@ any Component +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -147,23 +159,116 @@ any Component
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

listTag

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - - -

createInstance

@@ -173,18 +278,659 @@ any Component

Helper function for creating JavaScript objects from dynamic constructors.

-

Inheritors

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.html/-list-tag/list-tag.html b/api/pl.treksoft.kvision.html/-list-tag/list-tag.html deleted file mode 100644 index bb44ee4e..00000000 --- a/api/pl.treksoft.kvision.html/-list-tag/list-tag.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -ListTag.listTag - kvision - - - -kvision / pl.treksoft.kvision.html / ListTag / listTag
-
-

listTag

- -fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.html/-p/index.html b/api/pl.treksoft.kvision.html/-p/index.html index 5706769a..49eb3881 100644 --- a/api/pl.treksoft.kvision.html/-p/index.html +++ b/api/pl.treksoft.kvision.html/-p/index.html @@ -111,23 +111,116 @@
-

ContextMenu

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

-open class ContextMenu : ListTag -

Context menu component.

+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

p

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.html/-p/p.html b/api/pl.treksoft.kvision.html/-p/p.html deleted file mode 100644 index 5d3782a2..00000000 --- a/api/pl.treksoft.kvision.html/-p/p.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -P.p - kvision - - - -kvision / pl.treksoft.kvision.html / P / p
-
-

p

- -fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.html/-section/index.html b/api/pl.treksoft.kvision.html/-section/index.html index 7a4572ba..e4dc97b8 100644 --- a/api/pl.treksoft.kvision.html/-section/index.html +++ b/api/pl.treksoft.kvision.html/-section/index.html @@ -111,23 +111,116 @@

createInstance

@@ -139,12 +232,667 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

section

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.html/-section/section.html b/api/pl.treksoft.kvision.html/-section/section.html deleted file mode 100644 index 30824f8c..00000000 --- a/api/pl.treksoft.kvision.html/-section/section.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Section.section - kvision - - - -kvision / pl.treksoft.kvision.html / Section / section
-
-

section

- -fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.html/-span/index.html b/api/pl.treksoft.kvision.html/-span/index.html index af5db66c..5d28d1c3 100644 --- a/api/pl.treksoft.kvision.html/-span/index.html +++ b/api/pl.treksoft.kvision.html/-span/index.html @@ -111,23 +111,116 @@

createInstance

@@ -139,12 +232,667 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

span

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -

createInstance

@@ -139,26 +232,667 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

-

Inheritors

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.html/-span/span.html b/api/pl.treksoft.kvision.html/-span/span.html deleted file mode 100644 index ef4bf8a7..00000000 --- a/api/pl.treksoft.kvision.html/-span/span.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Span.span - kvision - - - -kvision / pl.treksoft.kvision.html / Span / span
-
-

span

- -fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.html/-t-a-g/-f-i-g-c-a-p-t-i-o-n.html b/api/pl.treksoft.kvision.html/-t-a-g/-f-i-g-c-a-p-t-i-o-n.html new file mode 100644 index 00000000..4cfa7839 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-t-a-g/-f-i-g-c-a-p-t-i-o-n.html @@ -0,0 +1,14 @@ + + + +TAG.FIGCAPTION - kvision + + + +kvision / pl.treksoft.kvision.html / TAG / FIGCAPTION
+
+

FIGCAPTION

+ +FIGCAPTION + + diff --git a/api/pl.treksoft.kvision.html/-t-a-g/-f-i-g-u-r-e.html b/api/pl.treksoft.kvision.html/-t-a-g/-f-i-g-u-r-e.html new file mode 100644 index 00000000..b6f7430e --- /dev/null +++ b/api/pl.treksoft.kvision.html/-t-a-g/-f-i-g-u-r-e.html @@ -0,0 +1,14 @@ + + + +TAG.FIGURE - kvision + + + +kvision / pl.treksoft.kvision.html / TAG / FIGURE
+
+

FIGURE

+ +FIGURE + + diff --git a/api/pl.treksoft.kvision.html/-t-a-g/-n-a-v.html b/api/pl.treksoft.kvision.html/-t-a-g/-n-a-v.html new file mode 100644 index 00000000..f40cdbc3 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-t-a-g/-n-a-v.html @@ -0,0 +1,14 @@ + + + +TAG.NAV - kvision + + + +kvision / pl.treksoft.kvision.html / TAG / NAV
+
+

NAV

+ +NAV + + diff --git a/api/pl.treksoft.kvision.html/-t-a-g/-p-i-c-t-u-r-e.html b/api/pl.treksoft.kvision.html/-t-a-g/-p-i-c-t-u-r-e.html new file mode 100644 index 00000000..4493bee2 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-t-a-g/-p-i-c-t-u-r-e.html @@ -0,0 +1,14 @@ + + + +TAG.PICTURE - kvision + + + +kvision / pl.treksoft.kvision.html / TAG / PICTURE
+
+

PICTURE

+ +PICTURE + + diff --git a/api/pl.treksoft.kvision.html/-t-a-g/-s-o-u-r-c-e.html b/api/pl.treksoft.kvision.html/-t-a-g/-s-o-u-r-c-e.html new file mode 100644 index 00000000..5877b274 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-t-a-g/-s-o-u-r-c-e.html @@ -0,0 +1,14 @@ + + + +TAG.SOURCE - kvision + + + +kvision / pl.treksoft.kvision.html / TAG / SOURCE
+
+

SOURCE

+ +SOURCE + + diff --git a/api/pl.treksoft.kvision.html/-t-a-g/-t-a-b-l-e.html b/api/pl.treksoft.kvision.html/-t-a-g/-t-a-b-l-e.html new file mode 100644 index 00000000..c70262ee --- /dev/null +++ b/api/pl.treksoft.kvision.html/-t-a-g/-t-a-b-l-e.html @@ -0,0 +1,14 @@ + + + +TAG.TABLE - kvision + + + +kvision / pl.treksoft.kvision.html / TAG / TABLE
+
+

TABLE

+ +TABLE + + 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 4b916a25..4a987ce4 100644 --- a/api/pl.treksoft.kvision.html/-t-a-g/index.html +++ b/api/pl.treksoft.kvision.html/-t-a-g/index.html @@ -106,6 +106,13 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-

Label

+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

-open class Label : Span -

Simple label component rendered as span.

+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+

NAV

+
+

PRE

@@ -281,6 +288,41 @@
+

FIGURE

+
+
+

FIGCAPTION

+
+
+

PICTURE

+
+
+

SOURCE

+
+
+

TABLE

+
+

THEAD

diff --git a/api/pl.treksoft.kvision.html/-tag/index.html b/api/pl.treksoft.kvision.html/-tag/index.html index 105dfdca..54d90865 100644 --- a/api/pl.treksoft.kvision.html/-tag/index.html +++ b/api/pl.treksoft.kvision.html/-tag/index.html @@ -86,147 +86,902 @@
+

children

+
+val children: MutableList<Component>

templateData

-open var templateData: Any? -

Handlebars template data object.

+open var templateData: Any? +

Handlebars template data object.

+
+

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.

+
+

unaryPlus

+
+operator fun String.unaryPlus(): Unit
+

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.

+
+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +

DSL builder extension function.

+
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
-

Functions

- - +fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+ - -
-

getSnClass

+

responsiveGridPanel

-open fun getSnClass(): List<StringBoolPair> -

Returns list of CSS class names for current widget in the form of a List.

+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

-

render

+

richText

-open fun render(): VNode -

Renders current component as a Snabbdom vnode.

+fun Container.richText(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (RichText.() -> Unit)? = null): RichText +

DSL builder extension function.

-

unaryPlus

+

richTextInput

-operator fun String.unaryPlus(): Unit
-

Inherited Functions

- - - -
-

add

+

section

-open fun add(child: Component): SimplePanel -

Adds given component to the current container.

+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

-

addAll

+

select

-open fun addAll(children: List<Component>): SimplePanel -

Adds a list of components to the current container.

+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.

-

addInternal

+

selectInput

-fun addInternal(child: Component): SimplePanel -

Protected and final method to add given component to the current container.

+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

-

childrenVNodes

+

selectRemote

-open fun childrenVNodes(): Array<VNode> -

Returns the array of the children Snabbdom vnodes.

+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

-

getChildren

+

selectRemoteInput

-open fun getChildren(): List<Component> -

Returns a list of children of the current container.

+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

-

remove

+

setContextMenu

-open fun remove(child: Component): SimplePanel -

Removes given component from the current container.

+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

-

removeAll

+

setData

-open fun removeAll(): SimplePanel -

Removes all children from the current container.

+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

-

Companion Object Functions

- - - -
-

tag

+

simplePanel

-fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -236,6 +991,15 @@ + + + + @@ -371,11 +1135,11 @@ @@ -416,15 +1180,6 @@ - - - - + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-

createInstance

+

simpleSelect

-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

-

setData

+

simpleSelectInput

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+

Bold

+
+open class Bold : Tag +

Simple component rendered as b.

+

Cell

@@ -353,11 +1117,11 @@
-

HelpBlock

+

HelpText

-open class HelpBlock : Tag -

Helper class for Bootstrap help block element.

+open class HelpText : Tag +

Helper class for Bootstrap help text element.

-

Nav

+

InvalidFeedback

-open class Nav : Tag -

The Bootstrap Nav container.

+open class InvalidFeedback : Tag +

Helper class for Bootstrap invalid feedback element.

-

Separator

-
-open class Separator : Tag -

Menu separator component.

-

Span

diff --git a/api/pl.treksoft.kvision.html/-tag/tag.html b/api/pl.treksoft.kvision.html/-tag/tag.html deleted file mode 100644 index 63c03d90..00000000 --- a/api/pl.treksoft.kvision.html/-tag/tag.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Tag.tag - kvision - - - -kvision / pl.treksoft.kvision.html / Tag / tag
-
-

tag

- -fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), 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/bold.html b/api/pl.treksoft.kvision.html/bold.html new file mode 100644 index 00000000..b98ca771 --- /dev/null +++ b/api/pl.treksoft.kvision.html/bold.html @@ -0,0 +1,16 @@ + + + +bold - kvision + + + +kvision / pl.treksoft.kvision.html / bold
+
+

bold

+ +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

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.html b/api/pl.treksoft.kvision.html/button.html new file mode 100644 index 00000000..0732454a --- /dev/null +++ b/api/pl.treksoft.kvision.html/button.html @@ -0,0 +1,16 @@ + + + +button - kvision + + + +kvision / pl.treksoft.kvision.html / button
+
+

button

+ +fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, 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/canvas.html b/api/pl.treksoft.kvision.html/canvas.html new file mode 100644 index 00000000..ffba2643 --- /dev/null +++ b/api/pl.treksoft.kvision.html/canvas.html @@ -0,0 +1,16 @@ + + + +canvas - kvision + + + +kvision / pl.treksoft.kvision.html / canvas
+
+

canvas

+ +fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

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.html b/api/pl.treksoft.kvision.html/div.html new file mode 100644 index 00000000..07d341ab --- /dev/null +++ b/api/pl.treksoft.kvision.html/div.html @@ -0,0 +1,16 @@ + + + +div - kvision + + + +kvision / pl.treksoft.kvision.html / div
+
+

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/footer.html b/api/pl.treksoft.kvision.html/footer.html new file mode 100644 index 00000000..791278eb --- /dev/null +++ b/api/pl.treksoft.kvision.html/footer.html @@ -0,0 +1,16 @@ + + + +footer - kvision + + + +kvision / pl.treksoft.kvision.html / footer
+
+

footer

+ +fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.html/h1.html b/api/pl.treksoft.kvision.html/h1.html new file mode 100644 index 00000000..9f6d4160 --- /dev/null +++ b/api/pl.treksoft.kvision.html/h1.html @@ -0,0 +1,16 @@ + + + +h1 - kvision + + + +kvision / pl.treksoft.kvision.html / h1
+
+

h1

+ +fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.html/h2.html b/api/pl.treksoft.kvision.html/h2.html new file mode 100644 index 00000000..bda53896 --- /dev/null +++ b/api/pl.treksoft.kvision.html/h2.html @@ -0,0 +1,16 @@ + + + +h2 - kvision + + + +kvision / pl.treksoft.kvision.html / h2
+
+

h2

+ +fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.html/h3.html b/api/pl.treksoft.kvision.html/h3.html new file mode 100644 index 00000000..f09dd585 --- /dev/null +++ b/api/pl.treksoft.kvision.html/h3.html @@ -0,0 +1,16 @@ + + + +h3 - kvision + + + +kvision / pl.treksoft.kvision.html / h3
+
+

h3

+ +fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.html/h4.html b/api/pl.treksoft.kvision.html/h4.html new file mode 100644 index 00000000..908f8ef8 --- /dev/null +++ b/api/pl.treksoft.kvision.html/h4.html @@ -0,0 +1,16 @@ + + + +h4 - kvision + + + +kvision / pl.treksoft.kvision.html / h4
+
+

h4

+ +fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.html/h5.html b/api/pl.treksoft.kvision.html/h5.html new file mode 100644 index 00000000..b54414f4 --- /dev/null +++ b/api/pl.treksoft.kvision.html/h5.html @@ -0,0 +1,16 @@ + + + +h5 - kvision + + + +kvision / pl.treksoft.kvision.html / h5
+
+

h5

+ +fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.html/h6.html b/api/pl.treksoft.kvision.html/h6.html new file mode 100644 index 00000000..dc037f09 --- /dev/null +++ b/api/pl.treksoft.kvision.html/h6.html @@ -0,0 +1,16 @@ + + + +h6 - kvision + + + +kvision / pl.treksoft.kvision.html / h6
+
+

h6

+ +fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.html/header.html b/api/pl.treksoft.kvision.html/header.html new file mode 100644 index 00000000..fbb1af2a --- /dev/null +++ b/api/pl.treksoft.kvision.html/header.html @@ -0,0 +1,16 @@ + + + +header - kvision + + + +kvision / pl.treksoft.kvision.html / header
+
+

header

+ +fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.html/icon.html b/api/pl.treksoft.kvision.html/icon.html new file mode 100644 index 00000000..22b9bcf4 --- /dev/null +++ b/api/pl.treksoft.kvision.html/icon.html @@ -0,0 +1,16 @@ + + + +icon - kvision + + + +kvision / pl.treksoft.kvision.html / icon
+
+

icon

+ +fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

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.html b/api/pl.treksoft.kvision.html/iframe.html new file mode 100644 index 00000000..355b4b98 --- /dev/null +++ b/api/pl.treksoft.kvision.html/iframe.html @@ -0,0 +1,16 @@ + + + +iframe - kvision + + + +kvision / pl.treksoft.kvision.html / 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/image.html b/api/pl.treksoft.kvision.html/image.html new file mode 100644 index 00000000..3a0f5b83 --- /dev/null +++ b/api/pl.treksoft.kvision.html/image.html @@ -0,0 +1,16 @@ + + + +image - kvision + + + +kvision / pl.treksoft.kvision.html / image
+
+

image

+ +fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.html/index.html b/api/pl.treksoft.kvision.html/index.html index d6fe172a..9e70f1ad 100644 --- a/api/pl.treksoft.kvision.html/index.html +++ b/api/pl.treksoft.kvision.html/index.html @@ -24,6 +24,15 @@ Support for Handlebars.js templates is included.

+

Bold

+
+open class Bold : Tag +

Simple component rendered as b.

+

Button

@@ -186,15 +195,6 @@ Support for Handlebars.js templates is included.

-

Label

-
-open class Label : Span -

Simple label component rendered as span.

-

Link

@@ -290,6 +290,177 @@ Support for Handlebars.js templates is included.

+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

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.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+

setData

@@ -298,6 +469,24 @@ Support for Handlebars.js templates is included.

Extension function to set serializable object as a template data.

+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.html/link.html b/api/pl.treksoft.kvision.html/link.html new file mode 100644 index 00000000..fb62bfee --- /dev/null +++ b/api/pl.treksoft.kvision.html/link.html @@ -0,0 +1,16 @@ + + + +link - kvision + + + +kvision / pl.treksoft.kvision.html / link
+
+

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/list-tag.html b/api/pl.treksoft.kvision.html/list-tag.html new file mode 100644 index 00000000..980ce2c2 --- /dev/null +++ b/api/pl.treksoft.kvision.html/list-tag.html @@ -0,0 +1,16 @@ + + + +listTag - kvision + + + +kvision / pl.treksoft.kvision.html / listTag
+
+

listTag

+ +fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.html/p.html b/api/pl.treksoft.kvision.html/p.html new file mode 100644 index 00000000..50447ff1 --- /dev/null +++ b/api/pl.treksoft.kvision.html/p.html @@ -0,0 +1,16 @@ + + + +p - kvision + + + +kvision / pl.treksoft.kvision.html / p
+
+

p

+ +fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.html/section.html b/api/pl.treksoft.kvision.html/section.html new file mode 100644 index 00000000..1a24c0f6 --- /dev/null +++ b/api/pl.treksoft.kvision.html/section.html @@ -0,0 +1,16 @@ + + + +section - kvision + + + +kvision / pl.treksoft.kvision.html / section
+
+

section

+ +fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.html/span.html b/api/pl.treksoft.kvision.html/span.html new file mode 100644 index 00000000..fa663b31 --- /dev/null +++ b/api/pl.treksoft.kvision.html/span.html @@ -0,0 +1,16 @@ + + + +span - kvision + + + +kvision / pl.treksoft.kvision.html / span
+
+

span

+ +fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

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.html b/api/pl.treksoft.kvision.html/tag.html new file mode 100644 index 00000000..3d05a2c0 --- /dev/null +++ b/api/pl.treksoft.kvision.html/tag.html @@ -0,0 +1,16 @@ + + + +tag - kvision + + + +kvision / pl.treksoft.kvision.html / tag
+
+

tag

+ +fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), 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.modal/-alert/index.html b/api/pl.treksoft.kvision.modal/-alert/index.html index 9fcabf85..aa93178e 100644 --- a/api/pl.treksoft.kvision.modal/-alert/index.html +++ b/api/pl.treksoft.kvision.modal/-alert/index.html @@ -180,15 +180,6 @@ -

getSnAttrs

- - -open fun getSnAttrs(): List<StringPair> -

Returns list of element attributes in the form of a List.

- - - -

getSnClass

@@ -262,6 +253,113 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + + +

bold

+ + +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+ + + + +

button

+ + +fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+ + + + +

buttonGroup

+ + +fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+ + + + +

canvas

+ + +fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+ + + + +

chart

+ + +fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+ + + + +

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.

+ + + + +

checkBoxInput

+ + +fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+ + + + +

contextMenu

+ + +fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +

DSL builder extension function.

+ + + +

createInstance

@@ -269,6 +367,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

dataContainer

+ + +fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+ + + + +

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.

+ + + + +

dateTimeInput

+ + +fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+ + + + +

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.

+ + + + +

dockPanel

+ + +fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+ + + + +

dropDown

+ + +fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+ + + + +

fieldLabel

+ + +fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+ + + + +

flexPanel

+ + +fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+ + + + +

footer

+ + +fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+ + + + +

formPanel

+ + +fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+ + + + +

gridPanel

+ + +fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+ + + + +

h1

+ + +fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+ + + + +

h2

+ + +fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+ + + + +

h3

+ + +fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+ + + + +

h4

+ + +fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+ + + + +

h5

+ + +fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+ + + + +

h6

+ + +fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+ + + + +

header

+ + +fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+ + + + +

hPanel

+ + +fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+ + + + +

icon

+ + +fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+ + + + +

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.

+ + + + +

image

+ + +fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+ + + + +

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.

+ + + + +

listTag

+ + +fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+ + + + +

navbar

+ + +fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+ + + + +

p

+ + +fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+ + + + +

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.

+ + + + +

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.

+ + + + +

radio

+ + +fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+ + + + +

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.

+ + + + +

radioGroupInput

+ + +fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+ + + + +

radioInput

+ + +fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+ + + + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit + + + +

responsiveGridPanel

+ + +fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+ + + + +

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.

+ + + + +

richTextInput

+ + +fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+ + + + +

section

+ + +fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+ + + + +

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.

+ + + + +

selectInput

+ + +fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+ + + + +

selectRemote

+ + +fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+ + + + +

selectRemoteInput

+ + +fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+ + + + +

setContextMenu

+ + +fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+ + + + +

simplePanel

+ + +fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+ + + + +

simpleSelect

+ + +fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+ + + + +

simpleSelectInput

+ + +fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+ + + + +

span

+ + +fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+ + + + +

spinner

+ + +fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+ + + + +

spinnerInput

+ + +fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+ + + + +

splitPanel

+ + +fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+ + + + +

stackPanel

+ + +fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+ + + + +

stateBinding

+ + +fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+ + + + +

stateUpdate

+ + +fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+ + + + +

style

+ + +fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+ + + + +

table

+ + +fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+ + + + +

tabPanel

+ + +fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+ + + + +

tabulator

+ + +fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+ + + + +

tabulatorRemote

+ + +fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+ + + + +

tag

+ + +fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+ + + + +

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.

+ + + + +

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.

+ + + + +

textAreaInput

+ + +fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+ + + + +

textInput

+ + +fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+ + + + +

toolbar

+ + +fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+ + + + +

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.

+ + + + +

uploadInput

+ + +fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+ + + + +

vPanel

+ + +fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+ + + + +

widget

+ + +fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+ + + + +

widgetWrapper

+ + +fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+ + + + +

window

+ + +fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+ + diff --git a/api/pl.treksoft.kvision.modal/-close-icon/index.html b/api/pl.treksoft.kvision.modal/-close-icon/index.html index 93d76bdc..2ddb2283 100644 --- a/api/pl.treksoft.kvision.modal/-close-icon/index.html +++ b/api/pl.treksoft.kvision.modal/-close-icon/index.html @@ -93,6 +93,15 @@ +

tabindex

+ + +var tabindex: Int? +

A tabindex attribute of generated HTML element.

+ + + +

title

@@ -411,15 +420,6 @@ -

setContextMenu

- - -open fun setContextMenu(contextMenu: ContextMenu): Widget -

Sets context menu for the current widget.

- - - -

setDragDropData

@@ -514,6 +514,50 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + + +

contextMenu

+ + +fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +

DSL builder extension function.

+ + + +

createInstance

@@ -521,6 +565,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit + + + +

setContextMenu

+ + +fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+ + + + +

style

+ + +fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+ + diff --git a/api/pl.treksoft.kvision.modal/-confirm/index.html b/api/pl.treksoft.kvision.modal/-confirm/index.html index 03391a74..47957e4a 100644 --- a/api/pl.treksoft.kvision.modal/-confirm/index.html +++ b/api/pl.treksoft.kvision.modal/-confirm/index.html @@ -202,15 +202,6 @@ -

getSnAttrs

- - -open fun getSnAttrs(): List<StringPair> -

Returns list of element attributes in the form of a List.

- - - -

getSnClass

@@ -293,6 +284,113 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + + +

bold

+ + +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+ + + + +

button

+ + +fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+ + + + +

buttonGroup

+ + +fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+ + + + +

canvas

+ + +fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+ + + + +

chart

+ + +fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+ + + + +

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.

+ + + + +

checkBoxInput

+ + +fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+ + + + +

contextMenu

+ + +fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +

DSL builder extension function.

+ + + +

createInstance

@@ -300,6 +398,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

dataContainer

+ + +fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+ + + + +

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.

+ + + + +

dateTimeInput

+ + +fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+ + + + +

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.

+ + + + +

dockPanel

+ + +fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+ + + + +

dropDown

+ + +fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+ + + + +

fieldLabel

+ + +fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+ + + + +

flexPanel

+ + +fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+ + + + +

footer

+ + +fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+ + + + +

formPanel

+ + +fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+ + + + +

gridPanel

+ + +fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+ + + + +

h1

+ + +fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+ + + + +

h2

+ + +fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+ + + + +

h3

+ + +fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+ + + + +

h4

+ + +fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+ + + + +

h5

+ + +fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+ + + + +

h6

+ + +fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+ + + + +

header

+ + +fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+ + + + +

hPanel

+ + +fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+ + + + +

icon

+ + +fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+ + + + +

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.

+ + + + +

image

+ + +fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+ + + + +

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.

+ + + + +

listTag

+ + +fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+ + + + +

navbar

+ + +fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+ + + + +

p

+ + +fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+ + + + +

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.

+ + + + +

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.

+ + + + +

radio

+ + +fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+ + + + +

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.

+ + + + +

radioGroupInput

+ + +fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+ + + + +

radioInput

+ + +fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+ + + + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit + + + +

responsiveGridPanel

+ + +fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+ + + + +

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.

+ + + + +

richTextInput

+ + +fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+ + + + +

section

+ + +fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+ + + + +

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.

+ + + + +

selectInput

+ + +fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+ + + + +

selectRemote

+ + +fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+ + + + +

selectRemoteInput

+ + +fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+ + + + +

setContextMenu

+ + +fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+ + + + +

simplePanel

+ + +fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+ + + + +

simpleSelect

+ + +fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+ + + + +

simpleSelectInput

+ + +fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+ + + + +

span

+ + +fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+ + + + +

spinner

+ + +fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+ + + + +

spinnerInput

+ + +fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+ + + + +

splitPanel

+ + +fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+ + + + +

stackPanel

+ + +fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+ + + + +

stateBinding

+ + +fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+ + + + +

stateUpdate

+ + +fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+ + + + +

style

+ + +fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+ + + + +

table

+ + +fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+ + + + +

tabPanel

+ + +fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+ + + + +

tabulator

+ + +fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+ + + + +

tabulatorRemote

+ + +fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+ + + + +

tag

+ + +fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+ + + + +

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.

+ + + + +

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.

+ + + + +

textAreaInput

+ + +fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+ + + + +

textInput

+ + +fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+ + + + +

toolbar

+ + +fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+ + + + +

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.

+ + + + +

uploadInput

+ + +fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+ + + + +

vPanel

+ + +fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+ + + + +

widget

+ + +fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+ + + + +

widgetWrapper

+ + +fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+ + + + +

window

+ + +fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+ + diff --git a/api/pl.treksoft.kvision.modal/-dialog/index.html b/api/pl.treksoft.kvision.modal/-dialog/index.html index bcc1a0b4..01469db5 100644 --- a/api/pl.treksoft.kvision.modal/-dialog/index.html +++ b/api/pl.treksoft.kvision.modal/-dialog/index.html @@ -166,15 +166,6 @@ -

getSnAttrs

- - -open fun getSnAttrs(): List<StringPair> -

Returns list of element attributes in the form of a List.

- - - -

getSnClass

@@ -234,6 +225,113 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + + +

bold

+ + +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+ + + + +

button

+ + +fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+ + + + +

buttonGroup

+ + +fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+ + + + +

canvas

+ + +fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+ + + + +

chart

+ + +fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+ + + + +

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.

+ + + + +

checkBoxInput

+ + +fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+ + + + +

contextMenu

+ + +fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +

DSL builder extension function.

+ + + +

createInstance

@@ -241,6 +339,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

dataContainer

+ + +fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+ + + + +

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.

+ + + + +

dateTimeInput

+ + +fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+ + + + +

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.

+ + + + +

dockPanel

+ + +fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+ + + + +

dropDown

+ + +fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+ + + + +

fieldLabel

+ + +fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+ + + + +

flexPanel

+ + +fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+ + + + +

footer

+ + +fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+ + + + +

formPanel

+ + +fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+ + + + +

gridPanel

+ + +fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+ + + + +

h1

+ + +fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+ + + + +

h2

+ + +fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+ + + + +

h3

+ + +fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+ + + + +

h4

+ + +fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+ + + + +

h5

+ + +fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+ + + + +

h6

+ + +fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+ + + + +

header

+ + +fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+ + + + +

hPanel

+ + +fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+ + + + +

icon

+ + +fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+ + + + +

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.

+ + + + +

image

+ + +fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+ + + + +

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.

+ + + + +

listTag

+ + +fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+ + + + +

navbar

+ + +fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+ + + + +

p

+ + +fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+ + + + +

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.

+ + + + +

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.

+ + + + +

radio

+ + +fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+ + + + +

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.

+ + + + +

radioGroupInput

+ + +fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+ + + + +

radioInput

+ + +fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+ + + + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit + + + +

responsiveGridPanel

+ + +fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+ + + + +

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.

+ + + + +

richTextInput

+ + +fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+ + + + +

section

+ + +fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+ + + + +

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.

+ + + + +

selectInput

+ + +fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+ + + + +

selectRemote

+ + +fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+ + + + +

selectRemoteInput

+ + +fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+ + + + +

setContextMenu

+ + +fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+ + + + +

simplePanel

+ + +fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+ + + + +

simpleSelect

+ + +fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+ + + + +

simpleSelectInput

+ + +fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+ + + + +

span

+ + +fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+ + + + +

spinner

+ + +fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+ + + + +

spinnerInput

+ + +fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+ + + + +

splitPanel

+ + +fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+ + + + +

stackPanel

+ + +fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+ + + + +

stateBinding

+ + +fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+ + + + +

stateUpdate

+ + +fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+ + + + +

style

+ + +fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+ + + + +

table

+ + +fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+ + + + +

tabPanel

+ + +fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+ + + + +

tabulator

+ + +fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+ + + + +

tabulatorRemote

+ + +fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+ + + + +

tag

+ + +fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+ + + + +

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.

+ + + + +

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.

+ + + + +

textAreaInput

+ + +fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+ + + + +

textInput

+ + +fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+ + + + +

toolbar

+ + +fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+ + + + +

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.

+ + + + +

uploadInput

+ + +fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+ + + + +

vPanel

+ + +fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+ + + + +

widget

+ + +fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+ + + + +

widgetWrapper

+ + +fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+ + + + +

window

+ + +fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+ + diff --git a/api/pl.treksoft.kvision.modal/-modal-size/-x-l-a-r-g-e.html b/api/pl.treksoft.kvision.modal/-modal-size/-x-l-a-r-g-e.html new file mode 100644 index 00000000..84a29f02 --- /dev/null +++ b/api/pl.treksoft.kvision.modal/-modal-size/-x-l-a-r-g-e.html @@ -0,0 +1,26 @@ + + + +ModalSize.XLARGE - kvision + + + +kvision / pl.treksoft.kvision.modal / ModalSize / XLARGE
+
+

XLARGE

+ +XLARGE +

Inherited Properties

+ + + + + + + +
+

className

+
+val className: String
+ + diff --git a/api/pl.treksoft.kvision.modal/-modal-size/index.html b/api/pl.treksoft.kvision.modal/-modal-size/index.html index 2e85921e..cc9c5784 100644 --- a/api/pl.treksoft.kvision.modal/-modal-size/index.html +++ b/api/pl.treksoft.kvision.modal/-modal-size/index.html @@ -15,6 +15,13 @@ +

XLARGE

+ + + + + +

LARGE

diff --git a/api/pl.treksoft.kvision.modal/-modal/get-sn-attrs.html b/api/pl.treksoft.kvision.modal/-modal/get-sn-attrs.html deleted file mode 100644 index e10a5b85..00000000 --- a/api/pl.treksoft.kvision.modal/-modal/get-sn-attrs.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -Modal.getSnAttrs - kvision - - - -kvision / pl.treksoft.kvision.modal / Modal / 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.modal/-modal/index.html b/api/pl.treksoft.kvision.modal/-modal/index.html index 46c107f6..bbb2c853 100644 --- a/api/pl.treksoft.kvision.modal/-modal/index.html +++ b/api/pl.treksoft.kvision.modal/-modal/index.html @@ -70,6 +70,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -134,15 +146,6 @@ - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-

getSnAttrs

-
-open fun getSnAttrs(): List<StringPair> -

Returns list of element attributes in the form of a List.

-

getSnClass

@@ -243,6 +246,113 @@
+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +

DSL builder extension function.

+

createInstance

@@ -250,6 +360,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+

Inheritors

diff --git a/api/pl.treksoft.kvision.navbar/-nav-form/index.html b/api/pl.treksoft.kvision.navbar/-nav-form/index.html index d46cca96..7d563ed9 100644 --- a/api/pl.treksoft.kvision.navbar/-nav-form/index.html +++ b/api/pl.treksoft.kvision.navbar/-nav-form/index.html @@ -130,23 +130,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

navForm

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun Navbar.navForm(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: (NavForm.() -> Unit)? = null): NavForm +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.navbar/-nav-form/nav-form.html b/api/pl.treksoft.kvision.navbar/-nav-form/nav-form.html deleted file mode 100644 index 53d31243..00000000 --- a/api/pl.treksoft.kvision.navbar/-nav-form/nav-form.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -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/index.html b/api/pl.treksoft.kvision.navbar/-nav/index.html index 33f7eebf..472c7320 100644 --- a/api/pl.treksoft.kvision.navbar/-nav/index.html +++ b/api/pl.treksoft.kvision.navbar/-nav/index.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.navbar / Nav

Nav

-open class Nav : Tag +open class Nav : Div

The Bootstrap Nav container.

Constructors

createInstance

@@ -158,12 +251,667 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

@@ -36,117 +36,130 @@
-

Inherited Properties

+

Functions

+ + + +
-

align

+

getSnClass

+
+open fun getSnClass(): List<StringBoolPair> +

Returns list of CSS class names for current widget in the form of a List.

+

Extension Functions

+ + + + + + + + + + + + - -
-var align: Align? -

Text align.

+

addBsBgColor

+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
-

content

+

addBsBorder

-open var content: String? -

Text content of the tag.

+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+fun Component.addBsClearfix(): Unit
-

rich

+

addBsColor

-open var rich: Boolean -

Determines if content can contain HTML code.

+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
-

template

+

bold

-open var template: ((Any?) -> String)? -

Handlebars template.

+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

-

templates

+

button

-open var templates: Map<String, (Any?) -> String> -

Handlebars templates for i18n.

+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

-

type

+

buttonGroup

-var type: TAG -

Tag type.

+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

-

Functions

- - - -
-

getSnClass

+

canvas

-open fun getSnClass(): List<StringBoolPair> -

Returns list of CSS class names for current widget in the form of a List.

+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

-

Inherited Functions

- - +fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (CheckBox.() -> Unit)? = null): CheckBox +

DSL builder extension function.

+ - -
-

render

+

chart

-open fun render(): VNode -

Renders current component as a Snabbdom vnode.

+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

-

unaryPlus

+

checkBox

-operator fun String.unaryPlus(): Unit
-

Companion Object Functions

- - + + + + - -
-

nav

+

checkBoxInput

-fun Navbar.nav(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: (Nav.() -> Unit)? = null): Nav +fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.navbar/-nav/nav.html b/api/pl.treksoft.kvision.navbar/-nav/nav.html deleted file mode 100644 index bc65ebf1..00000000 --- a/api/pl.treksoft.kvision.navbar/-nav/nav.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -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/-navbar-color/-d-a-r-k.html b/api/pl.treksoft.kvision.navbar/-navbar-color/-d-a-r-k.html new file mode 100644 index 00000000..538ff088 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar-color/-d-a-r-k.html @@ -0,0 +1,14 @@ + + + +NavbarColor.DARK - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavbarColor / DARK
+
+

DARK

+ +DARK + + diff --git a/api/pl.treksoft.kvision.navbar/-navbar-color/-l-i-g-h-t.html b/api/pl.treksoft.kvision.navbar/-navbar-color/-l-i-g-h-t.html new file mode 100644 index 00000000..c8a997b4 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar-color/-l-i-g-h-t.html @@ -0,0 +1,14 @@ + + + +NavbarColor.LIGHT - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavbarColor / LIGHT
+
+

LIGHT

+ +LIGHT + + diff --git a/api/pl.treksoft.kvision.navbar/-navbar-color/index.html b/api/pl.treksoft.kvision.navbar/-navbar-color/index.html new file mode 100644 index 00000000..23e8bdd4 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar-color/index.html @@ -0,0 +1,47 @@ + + + +NavbarColor - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavbarColor
+
+

NavbarColor

+enum class NavbarColor +

Navbar colors.

+

Enum Values

+

createInstance

@@ -158,12 +171,685 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

navLink

+
+fun Nav.navLink(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link +

DSL builder extension function for a link in a nav list.

+
+

navLinkDisabled

+
+fun Nav.navLinkDisabled(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 nav list.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+ + + + + + + + + + +
+

LIGHT

+
+
+

DARK

+
+
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.navbar/-navbar-expand/-a-l-w-a-y-s.html b/api/pl.treksoft.kvision.navbar/-navbar-expand/-a-l-w-a-y-s.html new file mode 100644 index 00000000..1112ee3d --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar-expand/-a-l-w-a-y-s.html @@ -0,0 +1,14 @@ + + + +NavbarExpand.ALWAYS - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavbarExpand / ALWAYS
+
+

ALWAYS

+ +ALWAYS + + diff --git a/api/pl.treksoft.kvision.navbar/-navbar-expand/-l-g.html b/api/pl.treksoft.kvision.navbar/-navbar-expand/-l-g.html new file mode 100644 index 00000000..a5f47b73 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar-expand/-l-g.html @@ -0,0 +1,14 @@ + + + +NavbarExpand.LG - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavbarExpand / LG
+
+

LG

+ +LG + + diff --git a/api/pl.treksoft.kvision.navbar/-navbar-expand/-m-d.html b/api/pl.treksoft.kvision.navbar/-navbar-expand/-m-d.html new file mode 100644 index 00000000..cf238944 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar-expand/-m-d.html @@ -0,0 +1,14 @@ + + + +NavbarExpand.MD - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavbarExpand / MD
+
+

MD

+ +MD + + diff --git a/api/pl.treksoft.kvision.navbar/-navbar-expand/-s-m.html b/api/pl.treksoft.kvision.navbar/-navbar-expand/-s-m.html new file mode 100644 index 00000000..8715f266 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar-expand/-s-m.html @@ -0,0 +1,14 @@ + + + +NavbarExpand.SM - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavbarExpand / SM
+
+

SM

+ +SM + + diff --git a/api/pl.treksoft.kvision.navbar/-navbar-expand/-x-l.html b/api/pl.treksoft.kvision.navbar/-navbar-expand/-x-l.html new file mode 100644 index 00000000..ee9510dd --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar-expand/-x-l.html @@ -0,0 +1,14 @@ + + + +NavbarExpand.XL - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavbarExpand / XL
+
+

XL

+ +XL + + diff --git a/api/pl.treksoft.kvision.navbar/-navbar-expand/index.html b/api/pl.treksoft.kvision.navbar/-navbar-expand/index.html new file mode 100644 index 00000000..cfea4d56 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar-expand/index.html @@ -0,0 +1,68 @@ + + + +NavbarExpand - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavbarExpand
+
+

NavbarExpand

+enum class NavbarExpand +

Navbar responsive behavior.

+

Enum Values

+ + + + + + + + + + + + + + + + + + + + + + + +
+

ALWAYS

+
+
+

XL

+
+
+

LG

+
+
+

MD

+
+
+

SM

+
+
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + 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 deleted file mode 100644 index 8d992f06..00000000 --- a/api/pl.treksoft.kvision.navbar/-navbar-type/-s-t-a-t-i-c-t-o-p.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -NavbarType.STATICTOP - kvision - - - -kvision / pl.treksoft.kvision.navbar / NavbarType / STATICTOP
-
-

STATICTOP

- -STATICTOP - - diff --git a/api/pl.treksoft.kvision.navbar/-navbar-type/-s-t-i-c-k-y-t-o-p.html b/api/pl.treksoft.kvision.navbar/-navbar-type/-s-t-i-c-k-y-t-o-p.html new file mode 100644 index 00000000..090e65e8 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar-type/-s-t-i-c-k-y-t-o-p.html @@ -0,0 +1,14 @@ + + + +NavbarType.STICKYTOP - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavbarType / STICKYTOP
+
+

STICKYTOP

+ +STICKYTOP + + diff --git a/api/pl.treksoft.kvision.navbar/-navbar-type/index.html b/api/pl.treksoft.kvision.navbar/-navbar-type/index.html index 7b45e842..1669a6f7 100644 --- a/api/pl.treksoft.kvision.navbar/-navbar-type/index.html +++ b/api/pl.treksoft.kvision.navbar/-navbar-type/index.html @@ -29,7 +29,7 @@ -

STATICTOP

+

STICKYTOP

diff --git a/api/pl.treksoft.kvision.navbar/-navbar/-init-.html b/api/pl.treksoft.kvision.navbar/-navbar/-init-.html index 41b55304..940a76db 100644 --- a/api/pl.treksoft.kvision.navbar/-navbar/-init-.html +++ b/api/pl.treksoft.kvision.navbar/-navbar/-init-.html @@ -8,15 +8,19 @@ kvision / pl.treksoft.kvision.navbar / Navbar / <init>

<init>

- -Navbar(label: String? = null, type: NavbarType? = null, inverted: Boolean = false, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null) + +Navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null)

Parameters

label - the navbar label

type - the navbar type

-

-inverted - determines if the navbar is inverted

+

+expand - the navbar responsive behavior

+

+nColor - the navbar color

+

+bgColor - the navbar background color

classes - a set of CSS class names

diff --git a/api/pl.treksoft.kvision.navbar/-navbar/bg-color.html b/api/pl.treksoft.kvision.navbar/-navbar/bg-color.html new file mode 100644 index 00000000..f3c5e42b --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/bg-color.html @@ -0,0 +1,21 @@ + + + +Navbar.bgColor - kvision + + + +kvision / pl.treksoft.kvision.navbar / Navbar / bgColor
+
+

bgColor

+ +var bgColor: BsBgColor +

The navbar background color.

+

Getter
+

The navbar background color.

+

+

Setter
+

The navbar background color.

+

+ + diff --git a/api/pl.treksoft.kvision.navbar/-navbar/expand.html b/api/pl.treksoft.kvision.navbar/-navbar/expand.html new file mode 100644 index 00000000..03621867 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/expand.html @@ -0,0 +1,21 @@ + + + +Navbar.expand - kvision + + + +kvision / pl.treksoft.kvision.navbar / Navbar / expand
+
+

expand

+ +var expand: NavbarExpand? +

The navbar responsive behavior.

+

Getter
+

The navbar responsive behavior.

+

+

Setter
+

The navbar responsive behavior.

+

+ + diff --git a/api/pl.treksoft.kvision.navbar/-navbar/index.html b/api/pl.treksoft.kvision.navbar/-navbar/index.html index 6bd615f6..e426c87c 100644 --- a/api/pl.treksoft.kvision.navbar/-navbar/index.html +++ b/api/pl.treksoft.kvision.navbar/-navbar/index.html @@ -18,7 +18,7 @@

<init>

-Navbar(label: String? = null, type: NavbarType? = null, inverted: Boolean = false, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null) +Navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null) @@ -27,11 +27,20 @@ -

inverted

+

bgColor

-var inverted: Boolean -

Determines if the navbar is inverted.

+var bgColor: BsBgColor +

The navbar background color.

+ + + + +

expand

+ + +var expand: NavbarExpand? +

The navbar responsive behavior.

@@ -45,6 +54,15 @@ +

nColor

+ + +var nColor: NavbarColor +

The navbar color.

+ + + +

type

@@ -54,6 +72,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -145,23 +175,116 @@
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

navbar

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

-fun Container.navbar(label: String? = null, type: NavbarType? = null, inverted: Boolean = false, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -171,6 +294,686 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

nav

+
+fun Navbar.nav(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: (Nav.() -> Unit)? = null): Nav +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

navForm

+
+fun Navbar.navForm(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: (NavForm.() -> Unit)? = null): NavForm +

DSL builder extension function.

+
+

navText

+
+fun Navbar.navText(label: String, classes: Set<String> = setOf()): Span
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.navbar/-navbar/inverted.html b/api/pl.treksoft.kvision.navbar/-navbar/inverted.html deleted file mode 100644 index 233f0082..00000000 --- a/api/pl.treksoft.kvision.navbar/-navbar/inverted.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -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/n-color.html b/api/pl.treksoft.kvision.navbar/-navbar/n-color.html new file mode 100644 index 00000000..dfb8bdbd --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/n-color.html @@ -0,0 +1,21 @@ + + + +Navbar.nColor - kvision + + + +kvision / pl.treksoft.kvision.navbar / Navbar / nColor
+
+

nColor

+ +var nColor: NavbarColor +

The navbar color.

+

Getter
+

The navbar color.

+

+

Setter
+

The navbar color.

+

+ + diff --git a/api/pl.treksoft.kvision.navbar/-navbar/navbar.html b/api/pl.treksoft.kvision.navbar/-navbar/navbar.html deleted file mode 100644 index e1ce659d..00000000 --- a/api/pl.treksoft.kvision.navbar/-navbar/navbar.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Navbar.navbar - kvision - - - -kvision / pl.treksoft.kvision.navbar / Navbar / navbar
-
-

navbar

- -fun Container.navbar(label: String? = null, 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/index.html b/api/pl.treksoft.kvision.navbar/index.html index c567b7e3..aa0a0399 100644 --- a/api/pl.treksoft.kvision.navbar/index.html +++ b/api/pl.treksoft.kvision.navbar/index.html @@ -17,7 +17,7 @@

Nav

-open class Nav : Tag +open class Nav : Div

The Bootstrap Nav container.

@@ -32,6 +32,24 @@ +

NavbarColor

+ + +enum class NavbarColor +

Navbar colors.

+ + + + +

NavbarExpand

+ + +enum class NavbarExpand +

Navbar responsive behavior.

+ + + +

NavbarType

@@ -50,5 +68,62 @@ +

Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

nav

+
+fun Navbar.nav(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: (Nav.() -> Unit)? = null): Nav +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

navForm

+
+fun Navbar.navForm(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: (NavForm.() -> Unit)? = null): NavForm +

DSL builder extension function.

+
+

navLink

+
+fun Nav.navLink(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link +

DSL builder extension function for a link in a nav list.

+
+

navLinkDisabled

+
+fun Nav.navLinkDisabled(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 nav list.

+
+

navText

+
+fun Navbar.navText(label: String, classes: Set<String> = setOf()): Span
diff --git a/api/pl.treksoft.kvision.navbar/nav-form.html b/api/pl.treksoft.kvision.navbar/nav-form.html new file mode 100644 index 00000000..41b2e312 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/nav-form.html @@ -0,0 +1,16 @@ + + + +navForm - kvision + + + +kvision / pl.treksoft.kvision.navbar / 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-link-disabled.html b/api/pl.treksoft.kvision.navbar/nav-link-disabled.html new file mode 100644 index 00000000..72fc075e --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/nav-link-disabled.html @@ -0,0 +1,16 @@ + + + +navLinkDisabled - kvision + + + +kvision / pl.treksoft.kvision.navbar / navLinkDisabled
+
+

navLinkDisabled

+ +fun Nav.navLinkDisabled(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 nav list.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.navbar/nav-link.html b/api/pl.treksoft.kvision.navbar/nav-link.html new file mode 100644 index 00000000..3082a0fd --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/nav-link.html @@ -0,0 +1,16 @@ + + + +navLink - kvision + + + +kvision / pl.treksoft.kvision.navbar / navLink
+
+

navLink

+ +fun Nav.navLink(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link +

DSL builder extension function for a link in a nav list.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.navbar/nav-text.html b/api/pl.treksoft.kvision.navbar/nav-text.html new file mode 100644 index 00000000..b30a694f --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/nav-text.html @@ -0,0 +1,14 @@ + + + +navText - kvision + + + +kvision / pl.treksoft.kvision.navbar / navText
+
+

navText

+ +fun Navbar.navText(label: String, classes: Set<String> = setOf()): Span + + diff --git a/api/pl.treksoft.kvision.navbar/nav.html b/api/pl.treksoft.kvision.navbar/nav.html new file mode 100644 index 00000000..62d8d354 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/nav.html @@ -0,0 +1,16 @@ + + + +nav - kvision + + + +kvision / pl.treksoft.kvision.navbar / 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/navbar.html b/api/pl.treksoft.kvision.navbar/navbar.html new file mode 100644 index 00000000..6d001b7f --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/navbar.html @@ -0,0 +1,16 @@ + + + +navbar - kvision + + + +kvision / pl.treksoft.kvision.navbar / navbar
+
+

navbar

+ +fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, 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.pace/-pace-options/-init-.html b/api/pl.treksoft.kvision.pace/-pace-options/-init-.html index 4775faa0..c9876fa0 100644 --- a/api/pl.treksoft.kvision.pace/-pace-options/-init-.html +++ b/api/pl.treksoft.kvision.pace/-pace-options/-init-.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.pace / PaceOptions / <init>

<init>

- -PaceOptions(ajax: PaceAjaxOptions? = null, catchupTime: Int? = null, easeFactor: Double? = null, elements: PaceElementsOptions? = null, eventLag: PaceEventLagOptions? = null, ghostTime: Int? = null, initialRate: Double? = null, maxProgressPerFrame: Int? = null, minTime: Int? = null, restartOnPushState: Boolean? = null, restartOnRequestAfter: Double? = null, startOnPageLoad: Boolean? = null, target: String? = null) + +PaceOptions(ajax: PaceAjaxOptions? = null, catchupTime: Int? = null, easeFactor: Double? = null, elements: PaceElementsOptions? = null, eventLag: PaceEventLagOptions? = null, ghostTime: Int? = null, initialRate: Double? = null, maxProgressPerFrame: Int? = null, minTime: Int? = null, restartOnPushState: Boolean? = null, restartOnRequestAfter: Double? = null, startOnPageLoad: Boolean? = null, target: String? = null, manual: Boolean = false) diff --git a/api/pl.treksoft.kvision.pace/-pace-options/index.html b/api/pl.treksoft.kvision.pace/-pace-options/index.html index 94e0c2f2..33655bf0 100644 --- a/api/pl.treksoft.kvision.pace/-pace-options/index.html +++ b/api/pl.treksoft.kvision.pace/-pace-options/index.html @@ -17,7 +17,7 @@

<init>

-PaceOptions(ajax: PaceAjaxOptions? = null, catchupTime: Int? = null, easeFactor: Double? = null, elements: PaceElementsOptions? = null, eventLag: PaceEventLagOptions? = null, ghostTime: Int? = null, initialRate: Double? = null, maxProgressPerFrame: Int? = null, minTime: Int? = null, restartOnPushState: Boolean? = null, restartOnRequestAfter: Double? = null, startOnPageLoad: Boolean? = null, target: String? = null) +PaceOptions(ajax: PaceAjaxOptions? = null, catchupTime: Int? = null, easeFactor: Double? = null, elements: PaceElementsOptions? = null, eventLag: PaceEventLagOptions? = null, ghostTime: Int? = null, initialRate: Double? = null, maxProgressPerFrame: Int? = null, minTime: Int? = null, restartOnPushState: Boolean? = null, restartOnRequestAfter: Double? = null, startOnPageLoad: Boolean? = null, target: String? = null, manual: Boolean = false) diff --git a/api/pl.treksoft.kvision.pace/-pace/hide.html b/api/pl.treksoft.kvision.pace/-pace/hide.html new file mode 100644 index 00000000..c6aa91c3 --- /dev/null +++ b/api/pl.treksoft.kvision.pace/-pace/hide.html @@ -0,0 +1,14 @@ + + + +Pace.hide - kvision + + + +kvision / pl.treksoft.kvision.pace / Pace / hide
+
+

hide

+ +fun hide(): Unit + + diff --git a/api/pl.treksoft.kvision.pace/-pace/index.html b/api/pl.treksoft.kvision.pace/-pace/index.html index 8f7485cc..7bb29304 100644 --- a/api/pl.treksoft.kvision.pace/-pace/index.html +++ b/api/pl.treksoft.kvision.pace/-pace/index.html @@ -26,6 +26,13 @@ +

hide

+ + +fun hide(): Unit + + +

init

@@ -47,6 +54,13 @@ +

show

+ + +fun show(): Unit + + +

start

diff --git a/api/pl.treksoft.kvision.pace/-pace/show.html b/api/pl.treksoft.kvision.pace/-pace/show.html new file mode 100644 index 00000000..4deab8c0 --- /dev/null +++ b/api/pl.treksoft.kvision.pace/-pace/show.html @@ -0,0 +1,14 @@ + + + +Pace.show - kvision + + + +kvision / pl.treksoft.kvision.pace / Pace / show
+
+

show

+ +fun show(): Unit + + diff --git a/api/pl.treksoft.kvision.panel/-dock-panel/dock-panel.html b/api/pl.treksoft.kvision.panel/-dock-panel/dock-panel.html deleted file mode 100644 index 89218668..00000000 --- a/api/pl.treksoft.kvision.panel/-dock-panel/dock-panel.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -DockPanel.dockPanel - kvision - - - -kvision / pl.treksoft.kvision.panel / DockPanel / dockPanel
-
-

dockPanel

- -fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.panel/-dock-panel/index.html b/api/pl.treksoft.kvision.panel/-dock-panel/index.html index 04552d68..da2cfa4d 100644 --- a/api/pl.treksoft.kvision.panel/-dock-panel/index.html +++ b/api/pl.treksoft.kvision.panel/-dock-panel/index.html @@ -22,6 +22,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -115,23 +127,116 @@
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

dockPanel

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -141,6 +246,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.panel/-flex-panel/flex-panel.html b/api/pl.treksoft.kvision.panel/-flex-panel/flex-panel.html deleted file mode 100644 index 0a3f453a..00000000 --- a/api/pl.treksoft.kvision.panel/-flex-panel/flex-panel.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -FlexPanel.flexPanel - kvision - - - -kvision / pl.treksoft.kvision.panel / FlexPanel / flexPanel
-
-

flexPanel

- -fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.panel/-flex-panel/index.html b/api/pl.treksoft.kvision.panel/-flex-panel/index.html index 28644f6d..47550f16 100644 --- a/api/pl.treksoft.kvision.panel/-flex-panel/index.html +++ b/api/pl.treksoft.kvision.panel/-flex-panel/index.html @@ -81,6 +81,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -174,23 +186,116 @@
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

flexPanel

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -200,6 +305,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+

Inheritors

diff --git a/api/pl.treksoft.kvision.panel/-grid-panel/grid-panel.html b/api/pl.treksoft.kvision.panel/-grid-panel/grid-panel.html deleted file mode 100644 index 89ed06bf..00000000 --- a/api/pl.treksoft.kvision.panel/-grid-panel/grid-panel.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -GridPanel.gridPanel - kvision - - - -kvision / pl.treksoft.kvision.panel / GridPanel / gridPanel
-
-

gridPanel

- -fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.panel/-grid-panel/index.html b/api/pl.treksoft.kvision.panel/-grid-panel/index.html index 56fac285..fc8c5181 100644 --- a/api/pl.treksoft.kvision.panel/-grid-panel/index.html +++ b/api/pl.treksoft.kvision.panel/-grid-panel/index.html @@ -135,6 +135,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -228,23 +240,116 @@
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

gridPanel

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -254,6 +359,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.panel/-grid-size/-x-l.html b/api/pl.treksoft.kvision.panel/-grid-size/-x-l.html new file mode 100644 index 00000000..7f066064 --- /dev/null +++ b/api/pl.treksoft.kvision.panel/-grid-size/-x-l.html @@ -0,0 +1,14 @@ + + + +GridSize.XL - kvision + + + +kvision / pl.treksoft.kvision.panel / GridSize / XL
+
+

XL

+ +XL + + diff --git a/api/pl.treksoft.kvision.panel/-grid-size/-x-s.html b/api/pl.treksoft.kvision.panel/-grid-size/-x-s.html deleted file mode 100644 index 1527bae4..00000000 --- a/api/pl.treksoft.kvision.panel/-grid-size/-x-s.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -GridSize.XS - kvision - - - -kvision / pl.treksoft.kvision.panel / GridSize / XS
-
-

XS

- -XS - - diff --git a/api/pl.treksoft.kvision.panel/-grid-size/index.html b/api/pl.treksoft.kvision.panel/-grid-size/index.html index 77c28afc..05306974 100644 --- a/api/pl.treksoft.kvision.panel/-grid-size/index.html +++ b/api/pl.treksoft.kvision.panel/-grid-size/index.html @@ -15,28 +15,28 @@ -

XS

+

SM

-

SM

+

MD

-

MD

+

LG

-

LG

+

XL

diff --git a/api/pl.treksoft.kvision.panel/-grid-wrapper/index.html b/api/pl.treksoft.kvision.panel/-grid-wrapper/index.html index ab2c1c58..a4292cb1 100644 --- a/api/pl.treksoft.kvision.panel/-grid-wrapper/index.html +++ b/api/pl.treksoft.kvision.panel/-grid-wrapper/index.html @@ -66,6 +66,113 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + + +

bold

+ + +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+ + + + +

button

+ + +fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+ + + + +

buttonGroup

+ + +fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+ + + + +

canvas

+ + +fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+ + + + +

chart

+ + +fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+ + + + +

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.

+ + + + +

checkBoxInput

+ + +fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+ + + + +

contextMenu

+ + +fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +

DSL builder extension function.

+ + + +

createInstance

@@ -73,6 +180,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

dataContainer

+ + +fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+ + + + +

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.

+ + + + +

dateTimeInput

+ + +fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+ + + + +

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.

+ + + + +

dockPanel

+ + +fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+ + + + +

dropDown

+ + +fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+ + + + +

fieldLabel

+ + +fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+ + + + +

flexPanel

+ + +fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+ + + + +

footer

+ + +fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+ + + + +

formPanel

+ + +fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+ + + + +

gridPanel

+ + +fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+ + + + +

h1

+ + +fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+ + + + +

h2

+ + +fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+ + + + +

h3

+ + +fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+ + + + +

h4

+ + +fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+ + + + +

h5

+ + +fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+ + + + +

h6

+ + +fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+ + + + +

header

+ + +fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+ + + + +

hPanel

+ + +fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+ + + + +

icon

+ + +fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+ + + + +

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.

+ + + + +

image

+ + +fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+ + + + +

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.

+ + + + +

listTag

+ + +fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+ + + + +

navbar

+ + +fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+ + + + +

p

+ + +fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+ + + + +

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.

+ + + + +

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.

+ + + + +

radio

+ + +fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+ + + + +

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.

+ + + + +

radioGroupInput

+ + +fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+ + + + +

radioInput

+ + +fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+ + + + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit + + + +

responsiveGridPanel

+ + +fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+ + + + +

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.

+ + + + +

richTextInput

+ + +fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+ + + + +

section

+ + +fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+ + + + +

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.

+ + + + +

selectInput

+ + +fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+ + + + +

selectRemote

+ + +fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+ + + + +

selectRemoteInput

+ + +fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+ + + + +

setContextMenu

+ + +fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+ + + + +

simplePanel

+ + +fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+ + + + +

simpleSelect

+ + +fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+ + + + +

simpleSelectInput

+ + +fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+ + + + +

span

+ + +fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+ + + + +

spinner

+ + +fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+ + + + +

spinnerInput

+ + +fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+ + + + +

splitPanel

+ + +fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+ + + + +

stackPanel

+ + +fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+ + + + +

stateBinding

+ + +fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+ + + + +

stateUpdate

+ + +fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+ + + + +

style

+ + +fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+ + + + +

table

+ + +fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+ + + + +

tabPanel

+ + +fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+ + + + +

tabulator

+ + +fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+ + + + +

tabulatorRemote

+ + +fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+ + + + +

tag

+ + +fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+ + + + +

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.

+ + + + +

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.

+ + + + +

textAreaInput

+ + +fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+ + + + +

textInput

+ + +fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+ + + + +

toolbar

+ + +fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+ + + + +

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.

+ + + + +

uploadInput

+ + +fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+ + + + +

vPanel

+ + +fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+ + + + +

widget

+ + +fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+ + + + +

widgetWrapper

+ + +fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+ + + + +

window

+ + +fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+ + diff --git a/api/pl.treksoft.kvision.panel/-h-panel/h-panel.html b/api/pl.treksoft.kvision.panel/-h-panel/h-panel.html deleted file mode 100644 index 75ffb0d5..00000000 --- a/api/pl.treksoft.kvision.panel/-h-panel/h-panel.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -HPanel.hPanel - kvision - - - -kvision / pl.treksoft.kvision.panel / HPanel / hPanel
-
-

hPanel

- -fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.panel/-h-panel/index.html b/api/pl.treksoft.kvision.panel/-h-panel/index.html index c0e9441f..ded66628 100644 --- a/api/pl.treksoft.kvision.panel/-h-panel/index.html +++ b/api/pl.treksoft.kvision.panel/-h-panel/index.html @@ -134,23 +134,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

hPanel

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -160,6 +253,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.panel/-responsive-grid-panel/index.html b/api/pl.treksoft.kvision.panel/-responsive-grid-panel/index.html index 155484bc..875d25a3 100644 --- a/api/pl.treksoft.kvision.panel/-responsive-grid-panel/index.html +++ b/api/pl.treksoft.kvision.panel/-responsive-grid-panel/index.html @@ -36,6 +36,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -129,23 +141,116 @@
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

responsiveGridPanel

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -155,6 +260,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.panel/-responsive-grid-panel/responsive-grid-panel.html b/api/pl.treksoft.kvision.panel/-responsive-grid-panel/responsive-grid-panel.html deleted file mode 100644 index 36fae42a..00000000 --- a/api/pl.treksoft.kvision.panel/-responsive-grid-panel/responsive-grid-panel.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -ResponsiveGridPanel.responsiveGridPanel - kvision - - - -kvision / pl.treksoft.kvision.panel / ResponsiveGridPanel / responsiveGridPanel
-
-

responsiveGridPanel

- -fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.panel/-root/-init-.html b/api/pl.treksoft.kvision.panel/-root/-init-.html index 783c11cd..4369a710 100644 --- a/api/pl.treksoft.kvision.panel/-root/-init-.html +++ b/api/pl.treksoft.kvision.panel/-root/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.panel / Root / <init>

<init>

- -Root(id: String? = null, element: <ERROR CLASS>? = null, fixed: Boolean = false, init: (Root.() -> Unit)? = null) + +Root(id: String, fixed: Boolean = false, init: (Root.() -> Unit)? = null)

Parameters

id - ID attribute of element in the main HTML file

@@ -20,5 +20,17 @@ otherwise it's rendered with "container" class (default is false)

init - an initializer extension function

Constructor

+ +Root(element: <ERROR CLASS>, fixed: Boolean = false, init: (Root.() -> Unit)? = null) +

Parameters

+

+element - HTML element in the DOM tree

+

+fixed - if false, the container is rendered with Bootstrap "container-fluid" class, +otherwise it's rendered with "container" class (default is false)

+

+init - an initializer extension function

+

Constructor
+

diff --git a/api/pl.treksoft.kvision.panel/-root/add-context-menu.html b/api/pl.treksoft.kvision.panel/-root/add-context-menu.html new file mode 100644 index 00000000..16ba6af6 --- /dev/null +++ b/api/pl.treksoft.kvision.panel/-root/add-context-menu.html @@ -0,0 +1,14 @@ + + + +Root.addContextMenu - kvision + + + +kvision / pl.treksoft.kvision.panel / Root / addContextMenu
+
+

addContextMenu

+ +fun addContextMenu(contextMenu: Widget): Unit + + diff --git a/api/pl.treksoft.kvision.panel/-root/index.html b/api/pl.treksoft.kvision.panel/-root/index.html index 99089a94..2b43dd6e 100644 --- a/api/pl.treksoft.kvision.panel/-root/index.html +++ b/api/pl.treksoft.kvision.panel/-root/index.html @@ -21,7 +21,8 @@ Snabbdom virtual DOM.

<init>

-Root(id: String? = null, element: <ERROR CLASS>? = null, fixed: Boolean = false, init: (Root.() -> Unit)? = null) +Root(id: String, fixed: Boolean = false, init: (Root.() -> Unit)? = null)
+Root(element: <ERROR CLASS>, fixed: Boolean = false, init: (Root.() -> Unit)? = null) @@ -37,11 +38,30 @@ Snabbdom virtual DOM.

+

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

addContextMenu

+
+fun addContextMenu(contextMenu: Widget): Unit

getRoot

@@ -140,6 +160,113 @@ Snabbdom virtual DOM.

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +

DSL builder extension function.

+

createInstance

@@ -147,6 +274,661 @@ Snabbdom virtual DOM.

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.panel/-simple-panel/children.html b/api/pl.treksoft.kvision.panel/-simple-panel/children.html new file mode 100644 index 00000000..5d01b469 --- /dev/null +++ b/api/pl.treksoft.kvision.panel/-simple-panel/children.html @@ -0,0 +1,14 @@ + + + +SimplePanel.children - kvision + + + +kvision / pl.treksoft.kvision.panel / SimplePanel / children
+
+

children

+ +protected val children: MutableList<Component> + + diff --git a/api/pl.treksoft.kvision.panel/-simple-panel/index.html b/api/pl.treksoft.kvision.panel/-simple-panel/index.html index f1ad6780..8ba779b7 100644 --- a/api/pl.treksoft.kvision.panel/-simple-panel/index.html +++ b/api/pl.treksoft.kvision.panel/-simple-panel/index.html @@ -22,6 +22,18 @@ +

Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Inherited Properties

@@ -91,6 +103,15 @@ + + + + - - - -
+

tabindex

+
+var tabindex: Int? +

A tabindex attribute of generated HTML element.

+

title

@@ -481,15 +502,6 @@
-

setContextMenu

-
-open fun setContextMenu(contextMenu: ContextMenu): Widget -

Sets context menu for the current widget.

-

setDragDropData

@@ -579,23 +591,116 @@
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

simplePanel

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - - -

createInstance

@@ -605,45 +710,709 @@

Helper function for creating JavaScript objects from dynamic constructors.

-

Inheritors

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-

AbstractText

+

dataContainer

-abstract class AbstractText : SimplePanel, StringFormControl -

Base class for form field text components.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

-

ButtonGroup

+

dateTime

-open class ButtonGroup : SimplePanel -

The Bootstrap button group.

+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.

-

CheckBox

+

dateTimeInput

-open class CheckBox : SimplePanel, BoolFormControl -

The form field component rendered as HTML input type="checkbox".

+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

-

DateTime

+

div

-open class DateTime : SimplePanel, DateFormControl -

Form field date/time chooser component.

+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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
+

Inheritors

+ + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.panel/-simple-panel/simple-panel.html b/api/pl.treksoft.kvision.panel/-simple-panel/simple-panel.html deleted file mode 100644 index 1b3114c7..00000000 --- a/api/pl.treksoft.kvision.panel/-simple-panel/simple-panel.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -SimplePanel.simplePanel - kvision - - - -kvision / pl.treksoft.kvision.panel / SimplePanel / simplePanel
-
-

simplePanel

- -fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.panel/-split-panel/index.html b/api/pl.treksoft.kvision.panel/-split-panel/index.html index 3aadf1d1..a2225315 100644 --- a/api/pl.treksoft.kvision.panel/-split-panel/index.html +++ b/api/pl.treksoft.kvision.panel/-split-panel/index.html @@ -24,6 +24,18 @@ rendered as empty.

+

AbstractText

+
+abstract class AbstractText : SimplePanel, StringFormControl +

Base class for form field text components.

+
+

ButtonGroup

+
+open class ButtonGroup : SimplePanel +

The Bootstrap button group.

+
+

CheckBox

+
+open class CheckBox : SimplePanel, BoolFormControl +

The form field component rendered as HTML input type="checkbox".

+
+

DateTime

+
+open class DateTime : SimplePanel, DateFormControl +

Form field date/time chooser component.

+
+

DateTimeInput

+
+open class DateTimeInput : SimplePanel, FormInput +

Basic date/time chooser component.

+

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -106,23 +118,116 @@ rendered as empty.

-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

splitPanel

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -132,6 +237,661 @@ rendered as empty.

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.panel/-split-panel/split-panel.html b/api/pl.treksoft.kvision.panel/-split-panel/split-panel.html deleted file mode 100644 index 42eeaddf..00000000 --- a/api/pl.treksoft.kvision.panel/-split-panel/split-panel.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -SplitPanel.splitPanel - kvision - - - -kvision / pl.treksoft.kvision.panel / SplitPanel / splitPanel
-
-

splitPanel

- -fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.panel/-stack-panel/index.html b/api/pl.treksoft.kvision.panel/-stack-panel/index.html index dcc525ac..07ff6ee5 100644 --- a/api/pl.treksoft.kvision.panel/-stack-panel/index.html +++ b/api/pl.treksoft.kvision.panel/-stack-panel/index.html @@ -46,6 +46,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -130,23 +142,116 @@
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

stackPanel

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -156,6 +261,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.panel/-stack-panel/stack-panel.html b/api/pl.treksoft.kvision.panel/-stack-panel/stack-panel.html deleted file mode 100644 index 6da01851..00000000 --- a/api/pl.treksoft.kvision.panel/-stack-panel/stack-panel.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -StackPanel.stackPanel - kvision - - - -kvision / pl.treksoft.kvision.panel / StackPanel / stackPanel
-
-

stackPanel

- -fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.panel/-tab-panel/index.html b/api/pl.treksoft.kvision.panel/-tab-panel/index.html index d8db44dd..db1d2dc2 100644 --- a/api/pl.treksoft.kvision.panel/-tab-panel/index.html +++ b/api/pl.treksoft.kvision.panel/-tab-panel/index.html @@ -37,6 +37,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -155,23 +167,116 @@
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

tabPanel

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -181,6 +286,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.panel/-tab-panel/tab-panel.html b/api/pl.treksoft.kvision.panel/-tab-panel/tab-panel.html deleted file mode 100644 index 5791988b..00000000 --- a/api/pl.treksoft.kvision.panel/-tab-panel/tab-panel.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -TabPanel.tabPanel - kvision - - - -kvision / pl.treksoft.kvision.panel / TabPanel / tabPanel
-
-

tabPanel

- -fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.panel/-v-panel/index.html b/api/pl.treksoft.kvision.panel/-v-panel/index.html index 8be17ba1..c418f58b 100644 --- a/api/pl.treksoft.kvision.panel/-v-panel/index.html +++ b/api/pl.treksoft.kvision.panel/-v-panel/index.html @@ -134,23 +134,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

vPanel

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -160,6 +253,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.panel/-v-panel/v-panel.html b/api/pl.treksoft.kvision.panel/-v-panel/v-panel.html deleted file mode 100644 index 74fa9589..00000000 --- a/api/pl.treksoft.kvision.panel/-v-panel/v-panel.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -VPanel.vPanel - kvision - - - -kvision / pl.treksoft.kvision.panel / VPanel / vPanel
-
-

vPanel

- -fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.panel/dock-panel.html b/api/pl.treksoft.kvision.panel/dock-panel.html new file mode 100644 index 00000000..b23dd0f3 --- /dev/null +++ b/api/pl.treksoft.kvision.panel/dock-panel.html @@ -0,0 +1,16 @@ + + + +dockPanel - kvision + + + +kvision / pl.treksoft.kvision.panel / dockPanel
+
+

dockPanel

+ +fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.panel/flex-panel.html b/api/pl.treksoft.kvision.panel/flex-panel.html new file mode 100644 index 00000000..ec309b19 --- /dev/null +++ b/api/pl.treksoft.kvision.panel/flex-panel.html @@ -0,0 +1,16 @@ + + + +flexPanel - kvision + + + +kvision / pl.treksoft.kvision.panel / flexPanel
+
+

flexPanel

+ +fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.panel/grid-panel.html b/api/pl.treksoft.kvision.panel/grid-panel.html new file mode 100644 index 00000000..6ca35a0f --- /dev/null +++ b/api/pl.treksoft.kvision.panel/grid-panel.html @@ -0,0 +1,16 @@ + + + +gridPanel - kvision + + + +kvision / pl.treksoft.kvision.panel / gridPanel
+
+

gridPanel

+ +fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.panel/h-panel.html b/api/pl.treksoft.kvision.panel/h-panel.html new file mode 100644 index 00000000..f36b8c7d --- /dev/null +++ b/api/pl.treksoft.kvision.panel/h-panel.html @@ -0,0 +1,16 @@ + + + +hPanel - kvision + + + +kvision / pl.treksoft.kvision.panel / hPanel
+
+

hPanel

+ +fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.panel/index.html b/api/pl.treksoft.kvision.panel/index.html index 06599ad0..74fb69ff 100644 --- a/api/pl.treksoft.kvision.panel/index.html +++ b/api/pl.treksoft.kvision.panel/index.html @@ -256,5 +256,111 @@ CSS grid and Bootstrap responsive 12 columns gid).

+

Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

root

+
+fun Application.root(id: String, fixed: Boolean = false, init: Root.() -> Unit): Root +

Create new Root container based on ID

+fun Application.root(element: <ERROR CLASS>, fixed: Boolean = false, init: Root.() -> Unit): Root +

Create new Root container based on HTML element

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.panel/responsive-grid-panel.html b/api/pl.treksoft.kvision.panel/responsive-grid-panel.html new file mode 100644 index 00000000..a92867db --- /dev/null +++ b/api/pl.treksoft.kvision.panel/responsive-grid-panel.html @@ -0,0 +1,16 @@ + + + +responsiveGridPanel - kvision + + + +kvision / pl.treksoft.kvision.panel / responsiveGridPanel
+
+

responsiveGridPanel

+ +fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.panel/root.html b/api/pl.treksoft.kvision.panel/root.html new file mode 100644 index 00000000..8168f5b8 --- /dev/null +++ b/api/pl.treksoft.kvision.panel/root.html @@ -0,0 +1,38 @@ + + + +root - kvision + + + +kvision / pl.treksoft.kvision.panel / root
+
+

root

+ +fun Application.root(id: String, fixed: Boolean = false, init: Root.() -> Unit): Root +

Create new Root container based on ID

+

Parameters

+

+id - ID attribute of element in the main HTML file

+

+fixed - if false, the container is rendered with Bootstrap "container-fluid" class, +otherwise it's rendered with "container" class (default is false)

+

+init - an initializer extension function

+

Return
+the created Root container

+ +fun Application.root(element: <ERROR CLASS>, fixed: Boolean = false, init: Root.() -> Unit): Root +

Create new Root container based on HTML element

+

Parameters

+

+element - HTML element in the DOM tree

+

+fixed - if false, the container is rendered with Bootstrap "container-fluid" class, +otherwise it's rendered with "container" class (default is false)

+

+init - an initializer extension function

+

Return
+the created Root container

+ + diff --git a/api/pl.treksoft.kvision.panel/simple-panel.html b/api/pl.treksoft.kvision.panel/simple-panel.html new file mode 100644 index 00000000..6e458c35 --- /dev/null +++ b/api/pl.treksoft.kvision.panel/simple-panel.html @@ -0,0 +1,16 @@ + + + +simplePanel - kvision + + + +kvision / pl.treksoft.kvision.panel / simplePanel
+
+

simplePanel

+ +fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.panel/split-panel.html b/api/pl.treksoft.kvision.panel/split-panel.html new file mode 100644 index 00000000..34ca8a5b --- /dev/null +++ b/api/pl.treksoft.kvision.panel/split-panel.html @@ -0,0 +1,16 @@ + + + +splitPanel - kvision + + + +kvision / pl.treksoft.kvision.panel / splitPanel
+
+

splitPanel

+ +fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.panel/stack-panel.html b/api/pl.treksoft.kvision.panel/stack-panel.html new file mode 100644 index 00000000..f654487e --- /dev/null +++ b/api/pl.treksoft.kvision.panel/stack-panel.html @@ -0,0 +1,16 @@ + + + +stackPanel - kvision + + + +kvision / pl.treksoft.kvision.panel / stackPanel
+
+

stackPanel

+ +fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.panel/tab-panel.html b/api/pl.treksoft.kvision.panel/tab-panel.html new file mode 100644 index 00000000..ae5248a2 --- /dev/null +++ b/api/pl.treksoft.kvision.panel/tab-panel.html @@ -0,0 +1,16 @@ + + + +tabPanel - kvision + + + +kvision / pl.treksoft.kvision.panel / tabPanel
+
+

tabPanel

+ +fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.panel/v-panel.html b/api/pl.treksoft.kvision.panel/v-panel.html new file mode 100644 index 00000000..263b84cb --- /dev/null +++ b/api/pl.treksoft.kvision.panel/v-panel.html @@ -0,0 +1,16 @@ + + + +vPanel - kvision + + + +kvision / pl.treksoft.kvision.panel / vPanel
+
+

vPanel

+ +fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

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/index.html b/api/pl.treksoft.kvision.progress/-progress-bar/index.html index 747f7bdd..075c1e79 100644 --- a/api/pl.treksoft.kvision.progress/-progress-bar/index.html +++ b/api/pl.treksoft.kvision.progress/-progress-bar/index.html @@ -108,6 +108,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Inherited Functions

@@ -185,23 +197,116 @@
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

progressBar

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-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 +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -211,6 +316,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.progress/-progress-bar/progress-bar.html b/api/pl.treksoft.kvision.progress/-progress-bar/progress-bar.html deleted file mode 100644 index b3360113..00000000 --- a/api/pl.treksoft.kvision.progress/-progress-bar/progress-bar.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -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/index.html b/api/pl.treksoft.kvision.progress/index.html index fc809426..ffade78e 100644 --- a/api/pl.treksoft.kvision.progress/index.html +++ b/api/pl.treksoft.kvision.progress/index.html @@ -32,5 +32,19 @@ +

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.html b/api/pl.treksoft.kvision.progress/progress-bar.html new file mode 100644 index 00000000..3a7fa74a --- /dev/null +++ b/api/pl.treksoft.kvision.progress/progress-bar.html @@ -0,0 +1,16 @@ + + + +progressBar - kvision + + + +kvision / pl.treksoft.kvision.progress / 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.redux/-redux-store/get-state.html b/api/pl.treksoft.kvision.redux/-redux-store/get-state.html index bf7d9205..fc8d0f34 100644 --- a/api/pl.treksoft.kvision.redux/-redux-store/get-state.html +++ b/api/pl.treksoft.kvision.redux/-redux-store/get-state.html @@ -10,6 +10,5 @@

getState

fun getState(): S -

Returns the current state.

diff --git a/api/pl.treksoft.kvision.redux/-redux-store/index.html b/api/pl.treksoft.kvision.redux/-redux-store/index.html index 12e6bab4..df931e5f 100644 --- a/api/pl.treksoft.kvision.redux/-redux-store/index.html +++ b/api/pl.treksoft.kvision.redux/-redux-store/index.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.redux / ReduxStore

ReduxStore

-class ReduxStore<S : Any, A : RAction> +class ReduxStore<S : Any, A : RAction> : ObservableState<S>

A class implementing redux pattern backed by the Redux Kotlin library.

Constructors

@@ -45,17 +45,15 @@

getState

+fun getState(): S diff --git a/api/pl.treksoft.kvision.redux/-redux-store/subscribe.html b/api/pl.treksoft.kvision.redux/-redux-store/subscribe.html index 55376e06..71c9fc52 100644 --- a/api/pl.treksoft.kvision.redux/-redux-store/subscribe.html +++ b/api/pl.treksoft.kvision.redux/-redux-store/subscribe.html @@ -9,7 +9,8 @@

subscribe

-fun subscribe(listener: (S) -> Unit): () -> Unit -

Subscribes a client for the change state notifications.

+fun subscribe(observer: (S) -> Unit): () -> Unit +

Overrides ObservableState.subscribe

+

Subscribe for the state change notifications.

diff --git a/api/pl.treksoft.kvision.redux/-state-binding/-init-.html b/api/pl.treksoft.kvision.redux/-state-binding/-init-.html deleted file mode 100644 index 6f7b723f..00000000 --- a/api/pl.treksoft.kvision.redux/-state-binding/-init-.html +++ /dev/null @@ -1,30 +0,0 @@ - - - -StateBinding.<init> - kvision - - - -kvision / pl.treksoft.kvision.redux / StateBinding / <init>
-
-

<init>

- -StateBinding(store: ReduxStore<S, A>, container: CONT, factory: CONT.(S) -> CONTENT) -

Creates StateBinding which binds the redux store with the given container.

-

Parameters

-

-S - redux state type

-

-A - redux action type

-

-CONT - container type

-

-store - a redux store

-

-container - a container

-

-factory - a function which re-creates the view based on the given state

-

Constructor
-Creates StateBinding which binds the redux store with the given container.

- - diff --git a/api/pl.treksoft.kvision.redux/-state-binding/index.html b/api/pl.treksoft.kvision.redux/-state-binding/index.html deleted file mode 100644 index 8e2efb86..00000000 --- a/api/pl.treksoft.kvision.redux/-state-binding/index.html +++ /dev/null @@ -1,551 +0,0 @@ - - - -StateBinding - kvision - - - -kvision / pl.treksoft.kvision.redux / StateBinding
-
-

StateBinding

-class StateBinding<S : Any, A : RAction, CONT : Container, CONTENT> : Widget -

A class which binds the redux store with the given container.

-

Constructors

-
-fun getState(): S -

Returns the current state.

-

subscribe

-fun subscribe(listener: (S) -> Unit): () -> Unit -

Subscribes a client for the change state notifications.

+fun subscribe(observer: (S) -> Unit): () -> Unit +

Subscribe for the state change notifications.

- - - - - - -
-

<init>

-
-StateBinding(store: ReduxStore<S, A>, container: CONT, factory: CONT.(S) -> CONTENT) -

Creates StateBinding which binds the redux store with the given container.

-
-

Inherited Properties

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

draggable

-
-var draggable: Boolean? -

Determines if the current widget is draggable.

-
-

eventTarget

-
-var eventTarget: Widget?
-

id

-
-var id: String? -

An ID attribute of generated HTML element.

-
-

lastLanguage

-
-var lastLanguage: String?
-

parent

-
-open var parent: Container? -

Parent of the current component.

-
-

popoverOptions

-
-var popoverOptions: PopoverOptions?
-

role

-
-var role: String? -

A role attribute of generated HTML element.

-
-

surroundingSpan

-
-var surroundingSpan: Boolean
-

title

-
-var title: String? -

A title attribute of generated HTML element.

-
-

tooltipOptions

-
-var tooltipOptions: TooltipOptions?
-

visible

-
-open var visible: Boolean -

Visibility state of the current component.

-
-

vnode

-
-var vnode: VNode?
-

Functions

- - - - - - - -
-

update

-
-fun update(state: S): Unit -

Updates view from the current state.

-
-

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.

-open fun addCssClass(css: Style): Widget -

Adds given style object 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.

-open fun addSurroundingCssClass(css: Style): Widget -

Adds given style object 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.

-
-

clearDragDropData

-
-open fun clearDragDropData(): Unit -

Clears D&D data for the current widget. It also makes it not draggable.

-
-

disablePopover

-
-open fun disablePopover(): Widget -

Disables popover for the current widget.

-
-

disableTooltip

-
-open fun disableTooltip(): Widget -

Disables tooltip for the current widget.

-
-

dispatchEvent

-
-open fun dispatchEvent(type: String, eventInitDict: CustomEventInit): Boolean?
-

enablePopover

-
-open fun enablePopover(options: PopoverOptions = PopoverOptions()): Widget -

Enables popover for the current widget.

-
-

enableTooltip

-
-open fun enableTooltip(options: TooltipOptions = TooltipOptions()): Widget -

Enables tooltip for the current widget.

-
-

getAttribute

-
-open fun getAttribute(name: String): String? -

Returns the value of an additional attribute.

-
-

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.

-
-

hidePopover

-
-open fun hidePopover(): Widget -

Hides popover for the current widget.

-
-

hideTooltip

-
-open fun hideTooltip(): Widget -

Hides tooltip for the current widget.

-
-

refreshOnUpdate

-
-fun <T> refreshOnUpdate(refreshFunction: (T) -> Unit = { this.refresh() }): Widget.RefreshDelegateProvider<T>
-fun <T> refreshOnUpdate(initialValue: T, refreshFunction: (T) -> Unit = { this.refresh() }): Widget.RefreshDelegateProvider<T>
-

removeAttribute

-
-open fun removeAttribute(name: String): Widget -

Removes the value of additional attribute.

-
-

removeCssClass

-
-open fun removeCssClass(css: String): Widget -

Removes given value from the set of CSS classes generated in html code of current component.

-open fun removeCssClass(css: Style): Widget -

Removes given style object 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.

-open fun removeSurroundingCssClass(css: Style): Widget -

Removes given style object from the set of CSS classes generated in html code of parent component.

-
-

render

-
-open fun render(): VNode
-open fun render(elementName: String): VNode
-open fun render(elementName: String, children: Array<dynamic>): VNode -

Renders current component as a Snabbdom vnode.

-
-

setAttribute

-
-open fun setAttribute(name: String, value: String): Widget -

Sets the value of additional attribute.

-
-

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.

-
-

showPopover

-
-open fun showPopover(): Widget -

Shows popover for the current widget.

-
-

showTooltip

-
-open fun showTooltip(): Widget -

Shows tooltip for the current widget.

-
-

singleRender

-
-fun <T> singleRender(block: () -> T): T
-

toggleVisible

-
-open fun toggleVisible(): Widget -

Toggles visibility of current widget.

-
-

translate

-
-fun translate(text: String?): String?
-

Companion Object Functions

- - - - - - - - - - - -
-

stateBinding

-
-fun <S : Any, A : RAction, CONT : Container> CONT.stateBinding(store: ReduxStore<S, A>, factory: CONT.(S) -> Unit): StateBinding<S, A, CONT, Unit> -

DSL builder extension function.

-
-

stateUpdate

-
-fun <S : Any, A : RAction, CONT : Container, CONTENT> CONT.stateUpdate(store: ReduxStore<S, A>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> -

DSL builder extension function for updateable redux content.

-
-

Extension Functions

- - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
- - diff --git a/api/pl.treksoft.kvision.redux/-state-binding/state-binding.html b/api/pl.treksoft.kvision.redux/-state-binding/state-binding.html deleted file mode 100644 index 3a053ecc..00000000 --- a/api/pl.treksoft.kvision.redux/-state-binding/state-binding.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -StateBinding.stateBinding - kvision - - - -kvision / pl.treksoft.kvision.redux / StateBinding / stateBinding
-
-

stateBinding

- -fun <S : Any, A : RAction, CONT : Container> CONT.stateBinding(store: ReduxStore<S, A>, factory: CONT.(S) -> Unit): StateBinding<S, A, CONT, Unit> -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.redux/-state-binding/state-update.html b/api/pl.treksoft.kvision.redux/-state-binding/state-update.html deleted file mode 100644 index 1fba675f..00000000 --- a/api/pl.treksoft.kvision.redux/-state-binding/state-update.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -StateBinding.stateUpdate - kvision - - - -kvision / pl.treksoft.kvision.redux / StateBinding / stateUpdate
-
-

stateUpdate

- -fun <S : Any, A : RAction, CONT : Container, CONTENT> CONT.stateUpdate(store: ReduxStore<S, A>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> -

DSL builder extension function for updateable redux content.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.redux/-state-binding/update.html b/api/pl.treksoft.kvision.redux/-state-binding/update.html deleted file mode 100644 index 4b34b1ed..00000000 --- a/api/pl.treksoft.kvision.redux/-state-binding/update.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -StateBinding.update - kvision - - - -kvision / pl.treksoft.kvision.redux / StateBinding / update
-
-

update

- -fun update(state: S): Unit -

Updates view from the current state.

- - diff --git a/api/pl.treksoft.kvision.redux/-updateable/-init-.html b/api/pl.treksoft.kvision.redux/-updateable/-init-.html deleted file mode 100644 index 1693a5c8..00000000 --- a/api/pl.treksoft.kvision.redux/-updateable/-init-.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -Updateable.<init> - kvision - - - -kvision / pl.treksoft.kvision.redux / Updateable / <init>
-
-

<init>

- -Updateable(setUpdateState: ((S, CONTENT) -> Unit) -> Unit) -

A helper class for updateable redux content.

- - diff --git a/api/pl.treksoft.kvision.redux/-updateable/index.html b/api/pl.treksoft.kvision.redux/-updateable/index.html deleted file mode 100644 index 3d44da08..00000000 --- a/api/pl.treksoft.kvision.redux/-updateable/index.html +++ /dev/null @@ -1,54 +0,0 @@ - - - -Updateable - kvision - - - -kvision / pl.treksoft.kvision.redux / Updateable
-
-

Updateable

-class Updateable<S : Any, CONTENT> -

A helper class for updateable redux content.

-

Constructors

- - - - - - - -
-

<init>

-
-Updateable(setUpdateState: ((S, CONTENT) -> Unit) -> Unit) -

A helper class for updateable redux content.

-
-

Functions

- - - - - - - -
-

updateWith

-
-infix fun updateWith(updateState: (S, CONTENT) -> Unit): Unit
-

Extension Functions

- - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
- - diff --git a/api/pl.treksoft.kvision.redux/-updateable/update-with.html b/api/pl.treksoft.kvision.redux/-updateable/update-with.html deleted file mode 100644 index 02cfa4f6..00000000 --- a/api/pl.treksoft.kvision.redux/-updateable/update-with.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -Updateable.updateWith - kvision - - - -kvision / pl.treksoft.kvision.redux / Updateable / updateWith
-
-

updateWith

- -infix fun updateWith(updateState: (S, CONTENT) -> Unit): Unit - - diff --git a/api/pl.treksoft.kvision.redux/index.html b/api/pl.treksoft.kvision.redux/index.html index 6e6e8bb2..2adbbdfc 100644 --- a/api/pl.treksoft.kvision.redux/index.html +++ b/api/pl.treksoft.kvision.redux/index.html @@ -24,28 +24,10 @@

ReduxStore

-class ReduxStore<S : Any, A : RAction> +class ReduxStore<S : Any, A : RAction> : ObservableState<S>

A class implementing redux pattern backed by the Redux Kotlin library.

- - -

StateBinding

- - -class StateBinding<S : Any, A : RAction, CONT : Container, CONTENT> : Widget -

A class which binds the redux store with the given container.

- - - - -

Updateable

- - -class Updateable<S : Any, CONTENT> -

A helper class for updateable redux content.

- -

Type Aliases

diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/-init-.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/-init-.html deleted file mode 100644 index e850f251..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/-init-.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketSession.<init> - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / <init>
-
-

<init>

- -DummyWebSocketSession() - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/close.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/close.html deleted file mode 100644 index ef2ae5b5..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/close.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -DummyWebSocketSession.close - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / close
-
-

close

- -open fun close(): Unit
- -open fun close(status: <ERROR CLASS>): Unit - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-accepted-protocol.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-accepted-protocol.html deleted file mode 100644 index a157ed79..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-accepted-protocol.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketSession.getAcceptedProtocol - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getAcceptedProtocol
-
-

getAcceptedProtocol

- -open fun getAcceptedProtocol(): String? - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-attributes.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-attributes.html deleted file mode 100644 index 7ead65c0..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-attributes.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketSession.getAttributes - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getAttributes
-
-

getAttributes

- -open fun getAttributes(): MutableMap<String, Any> - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-binary-message-size-limit.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-binary-message-size-limit.html deleted file mode 100644 index 3a261432..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-binary-message-size-limit.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketSession.getBinaryMessageSizeLimit - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getBinaryMessageSizeLimit
-
-

getBinaryMessageSizeLimit

- -open fun getBinaryMessageSizeLimit(): Int - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-extensions.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-extensions.html deleted file mode 100644 index 0e24f2ab..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-extensions.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketSession.getExtensions - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getExtensions
-
-

getExtensions

- -open fun getExtensions(): MutableList<<ERROR CLASS>> - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-handshake-headers.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-handshake-headers.html deleted file mode 100644 index bfed88a2..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-handshake-headers.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketSession.getHandshakeHeaders - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getHandshakeHeaders
-
-

getHandshakeHeaders

- -open fun getHandshakeHeaders(): <ERROR CLASS> - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-id.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-id.html deleted file mode 100644 index a3cbf587..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-id.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketSession.getId - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getId
-
-

getId

- -open fun getId(): String - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-local-address.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-local-address.html deleted file mode 100644 index 677bf3fd..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-local-address.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketSession.getLocalAddress - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getLocalAddress
-
-

getLocalAddress

- -open fun getLocalAddress(): InetSocketAddress? - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-principal.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-principal.html deleted file mode 100644 index e0f8f5e5..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-principal.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketSession.getPrincipal - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getPrincipal
-
-

getPrincipal

- -open fun getPrincipal(): Principal? - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-remote-address.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-remote-address.html deleted file mode 100644 index 9a4553d3..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-remote-address.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketSession.getRemoteAddress - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getRemoteAddress
-
-

getRemoteAddress

- -open fun getRemoteAddress(): InetSocketAddress? - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-text-message-size-limit.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-text-message-size-limit.html deleted file mode 100644 index 3d75c92b..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-text-message-size-limit.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketSession.getTextMessageSizeLimit - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getTextMessageSizeLimit
-
-

getTextMessageSizeLimit

- -open fun getTextMessageSizeLimit(): Int - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-uri.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-uri.html deleted file mode 100644 index e49c0a4a..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-uri.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketSession.getUri - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getUri
-
-

getUri

- -open fun getUri(): URI? - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/index.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/index.html deleted file mode 100644 index 082ff9d0..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/index.html +++ /dev/null @@ -1,157 +0,0 @@ - - - -DummyWebSocketSession - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketSession
-
-

DummyWebSocketSession

-open class DummyWebSocketSession -

Constructors

- - - - - - - -
-

<init>

-
-DummyWebSocketSession()
-

Functions

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

close

-
-open fun close(): Unit
-open fun close(status: <ERROR CLASS>): Unit
-

getAcceptedProtocol

-
-open fun getAcceptedProtocol(): String?
-

getAttributes

-
-open fun getAttributes(): MutableMap<String, Any>
-

getBinaryMessageSizeLimit

-
-open fun getBinaryMessageSizeLimit(): Int
-

getExtensions

-
-open fun getExtensions(): MutableList<<ERROR CLASS>>
-

getHandshakeHeaders

-
-open fun getHandshakeHeaders(): <ERROR CLASS>
-

getId

-
-open fun getId(): String
-

getLocalAddress

-
-open fun getLocalAddress(): InetSocketAddress?
-

getPrincipal

-
-open fun getPrincipal(): Principal?
-

getRemoteAddress

-
-open fun getRemoteAddress(): InetSocketAddress?
-

getTextMessageSizeLimit

-
-open fun getTextMessageSizeLimit(): Int
-

getUri

-
-open fun getUri(): URI?
-

isOpen

-
-open fun isOpen(): Boolean
-

sendMessage

-
-open fun sendMessage(message: <ERROR CLASS><out <ERROR CLASS>>): Unit
-

setBinaryMessageSizeLimit

-
-open fun setBinaryMessageSizeLimit(messageSizeLimit: Int): Unit
-

setTextMessageSizeLimit

-
-open fun setTextMessageSizeLimit(messageSizeLimit: Int): Unit
-

Extension Functions

- - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
- - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/is-open.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/is-open.html deleted file mode 100644 index b98d5183..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/is-open.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketSession.isOpen - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / isOpen
-
-

isOpen

- -open fun isOpen(): Boolean - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/send-message.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/send-message.html deleted file mode 100644 index 255e3b59..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/send-message.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketSession.sendMessage - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / sendMessage
-
-

sendMessage

- -open fun sendMessage(message: <ERROR CLASS><out <ERROR CLASS>>): Unit - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/set-binary-message-size-limit.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/set-binary-message-size-limit.html deleted file mode 100644 index 384d36ea..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/set-binary-message-size-limit.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketSession.setBinaryMessageSizeLimit - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / setBinaryMessageSizeLimit
-
-

setBinaryMessageSizeLimit

- -open fun setBinaryMessageSizeLimit(messageSizeLimit: Int): Unit - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/set-text-message-size-limit.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/set-text-message-size-limit.html deleted file mode 100644 index 1b5b8f4a..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/set-text-message-size-limit.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketSession.setTextMessageSizeLimit - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / setTextMessageSizeLimit
-
-

setTextMessageSizeLimit

- -open fun setTextMessageSizeLimit(messageSizeLimit: Int): Unit - - diff --git a/api/pl.treksoft.kvision.remote/-id.html b/api/pl.treksoft.kvision.remote/-id.html new file mode 100644 index 00000000..3009a6d2 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-id.html @@ -0,0 +1,13 @@ + + + +Id - kvision + + + +kvision / pl.treksoft.kvision.remote / Id
+
+

Id

+actual typealias Id = Id + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-controller/-init-.html b/api/pl.treksoft.kvision.remote/-k-v-controller/-init-.html deleted file mode 100644 index 91e5c7fa..00000000 --- a/api/pl.treksoft.kvision.remote/-k-v-controller/-init-.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -KVController.<init> - kvision - - - -kvision / pl.treksoft.kvision.remote / KVController / <init>
-
-

<init>

- -KVController() -

Controller for handling automatic routes.

- - diff --git a/api/pl.treksoft.kvision.remote/-k-v-controller/application-context.html b/api/pl.treksoft.kvision.remote/-k-v-controller/application-context.html deleted file mode 100644 index 7d5b1bb8..00000000 --- a/api/pl.treksoft.kvision.remote/-k-v-controller/application-context.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -KVController.applicationContext - kvision - - - -kvision / pl.treksoft.kvision.remote / KVController / applicationContext
-
-

applicationContext

- -lateinit var applicationContext: <ERROR CLASS> - - diff --git a/api/pl.treksoft.kvision.remote/-k-v-controller/index.html b/api/pl.treksoft.kvision.remote/-k-v-controller/index.html deleted file mode 100644 index 59f9d3a6..00000000 --- a/api/pl.treksoft.kvision.remote/-k-v-controller/index.html +++ /dev/null @@ -1,73 +0,0 @@ - - - -KVController - kvision - - - -kvision / pl.treksoft.kvision.remote / KVController
-
-

KVController

-open class KVController -

Controller for handling automatic routes.

-

Constructors

- - - - - - - -
-

<init>

-
-KVController() -

Controller for handling automatic routes.

-
-

Properties

- - - - - - - - - - - -
-

applicationContext

-
-lateinit var applicationContext: <ERROR CLASS>
-

services

-
-lateinit var services: List<KVServiceManager<*>>
-

Functions

- - - - - - - -
-

kVMapping

-
-open fun kVMapping(req: <ERROR CLASS>, res: <ERROR CLASS>): Unit
-

Extension Functions

- - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
- - diff --git a/api/pl.treksoft.kvision.remote/-k-v-controller/k-v-mapping.html b/api/pl.treksoft.kvision.remote/-k-v-controller/k-v-mapping.html deleted file mode 100644 index 38c97970..00000000 --- a/api/pl.treksoft.kvision.remote/-k-v-controller/k-v-mapping.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -KVController.kVMapping - kvision - - - -kvision / pl.treksoft.kvision.remote / KVController / kVMapping
-
-

kVMapping

- -open fun kVMapping(req: <ERROR CLASS>, res: <ERROR CLASS>): Unit - - diff --git a/api/pl.treksoft.kvision.remote/-k-v-controller/services.html b/api/pl.treksoft.kvision.remote/-k-v-controller/services.html deleted file mode 100644 index 15d401c6..00000000 --- a/api/pl.treksoft.kvision.remote/-k-v-controller/services.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -KVController.services - kvision - - - -kvision / pl.treksoft.kvision.remote / KVController / services
-
-

services

- -lateinit var services: List<KVServiceManager<*>> - - diff --git a/api/pl.treksoft.kvision.remote/-k-v-handler/-init-.html b/api/pl.treksoft.kvision.remote/-k-v-handler/-init-.html new file mode 100644 index 00000000..264e0cfc --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-handler/-init-.html @@ -0,0 +1,14 @@ + + + +KVHandler.<init> - kvision + + + +kvision / pl.treksoft.kvision.remote / KVHandler / <init>
+
+

<init>

+ +KVHandler(services: List<KVServiceManager<*>>, applicationContext: <ERROR CLASS>) + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-handler/application-context.html b/api/pl.treksoft.kvision.remote/-k-v-handler/application-context.html new file mode 100644 index 00000000..f6c047e1 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-handler/application-context.html @@ -0,0 +1,14 @@ + + + +KVHandler.applicationContext - kvision + + + +kvision / pl.treksoft.kvision.remote / KVHandler / applicationContext
+
+

applicationContext

+ +var applicationContext: <ERROR CLASS> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-handler/handle.html b/api/pl.treksoft.kvision.remote/-k-v-handler/handle.html new file mode 100644 index 00000000..25340fc1 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-handler/handle.html @@ -0,0 +1,14 @@ + + + +KVHandler.handle - kvision + + + +kvision / pl.treksoft.kvision.remote / KVHandler / handle
+
+

handle

+ +open suspend fun handle(request: <ERROR CLASS>): <ERROR CLASS> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-handler/index.html b/api/pl.treksoft.kvision.remote/-k-v-handler/index.html new file mode 100644 index 00000000..e6e7a6ac --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-handler/index.html @@ -0,0 +1,70 @@ + + + +KVHandler - kvision + + + +kvision / pl.treksoft.kvision.remote / KVHandler
+
+

KVHandler

+open class KVHandler +

Constructors

+ + + + + + + +
+

<init>

+
+KVHandler(services: List<KVServiceManager<*>>, applicationContext: <ERROR CLASS>)
+

Properties

+ + + + + + + + + + + +
+

applicationContext

+
+var applicationContext: <ERROR CLASS>
+

services

+
+var services: List<KVServiceManager<*>>
+

Functions

+ + + + + + + +
+

handle

+
+open suspend fun handle(request: <ERROR CLASS>): <ERROR CLASS>
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.remote/-k-v-handler/services.html b/api/pl.treksoft.kvision.remote/-k-v-handler/services.html new file mode 100644 index 00000000..cf5a9ec6 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-handler/services.html @@ -0,0 +1,14 @@ + + + +KVHandler.services - kvision + + + +kvision / pl.treksoft.kvision.remote / KVHandler / services
+
+

services

+ +var services: List<KVServiceManager<*>> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-router-configuration/-init-.html b/api/pl.treksoft.kvision.remote/-k-v-router-configuration/-init-.html new file mode 100644 index 00000000..07c36820 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-router-configuration/-init-.html @@ -0,0 +1,14 @@ + + + +KVRouterConfiguration.<init> - kvision + + + +kvision / pl.treksoft.kvision.remote / KVRouterConfiguration / <init>
+
+

<init>

+ +KVRouterConfiguration() + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-router-configuration/index-router.html b/api/pl.treksoft.kvision.remote/-k-v-router-configuration/index-router.html new file mode 100644 index 00000000..8145e2da --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-router-configuration/index-router.html @@ -0,0 +1,14 @@ + + + +KVRouterConfiguration.indexRouter - kvision + + + +kvision / pl.treksoft.kvision.remote / KVRouterConfiguration / indexRouter
+
+

indexRouter

+ +open fun indexRouter(): <ERROR CLASS> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-router-configuration/index.html b/api/pl.treksoft.kvision.remote/-k-v-router-configuration/index.html new file mode 100644 index 00000000..5f35362a --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-router-configuration/index.html @@ -0,0 +1,58 @@ + + + +KVRouterConfiguration - kvision + + + +kvision / pl.treksoft.kvision.remote / KVRouterConfiguration
+
+

KVRouterConfiguration

+open class KVRouterConfiguration +

Constructors

+ + + + + + + +
+

<init>

+
+KVRouterConfiguration()
+

Functions

+ + + + + + + + + + + +
+

indexRouter

+
+open fun indexRouter(): <ERROR CLASS>
+

kvRoutes

+
+open fun kvRoutes(kvHandler: KVHandler): <ERROR CLASS>
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.remote/-k-v-router-configuration/kv-routes.html b/api/pl.treksoft.kvision.remote/-k-v-router-configuration/kv-routes.html new file mode 100644 index 00000000..80656985 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-router-configuration/kv-routes.html @@ -0,0 +1,14 @@ + + + +KVRouterConfiguration.kvRoutes - kvision + + + +kvision / pl.treksoft.kvision.remote / KVRouterConfiguration / kvRoutes
+
+

kvRoutes

+ +open fun kvRoutes(kvHandler: KVHandler): <ERROR CLASS> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/bind-select-remote.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/bind-select-remote.html new file mode 100644 index 00000000..e9a4b4c8 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/bind-select-remote.html @@ -0,0 +1,18 @@ + + + +KVServiceManager.bindSelectRemote - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / bindSelectRemote
+
+

bindSelectRemote

+ +protected actual fun bindSelectRemote(function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>): Unit +

Binds a given function of the receiver as a select options source

+

Parameters

+

+function - a function of the receiver

+ + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/bind-tabulator-remote.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/bind-tabulator-remote.html new file mode 100644 index 00000000..67089f7d --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/bind-tabulator-remote.html @@ -0,0 +1,18 @@ + + + +KVServiceManager.bindTabulatorRemote - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / bindTabulatorRemote
+
+

bindTabulatorRemote

+ +protected actual inline fun <reified RET> bindTabulatorRemote(noinline function: suspend T.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><RET>): Unit +

Binds a given function of the receiver as a tabulator component source

+

Parameters

+

+function - a function of the receiver

+ + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/bind.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/bind.html index e5a82367..aed4a8fc 100644 --- a/api/pl.treksoft.kvision.remote/-k-v-service-manager/bind.html +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/bind.html @@ -28,18 +28,6 @@ method - a HTTP method

route - a route

- -protected actual fun bind(function: T.(String?, String?) -> List<<ERROR CLASS>>): Unit -

Binds a given function of the receiver as a select options source

-

Parameters

-

-function - a function of the receiver

- -protected actual inline fun <reified RET> bind(noinline function: T.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><RET>): Unit -

Binds a given function of the receiver as a tabulator component source

-

Parameters

-

-function - a function of the receiver

protected actual inline fun <reified PAR1 : Any, reified PAR2 : Any> bind(noinline function: suspend T.(<ERROR CLASS><PAR1>, <ERROR CLASS><PAR2>) -> Unit, route: String?): Unit

Binds a given web socket connetion with a function of the receiver.

diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/index.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/index.html index dbbd8c09..47bb523e 100644 --- a/api/pl.treksoft.kvision.remote/-k-v-service-manager/index.html +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/index.html @@ -128,16 +128,30 @@ actual fun <PAR1, PAR2, PAR3, PAR4, RET> bind(function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> RET, method: HttpMethod, route: String?): Unit
actual fun <PAR1, PAR2, PAR3, PAR4, PAR5, RET> bind(function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> RET, method: HttpMethod, route: String?): Unit

Binds a given route with a function of the receiver.

-actual fun bind(function: T.(String?, String?) -> List<<ERROR CLASS>>): Unit -

Binds a given function of the receiver as a select options source

-actual fun <RET> bind(function: T.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><RET>): Unit -

Binds a given function of the receiver as a tabulator component source

actual fun <PAR1 : Any, PAR2 : Any> bind(function: suspend T.(<ERROR CLASS><PAR1>, <ERROR CLASS><PAR2>) -> Unit, route: String?): Unit

Binds a given web socket connetion with a function of the receiver.

+

bindSelectRemote

+ + +actual fun bindSelectRemote(function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>): Unit +

Binds a given function of the receiver as a select options source

+ + + + +

bindTabulatorRemote

+ + +actual fun <RET> bindTabulatorRemote(function: suspend T.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><RET>): Unit +

Binds a given function of the receiver as a tabulator component source

+ + + +

getCalls

diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/-init-.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/-init-.html index e445cb05..3fcf33ef 100644 --- a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/-init-.html +++ b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/-init-.html @@ -8,8 +8,7 @@ kvision / pl.treksoft.kvision.remote / KVWebSocketConfig / <init>

<init>

- -KVWebSocketConfig() -

Automatic websockets configuration.

+ +KVWebSocketConfig(services: List<KVServiceManager<*>>, applicationContext: <ERROR CLASS>) diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/application-context.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/application-context.html deleted file mode 100644 index 2ef3f390..00000000 --- a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/application-context.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -KVWebSocketConfig.applicationContext - kvision - - - -kvision / pl.treksoft.kvision.remote / KVWebSocketConfig / applicationContext
-
-

applicationContext

- -lateinit var applicationContext: <ERROR CLASS> - - diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/handler-adapter.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/handler-adapter.html new file mode 100644 index 00000000..d6abd9c5 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/handler-adapter.html @@ -0,0 +1,14 @@ + + + +KVWebSocketConfig.handlerAdapter - kvision + + + +kvision / pl.treksoft.kvision.remote / KVWebSocketConfig / handlerAdapter
+
+

handlerAdapter

+ +open fun handlerAdapter(): <ERROR CLASS> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/handler-mapping.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/handler-mapping.html new file mode 100644 index 00000000..f3f46dbe --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/handler-mapping.html @@ -0,0 +1,14 @@ + + + +KVWebSocketConfig.handlerMapping - kvision + + + +kvision / pl.treksoft.kvision.remote / KVWebSocketConfig / handlerMapping
+
+

handlerMapping

+ +open fun handlerMapping(): <ERROR CLASS> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/index.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/index.html index 1ca80257..4c8cd424 100644 --- a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/index.html +++ b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/index.html @@ -9,7 +9,6 @@

KVWebSocketConfig

open class KVWebSocketConfig -

Automatic websockets configuration.

Constructors

@@ -18,28 +17,7 @@

<init>

- - -
-KVWebSocketConfig() -

Automatic websockets configuration.

-
-

Properties

- - - - - - - - - +KVWebSocketConfig(services: List<KVServiceManager<*>>, applicationContext: <ERROR CLASS>)
-

applicationContext

-
-lateinit var applicationContext: <ERROR CLASS>
-

services

-
-lateinit var services: List<KVServiceManager<*>>
@@ -48,31 +26,17 @@ -

registerWebSocketHandlers

- - -open fun registerWebSocketHandlers(registry: <ERROR CLASS>): Unit - - - -

routeInterceptor

- - -open fun routeInterceptor(): <ERROR CLASS> - - - -

socketHandler

+

handlerAdapter

-open fun socketHandler(): <ERROR CLASS> +open fun handlerAdapter(): <ERROR CLASS> -

webSocketSession

+

handlerMapping

-open fun webSocketSession(): <ERROR CLASS> +open fun handlerMapping(): <ERROR CLASS> diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/register-web-socket-handlers.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/register-web-socket-handlers.html deleted file mode 100644 index 80d40bf2..00000000 --- a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/register-web-socket-handlers.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -KVWebSocketConfig.registerWebSocketHandlers - kvision - - - -kvision / pl.treksoft.kvision.remote / KVWebSocketConfig / registerWebSocketHandlers
-
-

registerWebSocketHandlers

- -open fun registerWebSocketHandlers(registry: <ERROR CLASS>): Unit - - diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/route-interceptor.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/route-interceptor.html deleted file mode 100644 index 18bca5a0..00000000 --- a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/route-interceptor.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -KVWebSocketConfig.routeInterceptor - kvision - - - -kvision / pl.treksoft.kvision.remote / KVWebSocketConfig / routeInterceptor
-
-

routeInterceptor

- -open fun routeInterceptor(): <ERROR CLASS> - - diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/services.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/services.html deleted file mode 100644 index 669aa7ed..00000000 --- a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/services.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -KVWebSocketConfig.services - kvision - - - -kvision / pl.treksoft.kvision.remote / KVWebSocketConfig / services
-
-

services

- -lateinit var services: List<KVServiceManager<*>> - - diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/socket-handler.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/socket-handler.html deleted file mode 100644 index 95b9091d..00000000 --- a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/socket-handler.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -KVWebSocketConfig.socketHandler - kvision - - - -kvision / pl.treksoft.kvision.remote / KVWebSocketConfig / socketHandler
-
-

socketHandler

- -open fun socketHandler(): <ERROR CLASS> - - diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/web-socket-session.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/web-socket-session.html deleted file mode 100644 index 93eb1f91..00000000 --- a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/web-socket-session.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -KVWebSocketConfig.webSocketSession - kvision - - - -kvision / pl.treksoft.kvision.remote / KVWebSocketConfig / webSocketSession
-
-

webSocketSession

- -open fun webSocketSession(): <ERROR CLASS> - - diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-handler/-init-.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-handler/-init-.html new file mode 100644 index 00000000..6c98d417 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-web-socket-handler/-init-.html @@ -0,0 +1,14 @@ + + + +KVWebSocketHandler.<init> - kvision + + + +kvision / pl.treksoft.kvision.remote / KVWebSocketHandler / <init>
+
+

<init>

+ +KVWebSocketHandler(services: List<KVServiceManager<*>>, applicationContext: <ERROR CLASS>) + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-handler/handle.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-handler/handle.html new file mode 100644 index 00000000..50f30c94 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-web-socket-handler/handle.html @@ -0,0 +1,14 @@ + + + +KVWebSocketHandler.handle - kvision + + + +kvision / pl.treksoft.kvision.remote / KVWebSocketHandler / handle
+
+

handle

+ +fun handle(session: <ERROR CLASS>): <ERROR CLASS><Void> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-handler/index.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-handler/index.html new file mode 100644 index 00000000..6220aeb4 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-web-socket-handler/index.html @@ -0,0 +1,51 @@ + + + +KVWebSocketHandler - kvision + + + +kvision / pl.treksoft.kvision.remote / KVWebSocketHandler
+
+

KVWebSocketHandler

+class KVWebSocketHandler +

Constructors

+ + + + + + + +
+

<init>

+
+KVWebSocketHandler(services: List<KVServiceManager<*>>, applicationContext: <ERROR CLASS>)
+

Functions

+ + + + + + + +
+

handle

+
+fun handle(session: <ERROR CLASS>): <ERROR CLASS><Void>
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.remote/-k-v_-r-o-u-t-e_-i-d_-a-t-t-r-i-b-u-t-e.html b/api/pl.treksoft.kvision.remote/-k-v_-r-o-u-t-e_-i-d_-a-t-t-r-i-b-u-t-e.html deleted file mode 100644 index 4044b73e..00000000 --- a/api/pl.treksoft.kvision.remote/-k-v_-r-o-u-t-e_-i-d_-a-t-t-r-i-b-u-t-e.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -KV_ROUTE_ID_ATTRIBUTE - kvision - - - -kvision / pl.treksoft.kvision.remote / KV_ROUTE_ID_ATTRIBUTE
-
-

KV_ROUTE_ID_ATTRIBUTE

- -const val KV_ROUTE_ID_ATTRIBUTE: String - - diff --git a/api/pl.treksoft.kvision.remote/-profile/-profile/get-authorities.html b/api/pl.treksoft.kvision.remote/-profile/-profile/get-authorities.html new file mode 100644 index 00000000..9d05bd51 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-profile/-profile/get-authorities.html @@ -0,0 +1,14 @@ + + + +Profile.getAuthorities - kvision + + + +kvision / pl.treksoft.kvision.remote / Profile / getAuthorities
+
+

getAuthorities

+ +fun getAuthorities(): MutableCollection<out <ERROR CLASS>> + + diff --git a/api/pl.treksoft.kvision.remote/-profile/-profile/get-password.html b/api/pl.treksoft.kvision.remote/-profile/-profile/get-password.html new file mode 100644 index 00000000..188714aa --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-profile/-profile/get-password.html @@ -0,0 +1,14 @@ + + + +Profile.getPassword - kvision + + + +kvision / pl.treksoft.kvision.remote / Profile / getPassword
+
+

getPassword

+ +fun getPassword(): String? + + diff --git a/api/pl.treksoft.kvision.remote/-profile/-profile/get-username.html b/api/pl.treksoft.kvision.remote/-profile/-profile/get-username.html new file mode 100644 index 00000000..e211d8ac --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-profile/-profile/get-username.html @@ -0,0 +1,14 @@ + + + +Profile.getUsername - kvision + + + +kvision / pl.treksoft.kvision.remote / Profile / getUsername
+
+

getUsername

+ +fun getUsername(): String? + + diff --git a/api/pl.treksoft.kvision.remote/-profile/-profile/index.html b/api/pl.treksoft.kvision.remote/-profile/-profile/index.html index c8c4fbe3..c11e9131 100644 --- a/api/pl.treksoft.kvision.remote/-profile/-profile/index.html +++ b/api/pl.treksoft.kvision.remote/-profile/-profile/index.html @@ -134,5 +134,73 @@ +

Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

getAuthorities

+
+fun getAuthorities(): MutableCollection<out <ERROR CLASS>>
+

getPassword

+
+fun getPassword(): String?
+

getUsername

+
+fun getUsername(): String?
+

isAccountNonExpired

+
+fun isAccountNonExpired(): Boolean
+

isAccountNonLocked

+
+fun isAccountNonLocked(): Boolean
+

isCredentialsNonExpired

+
+fun isCredentialsNonExpired(): Boolean
+

isEnabled

+
+fun isEnabled(): Boolean
+

setPassword

+
+fun setPassword(password: String?): Unit
+

setUsername

+
+fun setUsername(username: String?): Unit
diff --git a/api/pl.treksoft.kvision.remote/-profile/-profile/is-account-non-expired.html b/api/pl.treksoft.kvision.remote/-profile/-profile/is-account-non-expired.html new file mode 100644 index 00000000..73e3e175 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-profile/-profile/is-account-non-expired.html @@ -0,0 +1,14 @@ + + + +Profile.isAccountNonExpired - kvision + + + +kvision / pl.treksoft.kvision.remote / Profile / isAccountNonExpired
+
+

isAccountNonExpired

+ +fun isAccountNonExpired(): Boolean + + diff --git a/api/pl.treksoft.kvision.remote/-profile/-profile/is-account-non-locked.html b/api/pl.treksoft.kvision.remote/-profile/-profile/is-account-non-locked.html new file mode 100644 index 00000000..65d9297d --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-profile/-profile/is-account-non-locked.html @@ -0,0 +1,14 @@ + + + +Profile.isAccountNonLocked - kvision + + + +kvision / pl.treksoft.kvision.remote / Profile / isAccountNonLocked
+
+

isAccountNonLocked

+ +fun isAccountNonLocked(): Boolean + + diff --git a/api/pl.treksoft.kvision.remote/-profile/-profile/is-credentials-non-expired.html b/api/pl.treksoft.kvision.remote/-profile/-profile/is-credentials-non-expired.html new file mode 100644 index 00000000..66307cf7 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-profile/-profile/is-credentials-non-expired.html @@ -0,0 +1,14 @@ + + + +Profile.isCredentialsNonExpired - kvision + + + +kvision / pl.treksoft.kvision.remote / Profile / isCredentialsNonExpired
+
+

isCredentialsNonExpired

+ +fun isCredentialsNonExpired(): Boolean + + diff --git a/api/pl.treksoft.kvision.remote/-profile/-profile/is-enabled.html b/api/pl.treksoft.kvision.remote/-profile/-profile/is-enabled.html new file mode 100644 index 00000000..e0ba984f --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-profile/-profile/is-enabled.html @@ -0,0 +1,14 @@ + + + +Profile.isEnabled - kvision + + + +kvision / pl.treksoft.kvision.remote / Profile / isEnabled
+
+

isEnabled

+ +fun isEnabled(): Boolean + + diff --git a/api/pl.treksoft.kvision.remote/-profile/-profile/set-password.html b/api/pl.treksoft.kvision.remote/-profile/-profile/set-password.html new file mode 100644 index 00000000..268f7e7b --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-profile/-profile/set-password.html @@ -0,0 +1,14 @@ + + + +Profile.setPassword - kvision + + + +kvision / pl.treksoft.kvision.remote / Profile / setPassword
+
+

setPassword

+ +fun setPassword(password: String?): Unit + + diff --git a/api/pl.treksoft.kvision.remote/-profile/-profile/set-username.html b/api/pl.treksoft.kvision.remote/-profile/-profile/set-username.html new file mode 100644 index 00000000..70f34f10 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-profile/-profile/set-username.html @@ -0,0 +1,14 @@ + + + +Profile.setUsername - kvision + + + +kvision / pl.treksoft.kvision.remote / Profile / setUsername
+
+

setUsername

+ +fun setUsername(username: String?): Unit + + diff --git a/api/pl.treksoft.kvision.remote/-profile/index.html b/api/pl.treksoft.kvision.remote/-profile/index.html index cbb24bda..c134b6d3 100644 --- a/api/pl.treksoft.kvision.remote/-profile/index.html +++ b/api/pl.treksoft.kvision.remote/-profile/index.html @@ -136,5 +136,73 @@ +

Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

getAuthorities

+
+fun getAuthorities(): MutableCollection<out <ERROR CLASS>>
+

getPassword

+
+fun getPassword(): String?
+

getUsername

+
+fun getUsername(): String?
+

isAccountNonExpired

+
+fun isAccountNonExpired(): Boolean
+

isAccountNonLocked

+
+fun isAccountNonLocked(): Boolean
+

isCredentialsNonExpired

+
+fun isCredentialsNonExpired(): Boolean
+

isEnabled

+
+fun isEnabled(): Boolean
+

setPassword

+
+fun setPassword(password: String?): Unit
+

setUsername

+
+fun setUsername(username: String?): Unit
diff --git a/api/pl.treksoft.kvision.remote/-transient.html b/api/pl.treksoft.kvision.remote/-transient.html new file mode 100644 index 00000000..55acf7bd --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-transient.html @@ -0,0 +1,13 @@ + + + +Transient - kvision + + + +kvision / pl.treksoft.kvision.remote / Transient
+
+

Transient

+actual typealias Transient = Transient + + diff --git a/api/pl.treksoft.kvision.remote/-web-socket-session-holder/index.html b/api/pl.treksoft.kvision.remote/-web-socket-session-holder/index.html deleted file mode 100644 index cca78b75..00000000 --- a/api/pl.treksoft.kvision.remote/-web-socket-session-holder/index.html +++ /dev/null @@ -1,39 +0,0 @@ - - - -WebSocketSessionHolder - kvision - - - -kvision / pl.treksoft.kvision.remote / WebSocketSessionHolder
-
-

WebSocketSessionHolder

-object WebSocketSessionHolder -

Properties

- - - - - - - -
-

webSocketSession

-
-var webSocketSession: <ERROR CLASS>
-

Extension Functions

- - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
- - diff --git a/api/pl.treksoft.kvision.remote/-web-socket-session-holder/web-socket-session.html b/api/pl.treksoft.kvision.remote/-web-socket-session-holder/web-socket-session.html deleted file mode 100644 index 79762c28..00000000 --- a/api/pl.treksoft.kvision.remote/-web-socket-session-holder/web-socket-session.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -WebSocketSessionHolder.webSocketSession - kvision - - - -kvision / pl.treksoft.kvision.remote / WebSocketSessionHolder / webSocketSession
-
-

webSocketSession

- -var webSocketSession: <ERROR CLASS> - - diff --git a/api/pl.treksoft.kvision.remote/-with-principal/index.html b/api/pl.treksoft.kvision.remote/-with-principal/index.html new file mode 100644 index 00000000..e8be7961 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-with-principal/index.html @@ -0,0 +1,39 @@ + + + +WithPrincipal - kvision + + + +kvision / pl.treksoft.kvision.remote / WithPrincipal
+
+

WithPrincipal

+interface WithPrincipal +

Properties

+ + + + + + + +
+

principal

+
+abstract var principal: Principal
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.remote/-with-principal/principal.html b/api/pl.treksoft.kvision.remote/-with-principal/principal.html new file mode 100644 index 00000000..a8a27062 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-with-principal/principal.html @@ -0,0 +1,14 @@ + + + +WithPrincipal.principal - kvision + + + +kvision / pl.treksoft.kvision.remote / WithPrincipal / principal
+
+

principal

+ +abstract var principal: Principal + + diff --git a/api/pl.treksoft.kvision.remote/-with-profile/index.html b/api/pl.treksoft.kvision.remote/-with-profile/index.html new file mode 100644 index 00000000..6bdab57d --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-with-profile/index.html @@ -0,0 +1,39 @@ + + + +WithProfile - kvision + + + +kvision / pl.treksoft.kvision.remote / WithProfile
+
+

WithProfile

+interface WithProfile +

Properties

+ + + + + + + +
+

profile

+
+abstract var profile: Profile
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.remote/-with-profile/profile.html b/api/pl.treksoft.kvision.remote/-with-profile/profile.html new file mode 100644 index 00000000..07561ae3 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-with-profile/profile.html @@ -0,0 +1,14 @@ + + + +WithProfile.profile - kvision + + + +kvision / pl.treksoft.kvision.remote / WithProfile / profile
+
+

profile

+ +abstract var profile: Profile + + diff --git a/api/pl.treksoft.kvision.remote/-with-request/index.html b/api/pl.treksoft.kvision.remote/-with-request/index.html new file mode 100644 index 00000000..f1851459 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-with-request/index.html @@ -0,0 +1,39 @@ + + + +WithRequest - kvision + + + +kvision / pl.treksoft.kvision.remote / WithRequest
+
+

WithRequest

+interface WithRequest +

Properties

+ + + + + + + +
+

serverRequest

+
+abstract var serverRequest: <ERROR CLASS>
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.remote/-with-request/server-request.html b/api/pl.treksoft.kvision.remote/-with-request/server-request.html new file mode 100644 index 00000000..6d82fa90 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-with-request/server-request.html @@ -0,0 +1,14 @@ + + + +WithRequest.serverRequest - kvision + + + +kvision / pl.treksoft.kvision.remote / WithRequest / serverRequest
+
+

serverRequest

+ +abstract var serverRequest: <ERROR CLASS> + + diff --git a/api/pl.treksoft.kvision.remote/-with-web-session/index.html b/api/pl.treksoft.kvision.remote/-with-web-session/index.html new file mode 100644 index 00000000..59c072c7 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-with-web-session/index.html @@ -0,0 +1,39 @@ + + + +WithWebSession - kvision + + + +kvision / pl.treksoft.kvision.remote / WithWebSession
+
+

WithWebSession

+interface WithWebSession +

Properties

+ + + + + + + +
+

webSession

+
+abstract var webSession: <ERROR CLASS>
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.remote/-with-web-session/web-session.html b/api/pl.treksoft.kvision.remote/-with-web-session/web-session.html new file mode 100644 index 00000000..a8a1c875 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-with-web-session/web-session.html @@ -0,0 +1,14 @@ + + + +WithWebSession.webSession - kvision + + + +kvision / pl.treksoft.kvision.remote / WithWebSession / webSession
+
+

webSession

+ +abstract var webSession: <ERROR CLASS> + + diff --git a/api/pl.treksoft.kvision.remote/-with-web-socket-session/index.html b/api/pl.treksoft.kvision.remote/-with-web-socket-session/index.html new file mode 100644 index 00000000..b107a3ad --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-with-web-socket-session/index.html @@ -0,0 +1,39 @@ + + + +WithWebSocketSession - kvision + + + +kvision / pl.treksoft.kvision.remote / WithWebSocketSession
+
+

WithWebSocketSession

+interface WithWebSocketSession +

Properties

+ + + + + + + +
+

webSocketSession

+
+abstract var webSocketSession: <ERROR CLASS>
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.remote/-with-web-socket-session/web-socket-session.html b/api/pl.treksoft.kvision.remote/-with-web-socket-session/web-socket-session.html new file mode 100644 index 00000000..e590a435 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-with-web-socket-session/web-socket-session.html @@ -0,0 +1,14 @@ + + + +WithWebSocketSession.webSocketSession - kvision + + + +kvision / pl.treksoft.kvision.remote / WithWebSocketSession / webSocketSession
+
+

webSocketSession

+ +abstract var webSocketSession: <ERROR CLASS> + + diff --git a/api/pl.treksoft.kvision.remote/add-path-patterns-from-services.html b/api/pl.treksoft.kvision.remote/add-path-patterns-from-services.html deleted file mode 100644 index 0c3d8c8d..00000000 --- a/api/pl.treksoft.kvision.remote/add-path-patterns-from-services.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -addPathPatternsFromServices - kvision - - - -kvision / pl.treksoft.kvision.remote / addPathPatternsFromServices
-
-

addPathPatternsFromServices

- -fun <ERROR CLASS>.addPathPatternsFromServices(services: List<KVServiceManager<*>>): Unit -

A function to gather paths for an interceptor from a list of service managers.

- - diff --git a/api/pl.treksoft.kvision.remote/get-server-web-exchange-matcher.html b/api/pl.treksoft.kvision.remote/get-server-web-exchange-matcher.html new file mode 100644 index 00000000..fef9c97a --- /dev/null +++ b/api/pl.treksoft.kvision.remote/get-server-web-exchange-matcher.html @@ -0,0 +1,15 @@ + + + +getServerWebExchangeMatcher - kvision + + + +kvision / pl.treksoft.kvision.remote / getServerWebExchangeMatcher
+
+

getServerWebExchangeMatcher

+ +fun getServerWebExchangeMatcher(vararg services: KVServiceManager<*>): Array<<ERROR CLASS>> +

A function to gather paths for spring security matchers.

+ + diff --git a/api/pl.treksoft.kvision.remote/index.html b/api/pl.treksoft.kvision.remote/index.html index 72968669..09bda884 100644 --- a/api/pl.treksoft.kvision.remote/index.html +++ b/api/pl.treksoft.kvision.remote/index.html @@ -32,13 +32,6 @@ -

DummyWebSocketSession

- - -open class DummyWebSocketSession - - -

JSON

@@ -48,12 +41,10 @@ -

KVController

+

KVHandler

-open class KVController -

Controller for handling automatic routes.

- +open class KVHandler @@ -66,6 +57,13 @@ +

KVRouterConfiguration

+ + +open class KVRouterConfiguration + + +

KVServiceManager

@@ -78,9 +76,14 @@

KVWebSocketConfig

-open class KVWebSocketConfig -

Automatic websockets configuration.

+open class KVWebSocketConfig + + + +

KVWebSocketHandler

+ +class KVWebSocketHandler @@ -138,10 +141,38 @@ -

WebSocketSessionHolder

+

WithPrincipal

+ + +interface WithPrincipal + + + +

WithProfile

+ + +interface WithProfile + + + +

WithRequest

+ + +interface WithRequest + + + +

WithWebSession

+ + +interface WithWebSession + + + +

WithWebSocketSession

-object WebSocketSessionHolder +interface WithWebSocketSession @@ -173,6 +204,13 @@ +

Id

+ + +actual typealias Id = Id + + +

Profile

@@ -180,6 +218,13 @@

A user profile.

+ + +

Transient

+ + +actual typealias Transient = Transient +

Properties

@@ -208,13 +253,6 @@ val injectorKey: <ERROR CLASS> - - -

KV_ROUTE_ID_ATTRIBUTE

- - -const val KV_ROUTE_ID_ATTRIBUTE: String -

Functions

@@ -222,20 +260,20 @@ -

addPathPatternsFromServices

+

applyRoutes

-fun <ERROR CLASS>.addPathPatternsFromServices(services: List<KVServiceManager<*>>): Unit -

A function to gather paths for an interceptor from a list of service managers.

+fun <T : Any> <ERROR CLASS>.applyRoutes(serviceManager: KVServiceManager<T>): Unit +

A function to generate routes based on definitions from the service manager.

-

applyRoutes

+

getServerWebExchangeMatcher

-fun <T : Any> <ERROR CLASS>.applyRoutes(serviceManager: KVServiceManager<T>): Unit -

A function to generate routes based on definitions from the service manager.

+fun getServerWebExchangeMatcher(vararg services: KVServiceManager<*>): Array<<ERROR CLASS>> +

A function to gather paths for spring security matchers.

@@ -269,11 +307,20 @@ +

serviceMatchers

+ + +fun <ERROR CLASS>.serviceMatchers(vararg services: KVServiceManager<*>): <ERROR CLASS>
+fun serviceMatchers(vararg services: KVServiceManager<*>): <ERROR CLASS> +

A function to gather paths for spring security matchers.

+ + + +

withProfile

-suspend fun <RESP> <ERROR CLASS>.withProfile(block: suspend (Profile) -> RESP): RESP
-suspend fun <RESP> withProfile(block: suspend (Profile) -> RESP): RESP +suspend fun <RESP> <ERROR CLASS>.withProfile(block: suspend (Profile) -> RESP): RESP

A helper extension function for processing with authenticated user profile.

diff --git a/api/pl.treksoft.kvision.remote/service-matchers.html b/api/pl.treksoft.kvision.remote/service-matchers.html new file mode 100644 index 00000000..3682605e --- /dev/null +++ b/api/pl.treksoft.kvision.remote/service-matchers.html @@ -0,0 +1,17 @@ + + + +serviceMatchers - kvision + + + +kvision / pl.treksoft.kvision.remote / serviceMatchers
+
+

serviceMatchers

+ +fun <ERROR CLASS>.serviceMatchers(vararg services: KVServiceManager<*>): <ERROR CLASS>
+ +fun serviceMatchers(vararg services: KVServiceManager<*>): <ERROR CLASS> +

A function to gather paths for spring security matchers.

+ + diff --git a/api/pl.treksoft.kvision.remote/with-profile.html b/api/pl.treksoft.kvision.remote/with-profile.html index 41a2dba8..72d542b2 100644 --- a/api/pl.treksoft.kvision.remote/with-profile.html +++ b/api/pl.treksoft.kvision.remote/with-profile.html @@ -9,9 +9,7 @@

withProfile

-suspend fun <RESP> <ERROR CLASS>.withProfile(block: suspend (Profile) -> RESP): RESP
- -suspend fun <RESP> withProfile(block: suspend (Profile) -> RESP): RESP +suspend fun <RESP> <ERROR CLASS>.withProfile(block: suspend (Profile) -> RESP): RESP

A helper extension function for processing with authenticated user profile.

diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/-init-.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/-init-.html new file mode 100644 index 00000000..d7d046ba --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/-init-.html @@ -0,0 +1,15 @@ + + + +ObservableListWrapper.<init> - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / <init>
+
+

<init>

+ +ObservableListWrapper(mutableList: MutableList<T> = mutableListOf()) +

Simple observable list implementation.

+ + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/add-all.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/add-all.html new file mode 100644 index 00000000..4771b2be --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/add-all.html @@ -0,0 +1,16 @@ + + + +ObservableListWrapper.addAll - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / addAll
+
+

addAll

+ +fun addAll(elements: Collection<T>): Boolean
+ +fun addAll(index: Int, elements: Collection<T>): Boolean + + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/add.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/add.html new file mode 100644 index 00000000..f2cc3a4c --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/add.html @@ -0,0 +1,16 @@ + + + +ObservableListWrapper.add - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / add
+
+

add

+ +fun add(element: T): Boolean
+ +fun add(index: Int, element: T): Unit + + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/clear.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/clear.html new file mode 100644 index 00000000..709a8aad --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/clear.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.clear - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / clear
+
+

clear

+ +fun clear(): Unit + + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/contains-all.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/contains-all.html new file mode 100644 index 00000000..485d160c --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/contains-all.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.containsAll - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / containsAll
+
+

containsAll

+ +fun containsAll(elements: Collection<T>): Boolean + + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/contains.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/contains.html new file mode 100644 index 00000000..6a5b1c63 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/contains.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.contains - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / contains
+
+

contains

+ +fun contains(element: T): Boolean + + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/get.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/get.html new file mode 100644 index 00000000..f54b46ab --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/get.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.get - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / get
+
+

get

+ +fun get(index: Int): T + + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/index-of.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/index-of.html new file mode 100644 index 00000000..7a6245e9 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/index-of.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.indexOf - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / indexOf
+
+

indexOf

+ +fun indexOf(element: T): Int + + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/index.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/index.html new file mode 100644 index 00000000..2af08aae --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/index.html @@ -0,0 +1,213 @@ + + + +ObservableListWrapper - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper
+
+

ObservableListWrapper

+class ObservableListWrapper<T> : MutableList<T>, ObservableList<T>, ObservableState<List<T>> +

Simple observable list implementation.

+

Constructors

+ + + + + + + +
+

<init>

+
+ObservableListWrapper(mutableList: MutableList<T> = mutableListOf()) +

Simple observable list implementation.

+
+

Properties

+ + + + + + + + + + + + + + + +
+

mutableList

+
+val mutableList: MutableList<T>
+

onUpdate

+
+val onUpdate: MutableCollection<(MutableList<T>) -> Unit>
+

size

+
+val size: Int
+

Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

add

+
+fun add(element: T): Boolean
+fun add(index: Int, element: T): Unit
+

addAll

+
+fun addAll(elements: Collection<T>): Boolean
+fun addAll(index: Int, elements: Collection<T>): Boolean
+

clear

+
+fun clear(): Unit
+

contains

+
+fun contains(element: T): Boolean
+

containsAll

+
+fun containsAll(elements: Collection<T>): Boolean
+

get

+
+fun get(index: Int): T
+

indexOf

+
+fun indexOf(element: T): Int
+

isEmpty

+
+fun isEmpty(): Boolean
+

iterator

+
+fun iterator(): MutableIterator<T>
+

lastIndexOf

+
+fun lastIndexOf(element: T): Int
+

listIterator

+
+fun listIterator(): MutableListIterator<T>
+fun listIterator(index: Int): MutableListIterator<T>
+

remove

+
+fun remove(element: T): Boolean
+

removeAll

+
+fun removeAll(elements: Collection<T>): Boolean
+

removeAt

+
+fun removeAt(index: Int): T
+

retainAll

+
+fun retainAll(elements: Collection<T>): Boolean
+

set

+
+fun set(index: Int, element: T): T
+

subList

+
+fun subList(fromIndex: Int, toIndex: Int): MutableList<T>
+

subscribe

+
+fun subscribe(observer: (List<T>) -> Unit): () -> Unit +

Subscribe for the state change notifications.

+
+

Extension Functions

+ + + + + + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+

syncWithList

+
+fun <T> MutableList<T>.syncWithList(list: List<T>): Unit +

Utility extension function to synchronise elements of the MutableList.

+
+ + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/is-empty.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/is-empty.html new file mode 100644 index 00000000..f1be3103 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/is-empty.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.isEmpty - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / isEmpty
+
+

isEmpty

+ +fun isEmpty(): Boolean + + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/iterator.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/iterator.html new file mode 100644 index 00000000..5bcc1740 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/iterator.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.iterator - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / iterator
+
+

iterator

+ +fun iterator(): MutableIterator<T> + + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/last-index-of.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/last-index-of.html new file mode 100644 index 00000000..8ef90c4f --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/last-index-of.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.lastIndexOf - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / lastIndexOf
+
+

lastIndexOf

+ +fun lastIndexOf(element: T): Int + + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/list-iterator.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/list-iterator.html new file mode 100644 index 00000000..7350bb11 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/list-iterator.html @@ -0,0 +1,16 @@ + + + +ObservableListWrapper.listIterator - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / listIterator
+
+

listIterator

+ +fun listIterator(): MutableListIterator<T>
+ +fun listIterator(index: Int): MutableListIterator<T> + + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/mutable-list.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/mutable-list.html new file mode 100644 index 00000000..87a03095 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/mutable-list.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.mutableList - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / mutableList
+
+

mutableList

+ +val mutableList: MutableList<T> + + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/on-update.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/on-update.html new file mode 100644 index 00000000..1cadc936 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/on-update.html @@ -0,0 +1,15 @@ + + + +ObservableListWrapper.onUpdate - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / onUpdate
+
+

onUpdate

+ +val onUpdate: MutableCollection<(MutableList<T>) -> Unit> +

Overrides ObservableList.onUpdate

+ + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove-all.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove-all.html new file mode 100644 index 00000000..4d6bcee4 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove-all.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.removeAll - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / removeAll
+
+

removeAll

+ +fun removeAll(elements: Collection<T>): Boolean + + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove-at.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove-at.html new file mode 100644 index 00000000..61bbfbf7 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove-at.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.removeAt - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / removeAt
+
+

removeAt

+ +fun removeAt(index: Int): T + + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove.html new file mode 100644 index 00000000..5af2a391 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.remove - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / remove
+
+

remove

+ +fun remove(element: T): Boolean + + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/retain-all.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/retain-all.html new file mode 100644 index 00000000..b9bdbfff --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/retain-all.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.retainAll - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / retainAll
+
+

retainAll

+ +fun retainAll(elements: Collection<T>): Boolean + + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/set.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/set.html new file mode 100644 index 00000000..483bc1db --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/set.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.set - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / set
+
+

set

+ +fun set(index: Int, element: T): T + + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/size.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/size.html new file mode 100644 index 00000000..b25ae04c --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/size.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.size - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / size
+
+

size

+ +val size: Int + + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/sub-list.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/sub-list.html new file mode 100644 index 00000000..9bad7e24 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/sub-list.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.subList - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / subList
+
+

subList

+ +fun subList(fromIndex: Int, toIndex: Int): MutableList<T> + + diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/subscribe.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/subscribe.html new file mode 100644 index 00000000..7cf47c14 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/subscribe.html @@ -0,0 +1,16 @@ + + + +ObservableListWrapper.subscribe - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableListWrapper / subscribe
+
+

subscribe

+ +fun subscribe(observer: (List<T>) -> Unit): () -> Unit +

Overrides ObservableState.subscribe

+

Subscribe for the state change notifications.

+ + diff --git a/api/pl.treksoft.kvision.state/-observable-list/index.html b/api/pl.treksoft.kvision.state/-observable-list/index.html new file mode 100644 index 00000000..4b2176c2 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list/index.html @@ -0,0 +1,77 @@ + + + +ObservableList - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableList
+
+

ObservableList

+interface ObservableList<T> : MutableList<T>, ObservableState<List<T>> +

Observable list interface.

+

Properties

+ + + + + + + +
+

onUpdate

+
+abstract val onUpdate: MutableCollection<(MutableList<T>) -> Unit>
+

Inherited Functions

+ + + + + + + +
+

subscribe

+
+abstract fun subscribe(observer: (S) -> Unit): () -> Unit +

Subscribe for the state change notifications.

+
+

Extension Functions

+ + + + + + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+

syncWithList

+
+fun <T> MutableList<T>.syncWithList(list: List<T>): Unit +

Utility extension function to synchronise elements of the MutableList.

+
+

Inheritors

+ + + + + + + +
+

ObservableListWrapper

+
+class ObservableListWrapper<T> : MutableList<T>, ObservableList<T>, ObservableState<List<T>> +

Simple observable list implementation.

+
+ + diff --git a/api/pl.treksoft.kvision.state/-observable-list/on-update.html b/api/pl.treksoft.kvision.state/-observable-list/on-update.html new file mode 100644 index 00000000..cf3882cf --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-list/on-update.html @@ -0,0 +1,14 @@ + + + +ObservableList.onUpdate - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableList / onUpdate
+
+

onUpdate

+ +abstract val onUpdate: MutableCollection<(MutableList<T>) -> Unit> + + diff --git a/api/pl.treksoft.kvision.state/-observable-state/index.html b/api/pl.treksoft.kvision.state/-observable-state/index.html new file mode 100644 index 00000000..da229c82 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-state/index.html @@ -0,0 +1,74 @@ + + + +ObservableState - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableState
+
+

ObservableState

+interface ObservableState<S> +

An interface of observable state.

+

Functions

+ + + + + + + +
+

subscribe

+
+abstract fun subscribe(observer: (S) -> Unit): () -> Unit +

Subscribe for the state change notifications.

+
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+

Inheritors

+ + + + + + + + + + + + + + + +
+

ObservableList

+
+interface ObservableList<T> : MutableList<T>, ObservableState<List<T>> +

Observable list interface.

+
+

ObservableListWrapper

+
+class ObservableListWrapper<T> : MutableList<T>, ObservableList<T>, ObservableState<List<T>> +

Simple observable list implementation.

+
+

ReduxStore

+
+class ReduxStore<S : Any, A : RAction> : ObservableState<S> +

A class implementing redux pattern backed by the Redux Kotlin library.

+
+ + diff --git a/api/pl.treksoft.kvision.state/-observable-state/subscribe.html b/api/pl.treksoft.kvision.state/-observable-state/subscribe.html new file mode 100644 index 00000000..66514b8f --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-state/subscribe.html @@ -0,0 +1,15 @@ + + + +ObservableState.subscribe - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableState / subscribe
+
+

subscribe

+ +abstract fun subscribe(observer: (S) -> Unit): () -> Unit +

Subscribe for the state change notifications.

+ + diff --git a/api/pl.treksoft.kvision.state/-state-binding/-init-.html b/api/pl.treksoft.kvision.state/-state-binding/-init-.html new file mode 100644 index 00000000..d59678d4 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-state-binding/-init-.html @@ -0,0 +1,28 @@ + + + +StateBinding.<init> - kvision + + + +kvision / pl.treksoft.kvision.state / StateBinding / <init>
+
+

<init>

+ +StateBinding(observableState: ObservableState<S>, container: CONT, factory: CONT.(S) -> CONTENT) +

Creates StateBinding which binds the given container to the observable state.

+

Parameters

+

+S - the state type

+

+CONT - container type

+

+observableState - the state

+

+container - the container

+

+factory - a function which re-creates the view based on the given state

+

Constructor
+Creates StateBinding which binds the given container to the observable state.

+ + diff --git a/api/pl.treksoft.kvision.state/-state-binding/index.html b/api/pl.treksoft.kvision.state/-state-binding/index.html new file mode 100644 index 00000000..0f60e0bd --- /dev/null +++ b/api/pl.treksoft.kvision.state/-state-binding/index.html @@ -0,0 +1,625 @@ + + + +StateBinding - kvision + + + +kvision / pl.treksoft.kvision.state / StateBinding
+
+

StateBinding

+class StateBinding<S : Any, CONT : Container, CONTENT> : Widget +

A class which binds the given container to the observable state.

+

Constructors

+ + + + + + + +
+

<init>

+
+StateBinding(observableState: ObservableState<S>, container: CONT, factory: CONT.(S) -> CONTENT) +

Creates StateBinding which binds the given container to the observable state.

+
+

Inherited Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

draggable

+
+var draggable: Boolean? +

Determines if the current widget is draggable.

+
+

eventTarget

+
+var eventTarget: Widget?
+

id

+
+var id: String? +

An ID attribute of generated HTML element.

+
+

lastLanguage

+
+var lastLanguage: String?
+

parent

+
+open var parent: Container? +

Parent of the current component.

+
+

popoverOptions

+
+var popoverOptions: PopoverOptions?
+

role

+
+var role: String? +

A role attribute of generated HTML element.

+
+

surroundingSpan

+
+var surroundingSpan: Boolean
+

tabindex

+
+var tabindex: Int? +

A tabindex attribute of generated HTML element.

+
+

title

+
+var title: String? +

A title attribute of generated HTML element.

+
+

tooltipOptions

+
+var tooltipOptions: TooltipOptions?
+

visible

+
+open var visible: Boolean +

Visibility state of the current component.

+
+

vnode

+
+var vnode: VNode?
+

Functions

+ + + + + + + +
+

update

+
+fun update(state: S): Unit +

Updates view based on the current state.

+
+

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.

+open fun addCssClass(css: Style): Widget +

Adds given style object 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.

+open fun addSurroundingCssClass(css: Style): Widget +

Adds given style object 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.

+
+

clearDragDropData

+
+open fun clearDragDropData(): Unit +

Clears D&D data for the current widget. It also makes it not draggable.

+
+

disablePopover

+
+open fun disablePopover(): Widget +

Disables popover for the current widget.

+
+

disableTooltip

+
+open fun disableTooltip(): Widget +

Disables tooltip for the current widget.

+
+

dispatchEvent

+
+open fun dispatchEvent(type: String, eventInitDict: CustomEventInit): Boolean?
+

enablePopover

+
+open fun enablePopover(options: PopoverOptions = PopoverOptions()): Widget +

Enables popover for the current widget.

+
+

enableTooltip

+
+open fun enableTooltip(options: TooltipOptions = TooltipOptions()): Widget +

Enables tooltip for the current widget.

+
+

getAttribute

+
+open fun getAttribute(name: String): String? +

Returns the value of an additional attribute.

+
+

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.

+
+

hidePopover

+
+open fun hidePopover(): Widget +

Hides popover for the current widget.

+
+

hideTooltip

+
+open fun hideTooltip(): Widget +

Hides tooltip for the current widget.

+
+

refreshOnUpdate

+
+fun <T> refreshOnUpdate(refreshFunction: (T) -> Unit = { this.refresh() }): Widget.RefreshDelegateProvider<T>
+fun <T> refreshOnUpdate(initialValue: T, refreshFunction: (T) -> Unit = { this.refresh() }): Widget.RefreshDelegateProvider<T>
+

removeAttribute

+
+open fun removeAttribute(name: String): Widget +

Removes the value of additional attribute.

+
+

removeCssClass

+
+open fun removeCssClass(css: String): Widget +

Removes given value from the set of CSS classes generated in html code of current component.

+open fun removeCssClass(css: Style): Widget +

Removes given style object 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.

+open fun removeSurroundingCssClass(css: Style): Widget +

Removes given style object from the set of CSS classes generated in html code of parent component.

+
+

render

+
+open fun render(): VNode
+open fun render(elementName: String): VNode
+open fun render(elementName: String, children: Array<dynamic>): VNode +

Renders current component as a Snabbdom vnode.

+
+

setAttribute

+
+open fun setAttribute(name: String, value: String): Widget +

Sets the value of additional attribute.

+
+

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.

+
+

showPopover

+
+open fun showPopover(): Widget +

Shows popover for the current widget.

+
+

showTooltip

+
+open fun showTooltip(): Widget +

Shows tooltip for the current widget.

+
+

singleRender

+
+fun <T> singleRender(block: () -> T): T
+

toggleVisible

+
+open fun toggleVisible(): Widget +

Toggles visibility of current widget.

+
+

translate

+
+fun translate(text: String?): String?
+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +

DSL builder extension function.

+
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+ + diff --git a/api/pl.treksoft.kvision.state/-state-binding/update.html b/api/pl.treksoft.kvision.state/-state-binding/update.html new file mode 100644 index 00000000..35c873a4 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-state-binding/update.html @@ -0,0 +1,15 @@ + + + +StateBinding.update - kvision + + + +kvision / pl.treksoft.kvision.state / StateBinding / update
+
+

update

+ +fun update(state: S): Unit +

Updates view based on the current state.

+ + diff --git a/api/pl.treksoft.kvision.state/-updateable/-init-.html b/api/pl.treksoft.kvision.state/-updateable/-init-.html new file mode 100644 index 00000000..ad0682de --- /dev/null +++ b/api/pl.treksoft.kvision.state/-updateable/-init-.html @@ -0,0 +1,15 @@ + + + +Updateable.<init> - kvision + + + +kvision / pl.treksoft.kvision.state / Updateable / <init>
+
+

<init>

+ +Updateable(setUpdateState: ((S, CONTENT) -> Unit) -> Unit) +

A helper class for updateable content.

+ + diff --git a/api/pl.treksoft.kvision.state/-updateable/index.html b/api/pl.treksoft.kvision.state/-updateable/index.html new file mode 100644 index 00000000..6b84a1ed --- /dev/null +++ b/api/pl.treksoft.kvision.state/-updateable/index.html @@ -0,0 +1,54 @@ + + + +Updateable - kvision + + + +kvision / pl.treksoft.kvision.state / Updateable
+
+

Updateable

+class Updateable<S : Any, CONTENT> +

A helper class for updateable content.

+

Constructors

+ + + + + + + +
+

<init>

+
+Updateable(setUpdateState: ((S, CONTENT) -> Unit) -> Unit) +

A helper class for updateable content.

+
+

Functions

+ + + + + + + +
+

updateWith

+
+infix fun updateWith(updateState: (S, CONTENT) -> Unit): Unit
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.state/-updateable/update-with.html b/api/pl.treksoft.kvision.state/-updateable/update-with.html new file mode 100644 index 00000000..0029d643 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-updateable/update-with.html @@ -0,0 +1,14 @@ + + + +Updateable.updateWith - kvision + + + +kvision / pl.treksoft.kvision.state / Updateable / updateWith
+
+

updateWith

+ +infix fun updateWith(updateState: (S, CONTENT) -> Unit): Unit + + diff --git a/api/pl.treksoft.kvision.state/index.html b/api/pl.treksoft.kvision.state/index.html new file mode 100644 index 00000000..1246317a --- /dev/null +++ b/api/pl.treksoft.kvision.state/index.html @@ -0,0 +1,94 @@ + + + +pl.treksoft.kvision.state - kvision + + + +kvision / pl.treksoft.kvision.state
+
+

Package pl.treksoft.kvision.state

+

Types

+ + + + + + + + + + + + + + + + + + + + + + + +
+

ObservableList

+
+interface ObservableList<T> : MutableList<T>, ObservableState<List<T>> +

Observable list interface.

+
+

ObservableListWrapper

+
+class ObservableListWrapper<T> : MutableList<T>, ObservableList<T>, ObservableState<List<T>> +

Simple observable list implementation.

+
+

ObservableState

+
+interface ObservableState<S> +

An interface of observable state.

+
+

StateBinding

+
+class StateBinding<S : Any, CONT : Container, CONTENT> : Widget +

A class which binds the given container to the observable state.

+
+

Updateable

+
+class Updateable<S : Any, CONTENT> +

A helper class for updateable content.

+
+

Functions

+ + + + + + + + + + + + + + + +
+

observableListOf

+
+fun <T> observableListOf(vararg items: T): ObservableListWrapper<T> +

Creates an instance of ObservableList

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+ + diff --git a/api/pl.treksoft.kvision.state/observable-list-of.html b/api/pl.treksoft.kvision.state/observable-list-of.html new file mode 100644 index 00000000..31a4ac52 --- /dev/null +++ b/api/pl.treksoft.kvision.state/observable-list-of.html @@ -0,0 +1,15 @@ + + + +observableListOf - kvision + + + +kvision / pl.treksoft.kvision.state / observableListOf
+
+

observableListOf

+ +fun <T> observableListOf(vararg items: T): ObservableListWrapper<T> +

Creates an instance of ObservableList

+ + diff --git a/api/pl.treksoft.kvision.state/state-binding.html b/api/pl.treksoft.kvision.state/state-binding.html new file mode 100644 index 00000000..b60d6765 --- /dev/null +++ b/api/pl.treksoft.kvision.state/state-binding.html @@ -0,0 +1,16 @@ + + + +stateBinding - kvision + + + +kvision / pl.treksoft.kvision.state / stateBinding
+
+

stateBinding

+ +fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.state/state-update.html b/api/pl.treksoft.kvision.state/state-update.html new file mode 100644 index 00000000..c2d6d5ba --- /dev/null +++ b/api/pl.treksoft.kvision.state/state-update.html @@ -0,0 +1,16 @@ + + + +stateUpdate - kvision + + + +kvision / pl.treksoft.kvision.state / stateUpdate
+
+

stateUpdate

+ +fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.table/-cell/cell.html b/api/pl.treksoft.kvision.table/-cell/cell.html deleted file mode 100644 index e6c709fe..00000000 --- a/api/pl.treksoft.kvision.table/-cell/cell.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Cell.cell - kvision - - - -kvision / pl.treksoft.kvision.table / Cell / cell
-
-

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 9d2cef99..6bd82aab 100644 --- a/api/pl.treksoft.kvision.table/-cell/index.html +++ b/api/pl.treksoft.kvision.table/-cell/index.html @@ -111,23 +111,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

cell

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun Row.cell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Cell.() -> Unit)? = null): Cell +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.table/-header-cell/-init-.html b/api/pl.treksoft.kvision.table/-header-cell/-init-.html index b39dc65e..983931eb 100644 --- a/api/pl.treksoft.kvision.table/-header-cell/-init-.html +++ b/api/pl.treksoft.kvision.table/-header-cell/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.table / HeaderCell / <init>

<init>

- -HeaderCell(content: 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, scope: Scope? = null, classes: Set<String> = setOf(), init: (HeaderCell.() -> Unit)? = null)

Parameters

content - text content of the cell

diff --git a/api/pl.treksoft.kvision.table/-header-cell/header-cell.html b/api/pl.treksoft.kvision.table/-header-cell/header-cell.html deleted file mode 100644 index 0454bdfa..00000000 --- a/api/pl.treksoft.kvision.table/-header-cell/header-cell.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -HeaderCell.headerCell - kvision - - - -kvision / pl.treksoft.kvision.table / HeaderCell / headerCell
-
-

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 d3f66c6b..93b64bd2 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(content: String? = null, rich: Boolean = false, align: Align? = null, scope: Scope? = null, classes: Set<String> = setOf(), init: (HeaderCell.() -> Unit)? = null)

createInstance

@@ -139,12 +232,667 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

-HeaderCell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (HeaderCell.() -> Unit)? = null)
@@ -111,23 +111,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

headerCell

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun Row.headerCell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (HeaderCell.() -> Unit)? = null): HeaderCell +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e-l-g.html b/api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e-l-g.html new file mode 100644 index 00000000..25c02c8a --- /dev/null +++ b/api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e-l-g.html @@ -0,0 +1,26 @@ + + + +ResponsiveType.RESPONSIVELG - kvision + + + +kvision / pl.treksoft.kvision.table / ResponsiveType / RESPONSIVELG
+
+

RESPONSIVELG

+ +RESPONSIVELG +

Inherited Properties

+

createInstance

@@ -139,12 +232,667 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+ + + + + + +
+

type

+
+val type: String
+ + diff --git a/api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e-m-d.html b/api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e-m-d.html new file mode 100644 index 00000000..4b168d81 --- /dev/null +++ b/api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e-m-d.html @@ -0,0 +1,26 @@ + + + +ResponsiveType.RESPONSIVEMD - kvision + + + +kvision / pl.treksoft.kvision.table / ResponsiveType / RESPONSIVEMD
+
+

RESPONSIVEMD

+ +RESPONSIVEMD +

Inherited Properties

+ + + + + + + +
+

type

+
+val type: String
+ + diff --git a/api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e-s-m.html b/api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e-s-m.html new file mode 100644 index 00000000..6783133b --- /dev/null +++ b/api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e-s-m.html @@ -0,0 +1,26 @@ + + + +ResponsiveType.RESPONSIVESM - kvision + + + +kvision / pl.treksoft.kvision.table / ResponsiveType / RESPONSIVESM
+
+

RESPONSIVESM

+ +RESPONSIVESM +

Inherited Properties

+ + + + + + + +
+

type

+
+val type: String
+ + diff --git a/api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e-x-l.html b/api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e-x-l.html new file mode 100644 index 00000000..be1413f3 --- /dev/null +++ b/api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e-x-l.html @@ -0,0 +1,26 @@ + + + +ResponsiveType.RESPONSIVEXL - kvision + + + +kvision / pl.treksoft.kvision.table / ResponsiveType / RESPONSIVEXL
+
+

RESPONSIVEXL

+ +RESPONSIVEXL +

Inherited Properties

+ + + + + + + +
+

type

+
+val type: String
+ + diff --git a/api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e.html b/api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e.html new file mode 100644 index 00000000..e1cee338 --- /dev/null +++ b/api/pl.treksoft.kvision.table/-responsive-type/-r-e-s-p-o-n-s-i-v-e.html @@ -0,0 +1,26 @@ + + + +ResponsiveType.RESPONSIVE - kvision + + + +kvision / pl.treksoft.kvision.table / ResponsiveType / RESPONSIVE
+
+

RESPONSIVE

+ +RESPONSIVE +

Inherited Properties

+ + + + + + + +
+

type

+
+val type: String
+ + diff --git a/api/pl.treksoft.kvision.table/-responsive-type/index.html b/api/pl.treksoft.kvision.table/-responsive-type/index.html new file mode 100644 index 00000000..42ba0161 --- /dev/null +++ b/api/pl.treksoft.kvision.table/-responsive-type/index.html @@ -0,0 +1,80 @@ + + + +ResponsiveType - kvision + + + +kvision / pl.treksoft.kvision.table / ResponsiveType
+
+

ResponsiveType

+enum class ResponsiveType +

HTML table responsive types.

+

Enum Values

+ + + + + + + + + + + + + + + + + + + + + + + +
+

RESPONSIVE

+
+
+

RESPONSIVESM

+
+
+

RESPONSIVEMD

+
+
+

RESPONSIVELG

+
+
+

RESPONSIVEXL

+
+
+

Properties

+ + + + + + + +
+

type

+
+val type: String
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.table/-responsive-type/type.html b/api/pl.treksoft.kvision.table/-responsive-type/type.html new file mode 100644 index 00000000..828c7415 --- /dev/null +++ b/api/pl.treksoft.kvision.table/-responsive-type/type.html @@ -0,0 +1,14 @@ + + + +ResponsiveType.type - kvision + + + +kvision / pl.treksoft.kvision.table / ResponsiveType / type
+
+

type

+ +val type: String + + diff --git a/api/pl.treksoft.kvision.table/-row/index.html b/api/pl.treksoft.kvision.table/-row/index.html index b44d4e74..390caa78 100644 --- a/api/pl.treksoft.kvision.table/-row/index.html +++ b/api/pl.treksoft.kvision.table/-row/index.html @@ -111,23 +111,125 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

row

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

-fun Table.row(classes: Set<String> = setOf(), init: (Row.() -> Unit)? = null): Row +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

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.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.table/-row/row.html b/api/pl.treksoft.kvision.table/-row/row.html deleted file mode 100644 index 312e6176..00000000 --- a/api/pl.treksoft.kvision.table/-row/row.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Row.row - kvision - - - -kvision / pl.treksoft.kvision.table / Row / row
-
-

row

- -fun Table.row(classes: Set<String> = setOf(), init: (Row.() -> Unit)? = null): Row -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.table/-scope/-c-o-l.html b/api/pl.treksoft.kvision.table/-scope/-c-o-l.html new file mode 100644 index 00000000..6d23d5c1 --- /dev/null +++ b/api/pl.treksoft.kvision.table/-scope/-c-o-l.html @@ -0,0 +1,14 @@ + + + +Scope.COL - kvision + + + +kvision / pl.treksoft.kvision.table / Scope / COL
+
+

COL

+ +COL + + diff --git a/api/pl.treksoft.kvision.table/-scope/-r-o-w.html b/api/pl.treksoft.kvision.table/-scope/-r-o-w.html new file mode 100644 index 00000000..3310c2e3 --- /dev/null +++ b/api/pl.treksoft.kvision.table/-scope/-r-o-w.html @@ -0,0 +1,14 @@ + + + +Scope.ROW - kvision + + + +kvision / pl.treksoft.kvision.table / Scope / ROW
+
+

ROW

+ +ROW + + diff --git a/api/pl.treksoft.kvision.table/-scope/index.html b/api/pl.treksoft.kvision.table/-scope/index.html new file mode 100644 index 00000000..f1ada904 --- /dev/null +++ b/api/pl.treksoft.kvision.table/-scope/index.html @@ -0,0 +1,46 @@ + + + +Scope - kvision + + + +kvision / pl.treksoft.kvision.table / Scope
+
+

Scope

+enum class Scope +

Enum Values

+

createInstance

@@ -139,12 +241,685 @@
-

setData

+

dataContainer

-fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit -

Extension function to set serializable object as a template data.

+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

headerCell

+
+fun Row.headerCell(content: String? = null, rich: Boolean = false, align: Align? = null, scope: Scope? = null, classes: Set<String> = setOf(), init: (HeaderCell.() -> Unit)? = null): HeaderCell +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

thcell

+
+fun Row.thcell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (HeaderCell.() -> Unit)? = null): HeaderCell +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+ + + + + + + + + + +
+

ROW

+
+
+

COL

+
+
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.table/-table-type/-b-o-r-d-e-r-l-e-s-s.html b/api/pl.treksoft.kvision.table/-table-type/-b-o-r-d-e-r-l-e-s-s.html new file mode 100644 index 00000000..a49eea8a --- /dev/null +++ b/api/pl.treksoft.kvision.table/-table-type/-b-o-r-d-e-r-l-e-s-s.html @@ -0,0 +1,26 @@ + + + +TableType.BORDERLESS - kvision + + + +kvision / pl.treksoft.kvision.table / TableType / BORDERLESS
+
+

BORDERLESS

+ +BORDERLESS +

Inherited Properties

+ + + + + + + +
+

type

+
+val type: String
+ + diff --git a/api/pl.treksoft.kvision.table/-table-type/-c-o-n-d-e-n-s-e-d.html b/api/pl.treksoft.kvision.table/-table-type/-c-o-n-d-e-n-s-e-d.html deleted file mode 100644 index b107b088..00000000 --- a/api/pl.treksoft.kvision.table/-table-type/-c-o-n-d-e-n-s-e-d.html +++ /dev/null @@ -1,26 +0,0 @@ - - - -TableType.CONDENSED - kvision - - - -kvision / pl.treksoft.kvision.table / TableType / CONDENSED
-
-

CONDENSED

- -CONDENSED -

Inherited Properties

- - - - - - - -
-

type

-
-val type: String
- - diff --git a/api/pl.treksoft.kvision.table/-table-type/-d-a-r-k.html b/api/pl.treksoft.kvision.table/-table-type/-d-a-r-k.html new file mode 100644 index 00000000..93320b00 --- /dev/null +++ b/api/pl.treksoft.kvision.table/-table-type/-d-a-r-k.html @@ -0,0 +1,26 @@ + + + +TableType.DARK - kvision + + + +kvision / pl.treksoft.kvision.table / TableType / DARK
+
+

DARK

+ +DARK +

Inherited Properties

+ + + + + + + +
+

type

+
+val type: String
+ + diff --git a/api/pl.treksoft.kvision.table/-table-type/-s-m-a-l-l.html b/api/pl.treksoft.kvision.table/-table-type/-s-m-a-l-l.html new file mode 100644 index 00000000..4fa84274 --- /dev/null +++ b/api/pl.treksoft.kvision.table/-table-type/-s-m-a-l-l.html @@ -0,0 +1,26 @@ + + + +TableType.SMALL - kvision + + + +kvision / pl.treksoft.kvision.table / TableType / SMALL
+
+

SMALL

+ +SMALL +

Inherited Properties

+ + + + + + + +
+

type

+
+val type: String
+ + diff --git a/api/pl.treksoft.kvision.table/-table-type/index.html b/api/pl.treksoft.kvision.table/-table-type/index.html index fb100676..c993a6c2 100644 --- a/api/pl.treksoft.kvision.table/-table-type/index.html +++ b/api/pl.treksoft.kvision.table/-table-type/index.html @@ -29,6 +29,13 @@ +

BORDERLESS

+ + + + + +

HOVER

@@ -36,7 +43,14 @@ -

CONDENSED

+

SMALL

+ + + + + + +

DARK

diff --git a/api/pl.treksoft.kvision.table/-table/-init-.html b/api/pl.treksoft.kvision.table/-table/-init-.html index f4334fa5..b77b0b38 100644 --- a/api/pl.treksoft.kvision.table/-table/-init-.html +++ b/api/pl.treksoft.kvision.table/-table/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.table / Table / <init>

<init>

- -Table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null) + +Table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null)

Parameters

headerNames - a list of table headers names

@@ -17,8 +17,8 @@ types - a set of table types

caption - table caption

-

-responsive - determines if the table is responsive

+

+responsiveType - determines if the table is responsive

classes - a set of CSS class names

diff --git a/api/pl.treksoft.kvision.table/-table/index.html b/api/pl.treksoft.kvision.table/-table/index.html index 9c8adb66..3d129d74 100644 --- a/api/pl.treksoft.kvision.table/-table/index.html +++ b/api/pl.treksoft.kvision.table/-table/index.html @@ -18,7 +18,7 @@

<init>

-Table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null) +Table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null) @@ -45,10 +45,10 @@ -

responsive

+

responsiveType

-var responsive: Boolean +var responsiveType: ResponsiveType?

Determines if the table is responsive.

@@ -63,6 +63,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -181,23 +193,116 @@
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

table

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -207,6 +312,670 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

row

+
+fun Table.row(classes: Set<String> = setOf(), init: (Row.() -> Unit)? = null): Row +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.table/-table/responsive-type.html b/api/pl.treksoft.kvision.table/-table/responsive-type.html new file mode 100644 index 00000000..f9e1987f --- /dev/null +++ b/api/pl.treksoft.kvision.table/-table/responsive-type.html @@ -0,0 +1,21 @@ + + + +Table.responsiveType - kvision + + + +kvision / pl.treksoft.kvision.table / Table / responsiveType
+
+

responsiveType

+ +var responsiveType: ResponsiveType? +

Determines if the table is responsive.

+

Getter
+

Determines if the table is responsive.

+

+

Setter
+

Determines if the table is responsive.

+

+ + diff --git a/api/pl.treksoft.kvision.table/-table/responsive.html b/api/pl.treksoft.kvision.table/-table/responsive.html deleted file mode 100644 index 5002c89d..00000000 --- a/api/pl.treksoft.kvision.table/-table/responsive.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -Table.responsive - kvision - - - -kvision / pl.treksoft.kvision.table / Table / responsive
-
-

responsive

- -var responsive: Boolean -

Determines if the table is responsive.

-

Getter
-

Determines if the table is responsive.

-

-

Setter
-

Determines if the table is responsive.

-

- - diff --git a/api/pl.treksoft.kvision.table/-table/table.html b/api/pl.treksoft.kvision.table/-table/table.html deleted file mode 100644 index 25b37c6d..00000000 --- a/api/pl.treksoft.kvision.table/-table/table.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Table.table - kvision - - - -kvision / pl.treksoft.kvision.table / Table / table
-
-

table

- -fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.table/-thead-type/-d-a-r-k.html b/api/pl.treksoft.kvision.table/-thead-type/-d-a-r-k.html new file mode 100644 index 00000000..81683470 --- /dev/null +++ b/api/pl.treksoft.kvision.table/-thead-type/-d-a-r-k.html @@ -0,0 +1,14 @@ + + + +TheadType.DARK - kvision + + + +kvision / pl.treksoft.kvision.table / TheadType / DARK
+
+

DARK

+ +DARK + + diff --git a/api/pl.treksoft.kvision.table/-thead-type/-l-i-g-h-t.html b/api/pl.treksoft.kvision.table/-thead-type/-l-i-g-h-t.html new file mode 100644 index 00000000..d09befdd --- /dev/null +++ b/api/pl.treksoft.kvision.table/-thead-type/-l-i-g-h-t.html @@ -0,0 +1,14 @@ + + + +TheadType.LIGHT - kvision + + + +kvision / pl.treksoft.kvision.table / TheadType / LIGHT
+
+

LIGHT

+ +LIGHT + + diff --git a/api/pl.treksoft.kvision.table/-thead-type/index.html b/api/pl.treksoft.kvision.table/-thead-type/index.html new file mode 100644 index 00000000..eac16e06 --- /dev/null +++ b/api/pl.treksoft.kvision.table/-thead-type/index.html @@ -0,0 +1,47 @@ + + + +TheadType - kvision + + + +kvision / pl.treksoft.kvision.table / TheadType
+
+

TheadType

+enum class TheadType +

HTML table header types.

+

Enum Values

+ + + + + + + + + + + +
+

DARK

+
+
+

LIGHT

+
+
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.table/cell.html b/api/pl.treksoft.kvision.table/cell.html new file mode 100644 index 00000000..e130a7b8 --- /dev/null +++ b/api/pl.treksoft.kvision.table/cell.html @@ -0,0 +1,16 @@ + + + +cell - kvision + + + +kvision / pl.treksoft.kvision.table / cell
+
+

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/header-cell.html b/api/pl.treksoft.kvision.table/header-cell.html new file mode 100644 index 00000000..1ccbd307 --- /dev/null +++ b/api/pl.treksoft.kvision.table/header-cell.html @@ -0,0 +1,16 @@ + + + +headerCell - kvision + + + +kvision / pl.treksoft.kvision.table / headerCell
+
+

headerCell

+ +fun Row.headerCell(content: String? = null, rich: Boolean = false, align: Align? = null, scope: Scope? = 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/index.html b/api/pl.treksoft.kvision.table/index.html index 4c79f81a..669fcf38 100644 --- a/api/pl.treksoft.kvision.table/index.html +++ b/api/pl.treksoft.kvision.table/index.html @@ -32,6 +32,15 @@ +

ResponsiveType

+ + +enum class ResponsiveType +

HTML table responsive types.

+ + + +

Row

@@ -41,6 +50,13 @@ +

Scope

+ + +enum class Scope + + +

Table

@@ -57,6 +73,65 @@

HTML table types.

+ + +

TheadType

+ + +enum class TheadType +

HTML table header types.

+ + + + +

Functions

+ + + + + + + + + + + + + + + + + + + + + +
+

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.

+
+

headerCell

+
+fun Row.headerCell(content: String? = null, rich: Boolean = false, align: Align? = null, scope: Scope? = null, classes: Set<String> = setOf(), init: (HeaderCell.() -> Unit)? = null): HeaderCell +

DSL builder extension function.

+
+

row

+
+fun Table.row(classes: Set<String> = setOf(), init: (Row.() -> Unit)? = null): Row +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

thcell

+
+fun Row.thcell(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.html b/api/pl.treksoft.kvision.table/row.html new file mode 100644 index 00000000..6751418b --- /dev/null +++ b/api/pl.treksoft.kvision.table/row.html @@ -0,0 +1,16 @@ + + + +row - kvision + + + +kvision / pl.treksoft.kvision.table / row
+
+

row

+ +fun Table.row(classes: Set<String> = setOf(), init: (Row.() -> Unit)? = null): Row +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.table/table.html b/api/pl.treksoft.kvision.table/table.html new file mode 100644 index 00000000..9dd4aefa --- /dev/null +++ b/api/pl.treksoft.kvision.table/table.html @@ -0,0 +1,16 @@ + + + +table - kvision + + + +kvision / pl.treksoft.kvision.table / table
+
+

table

+ +fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.table/thcell.html b/api/pl.treksoft.kvision.table/thcell.html new file mode 100644 index 00000000..6e9aa335 --- /dev/null +++ b/api/pl.treksoft.kvision.table/thcell.html @@ -0,0 +1,16 @@ + + + +thcell - kvision + + + +kvision / pl.treksoft.kvision.table / thcell
+
+

thcell

+ +fun Row.thcell(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.tabulator/-tabulator-remote/-init-.html b/api/pl.treksoft.kvision.tabulator/-tabulator-remote/-init-.html index b3dfa525..2d5a4b7e 100644 --- a/api/pl.treksoft.kvision.tabulator/-tabulator-remote/-init-.html +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-remote/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.tabulator / TabulatorRemote / <init>

<init>

- -TabulatorRemote(serviceManager: KVServiceManager<E>, function: E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf()) + +TabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf())

Parameters

T - type of row data

diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-remote/index.html b/api/pl.treksoft.kvision.tabulator/-tabulator-remote/index.html index f1708cd1..65665136 100644 --- a/api/pl.treksoft.kvision.tabulator/-tabulator-remote/index.html +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-remote/index.html @@ -18,7 +18,7 @@

<init>

-TabulatorRemote(serviceManager: KVServiceManager<E>, function: E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf()) +TabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf()) @@ -499,23 +499,53 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + - -
-

tabulatorRemote

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

-fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -525,6 +555,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-remote/tabulator-remote.html b/api/pl.treksoft.kvision.tabulator/-tabulator-remote/tabulator-remote.html deleted file mode 100644 index 37da6f22..00000000 --- a/api/pl.treksoft.kvision.tabulator/-tabulator-remote/tabulator-remote.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -TabulatorRemote.tabulatorRemote - kvision - - - -kvision / pl.treksoft.kvision.tabulator / TabulatorRemote / tabulatorRemote
-
-

tabulatorRemote

- -fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator/index.html b/api/pl.treksoft.kvision.tabulator/-tabulator/index.html index b1cec96c..501b2b18 100644 --- a/api/pl.treksoft.kvision.tabulator/-tabulator/index.html +++ b/api/pl.treksoft.kvision.tabulator/-tabulator/index.html @@ -148,6 +148,15 @@ +

tabindex

+ + +var tabindex: Int? +

A tabindex attribute of generated HTML element.

+ + + +

title

@@ -845,15 +854,6 @@ -

setContextMenu

- - -open fun setContextMenu(contextMenu: ContextMenu): Widget -

Sets context menu for the current widget.

- - - -

setDragDropData

@@ -959,26 +959,55 @@

A helper function to create a Tabulator object with correct serializer and dedicated redux store.

+ + +

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + - -
+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
-

tabulator

+

addBsColor

-fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> -

DSL builder extension function for general redux store.

-fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> -

DSL builder extension function for dedicated redux store (backed with a list).

-fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> -

DSL builder extension function for dynamic data (send within options parameter).

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -988,6 +1017,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+

Inheritors

diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator/tabulator.html b/api/pl.treksoft.kvision.tabulator/-tabulator/tabulator.html deleted file mode 100644 index ba690339..00000000 --- a/api/pl.treksoft.kvision.tabulator/-tabulator/tabulator.html +++ /dev/null @@ -1,25 +0,0 @@ - - - -Tabulator.tabulator - kvision - - - -kvision / pl.treksoft.kvision.tabulator / Tabulator / tabulator
-
-

tabulator

- -fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- -fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> -

DSL builder extension function for general redux store.

- -fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> -

DSL builder extension function for dedicated redux store (backed with a list).

- -fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> -

DSL builder extension function for dynamic data (send within options parameter).

- - diff --git a/api/pl.treksoft.kvision.tabulator/index.html b/api/pl.treksoft.kvision.tabulator/index.html index c98469eb..e8c83ce8 100644 --- a/api/pl.treksoft.kvision.tabulator/index.html +++ b/api/pl.treksoft.kvision.tabulator/index.html @@ -226,6 +226,30 @@ +

tabulator

+ + +fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+ + + + +

tabulatorRemote

+ + +fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+ + + +

toJs

diff --git a/api/pl.treksoft.kvision.tabulator/tabulator-remote.html b/api/pl.treksoft.kvision.tabulator/tabulator-remote.html new file mode 100644 index 00000000..fdfda01d --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/tabulator-remote.html @@ -0,0 +1,16 @@ + + + +tabulatorRemote - kvision + + + +kvision / pl.treksoft.kvision.tabulator / tabulatorRemote
+
+

tabulatorRemote

+ +fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.tabulator/tabulator.html b/api/pl.treksoft.kvision.tabulator/tabulator.html new file mode 100644 index 00000000..03fa6d86 --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/tabulator.html @@ -0,0 +1,25 @@ + + + +tabulator - kvision + + + +kvision / pl.treksoft.kvision.tabulator / tabulator
+
+

tabulator

+ +fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ +fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+ +fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+ +fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+ + 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 deleted file mode 100644 index f80e438c..00000000 --- a/api/pl.treksoft.kvision.toolbar/-button-group-size/-x-s-m-a-l-l.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -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 index 7488025c..0a007c1e 100644 --- a/api/pl.treksoft.kvision.toolbar/-button-group-size/index.html +++ b/api/pl.treksoft.kvision.toolbar/-button-group-size/index.html @@ -27,13 +27,6 @@ - - -

XSMALL

- - - -

Extension Functions

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 deleted file mode 100644 index a18fad28..00000000 --- a/api/pl.treksoft.kvision.toolbar/-button-group-style/-j-u-s-t-i-f-i-e-d.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -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 deleted file mode 100644 index c5b93cc3..00000000 --- a/api/pl.treksoft.kvision.toolbar/-button-group-style/-v-e-r-t-i-c-a-l.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -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 deleted file mode 100644 index 5d1e043f..00000000 --- a/api/pl.treksoft.kvision.toolbar/-button-group-style/index.html +++ /dev/null @@ -1,47 +0,0 @@ - - - -ButtonGroupStyle - kvision - - - -kvision / pl.treksoft.kvision.toolbar / ButtonGroupStyle
-
-

ButtonGroupStyle

-enum class ButtonGroupStyle -

Button group styles.

-

Enum Values

- - - - - - - - - - - -
-

VERTICAL

-
-
-

JUSTIFIED

-
-
-

Extension Functions

- - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
- - diff --git a/api/pl.treksoft.kvision.toolbar/-button-group/-init-.html b/api/pl.treksoft.kvision.toolbar/-button-group/-init-.html index 0f2ef051..70ef3bc6 100644 --- a/api/pl.treksoft.kvision.toolbar/-button-group/-init-.html +++ b/api/pl.treksoft.kvision.toolbar/-button-group/-init-.html @@ -8,13 +8,13 @@ kvision / pl.treksoft.kvision.toolbar / ButtonGroup / <init>

<init>

- -ButtonGroup(size: ButtonGroupSize? = null, style: ButtonGroupStyle? = null, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null) + +ButtonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null)

Parameters

size - button group size

-

-style - button group style

+

+vertical - determines if button group is aligned vertically

classes - a set of CSS class names

diff --git a/api/pl.treksoft.kvision.toolbar/-button-group/button-group.html b/api/pl.treksoft.kvision.toolbar/-button-group/button-group.html deleted file mode 100644 index e1ab19e5..00000000 --- a/api/pl.treksoft.kvision.toolbar/-button-group/button-group.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -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/index.html b/api/pl.treksoft.kvision.toolbar/-button-group/index.html index 752c1890..24fcad70 100644 --- a/api/pl.treksoft.kvision.toolbar/-button-group/index.html +++ b/api/pl.treksoft.kvision.toolbar/-button-group/index.html @@ -18,7 +18,7 @@

<init>

-ButtonGroup(size: ButtonGroupSize? = null, style: ButtonGroupStyle? = null, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null) +ButtonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null) @@ -36,15 +36,27 @@ -

style

+

vertical

-var style: ButtonGroupStyle? -

Button group style.

+var vertical: Boolean +

Vertical alignment.

+

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -136,23 +148,116 @@
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

buttonGroup

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.buttonGroup(size: ButtonGroupSize? = null, style: ButtonGroupStyle? = null, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -162,6 +267,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.toolbar/-button-group/style.html b/api/pl.treksoft.kvision.toolbar/-button-group/style.html deleted file mode 100644 index 6797cd38..00000000 --- a/api/pl.treksoft.kvision.toolbar/-button-group/style.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -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/-button-group/vertical.html b/api/pl.treksoft.kvision.toolbar/-button-group/vertical.html new file mode 100644 index 00000000..35e124b5 --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-button-group/vertical.html @@ -0,0 +1,21 @@ + + + +ButtonGroup.vertical - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroup / vertical
+
+

vertical

+ +var vertical: Boolean +

Vertical alignment.

+

Getter
+

Vertical alignment.

+

+

Setter
+

Vertical alignment.

+

+ + diff --git a/api/pl.treksoft.kvision.toolbar/-toolbar/-init-.html b/api/pl.treksoft.kvision.toolbar/-toolbar/-init-.html index 98a50e47..c9c2a0ba 100644 --- a/api/pl.treksoft.kvision.toolbar/-toolbar/-init-.html +++ b/api/pl.treksoft.kvision.toolbar/-toolbar/-init-.html @@ -8,9 +8,15 @@ kvision / pl.treksoft.kvision.toolbar / Toolbar / <init>

<init>

- -Toolbar(classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null) + +Toolbar(size: ButtonGroupSize? = null, spacing: Int = 5, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null)

Parameters

+

+size - button groups size

+

+spacing - the spacing between button groups

+

+vertical - determines if button groups are aligned vertically

classes - a set of CSS class names

diff --git a/api/pl.treksoft.kvision.toolbar/-toolbar/index.html b/api/pl.treksoft.kvision.toolbar/-toolbar/index.html index 8f83b196..27e47a98 100644 --- a/api/pl.treksoft.kvision.toolbar/-toolbar/index.html +++ b/api/pl.treksoft.kvision.toolbar/-toolbar/index.html @@ -18,7 +18,51 @@

<init>

-Toolbar(classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null) +Toolbar(size: ButtonGroupSize? = null, spacing: Int = 5, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null) + + + +

Properties

+ + + + + + + + + + + + + + + +
+

size

+
+val size: ButtonGroupSize? +

button groups size

+
+

spacing

+
+val spacing: Int +

the spacing between button groups

+
+

vertical

+
+val vertical: Boolean +

determines if button groups are aligned vertically

+
+

Inherited Properties

+ + + + +
+

children

+
+val children: MutableList<Component>
@@ -99,23 +143,118 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

toolbar

+

addBsBgColor

-fun Container.toolbar(classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Toolbar.buttonGroup(classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function for toolbar.

+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -125,6 +264,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.toolbar/-toolbar/size.html b/api/pl.treksoft.kvision.toolbar/-toolbar/size.html new file mode 100644 index 00000000..bcba285d --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-toolbar/size.html @@ -0,0 +1,15 @@ + + + +Toolbar.size - kvision + + + +kvision / pl.treksoft.kvision.toolbar / Toolbar / size
+
+

size

+ +val size: ButtonGroupSize? +

button groups size

+ + diff --git a/api/pl.treksoft.kvision.toolbar/-toolbar/spacing.html b/api/pl.treksoft.kvision.toolbar/-toolbar/spacing.html new file mode 100644 index 00000000..1d1ed672 --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-toolbar/spacing.html @@ -0,0 +1,15 @@ + + + +Toolbar.spacing - kvision + + + +kvision / pl.treksoft.kvision.toolbar / Toolbar / spacing
+
+

spacing

+ +val spacing: Int +

the spacing between button groups

+ + diff --git a/api/pl.treksoft.kvision.toolbar/-toolbar/toolbar.html b/api/pl.treksoft.kvision.toolbar/-toolbar/toolbar.html deleted file mode 100644 index 25648800..00000000 --- a/api/pl.treksoft.kvision.toolbar/-toolbar/toolbar.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -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/-toolbar/vertical.html b/api/pl.treksoft.kvision.toolbar/-toolbar/vertical.html new file mode 100644 index 00000000..c4b0a6f1 --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-toolbar/vertical.html @@ -0,0 +1,15 @@ + + + +Toolbar.vertical - kvision + + + +kvision / pl.treksoft.kvision.toolbar / Toolbar / vertical
+
+

vertical

+ +val vertical: Boolean +

determines if button groups are aligned vertically

+ + diff --git a/api/pl.treksoft.kvision.toolbar/button-group.html b/api/pl.treksoft.kvision.toolbar/button-group.html new file mode 100644 index 00000000..17d2f7cf --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/button-group.html @@ -0,0 +1,20 @@ + + + +buttonGroup - kvision + + + +kvision / pl.treksoft.kvision.toolbar / buttonGroup
+
+

buttonGroup

+ +fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, 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.

+ +fun Toolbar.buttonGroup(classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function for toolbar.

+

It creates button groups with size and vertical parameters of the toolbar.

+ + diff --git a/api/pl.treksoft.kvision.toolbar/index.html b/api/pl.treksoft.kvision.toolbar/index.html index fa8e63b1..ec546141 100644 --- a/api/pl.treksoft.kvision.toolbar/index.html +++ b/api/pl.treksoft.kvision.toolbar/index.html @@ -32,20 +32,36 @@ -

ButtonGroupStyle

+

Toolbar

-enum class ButtonGroupStyle -

Button group styles.

+open class Toolbar : SimplePanel +

The Bootstrap toolbar.

+ + +

Functions

+ + + + + + diff --git a/api/pl.treksoft.kvision.toolbar/toolbar.html b/api/pl.treksoft.kvision.toolbar/toolbar.html new file mode 100644 index 00000000..7fb6b6f8 --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/toolbar.html @@ -0,0 +1,16 @@ + + + +toolbar - kvision + + + +kvision / pl.treksoft.kvision.toolbar / toolbar
+
+

toolbar

+ +fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, 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.types/-date/-date.html b/api/pl.treksoft.kvision.types/-date/-date.html index 5a7430e3..74c09414 100644 --- a/api/pl.treksoft.kvision.types/-date/-date.html +++ b/api/pl.treksoft.kvision.types/-date/-date.html @@ -9,8 +9,13 @@

Date

-expect class Date
+expect class Date
+Deprecated: Not supported in KVision 2. Use LocalDateTime or OffsetDateTime instead.
+
+
-actual typealias Date = Date +actual typealias Date = Date
+Deprecated: Not supported in KVision 2. Use LocalDateTime or OffsetDateTime instead.
+
diff --git a/api/pl.treksoft.kvision.types/-date/index.html b/api/pl.treksoft.kvision.types/-date/index.html index dff3a222..7f429ebf 100644 --- a/api/pl.treksoft.kvision.types/-date/index.html +++ b/api/pl.treksoft.kvision.types/-date/index.html @@ -8,6 +8,11 @@ kvision / pl.treksoft.kvision.types / Date

Date

-actual typealias Date = Dateexpect class Date +actual typealias Date = Date
+Deprecated: Not supported in KVision 2. Use LocalDateTime or OffsetDateTime instead.
+
+expect class Date
+Deprecated: Not supported in KVision 2. Use LocalDateTime or OffsetDateTime instead.
+
diff --git a/api/pl.treksoft.kvision.types/-json-date-serializer/descriptor.html b/api/pl.treksoft.kvision.types/-json-date-serializer/descriptor.html deleted file mode 100644 index e6229d71..00000000 --- a/api/pl.treksoft.kvision.types/-json-date-serializer/descriptor.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JsonDateSerializer.descriptor - kvision - - - -kvision / pl.treksoft.kvision.types / JsonDateSerializer / descriptor
-
-

descriptor

- -val descriptor: SerialDescriptor - - diff --git a/api/pl.treksoft.kvision.types/-json-date-serializer/deserialize.html b/api/pl.treksoft.kvision.types/-json-date-serializer/deserialize.html deleted file mode 100644 index 02bda7fc..00000000 --- a/api/pl.treksoft.kvision.types/-json-date-serializer/deserialize.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JsonDateSerializer.deserialize - kvision - - - -kvision / pl.treksoft.kvision.types / JsonDateSerializer / deserialize
-
-

deserialize

- -fun deserialize(decoder: Decoder): Date - - diff --git a/api/pl.treksoft.kvision.types/-json-date-serializer/index.html b/api/pl.treksoft.kvision.types/-json-date-serializer/index.html deleted file mode 100644 index 29dcbd66..00000000 --- a/api/pl.treksoft.kvision.types/-json-date-serializer/index.html +++ /dev/null @@ -1,59 +0,0 @@ - - - -JsonDateSerializer - kvision - - - -kvision / pl.treksoft.kvision.types / JsonDateSerializer
-
-

JsonDateSerializer

-object JsonDateSerializer : KSerializer<Date> -

JSON date serializer.

-

Properties

-
-

Toolbar

+

buttonGroup

-open class Toolbar : SimplePanel -

The Bootstrap toolbar.

+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+fun Toolbar.buttonGroup(classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function for toolbar.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

- - - - - - -
-

descriptor

-
-val descriptor: SerialDescriptor
-

Functions

- - - - - - - - - - - -
-

deserialize

-
-fun deserialize(decoder: Decoder): Date
-

serialize

-
-fun serialize(encoder: Encoder, obj: Date): Unit
-

Extension Functions

- - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
- - diff --git a/api/pl.treksoft.kvision.types/-json-date-serializer/serialize.html b/api/pl.treksoft.kvision.types/-json-date-serializer/serialize.html deleted file mode 100644 index 83a1ba60..00000000 --- a/api/pl.treksoft.kvision.types/-json-date-serializer/serialize.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JsonDateSerializer.serialize - kvision - - - -kvision / pl.treksoft.kvision.types / JsonDateSerializer / serialize
-
-

serialize

- -fun serialize(encoder: Encoder, obj: Date): Unit - - diff --git a/api/pl.treksoft.kvision.types/-local-date-deserializer/-init-.html b/api/pl.treksoft.kvision.types/-local-date-deserializer/-init-.html new file mode 100644 index 00000000..e98e5e03 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-date-deserializer/-init-.html @@ -0,0 +1,14 @@ + + + +LocalDateDeserializer.<init> - kvision + + + +kvision / pl.treksoft.kvision.types / LocalDateDeserializer / <init>
+
+

<init>

+ +LocalDateDeserializer() + + diff --git a/api/pl.treksoft.kvision.types/-local-date-deserializer/deserialize.html b/api/pl.treksoft.kvision.types/-local-date-deserializer/deserialize.html new file mode 100644 index 00000000..8a760c26 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-date-deserializer/deserialize.html @@ -0,0 +1,14 @@ + + + +LocalDateDeserializer.deserialize - kvision + + + +kvision / pl.treksoft.kvision.types / LocalDateDeserializer / deserialize
+
+

deserialize

+ +fun deserialize(p: <ERROR CLASS>, ctx: <ERROR CLASS>): LocalDate? + + diff --git a/api/pl.treksoft.kvision.types/-local-date-deserializer/index.html b/api/pl.treksoft.kvision.types/-local-date-deserializer/index.html new file mode 100644 index 00000000..21d75f58 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-date-deserializer/index.html @@ -0,0 +1,51 @@ + + + +LocalDateDeserializer - kvision + + + +kvision / pl.treksoft.kvision.types / LocalDateDeserializer
+
+

LocalDateDeserializer

+class LocalDateDeserializer +

Constructors

+ + + + + + + +
+

<init>

+
+LocalDateDeserializer()
+

Functions

+ + + + + + + +
+

deserialize

+
+fun deserialize(p: <ERROR CLASS>, ctx: <ERROR CLASS>): LocalDate?
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.types/-local-date-serializer/-init-.html b/api/pl.treksoft.kvision.types/-local-date-serializer/-init-.html new file mode 100644 index 00000000..9ca22945 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-date-serializer/-init-.html @@ -0,0 +1,14 @@ + + + +LocalDateSerializer.<init> - kvision + + + +kvision / pl.treksoft.kvision.types / LocalDateSerializer / <init>
+
+

<init>

+ +LocalDateSerializer() + + diff --git a/api/pl.treksoft.kvision.types/-local-date-serializer/index.html b/api/pl.treksoft.kvision.types/-local-date-serializer/index.html new file mode 100644 index 00000000..286244e6 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-date-serializer/index.html @@ -0,0 +1,51 @@ + + + +LocalDateSerializer - kvision + + + +kvision / pl.treksoft.kvision.types / LocalDateSerializer
+
+

LocalDateSerializer

+class LocalDateSerializer +

Constructors

+ + + + + + + +
+

<init>

+
+LocalDateSerializer()
+

Functions

+ + + + + + + +
+

serialize

+
+fun serialize(value: LocalDate, gen: <ERROR CLASS>, provider: <ERROR CLASS>): Unit
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.types/-local-date-serializer/serialize.html b/api/pl.treksoft.kvision.types/-local-date-serializer/serialize.html new file mode 100644 index 00000000..cd0a5763 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-date-serializer/serialize.html @@ -0,0 +1,14 @@ + + + +LocalDateSerializer.serialize - kvision + + + +kvision / pl.treksoft.kvision.types / LocalDateSerializer / serialize
+
+

serialize

+ +fun serialize(value: LocalDate, gen: <ERROR CLASS>, provider: <ERROR CLASS>): Unit + + diff --git a/api/pl.treksoft.kvision.types/-local-date-time-deserializer/-init-.html b/api/pl.treksoft.kvision.types/-local-date-time-deserializer/-init-.html new file mode 100644 index 00000000..9082f3bf --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-date-time-deserializer/-init-.html @@ -0,0 +1,14 @@ + + + +LocalDateTimeDeserializer.<init> - kvision + + + +kvision / pl.treksoft.kvision.types / LocalDateTimeDeserializer / <init>
+
+

<init>

+ +LocalDateTimeDeserializer() + + diff --git a/api/pl.treksoft.kvision.types/-local-date-time-deserializer/deserialize.html b/api/pl.treksoft.kvision.types/-local-date-time-deserializer/deserialize.html new file mode 100644 index 00000000..1a815e86 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-date-time-deserializer/deserialize.html @@ -0,0 +1,14 @@ + + + +LocalDateTimeDeserializer.deserialize - kvision + + + +kvision / pl.treksoft.kvision.types / LocalDateTimeDeserializer / deserialize
+
+

deserialize

+ +fun deserialize(p: <ERROR CLASS>, ctx: <ERROR CLASS>): LocalDateTime? + + diff --git a/api/pl.treksoft.kvision.types/-local-date-time-deserializer/index.html b/api/pl.treksoft.kvision.types/-local-date-time-deserializer/index.html new file mode 100644 index 00000000..7f165dee --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-date-time-deserializer/index.html @@ -0,0 +1,51 @@ + + + +LocalDateTimeDeserializer - kvision + + + +kvision / pl.treksoft.kvision.types / LocalDateTimeDeserializer
+
+

LocalDateTimeDeserializer

+class LocalDateTimeDeserializer +

Constructors

+ + + + + + + +
+

<init>

+
+LocalDateTimeDeserializer()
+

Functions

+ + + + + + + +
+

deserialize

+
+fun deserialize(p: <ERROR CLASS>, ctx: <ERROR CLASS>): LocalDateTime?
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.types/-local-date-time-serializer/-init-.html b/api/pl.treksoft.kvision.types/-local-date-time-serializer/-init-.html new file mode 100644 index 00000000..57b52b4f --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-date-time-serializer/-init-.html @@ -0,0 +1,14 @@ + + + +LocalDateTimeSerializer.<init> - kvision + + + +kvision / pl.treksoft.kvision.types / LocalDateTimeSerializer / <init>
+
+

<init>

+ +LocalDateTimeSerializer() + + diff --git a/api/pl.treksoft.kvision.types/-local-date-time-serializer/index.html b/api/pl.treksoft.kvision.types/-local-date-time-serializer/index.html new file mode 100644 index 00000000..60064478 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-date-time-serializer/index.html @@ -0,0 +1,51 @@ + + + +LocalDateTimeSerializer - kvision + + + +kvision / pl.treksoft.kvision.types / LocalDateTimeSerializer
+
+

LocalDateTimeSerializer

+class LocalDateTimeSerializer +

Constructors

+ + + + + + + +
+

<init>

+
+LocalDateTimeSerializer()
+

Functions

+ + + + + + + +
+

serialize

+
+fun serialize(value: LocalDateTime, gen: <ERROR CLASS>, provider: <ERROR CLASS>): Unit
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.types/-local-date-time-serializer/serialize.html b/api/pl.treksoft.kvision.types/-local-date-time-serializer/serialize.html new file mode 100644 index 00000000..5f4513e0 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-date-time-serializer/serialize.html @@ -0,0 +1,14 @@ + + + +LocalDateTimeSerializer.serialize - kvision + + + +kvision / pl.treksoft.kvision.types / LocalDateTimeSerializer / serialize
+
+

serialize

+ +fun serialize(value: LocalDateTime, gen: <ERROR CLASS>, provider: <ERROR CLASS>): Unit + + diff --git a/api/pl.treksoft.kvision.types/-local-date-time/-local-date-time.html b/api/pl.treksoft.kvision.types/-local-date-time/-local-date-time.html new file mode 100644 index 00000000..b2aeab04 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-date-time/-local-date-time.html @@ -0,0 +1,16 @@ + + + +LocalDateTime - kvision + + + +kvision / pl.treksoft.kvision.types / LocalDateTime
+
+

LocalDateTime

+ +expect class LocalDateTime
+ +actual typealias LocalDateTime = Date + + diff --git a/api/pl.treksoft.kvision.types/-local-date-time/index.html b/api/pl.treksoft.kvision.types/-local-date-time/index.html new file mode 100644 index 00000000..d6215fa1 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-date-time/index.html @@ -0,0 +1,13 @@ + + + +pl.treksoft.kvision.types.LocalDateTime - kvision + + + +kvision / pl.treksoft.kvision.types / LocalDateTime
+
+

LocalDateTime

+actual typealias LocalDateTime = Dateexpect class LocalDateTime + + diff --git a/api/pl.treksoft.kvision.types/-local-date/-local-date.html b/api/pl.treksoft.kvision.types/-local-date/-local-date.html new file mode 100644 index 00000000..f41541cf --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-date/-local-date.html @@ -0,0 +1,16 @@ + + + +LocalDate - kvision + + + +kvision / pl.treksoft.kvision.types / LocalDate
+
+

LocalDate

+ +expect class LocalDate
+ +actual typealias LocalDate = Date + + diff --git a/api/pl.treksoft.kvision.types/-local-date/index.html b/api/pl.treksoft.kvision.types/-local-date/index.html new file mode 100644 index 00000000..fc0a8560 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-date/index.html @@ -0,0 +1,13 @@ + + + +pl.treksoft.kvision.types.LocalDate - kvision + + + +kvision / pl.treksoft.kvision.types / LocalDate
+
+

LocalDate

+actual typealias LocalDate = Dateexpect class LocalDate + + diff --git a/api/pl.treksoft.kvision.types/-local-time-deserializer/-init-.html b/api/pl.treksoft.kvision.types/-local-time-deserializer/-init-.html new file mode 100644 index 00000000..0a5f50dd --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-time-deserializer/-init-.html @@ -0,0 +1,14 @@ + + + +LocalTimeDeserializer.<init> - kvision + + + +kvision / pl.treksoft.kvision.types / LocalTimeDeserializer / <init>
+
+

<init>

+ +LocalTimeDeserializer() + + diff --git a/api/pl.treksoft.kvision.types/-local-time-deserializer/deserialize.html b/api/pl.treksoft.kvision.types/-local-time-deserializer/deserialize.html new file mode 100644 index 00000000..440b11a9 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-time-deserializer/deserialize.html @@ -0,0 +1,14 @@ + + + +LocalTimeDeserializer.deserialize - kvision + + + +kvision / pl.treksoft.kvision.types / LocalTimeDeserializer / deserialize
+
+

deserialize

+ +fun deserialize(p: <ERROR CLASS>, ctx: <ERROR CLASS>): LocalTime? + + diff --git a/api/pl.treksoft.kvision.types/-local-time-deserializer/index.html b/api/pl.treksoft.kvision.types/-local-time-deserializer/index.html new file mode 100644 index 00000000..5f20cbf6 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-time-deserializer/index.html @@ -0,0 +1,51 @@ + + + +LocalTimeDeserializer - kvision + + + +kvision / pl.treksoft.kvision.types / LocalTimeDeserializer
+
+

LocalTimeDeserializer

+class LocalTimeDeserializer +

Constructors

+ + + + + + + +
+

<init>

+
+LocalTimeDeserializer()
+

Functions

+ + + + + + + +
+

deserialize

+
+fun deserialize(p: <ERROR CLASS>, ctx: <ERROR CLASS>): LocalTime?
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.types/-local-time-serializer/-init-.html b/api/pl.treksoft.kvision.types/-local-time-serializer/-init-.html new file mode 100644 index 00000000..e609f590 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-time-serializer/-init-.html @@ -0,0 +1,14 @@ + + + +LocalTimeSerializer.<init> - kvision + + + +kvision / pl.treksoft.kvision.types / LocalTimeSerializer / <init>
+
+

<init>

+ +LocalTimeSerializer() + + diff --git a/api/pl.treksoft.kvision.types/-local-time-serializer/index.html b/api/pl.treksoft.kvision.types/-local-time-serializer/index.html new file mode 100644 index 00000000..e1ac064a --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-time-serializer/index.html @@ -0,0 +1,51 @@ + + + +LocalTimeSerializer - kvision + + + +kvision / pl.treksoft.kvision.types / LocalTimeSerializer
+
+

LocalTimeSerializer

+class LocalTimeSerializer +

Constructors

+ + + + + + + +
+

<init>

+
+LocalTimeSerializer()
+

Functions

+ + + + + + + +
+

serialize

+
+fun serialize(value: LocalTime, gen: <ERROR CLASS>, provider: <ERROR CLASS>): Unit
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.types/-local-time-serializer/serialize.html b/api/pl.treksoft.kvision.types/-local-time-serializer/serialize.html new file mode 100644 index 00000000..c5119f12 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-time-serializer/serialize.html @@ -0,0 +1,14 @@ + + + +LocalTimeSerializer.serialize - kvision + + + +kvision / pl.treksoft.kvision.types / LocalTimeSerializer / serialize
+
+

serialize

+ +fun serialize(value: LocalTime, gen: <ERROR CLASS>, provider: <ERROR CLASS>): Unit + + diff --git a/api/pl.treksoft.kvision.types/-local-time/-local-time.html b/api/pl.treksoft.kvision.types/-local-time/-local-time.html new file mode 100644 index 00000000..9555e001 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-time/-local-time.html @@ -0,0 +1,16 @@ + + + +LocalTime - kvision + + + +kvision / pl.treksoft.kvision.types / LocalTime
+
+

LocalTime

+ +expect class LocalTime
+ +actual typealias LocalTime = Date + + diff --git a/api/pl.treksoft.kvision.types/-local-time/index.html b/api/pl.treksoft.kvision.types/-local-time/index.html new file mode 100644 index 00000000..0292296b --- /dev/null +++ b/api/pl.treksoft.kvision.types/-local-time/index.html @@ -0,0 +1,13 @@ + + + +pl.treksoft.kvision.types.LocalTime - kvision + + + +kvision / pl.treksoft.kvision.types / LocalTime
+
+

LocalTime

+actual typealias LocalTime = Dateexpect class LocalTime + + diff --git a/api/pl.treksoft.kvision.types/-offset-date-time-deserializer/-init-.html b/api/pl.treksoft.kvision.types/-offset-date-time-deserializer/-init-.html new file mode 100644 index 00000000..0de5ec30 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-offset-date-time-deserializer/-init-.html @@ -0,0 +1,14 @@ + + + +OffsetDateTimeDeserializer.<init> - kvision + + + +kvision / pl.treksoft.kvision.types / OffsetDateTimeDeserializer / <init>
+
+

<init>

+ +OffsetDateTimeDeserializer() + + diff --git a/api/pl.treksoft.kvision.types/-offset-date-time-deserializer/deserialize.html b/api/pl.treksoft.kvision.types/-offset-date-time-deserializer/deserialize.html new file mode 100644 index 00000000..efd244fd --- /dev/null +++ b/api/pl.treksoft.kvision.types/-offset-date-time-deserializer/deserialize.html @@ -0,0 +1,14 @@ + + + +OffsetDateTimeDeserializer.deserialize - kvision + + + +kvision / pl.treksoft.kvision.types / OffsetDateTimeDeserializer / deserialize
+
+

deserialize

+ +fun deserialize(p: <ERROR CLASS>, ctx: <ERROR CLASS>): OffsetDateTime? + + diff --git a/api/pl.treksoft.kvision.types/-offset-date-time-deserializer/index.html b/api/pl.treksoft.kvision.types/-offset-date-time-deserializer/index.html new file mode 100644 index 00000000..c1fda40c --- /dev/null +++ b/api/pl.treksoft.kvision.types/-offset-date-time-deserializer/index.html @@ -0,0 +1,51 @@ + + + +OffsetDateTimeDeserializer - kvision + + + +kvision / pl.treksoft.kvision.types / OffsetDateTimeDeserializer
+
+

OffsetDateTimeDeserializer

+class OffsetDateTimeDeserializer +

Constructors

+ + + + + + + +
+

<init>

+
+OffsetDateTimeDeserializer()
+

Functions

+ + + + + + + +
+

deserialize

+
+fun deserialize(p: <ERROR CLASS>, ctx: <ERROR CLASS>): OffsetDateTime?
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.types/-offset-date-time-serializer/-init-.html b/api/pl.treksoft.kvision.types/-offset-date-time-serializer/-init-.html new file mode 100644 index 00000000..d913420e --- /dev/null +++ b/api/pl.treksoft.kvision.types/-offset-date-time-serializer/-init-.html @@ -0,0 +1,14 @@ + + + +OffsetDateTimeSerializer.<init> - kvision + + + +kvision / pl.treksoft.kvision.types / OffsetDateTimeSerializer / <init>
+
+

<init>

+ +OffsetDateTimeSerializer() + + diff --git a/api/pl.treksoft.kvision.types/-offset-date-time-serializer/index.html b/api/pl.treksoft.kvision.types/-offset-date-time-serializer/index.html new file mode 100644 index 00000000..e325d009 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-offset-date-time-serializer/index.html @@ -0,0 +1,51 @@ + + + +OffsetDateTimeSerializer - kvision + + + +kvision / pl.treksoft.kvision.types / OffsetDateTimeSerializer
+
+

OffsetDateTimeSerializer

+class OffsetDateTimeSerializer +

Constructors

+ + + + + + + +
+

<init>

+
+OffsetDateTimeSerializer()
+

Functions

+ + + + + + + +
+

serialize

+
+fun serialize(value: OffsetDateTime, gen: <ERROR CLASS>, provider: <ERROR CLASS>): Unit
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.types/-offset-date-time-serializer/serialize.html b/api/pl.treksoft.kvision.types/-offset-date-time-serializer/serialize.html new file mode 100644 index 00000000..9cd2cc91 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-offset-date-time-serializer/serialize.html @@ -0,0 +1,14 @@ + + + +OffsetDateTimeSerializer.serialize - kvision + + + +kvision / pl.treksoft.kvision.types / OffsetDateTimeSerializer / serialize
+
+

serialize

+ +fun serialize(value: OffsetDateTime, gen: <ERROR CLASS>, provider: <ERROR CLASS>): Unit + + diff --git a/api/pl.treksoft.kvision.types/-offset-date-time/-offset-date-time.html b/api/pl.treksoft.kvision.types/-offset-date-time/-offset-date-time.html new file mode 100644 index 00000000..9e4033e8 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-offset-date-time/-offset-date-time.html @@ -0,0 +1,16 @@ + + + +OffsetDateTime - kvision + + + +kvision / pl.treksoft.kvision.types / OffsetDateTime
+
+

OffsetDateTime

+ +expect class OffsetDateTime
+ +actual typealias OffsetDateTime = Date + + diff --git a/api/pl.treksoft.kvision.types/-offset-date-time/index.html b/api/pl.treksoft.kvision.types/-offset-date-time/index.html new file mode 100644 index 00000000..e46c0fd4 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-offset-date-time/index.html @@ -0,0 +1,13 @@ + + + +pl.treksoft.kvision.types.OffsetDateTime - kvision + + + +kvision / pl.treksoft.kvision.types / OffsetDateTime
+
+

OffsetDateTime

+actual typealias OffsetDateTime = Dateexpect class OffsetDateTime + + diff --git a/api/pl.treksoft.kvision.types/-offset-time-deserializer/-init-.html b/api/pl.treksoft.kvision.types/-offset-time-deserializer/-init-.html new file mode 100644 index 00000000..60b7de04 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-offset-time-deserializer/-init-.html @@ -0,0 +1,14 @@ + + + +OffsetTimeDeserializer.<init> - kvision + + + +kvision / pl.treksoft.kvision.types / OffsetTimeDeserializer / <init>
+
+

<init>

+ +OffsetTimeDeserializer() + + diff --git a/api/pl.treksoft.kvision.types/-offset-time-deserializer/deserialize.html b/api/pl.treksoft.kvision.types/-offset-time-deserializer/deserialize.html new file mode 100644 index 00000000..cc3020d6 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-offset-time-deserializer/deserialize.html @@ -0,0 +1,14 @@ + + + +OffsetTimeDeserializer.deserialize - kvision + + + +kvision / pl.treksoft.kvision.types / OffsetTimeDeserializer / deserialize
+
+

deserialize

+ +fun deserialize(p: <ERROR CLASS>, ctx: <ERROR CLASS>): OffsetTime? + + diff --git a/api/pl.treksoft.kvision.types/-offset-time-deserializer/index.html b/api/pl.treksoft.kvision.types/-offset-time-deserializer/index.html new file mode 100644 index 00000000..04672295 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-offset-time-deserializer/index.html @@ -0,0 +1,51 @@ + + + +OffsetTimeDeserializer - kvision + + + +kvision / pl.treksoft.kvision.types / OffsetTimeDeserializer
+
+

OffsetTimeDeserializer

+class OffsetTimeDeserializer +

Constructors

+ + + + + + + +
+

<init>

+
+OffsetTimeDeserializer()
+

Functions

+ + + + + + + +
+

deserialize

+
+fun deserialize(p: <ERROR CLASS>, ctx: <ERROR CLASS>): OffsetTime?
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.types/-offset-time-serializer/-init-.html b/api/pl.treksoft.kvision.types/-offset-time-serializer/-init-.html new file mode 100644 index 00000000..61b63a07 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-offset-time-serializer/-init-.html @@ -0,0 +1,14 @@ + + + +OffsetTimeSerializer.<init> - kvision + + + +kvision / pl.treksoft.kvision.types / OffsetTimeSerializer / <init>
+
+

<init>

+ +OffsetTimeSerializer() + + diff --git a/api/pl.treksoft.kvision.types/-offset-time-serializer/index.html b/api/pl.treksoft.kvision.types/-offset-time-serializer/index.html new file mode 100644 index 00000000..3e58a660 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-offset-time-serializer/index.html @@ -0,0 +1,51 @@ + + + +OffsetTimeSerializer - kvision + + + +kvision / pl.treksoft.kvision.types / OffsetTimeSerializer
+
+

OffsetTimeSerializer

+class OffsetTimeSerializer +

Constructors

+ + + + + + + +
+

<init>

+
+OffsetTimeSerializer()
+

Functions

+ + + + + + + +
+

serialize

+
+fun serialize(value: OffsetTime, gen: <ERROR CLASS>, provider: <ERROR CLASS>): Unit
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.types/-offset-time-serializer/serialize.html b/api/pl.treksoft.kvision.types/-offset-time-serializer/serialize.html new file mode 100644 index 00000000..d8149c4f --- /dev/null +++ b/api/pl.treksoft.kvision.types/-offset-time-serializer/serialize.html @@ -0,0 +1,14 @@ + + + +OffsetTimeSerializer.serialize - kvision + + + +kvision / pl.treksoft.kvision.types / OffsetTimeSerializer / serialize
+
+

serialize

+ +fun serialize(value: OffsetTime, gen: <ERROR CLASS>, provider: <ERROR CLASS>): Unit + + diff --git a/api/pl.treksoft.kvision.types/-offset-time/-offset-time.html b/api/pl.treksoft.kvision.types/-offset-time/-offset-time.html new file mode 100644 index 00000000..29d89aa1 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-offset-time/-offset-time.html @@ -0,0 +1,16 @@ + + + +OffsetTime - kvision + + + +kvision / pl.treksoft.kvision.types / OffsetTime
+
+

OffsetTime

+ +expect class OffsetTime
+ +actual typealias OffsetTime = Date + + diff --git a/api/pl.treksoft.kvision.types/-offset-time/index.html b/api/pl.treksoft.kvision.types/-offset-time/index.html new file mode 100644 index 00000000..50b8f501 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-offset-time/index.html @@ -0,0 +1,13 @@ + + + +pl.treksoft.kvision.types.OffsetTime - kvision + + + +kvision / pl.treksoft.kvision.types / OffsetTime
+
+

OffsetTime

+actual typealias OffsetTime = Dateexpect class OffsetTime + + diff --git a/api/pl.treksoft.kvision.types/index.html b/api/pl.treksoft.kvision.types/index.html index 058da689..1f520dd5 100644 --- a/api/pl.treksoft.kvision.types/index.html +++ b/api/pl.treksoft.kvision.types/index.html @@ -17,7 +17,7 @@

Date

-expect class Date +expect class Date @@ -28,21 +28,117 @@ -

JsonDateSerializer

+

KFile

-object JsonDateSerializer : KSerializer<Date> -

JSON date serializer.

+data class KFile +

A serializable class for a multiplatform File type.

-

KFile

+

LocalDate

-data class KFile -

A serializable class for a multiplatform File type.

+expect class LocalDate + + + +

LocalDateDeserializer

+ + +class LocalDateDeserializer + + + +

LocalDateSerializer

+ + +class LocalDateSerializer + + + +

LocalDateTime

+ + +expect class LocalDateTime + + + +

LocalDateTimeDeserializer

+ + +class LocalDateTimeDeserializer + + + +

LocalDateTimeSerializer

+ + +class LocalDateTimeSerializer + + + +

LocalTime

+ + +expect class LocalTime + + + +

LocalTimeDeserializer

+ + +class LocalTimeDeserializer + + + +

LocalTimeSerializer

+ + +class LocalTimeSerializer + + + +

OffsetDateTime

+ + +expect class OffsetDateTime + + + +

OffsetDateTimeDeserializer

+ + +class OffsetDateTimeDeserializer + + + +

OffsetDateTimeSerializer

+ + +class OffsetDateTimeSerializer + + + +

OffsetTime

+ + +expect class OffsetTime + + + +

OffsetTimeDeserializer

+ +class OffsetTimeDeserializer + + + +

OffsetTimeSerializer

+ + +class OffsetTimeSerializer @@ -54,7 +150,42 @@

Date

-actual typealias Date = Date +actual typealias Date = Date + + + +

LocalDate

+ + +actual typealias LocalDate = Date + + + +

LocalDateTime

+ + +actual typealias LocalDateTime = Date + + + +

LocalTime

+ + +actual typealias LocalTime = Date + + + +

OffsetDateTime

+ + +actual typealias OffsetDateTime = Date + + + +

OffsetTime

+ + +actual typealias OffsetTime = Date @@ -63,6 +194,41 @@ +

java.time.LocalDate

+ + + + + + +

java.time.LocalDateTime

+ + + + + + +

java.time.LocalTime

+ + + + + + +

java.time.OffsetDateTime

+ + + + + + +

java.time.OffsetTime

+ + + + + +

kotlin.js.Date

diff --git a/api/pl.treksoft.kvision.types/java.time.-local-date-time/index.html b/api/pl.treksoft.kvision.types/java.time.-local-date-time/index.html new file mode 100644 index 00000000..f7e51f2e --- /dev/null +++ b/api/pl.treksoft.kvision.types/java.time.-local-date-time/index.html @@ -0,0 +1,23 @@ + + + +pl.treksoft.kvision.types.java.time.LocalDateTime - kvision + + + +kvision / pl.treksoft.kvision.types / java.time.LocalDateTime
+
+

Extensions for java.time.LocalDateTime

+ + + + + + + +
+

toStringF

+
+fun LocalDateTime.toStringF(): String
+ + diff --git a/api/pl.treksoft.kvision.types/java.time.-local-date-time/to-string-f.html b/api/pl.treksoft.kvision.types/java.time.-local-date-time/to-string-f.html new file mode 100644 index 00000000..d1aacd93 --- /dev/null +++ b/api/pl.treksoft.kvision.types/java.time.-local-date-time/to-string-f.html @@ -0,0 +1,14 @@ + + + +toStringF - kvision + + + +kvision / pl.treksoft.kvision.types / java.time.LocalDateTime / toStringF
+
+

toStringF

+ +fun LocalDateTime.toStringF(): String + + diff --git a/api/pl.treksoft.kvision.types/java.time.-local-date/index.html b/api/pl.treksoft.kvision.types/java.time.-local-date/index.html new file mode 100644 index 00000000..91ebb10a --- /dev/null +++ b/api/pl.treksoft.kvision.types/java.time.-local-date/index.html @@ -0,0 +1,23 @@ + + + +pl.treksoft.kvision.types.java.time.LocalDate - kvision + + + +kvision / pl.treksoft.kvision.types / java.time.LocalDate
+
+

Extensions for java.time.LocalDate

+ + + + + + + +
+

toStringF

+
+fun LocalDate.toStringF(): String
+ + diff --git a/api/pl.treksoft.kvision.types/java.time.-local-date/to-string-f.html b/api/pl.treksoft.kvision.types/java.time.-local-date/to-string-f.html new file mode 100644 index 00000000..9947c898 --- /dev/null +++ b/api/pl.treksoft.kvision.types/java.time.-local-date/to-string-f.html @@ -0,0 +1,14 @@ + + + +toStringF - kvision + + + +kvision / pl.treksoft.kvision.types / java.time.LocalDate / toStringF
+
+

toStringF

+ +fun LocalDate.toStringF(): String + + diff --git a/api/pl.treksoft.kvision.types/java.time.-local-time/index.html b/api/pl.treksoft.kvision.types/java.time.-local-time/index.html new file mode 100644 index 00000000..79661e8a --- /dev/null +++ b/api/pl.treksoft.kvision.types/java.time.-local-time/index.html @@ -0,0 +1,23 @@ + + + +pl.treksoft.kvision.types.java.time.LocalTime - kvision + + + +kvision / pl.treksoft.kvision.types / java.time.LocalTime
+
+

Extensions for java.time.LocalTime

+ + + + + + + +
+

toStringF

+
+fun LocalTime.toStringF(): String
+ + diff --git a/api/pl.treksoft.kvision.types/java.time.-local-time/to-string-f.html b/api/pl.treksoft.kvision.types/java.time.-local-time/to-string-f.html new file mode 100644 index 00000000..c83e6192 --- /dev/null +++ b/api/pl.treksoft.kvision.types/java.time.-local-time/to-string-f.html @@ -0,0 +1,14 @@ + + + +toStringF - kvision + + + +kvision / pl.treksoft.kvision.types / java.time.LocalTime / toStringF
+
+

toStringF

+ +fun LocalTime.toStringF(): String + + diff --git a/api/pl.treksoft.kvision.types/java.time.-offset-date-time/index.html b/api/pl.treksoft.kvision.types/java.time.-offset-date-time/index.html new file mode 100644 index 00000000..93b0b9c1 --- /dev/null +++ b/api/pl.treksoft.kvision.types/java.time.-offset-date-time/index.html @@ -0,0 +1,23 @@ + + + +pl.treksoft.kvision.types.java.time.OffsetDateTime - kvision + + + +kvision / pl.treksoft.kvision.types / java.time.OffsetDateTime
+
+

Extensions for java.time.OffsetDateTime

+ + + + + + + +
+

toStringF

+
+fun OffsetDateTime.toStringF(): String
+ + diff --git a/api/pl.treksoft.kvision.types/java.time.-offset-date-time/to-string-f.html b/api/pl.treksoft.kvision.types/java.time.-offset-date-time/to-string-f.html new file mode 100644 index 00000000..e2364747 --- /dev/null +++ b/api/pl.treksoft.kvision.types/java.time.-offset-date-time/to-string-f.html @@ -0,0 +1,14 @@ + + + +toStringF - kvision + + + +kvision / pl.treksoft.kvision.types / java.time.OffsetDateTime / toStringF
+
+

toStringF

+ +fun OffsetDateTime.toStringF(): String + + diff --git a/api/pl.treksoft.kvision.types/java.time.-offset-time/index.html b/api/pl.treksoft.kvision.types/java.time.-offset-time/index.html new file mode 100644 index 00000000..d480be69 --- /dev/null +++ b/api/pl.treksoft.kvision.types/java.time.-offset-time/index.html @@ -0,0 +1,23 @@ + + + +pl.treksoft.kvision.types.java.time.OffsetTime - kvision + + + +kvision / pl.treksoft.kvision.types / java.time.OffsetTime
+
+

Extensions for java.time.OffsetTime

+ + + + + + + +
+

toStringF

+
+fun OffsetTime.toStringF(): String
+ + diff --git a/api/pl.treksoft.kvision.types/java.time.-offset-time/to-string-f.html b/api/pl.treksoft.kvision.types/java.time.-offset-time/to-string-f.html new file mode 100644 index 00000000..e25af425 --- /dev/null +++ b/api/pl.treksoft.kvision.types/java.time.-offset-time/to-string-f.html @@ -0,0 +1,14 @@ + + + +toStringF - kvision + + + +kvision / pl.treksoft.kvision.types / java.time.OffsetTime / toStringF
+
+

toStringF

+ +fun OffsetTime.toStringF(): String + + diff --git a/api/pl.treksoft.kvision.types/kotlin.-string/index.html b/api/pl.treksoft.kvision.types/kotlin.-string/index.html index 70dff2ea..005eeb6c 100644 --- a/api/pl.treksoft.kvision.types/kotlin.-string/index.html +++ b/api/pl.treksoft.kvision.types/kotlin.-string/index.html @@ -15,7 +15,37 @@

toDateF

-fun String.toDateF(format: String = KV_DEFAULT_DATE_FORMAT): Date +fun String.toDateF(): LocalDatefun String.toDateF(format: String = KV_DEFAULT_DATE_FORMAT): Date +

Extension function to convert String to Date with a given date format.

+ + + + +

toDateTimeF

+ + +fun String.toDateTimeF(): LocalDateTime + + + +

toOffsetDateTimeF

+ + +fun String.toOffsetDateTimeF(): OffsetDateTime + + + +

toOffsetTimeF

+ + +fun String.toOffsetTimeF(): OffsetTime + + + +

toTimeF

+ + +fun String.toTimeF(): LocalTime diff --git a/api/pl.treksoft.kvision.types/kotlin.-string/to-date-f.html b/api/pl.treksoft.kvision.types/kotlin.-string/to-date-f.html index 50cfc555..2ceb5cdb 100644 --- a/api/pl.treksoft.kvision.types/kotlin.-string/to-date-f.html +++ b/api/pl.treksoft.kvision.types/kotlin.-string/to-date-f.html @@ -8,7 +8,14 @@ kvision / pl.treksoft.kvision.types / kotlin.String / toDateF

toDateF

- -fun String.toDateF(format: String = KV_DEFAULT_DATE_FORMAT): Date + +fun String.toDateF(): LocalDate +fun String.toDateF(format: String = KV_DEFAULT_DATE_FORMAT): Date +

Extension function to convert String to Date with a given date format.

+

Parameters

+

+format - date/time format

+

Return
+Date object

diff --git a/api/pl.treksoft.kvision.types/kotlin.-string/to-date-time-f.html b/api/pl.treksoft.kvision.types/kotlin.-string/to-date-time-f.html new file mode 100644 index 00000000..c72e1cc8 --- /dev/null +++ b/api/pl.treksoft.kvision.types/kotlin.-string/to-date-time-f.html @@ -0,0 +1,14 @@ + + + +toDateTimeF - kvision + + + +kvision / pl.treksoft.kvision.types / kotlin.String / toDateTimeF
+
+

toDateTimeF

+ +fun String.toDateTimeF(): LocalDateTime + + diff --git a/api/pl.treksoft.kvision.types/kotlin.-string/to-offset-date-time-f.html b/api/pl.treksoft.kvision.types/kotlin.-string/to-offset-date-time-f.html new file mode 100644 index 00000000..44982996 --- /dev/null +++ b/api/pl.treksoft.kvision.types/kotlin.-string/to-offset-date-time-f.html @@ -0,0 +1,14 @@ + + + +toOffsetDateTimeF - kvision + + + +kvision / pl.treksoft.kvision.types / kotlin.String / toOffsetDateTimeF
+
+

toOffsetDateTimeF

+ +fun String.toOffsetDateTimeF(): OffsetDateTime + + diff --git a/api/pl.treksoft.kvision.types/kotlin.-string/to-offset-time-f.html b/api/pl.treksoft.kvision.types/kotlin.-string/to-offset-time-f.html new file mode 100644 index 00000000..c0fa667a --- /dev/null +++ b/api/pl.treksoft.kvision.types/kotlin.-string/to-offset-time-f.html @@ -0,0 +1,14 @@ + + + +toOffsetTimeF - kvision + + + +kvision / pl.treksoft.kvision.types / kotlin.String / toOffsetTimeF
+
+

toOffsetTimeF

+ +fun String.toOffsetTimeF(): OffsetTime + + diff --git a/api/pl.treksoft.kvision.types/kotlin.-string/to-time-f.html b/api/pl.treksoft.kvision.types/kotlin.-string/to-time-f.html new file mode 100644 index 00000000..5890ccda --- /dev/null +++ b/api/pl.treksoft.kvision.types/kotlin.-string/to-time-f.html @@ -0,0 +1,14 @@ + + + +toTimeF - kvision + + + +kvision / pl.treksoft.kvision.types / kotlin.String / toTimeF
+
+

toTimeF

+ +fun String.toTimeF(): LocalTime + + diff --git a/api/pl.treksoft.kvision.types/kotlin.js.-date/index.html b/api/pl.treksoft.kvision.types/kotlin.js.-date/index.html index 08139573..b44d0015 100644 --- a/api/pl.treksoft.kvision.types/kotlin.js.-date/index.html +++ b/api/pl.treksoft.kvision.types/kotlin.js.-date/index.html @@ -15,7 +15,9 @@

toStringF

-fun Date.toStringF(format: String = KV_DEFAULT_DATE_FORMAT): String +fun Date.toStringF(format: String = KV_DEFAULT_DATE_FORMAT): String +

Extension function to convert Date to String with a given date format.

+ diff --git a/api/pl.treksoft.kvision.types/kotlin.js.-date/to-string-f.html b/api/pl.treksoft.kvision.types/kotlin.js.-date/to-string-f.html index bb153dd6..fc729b47 100644 --- a/api/pl.treksoft.kvision.types/kotlin.js.-date/to-string-f.html +++ b/api/pl.treksoft.kvision.types/kotlin.js.-date/to-string-f.html @@ -9,6 +9,12 @@

toStringF

-fun Date.toStringF(format: String = KV_DEFAULT_DATE_FORMAT): String +fun Date.toStringF(format: String = KV_DEFAULT_DATE_FORMAT): String +

Extension function to convert Date to String with a given date format.

+

Parameters

+

+format - date/time format

+

Return
+String object

diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/-init-.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/-init-.html deleted file mode 100644 index 10267492..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/-init-.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -ObservableListWrapper.<init> - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / <init>
-
-

<init>

- -ObservableListWrapper(mutableList: MutableList<T> = mutableListOf()) -

Simple observable list implementation.

- - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/add-all.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/add-all.html deleted file mode 100644 index 2561bd1b..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/add-all.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -ObservableListWrapper.addAll - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / addAll
-
-

addAll

- -fun addAll(elements: Collection<T>): Boolean
- -fun addAll(index: Int, elements: Collection<T>): Boolean - - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/add.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/add.html deleted file mode 100644 index f27df790..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/add.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -ObservableListWrapper.add - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / add
-
-

add

- -fun add(element: T): Boolean
- -fun add(index: Int, element: T): Unit - - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/clear.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/clear.html deleted file mode 100644 index 133083cc..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/clear.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -ObservableListWrapper.clear - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / clear
-
-

clear

- -fun clear(): Unit - - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/contains-all.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/contains-all.html deleted file mode 100644 index 0efa9d8f..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/contains-all.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -ObservableListWrapper.containsAll - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / containsAll
-
-

containsAll

- -fun containsAll(elements: Collection<T>): Boolean - - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/contains.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/contains.html deleted file mode 100644 index 9ae02722..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/contains.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -ObservableListWrapper.contains - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / contains
-
-

contains

- -fun contains(element: T): Boolean - - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/get.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/get.html deleted file mode 100644 index 6366a1a8..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/get.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -ObservableListWrapper.get - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / get
-
-

get

- -fun get(index: Int): T - - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/index-of.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/index-of.html deleted file mode 100644 index 6124cd75..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/index-of.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -ObservableListWrapper.indexOf - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / indexOf
-
-

indexOf

- -fun indexOf(element: T): Int - - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/index.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/index.html deleted file mode 100644 index 76a51d0d..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/index.html +++ /dev/null @@ -1,204 +0,0 @@ - - - -ObservableListWrapper - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper
-
-

ObservableListWrapper

-class ObservableListWrapper<T> : MutableList<T>, ObservableList<T> -

Simple observable list implementation.

-

Constructors

- - - - - - - -
-

<init>

-
-ObservableListWrapper(mutableList: MutableList<T> = mutableListOf()) -

Simple observable list implementation.

-
-

Properties

- - - - - - - - - - - - - - - -
-

mutableList

-
-val mutableList: MutableList<T>
-

onUpdate

-
-val onUpdate: MutableCollection<(MutableList<T>) -> Unit>
-

size

-
-val size: Int
-

Functions

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

add

-
-fun add(element: T): Boolean
-fun add(index: Int, element: T): Unit
-

addAll

-
-fun addAll(elements: Collection<T>): Boolean
-fun addAll(index: Int, elements: Collection<T>): Boolean
-

clear

-
-fun clear(): Unit
-

contains

-
-fun contains(element: T): Boolean
-

containsAll

-
-fun containsAll(elements: Collection<T>): Boolean
-

get

-
-fun get(index: Int): T
-

indexOf

-
-fun indexOf(element: T): Int
-

isEmpty

-
-fun isEmpty(): Boolean
-

iterator

-
-fun iterator(): MutableIterator<T>
-

lastIndexOf

-
-fun lastIndexOf(element: T): Int
-

listIterator

-
-fun listIterator(): MutableListIterator<T>
-fun listIterator(index: Int): MutableListIterator<T>
-

remove

-
-fun remove(element: T): Boolean
-

removeAll

-
-fun removeAll(elements: Collection<T>): Boolean
-

removeAt

-
-fun removeAt(index: Int): T
-

retainAll

-
-fun retainAll(elements: Collection<T>): Boolean
-

set

-
-fun set(index: Int, element: T): T
-

subList

-
-fun subList(fromIndex: Int, toIndex: Int): MutableList<T>
-

Extension Functions

- - - - - - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
-

syncWithList

-
-fun <T> MutableList<T>.syncWithList(list: List<T>): Unit -

Utility extension function to synchronise elements of the MutableList.

-
- - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/is-empty.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/is-empty.html deleted file mode 100644 index 7476ad91..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/is-empty.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -ObservableListWrapper.isEmpty - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / isEmpty
-
-

isEmpty

- -fun isEmpty(): Boolean - - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/iterator.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/iterator.html deleted file mode 100644 index 6451260c..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/iterator.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -ObservableListWrapper.iterator - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / iterator
-
-

iterator

- -fun iterator(): MutableIterator<T> - - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/last-index-of.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/last-index-of.html deleted file mode 100644 index 65196cd5..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/last-index-of.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -ObservableListWrapper.lastIndexOf - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / lastIndexOf
-
-

lastIndexOf

- -fun lastIndexOf(element: T): Int - - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/list-iterator.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/list-iterator.html deleted file mode 100644 index 3266abd0..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/list-iterator.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -ObservableListWrapper.listIterator - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / listIterator
-
-

listIterator

- -fun listIterator(): MutableListIterator<T>
- -fun listIterator(index: Int): MutableListIterator<T> - - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/mutable-list.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/mutable-list.html deleted file mode 100644 index ed123582..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/mutable-list.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -ObservableListWrapper.mutableList - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / mutableList
-
-

mutableList

- -val mutableList: MutableList<T> - - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/on-update.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/on-update.html deleted file mode 100644 index 67a6abde..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/on-update.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -ObservableListWrapper.onUpdate - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / onUpdate
-
-

onUpdate

- -val onUpdate: MutableCollection<(MutableList<T>) -> Unit> -

Overrides ObservableList.onUpdate

- - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-all.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-all.html deleted file mode 100644 index d1fc8354..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-all.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -ObservableListWrapper.removeAll - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / removeAll
-
-

removeAll

- -fun removeAll(elements: Collection<T>): Boolean - - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-at.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-at.html deleted file mode 100644 index cc02b15d..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-at.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -ObservableListWrapper.removeAt - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / removeAt
-
-

removeAt

- -fun removeAt(index: Int): T - - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove.html deleted file mode 100644 index 4e89fb6f..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -ObservableListWrapper.remove - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / remove
-
-

remove

- -fun remove(element: T): Boolean - - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/retain-all.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/retain-all.html deleted file mode 100644 index 7675f11e..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/retain-all.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -ObservableListWrapper.retainAll - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / retainAll
-
-

retainAll

- -fun retainAll(elements: Collection<T>): Boolean - - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/set.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/set.html deleted file mode 100644 index f0c5f4b5..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/set.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -ObservableListWrapper.set - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / set
-
-

set

- -fun set(index: Int, element: T): T - - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/size.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/size.html deleted file mode 100644 index 92e321d5..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/size.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -ObservableListWrapper.size - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / size
-
-

size

- -val size: Int - - diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/sub-list.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/sub-list.html deleted file mode 100644 index c4635f9b..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/sub-list.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -ObservableListWrapper.subList - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableListWrapper / subList
-
-

subList

- -fun subList(fromIndex: Int, toIndex: Int): MutableList<T> - - diff --git a/api/pl.treksoft.kvision.utils/-observable-list/index.html b/api/pl.treksoft.kvision.utils/-observable-list/index.html deleted file mode 100644 index 07b47de8..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list/index.html +++ /dev/null @@ -1,63 +0,0 @@ - - - -ObservableList - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableList
-
-

ObservableList

-interface ObservableList<T> : MutableList<T> -

Observable list interface.

-

Properties

- - - - - - - -
-

onUpdate

-
-abstract val onUpdate: MutableCollection<(MutableList<T>) -> Unit>
-

Extension Functions

- - - - - - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
-

syncWithList

-
-fun <T> MutableList<T>.syncWithList(list: List<T>): Unit -

Utility extension function to synchronise elements of the MutableList.

-
-

Inheritors

- - - - - - - -
-

ObservableListWrapper

-
-class ObservableListWrapper<T> : MutableList<T>, ObservableList<T> -

Simple observable list implementation.

-
- - diff --git a/api/pl.treksoft.kvision.utils/-observable-list/on-update.html b/api/pl.treksoft.kvision.utils/-observable-list/on-update.html deleted file mode 100644 index 3ffa447f..00000000 --- a/api/pl.treksoft.kvision.utils/-observable-list/on-update.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -ObservableList.onUpdate - kvision - - - -kvision / pl.treksoft.kvision.utils / ObservableList / onUpdate
-
-

onUpdate

- -abstract val onUpdate: MutableCollection<(MutableList<T>) -> Unit> - - diff --git a/api/pl.treksoft.kvision.utils/index.html b/api/pl.treksoft.kvision.utils/index.html index 0a14333f..93ec4d07 100644 --- a/api/pl.treksoft.kvision.utils/index.html +++ b/api/pl.treksoft.kvision.utils/index.html @@ -66,24 +66,6 @@ performance is O(1) and for cache eviction, it is O(1).

JavaScript Object type

- - -

ObservableList

- - -interface ObservableList<T> : MutableList<T> -

Observable list interface.

- - - - -

ObservableListWrapper

- - -class ObservableListWrapper<T> : MutableList<T>, ObservableList<T> -

Simple observable list implementation.

- -

Extensions for External Classes

@@ -207,15 +189,6 @@ performance is O(1) and for cache eviction, it is O(1).

-

observableListOf

- - -fun <T> observableListOf(vararg items: T): ObservableListWrapper<T> -

Creates an instance of ObservableList

- - - -

snAttrs

diff --git a/api/pl.treksoft.kvision.utils/observable-list-of.html b/api/pl.treksoft.kvision.utils/observable-list-of.html deleted file mode 100644 index 299f72f0..00000000 --- a/api/pl.treksoft.kvision.utils/observable-list-of.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -observableListOf - kvision - - - -kvision / pl.treksoft.kvision.utils / observableListOf
-
-

observableListOf

- -fun <T> observableListOf(vararg items: T): ObservableListWrapper<T> -

Creates an instance of ObservableList

- - diff --git a/api/pl.treksoft.kvision.window/-maximize-icon/index.html b/api/pl.treksoft.kvision.window/-maximize-icon/index.html index 9b3e8a2f..53320a84 100644 --- a/api/pl.treksoft.kvision.window/-maximize-icon/index.html +++ b/api/pl.treksoft.kvision.window/-maximize-icon/index.html @@ -93,6 +93,15 @@ +

tabindex

+ + +var tabindex: Int? +

A tabindex attribute of generated HTML element.

+ + + +

title

@@ -411,15 +420,6 @@ -

setContextMenu

- - -open fun setContextMenu(contextMenu: ContextMenu): Widget -

Sets context menu for the current widget.

- - - -

setDragDropData

@@ -514,6 +514,50 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + + +

contextMenu

+ + +fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +

DSL builder extension function.

+ + + +

createInstance

@@ -521,6 +565,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit + + + +

setContextMenu

+ + +fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+ + + + +

style

+ + +fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+ + diff --git a/api/pl.treksoft.kvision.window/-minimize-icon/index.html b/api/pl.treksoft.kvision.window/-minimize-icon/index.html index ff10e9aa..cd42133d 100644 --- a/api/pl.treksoft.kvision.window/-minimize-icon/index.html +++ b/api/pl.treksoft.kvision.window/-minimize-icon/index.html @@ -93,6 +93,15 @@ +

tabindex

+ + +var tabindex: Int? +

A tabindex attribute of generated HTML element.

+ + + +

title

@@ -411,15 +420,6 @@ -

setContextMenu

- - -open fun setContextMenu(contextMenu: ContextMenu): Widget -

Sets context menu for the current widget.

- - - -

setDragDropData

@@ -514,6 +514,50 @@ +

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + + +

contextMenu

+ + +fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +

DSL builder extension function.

+ + + +

createInstance

@@ -521,6 +565,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+ + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit + + + +

setContextMenu

+ + +fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+ + + + +

style

+ + +fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+ + diff --git a/api/pl.treksoft.kvision.window/-window/index.html b/api/pl.treksoft.kvision.window/-window/index.html index 2387d179..59b12e28 100644 --- a/api/pl.treksoft.kvision.window/-window/index.html +++ b/api/pl.treksoft.kvision.window/-window/index.html @@ -117,6 +117,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -262,23 +274,116 @@
-

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

window

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

-fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

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.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -288,6 +393,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT> +

DSL builder extension function.

+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel> +

DSL builder extension function with VPanel default.

+
+

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.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

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.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +

DSL builder extension function.

+
+

gridPanel

+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

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.

+
+

image

+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +

DSL builder extension function.

+
+

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.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

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.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

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.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

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.

+
+

selectInput

+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +

DSL builder extension function.

+
+

selectRemote

+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+
+

selectRemoteInput

+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +

DSL builder extension function.

+
+

spinnerInput

+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function.

+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for general redux store.

+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

tag

+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +

DSL builder extension function.

+
+

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.

+
+

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.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

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.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.window/-window/window.html b/api/pl.treksoft.kvision.window/-window/window.html deleted file mode 100644 index a7848414..00000000 --- a/api/pl.treksoft.kvision.window/-window/window.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Window.window - kvision - - - -kvision / pl.treksoft.kvision.window / Window / window
-
-

window

- -fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.window/index.html b/api/pl.treksoft.kvision.window/index.html index c90e2820..988d0162 100644 --- a/api/pl.treksoft.kvision.window/index.html +++ b/api/pl.treksoft.kvision.window/index.html @@ -41,5 +41,19 @@ +

Functions

+ + + + + + + +
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.window/window.html b/api/pl.treksoft.kvision.window/window.html new file mode 100644 index 00000000..9da80538 --- /dev/null +++ b/api/pl.treksoft.kvision.window/window.html @@ -0,0 +1,16 @@ + + + +window - kvision + + + +kvision / pl.treksoft.kvision.window / window
+
+

window

+ +fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision/-application/-init-.html b/api/pl.treksoft.kvision/-application/-init-.html new file mode 100644 index 00000000..1426c1af --- /dev/null +++ b/api/pl.treksoft.kvision/-application/-init-.html @@ -0,0 +1,15 @@ + + + +Application.<init> - kvision + + + +kvision / pl.treksoft.kvision / Application / <init>
+
+

<init>

+ +Application() +

Base class for KVision applications.

+ + diff --git a/api/pl.treksoft.kvision/-application/dispose.html b/api/pl.treksoft.kvision/-application/dispose.html new file mode 100644 index 00000000..8d5f7549 --- /dev/null +++ b/api/pl.treksoft.kvision/-application/dispose.html @@ -0,0 +1,17 @@ + + + +Application.dispose - kvision + + + +kvision / pl.treksoft.kvision / Application / dispose
+
+

dispose

+ +open fun dispose(): Map<String, Any> +

Ending point for an application.

+

Return
+final state for Hot Module Replacement (HMR).

+ + diff --git a/api/pl.treksoft.kvision/-application/index.html b/api/pl.treksoft.kvision/-application/index.html new file mode 100644 index 00000000..ab4ea5cc --- /dev/null +++ b/api/pl.treksoft.kvision/-application/index.html @@ -0,0 +1,78 @@ + + + +Application - kvision + + + +kvision / pl.treksoft.kvision / Application
+
+

Application

+abstract class Application +

Base class for KVision applications.

+

Constructors

+ + + + + + + +
+

<init>

+
+Application() +

Base class for KVision applications.

+
+

Functions

+ + + + + + + + + + + +
+

dispose

+
+open fun dispose(): Map<String, Any> +

Ending point for an application.

+
+

start

+
+open fun start(): Unit +

Starting point for an application.

+open fun start(state: Map<String, Any>): Unit +

Starting point for an application with the state managed by Hot Module Replacement (HMR).

+
+

Extension Functions

+ + + + + + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+

root

+
+fun Application.root(id: String, fixed: Boolean = false, init: Root.() -> Unit): Root +

Create new Root container based on ID

+fun Application.root(element: <ERROR CLASS>, fixed: Boolean = false, init: Root.() -> Unit): Root +

Create new Root container based on HTML element

+
+ + diff --git a/api/pl.treksoft.kvision/-application/start.html b/api/pl.treksoft.kvision/-application/start.html new file mode 100644 index 00000000..5b925e6e --- /dev/null +++ b/api/pl.treksoft.kvision/-application/start.html @@ -0,0 +1,21 @@ + + + +Application.start - kvision + + + +kvision / pl.treksoft.kvision / Application / start
+
+

start

+ +open fun start(): Unit +

Starting point for an application.

+ +open fun start(state: Map<String, Any>): Unit +

Starting point for an application with the state managed by Hot Module Replacement (HMR).

+

Parameters

+

+state - Initial state for Hot Module Replacement (HMR).

+ + diff --git a/api/pl.treksoft.kvision/-hot/accept.html b/api/pl.treksoft.kvision/-hot/accept.html new file mode 100644 index 00000000..7810e714 --- /dev/null +++ b/api/pl.treksoft.kvision/-hot/accept.html @@ -0,0 +1,18 @@ + + + +Hot.accept - kvision + + + +kvision / pl.treksoft.kvision / Hot / accept
+
+

accept

+ +abstract fun accept(): Unit
+ +abstract fun accept(dependency: String, callback: () -> Unit): Unit
+ +abstract fun accept(dependencies: Array<String>, callback: (updated: Array<String>) -> Unit): Unit + + diff --git a/api/pl.treksoft.kvision/-hot/data.html b/api/pl.treksoft.kvision/-hot/data.html new file mode 100644 index 00000000..8e830acf --- /dev/null +++ b/api/pl.treksoft.kvision/-hot/data.html @@ -0,0 +1,14 @@ + + + +Hot.data - kvision + + + +kvision / pl.treksoft.kvision / Hot / data
+
+

data

+ +abstract val data: dynamic + + diff --git a/api/pl.treksoft.kvision/-hot/dispose.html b/api/pl.treksoft.kvision/-hot/dispose.html new file mode 100644 index 00000000..5fdfd116 --- /dev/null +++ b/api/pl.treksoft.kvision/-hot/dispose.html @@ -0,0 +1,14 @@ + + + +Hot.dispose - kvision + + + +kvision / pl.treksoft.kvision / Hot / dispose
+
+

dispose

+ +abstract fun dispose(callback: (dynamic) -> Unit): Unit + + diff --git a/api/pl.treksoft.kvision/-hot/index.html b/api/pl.treksoft.kvision/-hot/index.html new file mode 100644 index 00000000..713e469f --- /dev/null +++ b/api/pl.treksoft.kvision/-hot/index.html @@ -0,0 +1,61 @@ + + + +Hot - kvision + + + +kvision / pl.treksoft.kvision / Hot
+
+

Hot

+external interface Hot +

Helper interface for Hot Module Replacement (HMR).

+

Properties

+ + + + + + + +
+

data

+
+abstract val data: dynamic
+

Functions

+ + + + + + + + + + + +
+

accept

+
+abstract fun accept(): Unit
+abstract fun accept(dependency: String, callback: () -> Unit): Unit
+abstract fun accept(dependencies: Array<String>, callback: (updated: Array<String>) -> Unit): Unit
+

dispose

+
+abstract fun dispose(callback: (dynamic) -> Unit): Unit
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision/-k-v-manager.html b/api/pl.treksoft.kvision/-k-v-manager.html new file mode 100644 index 00000000..904f8621 --- /dev/null +++ b/api/pl.treksoft.kvision/-k-v-manager.html @@ -0,0 +1,28 @@ + + + +KVManager - kvision + + + +kvision / pl.treksoft.kvision / KVManager
+
+

KVManager

+object KVManager +

Internal singleton object which initializes and configures KVision framework.

+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision/-module/hot.html b/api/pl.treksoft.kvision/-module/hot.html new file mode 100644 index 00000000..cec9bea4 --- /dev/null +++ b/api/pl.treksoft.kvision/-module/hot.html @@ -0,0 +1,14 @@ + + + +Module.hot - kvision + + + +kvision / pl.treksoft.kvision / Module / hot
+
+

hot

+ +abstract val hot: Hot? + + diff --git a/api/pl.treksoft.kvision/-module/index.html b/api/pl.treksoft.kvision/-module/index.html new file mode 100644 index 00000000..688ef04a --- /dev/null +++ b/api/pl.treksoft.kvision/-module/index.html @@ -0,0 +1,40 @@ + + + +Module - kvision + + + +kvision / pl.treksoft.kvision / Module
+
+

Module

+external interface Module +

Helper interface for Hot Module Replacement (HMR).

+

Properties

+ + + + + + + +
+

hot

+
+abstract val hot: Hot?
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision/index.html b/api/pl.treksoft.kvision/index.html new file mode 100644 index 00000000..4cb3dff7 --- /dev/null +++ b/api/pl.treksoft.kvision/index.html @@ -0,0 +1,81 @@ + + + +pl.treksoft.kvision - kvision + + + +kvision / pl.treksoft.kvision
+
+

Package pl.treksoft.kvision

+

Types

+ + + + + + + + + + + + + + + + + + + +
+

Application

+
+abstract class Application +

Base class for KVision applications.

+
+

Hot

+
+external interface Hot +

Helper interface for Hot Module Replacement (HMR).

+
+

KVManager

+
+object KVManager +

Internal singleton object which initializes and configures KVision framework.

+
+

Module

+
+external interface Module +

Helper interface for Hot Module Replacement (HMR).

+
+

Properties

+ + + + + + + +
+

module

+
+external val module: Module +

Helper variable for Hot Module Replacement (HMR).

+
+

Functions

+ + + + + + + +
+

startApplication

+
+fun startApplication(builder: () -> Application): Unit +

Main function for creating KVision applications.

+
+ + diff --git a/api/pl.treksoft.kvision/module.html b/api/pl.treksoft.kvision/module.html new file mode 100644 index 00000000..b90f7f34 --- /dev/null +++ b/api/pl.treksoft.kvision/module.html @@ -0,0 +1,15 @@ + + + +module - kvision + + + +kvision / pl.treksoft.kvision / module
+
+

module

+ +external val module: Module +

Helper variable for Hot Module Replacement (HMR).

+ + diff --git a/api/pl.treksoft.kvision/start-application.html b/api/pl.treksoft.kvision/start-application.html new file mode 100644 index 00000000..f2e31212 --- /dev/null +++ b/api/pl.treksoft.kvision/start-application.html @@ -0,0 +1,15 @@ + + + +startApplication - kvision + + + +kvision / pl.treksoft.kvision / startApplication
+
+

startApplication

+ +fun startApplication(builder: () -> Application): Unit +

Main function for creating KVision applications.

+ + -- cgit