dhx-chart 8.2.7 → 8.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/codebase/chart.d.ts +1 -1
- package/codebase/chart.min.js +3 -3
- package/codebase/chart.min.js.map +1 -1
- package/codebase/types/ts-grid/sources/Grid.d.ts +4 -1
- package/codebase/types/ts-grid/sources/ProGrid.d.ts +2 -1
- package/codebase/types/ts-grid/sources/helpers/data.d.ts +10 -2
- package/codebase/types/ts-grid/sources/helpers/main.d.ts +2 -2
- package/codebase/types/ts-grid/sources/types.d.ts +14 -8
- package/codebase/types/ts-grid/sources/ui/editors/InputEditor.d.ts +5 -1
- package/codebase/types/ts-grid/sources/ui/editors/TextAreaEditor.d.ts +2 -1
- package/codebase/types/ts-grid/sources/ui/editors/editors.d.ts +2 -0
- package/codebase/types/ts-grid/sources/ui/render.d.ts +0 -1
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +6 -0
- package/codebase/types/ts-all/sources/entry.d.ts +0 -27
- package/codebase/types/ts-all/sources/entry_pro.d.ts +0 -17
- package/codebase/types/ts-calendar/sources/entry.d.ts +0 -7
- package/codebase/types/ts-calendar/tests/calendar/calendar.d.ts +0 -1
- package/codebase/types/ts-calendar/tests/suite.d.ts +0 -1
- package/codebase/types/ts-chart/index.d.ts +0 -3
- package/codebase/types/ts-chart/sources/ProChart.d.ts +0 -7
- package/codebase/types/ts-chart/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-chart/tests/Chart.d.ts +0 -1
- package/codebase/types/ts-chart/tests/suite.d.ts +0 -1
- package/codebase/types/ts-colorpicker/index.d.ts +0 -5
- package/codebase/types/ts-colorpicker/sources/Colorpicker.d.ts +0 -40
- package/codebase/types/ts-colorpicker/sources/colors.d.ts +0 -2
- package/codebase/types/ts-colorpicker/sources/entry.d.ts +0 -4
- package/codebase/types/ts-colorpicker/sources/helpers/calculations.d.ts +0 -8
- package/codebase/types/ts-colorpicker/sources/helpers/color.d.ts +0 -16
- package/codebase/types/ts-colorpicker/sources/locales/en.d.ts +0 -8
- package/codebase/types/ts-colorpicker/sources/picker.d.ts +0 -4
- package/codebase/types/ts-colorpicker/sources/types.d.ts +0 -66
- package/codebase/types/ts-colorpicker/tests/suite.d.ts +0 -0
- package/codebase/types/ts-combobox/sources/entry.d.ts +0 -4
- package/codebase/types/ts-combobox/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-combobox/tests/suite.d.ts +0 -0
- package/codebase/types/ts-common/CssManager.d.ts +0 -26
- package/codebase/types/ts-common/tests/core.d.ts +0 -1
- package/codebase/types/ts-common/tests/events.d.ts +0 -1
- package/codebase/types/ts-common/tests/html.d.ts +0 -1
- package/codebase/types/ts-common/tests/suite.d.ts +0 -3
- package/codebase/types/ts-data/sources/entry.d.ts +0 -5
- package/codebase/types/ts-data/tests/ajax.d.ts +0 -1
- package/codebase/types/ts-data/tests/drivers.d.ts +0 -1
- package/codebase/types/ts-data/tests/filter.d.ts +0 -1
- package/codebase/types/ts-data/tests/main.d.ts +0 -1
- package/codebase/types/ts-data/tests/move.d.ts +0 -1
- package/codebase/types/ts-data/tests/sort.d.ts +0 -1
- package/codebase/types/ts-data/tests/suite.d.ts +0 -7
- package/codebase/types/ts-data/tests/treecollection.d.ts +0 -1
- package/codebase/types/ts-dataview/index.d.ts +0 -3
- package/codebase/types/ts-dataview/sources/DataView.d.ts +0 -41
- package/codebase/types/ts-dataview/sources/ProDataView.d.ts +0 -11
- package/codebase/types/ts-dataview/sources/editors/InputEditor.d.ts +0 -16
- package/codebase/types/ts-dataview/sources/editors/editors.d.ts +0 -4
- package/codebase/types/ts-dataview/sources/entry.d.ts +0 -3
- package/codebase/types/ts-dataview/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-dataview/sources/types.d.ts +0 -62
- package/codebase/types/ts-dataview/tests/selections/Selections.d.ts +0 -1
- package/codebase/types/ts-dataview/tests/selections/stubs.d.ts +0 -3
- package/codebase/types/ts-dataview/tests/suite.d.ts +0 -1
- package/codebase/types/ts-diagram/index.d.ts +0 -5
- package/codebase/types/ts-diagram/sources/Diagram.d.ts +0 -32
- package/codebase/types/ts-diagram/sources/ShapesCollection.d.ts +0 -16
- package/codebase/types/ts-diagram/sources/Toolbar.d.ts +0 -16
- package/codebase/types/ts-diagram/sources/entry.d.ts +0 -4
- package/codebase/types/ts-diagram/sources/helpers/Export.d.ts +0 -10
- package/codebase/types/ts-diagram/sources/helpers/Selection.d.ts +0 -14
- package/codebase/types/ts-diagram/sources/helpers/linkPaths.d.ts +0 -8
- package/codebase/types/ts-diagram/sources/helpers/placement.d.ts +0 -6
- package/codebase/types/ts-diagram/sources/locales/en.d.ts +0 -9
- package/codebase/types/ts-diagram/sources/shapes/Base.d.ts +0 -31
- package/codebase/types/ts-diagram/sources/shapes/Connector/Line.d.ts +0 -21
- package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramCard.d.ts +0 -13
- package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramImgCard.d.ts +0 -12
- package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramSvgCard.d.ts +0 -12
- package/codebase/types/ts-diagram/sources/shapes/Diagram/templates.d.ts +0 -4
- package/codebase/types/ts-diagram/sources/shapes/FlowShape.d.ts +0 -90
- package/codebase/types/ts-diagram/sources/shapes/TextShape.d.ts +0 -19
- package/codebase/types/ts-diagram/sources/shapes/factory.d.ts +0 -7
- package/codebase/types/ts-diagram/sources/types.d.ts +0 -161
- package/codebase/types/ts-diagram/tests/stubs.d.ts +0 -25
- package/codebase/types/ts-diagram/tests/suite.d.ts +0 -0
- package/codebase/types/ts-form/index.d.ts +0 -3
- package/codebase/types/ts-form/sources/Form.d.ts +0 -55
- package/codebase/types/ts-form/sources/ProForm.d.ts +0 -7
- package/codebase/types/ts-form/sources/elements/ToggleButton.d.ts +0 -77
- package/codebase/types/ts-form/sources/elements/ToggleGroup.d.ts +0 -95
- package/codebase/types/ts-form/sources/elements/avatar.d.ts +0 -119
- package/codebase/types/ts-form/sources/elements/button.d.ts +0 -70
- package/codebase/types/ts-form/sources/elements/checkbox.d.ts +0 -84
- package/codebase/types/ts-form/sources/elements/checkboxGroup.d.ts +0 -103
- package/codebase/types/ts-form/sources/elements/colorpicker.d.ts +0 -101
- package/codebase/types/ts-form/sources/elements/combo.d.ts +0 -101
- package/codebase/types/ts-form/sources/elements/container.d.ts +0 -52
- package/codebase/types/ts-form/sources/elements/dateinput.d.ts +0 -107
- package/codebase/types/ts-form/sources/elements/fieldset.d.ts +0 -64
- package/codebase/types/ts-form/sources/elements/helper/label.d.ts +0 -18
- package/codebase/types/ts-form/sources/elements/input.d.ts +0 -106
- package/codebase/types/ts-form/sources/elements/proCombo.d.ts +0 -5
- package/codebase/types/ts-form/sources/elements/radioGroup.d.ts +0 -99
- package/codebase/types/ts-form/sources/elements/radiobutton.d.ts +0 -41
- package/codebase/types/ts-form/sources/elements/select.d.ts +0 -94
- package/codebase/types/ts-form/sources/elements/simplevault.d.ts +0 -124
- package/codebase/types/ts-form/sources/elements/sliderform.d.ts +0 -84
- package/codebase/types/ts-form/sources/elements/spacer.d.ts +0 -40
- package/codebase/types/ts-form/sources/elements/textarea.d.ts +0 -70
- package/codebase/types/ts-form/sources/elements/textinput.d.ts +0 -39
- package/codebase/types/ts-form/sources/elements/timeinput.d.ts +0 -102
- package/codebase/types/ts-form/sources/entry.d.ts +0 -5
- package/codebase/types/ts-form/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-form/sources/helper.d.ts +0 -12
- package/codebase/types/ts-form/sources/locales/en.d.ts +0 -5
- package/codebase/types/ts-form/sources/types.d.ts +0 -180
- package/codebase/types/ts-form/tests/elements/button.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/checkbox.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/colorpicker.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/combo.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/container.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/datepicker.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/input.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/radiogroup.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/select.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/simplevault.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/slider.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/textarea.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/timepicker.d.ts +0 -1
- package/codebase/types/ts-form/tests/form.d.ts +0 -1
- package/codebase/types/ts-form/tests/stubs/stubs.d.ts +0 -4
- package/codebase/types/ts-form/tests/stubs/stubsCheckbox.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsColorpicker.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsCombo.d.ts +0 -4
- package/codebase/types/ts-form/tests/stubs/stubsDatepicker.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsInput.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsRadiogroup.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsSelect.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsSlider.d.ts +0 -4
- package/codebase/types/ts-form/tests/stubs/stubsTimepicker.d.ts +0 -4
- package/codebase/types/ts-form/tests/suite.d.ts +0 -14
- package/codebase/types/ts-grid/sources/entry.d.ts +0 -7
- package/codebase/types/ts-grid/sources/entry_pro.d.ts +0 -3
- package/codebase/types/ts-grid/tests/Grid.d.ts +0 -1
- package/codebase/types/ts-grid/tests/TreeGrid.d.ts +0 -1
- package/codebase/types/ts-grid/tests/stubs.d.ts +0 -84
- package/codebase/types/ts-grid/tests/suite.d.ts +0 -2
- package/codebase/types/ts-helpers/entry.d.ts +0 -0
- package/codebase/types/ts-layout/sources/entry.d.ts +0 -2
- package/codebase/types/ts-layout/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-layout/tests/Layout.d.ts +0 -1
- package/codebase/types/ts-layout/tests/suite.d.ts +0 -1
- package/codebase/types/ts-list/sources/entry.d.ts +0 -3
- package/codebase/types/ts-list/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-list/sources/helpers.d.ts +0 -2
- package/codebase/types/ts-list/tests/selections/Selections.d.ts +0 -1
- package/codebase/types/ts-list/tests/selections/stubs.d.ts +0 -3
- package/codebase/types/ts-list/tests/suite.d.ts +0 -1
- package/codebase/types/ts-menu/index.d.ts +0 -2
- package/codebase/types/ts-menu/sources/ContextMenu.d.ts +0 -11
- package/codebase/types/ts-menu/sources/Menu.d.ts +0 -6
- package/codebase/types/ts-menu/sources/entry.d.ts +0 -4
- package/codebase/types/ts-menu/tests/suite.d.ts +0 -0
- package/codebase/types/ts-message/sources/entry.d.ts +0 -6
- package/codebase/types/ts-message/tests/suite.d.ts +0 -0
- package/codebase/types/ts-navbar/index.d.ts +0 -3
- package/codebase/types/ts-navbar/sources/Navbar.d.ts +0 -62
- package/codebase/types/ts-navbar/sources/elements/button.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/customHTMLButton.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/datePicker.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/helpers.d.ts +0 -17
- package/codebase/types/ts-navbar/sources/elements/imageButton.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/input.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/menuItem.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/navItem.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/separator.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/spacer.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/title.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/itemfactory.d.ts +0 -10
- package/codebase/types/ts-navbar/sources/types.d.ts +0 -206
- package/codebase/types/ts-navbar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-optimus/index.d.ts +0 -2
- package/codebase/types/ts-optimus/sources/DHXApp.d.ts +0 -12
- package/codebase/types/ts-optimus/sources/DHXView.d.ts +0 -11
- package/codebase/types/ts-optimus/sources/EventSystem.d.ts +0 -9
- package/codebase/types/ts-optimus/sources/HTMLCell.d.ts +0 -8
- package/codebase/types/ts-optimus/sources/LocalSession.d.ts +0 -5
- package/codebase/types/ts-optimus/sources/types.d.ts +0 -36
- package/codebase/types/ts-pagination/index.d.ts +0 -2
- package/codebase/types/ts-pagination/sources/Pagination.d.ts +0 -26
- package/codebase/types/ts-pagination/sources/entry.d.ts +0 -3
- package/codebase/types/ts-pagination/sources/types.d.ts +0 -27
- package/codebase/types/ts-pagination/tests/suite.d.ts +0 -0
- package/codebase/types/ts-pivot/index.d.ts +0 -1
- package/codebase/types/ts-pivot/sources/DataPreprocessor.d.ts +0 -29
- package/codebase/types/ts-pivot/sources/DateFormatter.d.ts +0 -29
- package/codebase/types/ts-pivot/sources/Pivot.d.ts +0 -52
- package/codebase/types/ts-pivot/sources/configurator/Configurator.d.ts +0 -40
- package/codebase/types/ts-pivot/sources/entry.d.ts +0 -9
- package/codebase/types/ts-pivot/sources/filters/DateFilter.d.ts +0 -17
- package/codebase/types/ts-pivot/sources/filters/Filter.d.ts +0 -72
- package/codebase/types/ts-pivot/sources/filters/Filters.d.ts +0 -13
- package/codebase/types/ts-pivot/sources/filters/helpers.d.ts +0 -2
- package/codebase/types/ts-pivot/sources/group-module/DataGroup.d.ts +0 -13
- package/codebase/types/ts-pivot/sources/group-module/groupfuncs.d.ts +0 -10
- package/codebase/types/ts-pivot/sources/group-module/types.d.ts +0 -19
- package/codebase/types/ts-pivot/sources/helpers.d.ts +0 -28
- package/codebase/types/ts-pivot/sources/locales/en.d.ts +0 -38
- package/codebase/types/ts-pivot/sources/templates.d.ts +0 -4
- package/codebase/types/ts-pivot/sources/types.d.ts +0 -180
- package/codebase/types/ts-pivot/tests/DataPreprocessor.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/Pivot.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/config-module/Config.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/config-module/stubs.d.ts +0 -80
- package/codebase/types/ts-pivot/tests/filter-module/Filter.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/group-module/DataGroup.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/group-module/groupfuncs.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/group-module/stubs.d.ts +0 -54
- package/codebase/types/ts-pivot/tests/stubs.d.ts +0 -107
- package/codebase/types/ts-pivot/tests/suite.d.ts +0 -6
- package/codebase/types/ts-popup/sources/entry.d.ts +0 -2
- package/codebase/types/ts-popup/tests/suite.d.ts +0 -0
- package/codebase/types/ts-property/index.d.ts +0 -2
- package/codebase/types/ts-property/sources/Property.d.ts +0 -16
- package/codebase/types/ts-property/sources/entry.d.ts +0 -2
- package/codebase/types/ts-property/sources/items/BaseItem.d.ts +0 -16
- package/codebase/types/ts-property/sources/items/Checkbox.d.ts +0 -7
- package/codebase/types/ts-property/sources/items/Colorpicker.d.ts +0 -10
- package/codebase/types/ts-property/sources/items/Combo.d.ts +0 -9
- package/codebase/types/ts-property/sources/items/Label.d.ts +0 -4
- package/codebase/types/ts-property/sources/items/Select.d.ts +0 -5
- package/codebase/types/ts-property/sources/items/Text.d.ts +0 -4
- package/codebase/types/ts-property/sources/items/Textarea.d.ts +0 -4
- package/codebase/types/ts-property/sources/items/helpers.d.ts +0 -2
- package/codebase/types/ts-property/sources/items/index.d.ts +0 -19
- package/codebase/types/ts-property/sources/types.d.ts +0 -47
- package/codebase/types/ts-property/tests/suite.d.ts +0 -0
- package/codebase/types/ts-ribbon/index.d.ts +0 -2
- package/codebase/types/ts-ribbon/sources/ProRibbon.d.ts +0 -10
- package/codebase/types/ts-ribbon/sources/Ribbon.d.ts +0 -43
- package/codebase/types/ts-ribbon/sources/entry.d.ts +0 -3
- package/codebase/types/ts-ribbon/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-ribbon/tests/suite.d.ts +0 -0
- package/codebase/types/ts-richtext/index.d.ts +0 -1
- package/codebase/types/ts-richtext/sources/Manager.d.ts +0 -16
- package/codebase/types/ts-richtext/sources/Richtext.d.ts +0 -36
- package/codebase/types/ts-richtext/sources/SelectionHelper.d.ts +0 -30
- package/codebase/types/ts-richtext/sources/constants.d.ts +0 -44
- package/codebase/types/ts-richtext/sources/entry.d.ts +0 -3
- package/codebase/types/ts-richtext/sources/helpers/buffer.d.ts +0 -10
- package/codebase/types/ts-richtext/sources/helpers/composition.d.ts +0 -2
- package/codebase/types/ts-richtext/sources/helpers/link.d.ts +0 -40
- package/codebase/types/ts-richtext/sources/helpers/markdown.d.ts +0 -2
- package/codebase/types/ts-richtext/sources/helpers/minimizer.d.ts +0 -19
- package/codebase/types/ts-richtext/sources/helpers/other.d.ts +0 -13
- package/codebase/types/ts-richtext/sources/helpers/parser.d.ts +0 -1
- package/codebase/types/ts-richtext/sources/helpers/scroll.d.ts +0 -10
- package/codebase/types/ts-richtext/sources/helpers/selection.d.ts +0 -10
- package/codebase/types/ts-richtext/sources/helpers/serializer.d.ts +0 -2
- package/codebase/types/ts-richtext/sources/helpers/statistics.d.ts +0 -7
- package/codebase/types/ts-richtext/sources/helpers/styles.d.ts +0 -10
- package/codebase/types/ts-richtext/sources/helpers/toolbar.d.ts +0 -21
- package/codebase/types/ts-richtext/sources/keyhandler.d.ts +0 -26
- package/codebase/types/ts-richtext/sources/locales/en.d.ts +0 -35
- package/codebase/types/ts-richtext/sources/models/Block.d.ts +0 -27
- package/codebase/types/ts-richtext/sources/models/Editor.d.ts +0 -61
- package/codebase/types/ts-richtext/sources/models/TextNode.d.ts +0 -16
- package/codebase/types/ts-richtext/sources/types.d.ts +0 -143
- package/codebase/types/ts-richtext/tests/block.d.ts +0 -1
- package/codebase/types/ts-richtext/tests/editor.d.ts +0 -1
- package/codebase/types/ts-richtext/tests/suite.d.ts +0 -3
- package/codebase/types/ts-richtext/tests/textnode.d.ts +0 -1
- package/codebase/types/ts-samplegen/index.d.ts +0 -1
- package/codebase/types/ts-samplegen/sources/SampleGenerator.d.ts +0 -20
- package/codebase/types/ts-samplegen/sources/entry.d.ts +0 -2
- package/codebase/types/ts-samplegen/tests/suite.d.ts +0 -0
- package/codebase/types/ts-scheduler/index.d.ts +0 -1
- package/codebase/types/ts-scheduler/sources/Scheduler.d.ts +0 -18
- package/codebase/types/ts-scheduler/sources/entry.d.ts +0 -2
- package/codebase/types/ts-scheduler/sources/helpers/scales.d.ts +0 -1
- package/codebase/types/ts-scheduler/sources/helpers/topbar.d.ts +0 -1
- package/codebase/types/ts-scheduler/sources/views/Agenda.d.ts +0 -6
- package/codebase/types/ts-scheduler/sources/views/Base.d.ts +0 -3
- package/codebase/types/ts-scheduler/sources/views/Cols.d.ts +0 -8
- package/codebase/types/ts-scheduler/sources/views/Day.d.ts +0 -4
- package/codebase/types/ts-scheduler/sources/views/Month.d.ts +0 -8
- package/codebase/types/ts-scheduler/sources/views/Week.d.ts +0 -4
- package/codebase/types/ts-scheduler/sources/views/index.d.ts +0 -11
- package/codebase/types/ts-scheduler/tests/suite.d.ts +0 -0
- package/codebase/types/ts-sidebar/index.d.ts +0 -3
- package/codebase/types/ts-sidebar/sources/ProSidebar.d.ts +0 -8
- package/codebase/types/ts-sidebar/sources/Sidebar.d.ts +0 -24
- package/codebase/types/ts-sidebar/sources/entry.d.ts +0 -3
- package/codebase/types/ts-sidebar/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-sidebar/sources/types.d.ts +0 -40
- package/codebase/types/ts-sidebar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-slider/sources/entry.d.ts +0 -2
- package/codebase/types/ts-slider/tests/suite.d.ts +0 -0
- package/codebase/types/ts-tabbar/index.d.ts +0 -2
- package/codebase/types/ts-tabbar/sources/Tabbar.d.ts +0 -38
- package/codebase/types/ts-tabbar/sources/entry.d.ts +0 -2
- package/codebase/types/ts-tabbar/sources/types.d.ts +0 -64
- package/codebase/types/ts-tabbar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-theme/entry.d.ts +0 -0
- package/codebase/types/ts-timepicker/sources/entry.d.ts +0 -3
- package/codebase/types/ts-timepicker/tests/suite.d.ts +0 -0
- package/codebase/types/ts-toolbar/index.d.ts +0 -2
- package/codebase/types/ts-toolbar/sources/ProToolbar.d.ts +0 -10
- package/codebase/types/ts-toolbar/sources/Toolbar.d.ts +0 -32
- package/codebase/types/ts-toolbar/sources/entry.d.ts +0 -4
- package/codebase/types/ts-toolbar/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-toolbar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-tree/index.d.ts +0 -3
- package/codebase/types/ts-tree/sources/Editor.d.ts +0 -42
- package/codebase/types/ts-tree/sources/Tree.d.ts +0 -58
- package/codebase/types/ts-tree/sources/entry.d.ts +0 -6
- package/codebase/types/ts-tree/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-tree/sources/types.d.ts +0 -119
- package/codebase/types/ts-tree/tests/suite.d.ts +0 -0
- package/codebase/types/ts-treegrid/index.d.ts +0 -3
- package/codebase/types/ts-treegrid/sources/TreeGrid.d.ts +0 -30
- package/codebase/types/ts-treegrid/sources/TreeGridCollection.d.ts +0 -20
- package/codebase/types/ts-treegrid/sources/entry.d.ts +0 -7
- package/codebase/types/ts-treegrid/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-treegrid/sources/types.d.ts +0 -32
- package/codebase/types/ts-treegrid/tests/Grid.d.ts +0 -1
- package/codebase/types/ts-treegrid/tests/TreeGrid.d.ts +0 -1
- package/codebase/types/ts-treegrid/tests/stubs.d.ts +0 -84
- package/codebase/types/ts-treegrid/tests/suite.d.ts +0 -2
- package/codebase/types/ts-ui-kit/index.d.ts +0 -0
- package/codebase/types/ts-ui-kit/sources/entry.d.ts +0 -1
- package/codebase/types/ts-ui-kit/tests/suite.d.ts +0 -0
- package/codebase/types/ts-vault/index.d.ts +0 -3
- package/codebase/types/ts-vault/sources/ProgressBar.d.ts +0 -12
- package/codebase/types/ts-vault/sources/ReadStackPreview.d.ts +0 -11
- package/codebase/types/ts-vault/sources/Uploader.d.ts +0 -26
- package/codebase/types/ts-vault/sources/Vault.d.ts +0 -33
- package/codebase/types/ts-vault/sources/configs.d.ts +0 -14
- package/codebase/types/ts-vault/sources/entry.d.ts +0 -6
- package/codebase/types/ts-vault/sources/helper.d.ts +0 -30
- package/codebase/types/ts-vault/sources/locales/en.d.ts +0 -18
- package/codebase/types/ts-vault/sources/types.d.ts +0 -107
- package/codebase/types/ts-vault/tests/suite.d.ts +0 -0
- package/codebase/types/ts-window/index.d.ts +0 -2
- package/codebase/types/ts-window/sources/ProWindow.d.ts +0 -11
- package/codebase/types/ts-window/sources/Window.d.ts +0 -55
- package/codebase/types/ts-window/sources/WindowController.d.ts +0 -10
- package/codebase/types/ts-window/sources/entry.d.ts +0 -2
- package/codebase/types/ts-window/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-window/sources/helpers.d.ts +0 -1
- package/codebase/types/ts-window/sources/types.d.ts +0 -82
- package/codebase/types/ts-window/tests/suite.d.ts +0 -0
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
2
|
-
import { View } from "../../ts-common/view";
|
|
3
|
-
import { Layout, ILayoutConfig, ICellConfig } from "../../ts-layout";
|
|
4
|
-
import { IAnyObj } from "../../ts-common/types";
|
|
5
|
-
import { FormEvents, IItemConfig, IFormEventHandlersMap, IForm, ClearMethod, IFormConfig, TFormDataCallback, TProps } from "./types";
|
|
6
|
-
export declare class Form extends View implements IForm {
|
|
7
|
-
config: IFormConfig;
|
|
8
|
-
events: IEventSystem<FormEvents, IFormEventHandlersMap>;
|
|
9
|
-
layout: Layout;
|
|
10
|
-
private _isValid;
|
|
11
|
-
protected _attachments: {
|
|
12
|
-
[name: string]: any;
|
|
13
|
-
};
|
|
14
|
-
protected _state: {
|
|
15
|
-
[key: string]: any;
|
|
16
|
-
};
|
|
17
|
-
private container;
|
|
18
|
-
constructor(container: HTMLElement | string, config: IFormConfig);
|
|
19
|
-
paint(): void;
|
|
20
|
-
send(url: string, method?: string, asFormData?: boolean): Promise<any> | void;
|
|
21
|
-
clear(method?: ClearMethod): void;
|
|
22
|
-
setValue(obj: IAnyObj): void;
|
|
23
|
-
getValue<T extends boolean = false>(asFormData?: boolean): T extends true ? FormData : IAnyObj;
|
|
24
|
-
getItem(name: string): any;
|
|
25
|
-
validate(silent?: boolean): boolean;
|
|
26
|
-
setProperties(arg: string | {
|
|
27
|
-
[name: string]: TProps;
|
|
28
|
-
}, props?: TProps): void;
|
|
29
|
-
getProperties(name?: string): {
|
|
30
|
-
[name: string]: TProps;
|
|
31
|
-
} | TProps;
|
|
32
|
-
show(): void;
|
|
33
|
-
hide(init?: boolean): void;
|
|
34
|
-
setFocus(name: string): void;
|
|
35
|
-
blur(name: string): void;
|
|
36
|
-
isVisible(name?: string): boolean;
|
|
37
|
-
disable(): void;
|
|
38
|
-
enable(): void;
|
|
39
|
-
isDisabled(name?: string): boolean;
|
|
40
|
-
forEach(callback: TFormDataCallback): void;
|
|
41
|
-
destructor(): void;
|
|
42
|
-
getRootView(): any;
|
|
43
|
-
protected _addLayoutItem(item: IItemConfig): ICellConfig;
|
|
44
|
-
protected _initItemHandlers(item: IItemConfig, name: string): void;
|
|
45
|
-
protected _changeProps(name: any, props: any): void;
|
|
46
|
-
private _addLayoutItems;
|
|
47
|
-
private _checkLayoutConfig;
|
|
48
|
-
protected _createLayoutConfig(config: IFormConfig, layoutConfig: ILayoutConfig): void;
|
|
49
|
-
protected _initUI(container: HTMLElement | string): void;
|
|
50
|
-
private _clear;
|
|
51
|
-
private _clearValidate;
|
|
52
|
-
private _formContainerShow;
|
|
53
|
-
private _formContainerHide;
|
|
54
|
-
private _send;
|
|
55
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Form } from "./Form";
|
|
2
|
-
import { IFormConfig, IItemConfig } from "./types";
|
|
3
|
-
export declare class ProForm extends Form {
|
|
4
|
-
constructor(container: HTMLElement | string, config: IFormConfig);
|
|
5
|
-
protected _initItemHandlers(item: IItemConfig, name: string): void;
|
|
6
|
-
protected _initUI(container: HTMLElement | string): void;
|
|
7
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { IBaseLayoutItem, IBaseItem, IBaseState, IBaseHandlersMap, ItemEvent } from "../types";
|
|
2
|
-
import { View } from "../../../ts-common/view";
|
|
3
|
-
import { IFieldset } from "./fieldset";
|
|
4
|
-
import { IEventSystem } from "../../../ts-common/events";
|
|
5
|
-
export type IToggleValue = number | string;
|
|
6
|
-
export interface IToggleButtonProps extends IBaseLayoutItem {
|
|
7
|
-
full?: boolean;
|
|
8
|
-
text?: string;
|
|
9
|
-
icon?: string;
|
|
10
|
-
offText?: string;
|
|
11
|
-
offIcon?: string;
|
|
12
|
-
value?: IToggleValue;
|
|
13
|
-
}
|
|
14
|
-
export interface IToggleButtonConfig extends IBaseItem, IBaseState, IToggleButtonProps {
|
|
15
|
-
type: "toggle";
|
|
16
|
-
selected?: boolean;
|
|
17
|
-
$group?: boolean;
|
|
18
|
-
$gap?: number;
|
|
19
|
-
$extraCss?: string;
|
|
20
|
-
}
|
|
21
|
-
export interface IToggleButton {
|
|
22
|
-
parent?: IFieldset;
|
|
23
|
-
config: IToggleButtonConfig;
|
|
24
|
-
events: IEventSystem<ItemEvent, IToggleButtonHandlersMap>;
|
|
25
|
-
setValue(selected: boolean, silent?: boolean): void;
|
|
26
|
-
getValue(): IToggleValue | boolean;
|
|
27
|
-
isSelected(): boolean;
|
|
28
|
-
show(): void;
|
|
29
|
-
hide(init?: boolean): void;
|
|
30
|
-
isVisible(): boolean;
|
|
31
|
-
focus(): void;
|
|
32
|
-
blur(): void;
|
|
33
|
-
disable(): void;
|
|
34
|
-
enable(): void;
|
|
35
|
-
isDisabled(): boolean;
|
|
36
|
-
setProperties(config: IToggleButtonProps): void;
|
|
37
|
-
getProperties(): IToggleButtonProps;
|
|
38
|
-
destructor(): void;
|
|
39
|
-
paint(): void;
|
|
40
|
-
}
|
|
41
|
-
export interface IToggleButtonHandlersMap extends IBaseHandlersMap {
|
|
42
|
-
[ItemEvent.beforeChange]: (value: IToggleValue | boolean) => boolean | void;
|
|
43
|
-
[ItemEvent.change]: (value: IToggleValue | boolean) => void;
|
|
44
|
-
[ItemEvent.focus]: (value: IToggleValue | boolean) => void;
|
|
45
|
-
[ItemEvent.blur]: (value: IToggleValue | boolean) => void;
|
|
46
|
-
[ItemEvent.keydown]: (event: KeyboardEvent) => void;
|
|
47
|
-
[ItemEvent.beforeHide]: (value: IToggleValue | boolean, init: boolean) => boolean | void;
|
|
48
|
-
[ItemEvent.beforeShow]: (value: IToggleValue | boolean) => boolean | void;
|
|
49
|
-
[ItemEvent.afterHide]: (value: IToggleValue | boolean, init: boolean) => void;
|
|
50
|
-
[ItemEvent.afterShow]: (value: IToggleValue | boolean) => void;
|
|
51
|
-
[ItemEvent.beforeChangeProperties]: (config: IToggleButtonProps) => boolean | void;
|
|
52
|
-
[ItemEvent.afterChangeProperties]: (config: IToggleButtonProps) => void;
|
|
53
|
-
}
|
|
54
|
-
export declare class ToggleButton extends View implements IToggleButton {
|
|
55
|
-
parent?: IFieldset;
|
|
56
|
-
config: IToggleButtonConfig;
|
|
57
|
-
events: IEventSystem<ItemEvent, IToggleButtonHandlersMap>;
|
|
58
|
-
private props;
|
|
59
|
-
private handlers;
|
|
60
|
-
constructor(container: HTMLElement | string | null, config: IToggleButtonConfig);
|
|
61
|
-
setValue(selected?: boolean, silent?: boolean): void;
|
|
62
|
-
getValue(): IToggleValue | boolean;
|
|
63
|
-
isSelected(): boolean;
|
|
64
|
-
show(): void;
|
|
65
|
-
hide(init?: boolean): void;
|
|
66
|
-
isVisible(): boolean;
|
|
67
|
-
focus(): void;
|
|
68
|
-
blur(): void;
|
|
69
|
-
disable(): void;
|
|
70
|
-
enable(): void;
|
|
71
|
-
isDisabled(): boolean;
|
|
72
|
-
setProperties(config: IToggleButtonProps): void;
|
|
73
|
-
getProperties(): IToggleButtonProps;
|
|
74
|
-
destructor(): void;
|
|
75
|
-
protected draw(): any;
|
|
76
|
-
private initHandlers;
|
|
77
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { IBaseItem, IBaseState, IBaseLayoutItem, IBaseHandlersMap, ItemEvent } from "../types";
|
|
2
|
-
import { IToggleButtonConfig, IToggleValue, IToggleButtonProps } from "./ToggleButton";
|
|
3
|
-
import { View } from "../../../ts-common/view";
|
|
4
|
-
import { IFieldset } from "./fieldset";
|
|
5
|
-
import { IEventSystem } from "../../../ts-common/events";
|
|
6
|
-
export interface IToggleGroupValue {
|
|
7
|
-
[id: string]: IToggleValue | boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface IToggleGroupProps extends IBaseLayoutItem {
|
|
10
|
-
options?: IToggleButtonConfig[];
|
|
11
|
-
full?: boolean;
|
|
12
|
-
gap?: number;
|
|
13
|
-
multiselection?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface IToggleGroupConfig extends IBaseItem, IBaseState, IToggleGroupProps {
|
|
16
|
-
type: "togglegroup";
|
|
17
|
-
options: IToggleButtonConfig[];
|
|
18
|
-
value?: IToggleGroupValue;
|
|
19
|
-
}
|
|
20
|
-
export interface IToggleGroup {
|
|
21
|
-
parent?: IFieldset;
|
|
22
|
-
config: IToggleGroupConfig;
|
|
23
|
-
events: IEventSystem<ItemEvent, IToggleGroupHandlersMap>;
|
|
24
|
-
setValue(value: IToggleGroupValue): void | boolean;
|
|
25
|
-
getValue(): IToggleGroupValue;
|
|
26
|
-
getValue(id: string): IToggleValue | boolean;
|
|
27
|
-
getValue(id?: string): IToggleGroupValue | IToggleValue | boolean;
|
|
28
|
-
isSelected(): {
|
|
29
|
-
[id: string]: boolean;
|
|
30
|
-
};
|
|
31
|
-
isSelected(id: string): boolean;
|
|
32
|
-
isSelected(id?: string): boolean | {
|
|
33
|
-
[id: string]: boolean;
|
|
34
|
-
};
|
|
35
|
-
show(id?: string): void;
|
|
36
|
-
hide(id?: string, init?: boolean): void;
|
|
37
|
-
isVisible(id?: string): boolean;
|
|
38
|
-
focus(id?: string): void;
|
|
39
|
-
blur(): void;
|
|
40
|
-
disable(id?: string): void;
|
|
41
|
-
enable(id?: string): void;
|
|
42
|
-
isDisabled(id?: string): boolean;
|
|
43
|
-
setProperties(config: IToggleGroupProps): void;
|
|
44
|
-
setProperties(config: IToggleButtonProps, id: string): void;
|
|
45
|
-
setProperties(config: IToggleGroupProps | IToggleButtonProps, id?: string): void;
|
|
46
|
-
getProperties(): IToggleGroupProps;
|
|
47
|
-
getProperties(id: string): IToggleButtonProps;
|
|
48
|
-
getProperties(id?: string): IToggleGroupProps | IToggleButtonProps;
|
|
49
|
-
destructor(): void;
|
|
50
|
-
}
|
|
51
|
-
export interface IToggleGroupHandlersMap extends IBaseHandlersMap {
|
|
52
|
-
[ItemEvent.beforeChange]: (value: IToggleGroupValue) => boolean | void;
|
|
53
|
-
[ItemEvent.change]: (value: IToggleGroupValue) => void;
|
|
54
|
-
[ItemEvent.focus]: (value: IToggleGroupValue, id: string) => void;
|
|
55
|
-
[ItemEvent.blur]: (value: IToggleGroupValue, id: string) => void;
|
|
56
|
-
[ItemEvent.keydown]: (event: KeyboardEvent, id: string) => void;
|
|
57
|
-
[ItemEvent.beforeHide]: (value: IToggleGroupValue, id?: string, init?: boolean) => boolean | void;
|
|
58
|
-
[ItemEvent.beforeShow]: (value: IToggleGroupValue, id?: string) => boolean | void;
|
|
59
|
-
[ItemEvent.afterHide]: (value: IToggleGroupValue, id?: string, init?: boolean) => void;
|
|
60
|
-
[ItemEvent.afterShow]: (value: IToggleGroupValue, id?: string) => void;
|
|
61
|
-
[ItemEvent.beforeChangeProperties]: (config: IToggleGroupProps | IToggleButtonProps, id?: string) => boolean | void;
|
|
62
|
-
[ItemEvent.afterChangeProperties]: (config: IToggleGroupProps | IToggleButtonProps, id?: string) => void;
|
|
63
|
-
}
|
|
64
|
-
export declare class ToggleGroup extends View implements IToggleGroup {
|
|
65
|
-
parent?: IFieldset;
|
|
66
|
-
config: IToggleGroupConfig;
|
|
67
|
-
events: IEventSystem<ItemEvent, IToggleGroupHandlersMap>;
|
|
68
|
-
private items;
|
|
69
|
-
private props;
|
|
70
|
-
constructor(container: HTMLElement | string | null, config: IToggleGroupConfig);
|
|
71
|
-
setValue(value: IToggleGroupValue): void | boolean;
|
|
72
|
-
getValue(): IToggleGroupValue;
|
|
73
|
-
getValue(id: string): IToggleValue | boolean;
|
|
74
|
-
isSelected(): {
|
|
75
|
-
[id: string]: boolean;
|
|
76
|
-
};
|
|
77
|
-
isSelected(id: string): boolean;
|
|
78
|
-
show(id?: string): void;
|
|
79
|
-
hide(id?: string, init?: boolean): void;
|
|
80
|
-
isVisible(id?: string): boolean;
|
|
81
|
-
focus(id?: string): void;
|
|
82
|
-
blur(): void;
|
|
83
|
-
disable(id?: string): void;
|
|
84
|
-
enable(id?: string): void;
|
|
85
|
-
isDisabled(id?: string): boolean;
|
|
86
|
-
setProperties(config: IToggleGroupProps): void;
|
|
87
|
-
setProperties(config: IToggleButtonProps, id: string): void;
|
|
88
|
-
getProperties(): IToggleGroupProps;
|
|
89
|
-
getProperties(id: string): IToggleButtonProps;
|
|
90
|
-
destructor(): void;
|
|
91
|
-
private initView;
|
|
92
|
-
private initHandlers;
|
|
93
|
-
private draw;
|
|
94
|
-
private checkVisibleOrder;
|
|
95
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { VNode } from "../../../ts-common/dom";
|
|
2
|
-
import { IHandlers } from "../../../ts-common/types";
|
|
3
|
-
import { IEventSystem } from "../../../ts-common/events";
|
|
4
|
-
import { Label } from "./helper/label";
|
|
5
|
-
import { ItemEvent, IBaseHandlersMap, IBaseItem, IBaseState, IBaseLayoutItem, ILabel, IMessage } from "../types";
|
|
6
|
-
import { FileStatus, IParams } from "./simplevault";
|
|
7
|
-
import { IFieldset } from "./fieldset";
|
|
8
|
-
export interface IUploadValue {
|
|
9
|
-
id?: string;
|
|
10
|
-
file?: File;
|
|
11
|
-
src?: string;
|
|
12
|
-
path?: string;
|
|
13
|
-
status?: FileStatus;
|
|
14
|
-
progress?: number;
|
|
15
|
-
request?: XMLHttpRequest;
|
|
16
|
-
}
|
|
17
|
-
export interface IAvatarProps extends IBaseLayoutItem, ILabel, IMessage {
|
|
18
|
-
validation?: (value: IUploadValue) => boolean;
|
|
19
|
-
readOnly?: boolean;
|
|
20
|
-
removeIcon?: boolean;
|
|
21
|
-
size?: "small" | "medium" | "large" | number;
|
|
22
|
-
circle?: boolean;
|
|
23
|
-
alt?: string;
|
|
24
|
-
icon?: string;
|
|
25
|
-
placeholder?: string;
|
|
26
|
-
preview?: string;
|
|
27
|
-
accept?: string;
|
|
28
|
-
target?: string;
|
|
29
|
-
fieldName?: string;
|
|
30
|
-
autosend?: boolean;
|
|
31
|
-
params?: IParams;
|
|
32
|
-
headerParams?: IParams;
|
|
33
|
-
updateFromResponse?: boolean;
|
|
34
|
-
}
|
|
35
|
-
export interface IAvatarConfig extends IBaseItem, IBaseState, IAvatarProps {
|
|
36
|
-
type: "avatar";
|
|
37
|
-
value?: IUploadValue;
|
|
38
|
-
}
|
|
39
|
-
export interface IAvatar {
|
|
40
|
-
parent?: IFieldset;
|
|
41
|
-
config: IAvatarConfig;
|
|
42
|
-
events: IEventSystem<ItemEvent, IAvatarEventHandlersMap>;
|
|
43
|
-
send(params?: IParams): void;
|
|
44
|
-
selectFile(): void;
|
|
45
|
-
setValue(value: IUploadValue): void;
|
|
46
|
-
getValue(): IUploadValue;
|
|
47
|
-
clear(): void;
|
|
48
|
-
disable(): void;
|
|
49
|
-
enable(): void;
|
|
50
|
-
isDisabled(): boolean;
|
|
51
|
-
show(): void;
|
|
52
|
-
hide(init?: boolean): void;
|
|
53
|
-
isVisible(): boolean;
|
|
54
|
-
validate(silent?: boolean, validateValue?: IUploadValue): boolean;
|
|
55
|
-
clearValidate(): void;
|
|
56
|
-
setProperties(propertyConfig: IAvatarProps): void;
|
|
57
|
-
getProperties(): IAvatarProps;
|
|
58
|
-
focus(): void;
|
|
59
|
-
blur(): void;
|
|
60
|
-
destructor(): void;
|
|
61
|
-
}
|
|
62
|
-
export interface IAvatarEventHandlersMap extends IBaseHandlersMap {
|
|
63
|
-
[ItemEvent.beforeChange]: (value: IUploadValue) => boolean | void;
|
|
64
|
-
[ItemEvent.change]: (value: IUploadValue) => void;
|
|
65
|
-
[ItemEvent.beforeHide]: (value: IUploadValue, init: boolean) => boolean | void;
|
|
66
|
-
[ItemEvent.beforeShow]: (value: IUploadValue) => boolean | void;
|
|
67
|
-
[ItemEvent.afterHide]: (value: IUploadValue, init: boolean) => void;
|
|
68
|
-
[ItemEvent.afterShow]: (value: IUploadValue) => void;
|
|
69
|
-
[ItemEvent.beforeValidate]: (value: IUploadValue) => boolean | void;
|
|
70
|
-
[ItemEvent.afterValidate]: (value: IUploadValue, isValidate: boolean) => void;
|
|
71
|
-
[ItemEvent.beforeUploadFile]: (value: IUploadValue) => boolean | void;
|
|
72
|
-
[ItemEvent.uploadBegin]: (value: IUploadValue) => void;
|
|
73
|
-
[ItemEvent.uploadProgress]: (progress: number, value: IUploadValue) => void;
|
|
74
|
-
[ItemEvent.uploadComplete]: (value: IUploadValue) => void;
|
|
75
|
-
[ItemEvent.uploadFail]: (value: IUploadValue) => void;
|
|
76
|
-
[ItemEvent.uploadFile]: (value: IUploadValue, extra?: {
|
|
77
|
-
[key: string]: string;
|
|
78
|
-
}) => void;
|
|
79
|
-
[ItemEvent.beforeChangeProperties]: (properties: IAvatarProps) => boolean | void;
|
|
80
|
-
[ItemEvent.afterChangeProperties]: (properties: IAvatarProps) => void;
|
|
81
|
-
}
|
|
82
|
-
export declare class Avatar extends Label implements IAvatar {
|
|
83
|
-
parent: IFieldset;
|
|
84
|
-
config: IAvatarConfig;
|
|
85
|
-
events: IEventSystem<ItemEvent, IAvatarEventHandlersMap>;
|
|
86
|
-
protected _handlers: IHandlers;
|
|
87
|
-
protected _propsItem: string[];
|
|
88
|
-
protected _props: string[];
|
|
89
|
-
private _isUpload;
|
|
90
|
-
private _dragover;
|
|
91
|
-
private _dragoverTimeout;
|
|
92
|
-
constructor(container: null | string | HTMLElement, config: IAvatarConfig);
|
|
93
|
-
send(params?: IParams): void;
|
|
94
|
-
selectFile(): void;
|
|
95
|
-
setValue(value: IUploadValue): void;
|
|
96
|
-
private _setValue;
|
|
97
|
-
getValue(): IUploadValue;
|
|
98
|
-
clear(): void;
|
|
99
|
-
disable(): void;
|
|
100
|
-
enable(): void;
|
|
101
|
-
isDisabled(): boolean;
|
|
102
|
-
show(): void;
|
|
103
|
-
hide(init?: boolean): void;
|
|
104
|
-
isVisible(): boolean;
|
|
105
|
-
validate(silent?: boolean, value?: IUploadValue): boolean;
|
|
106
|
-
clearValidate(): void;
|
|
107
|
-
setProperties(propertyConfig: IAvatarProps): void;
|
|
108
|
-
getProperties(): IAvatarProps;
|
|
109
|
-
focus(): void;
|
|
110
|
-
blur(): void;
|
|
111
|
-
destructor(): void;
|
|
112
|
-
protected _initView(config: IAvatarConfig): void;
|
|
113
|
-
protected _initHandlers(): void;
|
|
114
|
-
protected _draw(): VNode;
|
|
115
|
-
private _drawImage;
|
|
116
|
-
private _drawPreview;
|
|
117
|
-
private _drawCover;
|
|
118
|
-
private _createFormData;
|
|
119
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { View } from "../../../ts-common/view";
|
|
2
|
-
import { ItemEvent, IBaseLayoutItem, IBaseItem, IBaseState, IBaseHandlersMap } from "../types";
|
|
3
|
-
import { IEventSystem } from "../../../ts-common/events";
|
|
4
|
-
import { IFieldset } from "./fieldset";
|
|
5
|
-
export interface IButtonProps extends IBaseLayoutItem {
|
|
6
|
-
submit?: boolean;
|
|
7
|
-
url?: string;
|
|
8
|
-
text?: string;
|
|
9
|
-
icon?: string;
|
|
10
|
-
view?: "flat" | "link";
|
|
11
|
-
size?: "small" | "medium";
|
|
12
|
-
color?: "danger" | "secondary" | "primary" | "success";
|
|
13
|
-
full?: boolean;
|
|
14
|
-
circle?: boolean;
|
|
15
|
-
loading?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export interface IButtonConfig extends IButtonProps, IBaseItem, IBaseState {
|
|
18
|
-
type: "button";
|
|
19
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
20
|
-
value?: string;
|
|
21
|
-
}
|
|
22
|
-
export interface IButton {
|
|
23
|
-
parent?: IFieldset;
|
|
24
|
-
config: IButtonConfig;
|
|
25
|
-
events: IEventSystem<ItemEvent, IButtonHandlersMap>;
|
|
26
|
-
destructor(): void;
|
|
27
|
-
show(): void;
|
|
28
|
-
hide(init?: boolean): void;
|
|
29
|
-
isVisible(): boolean;
|
|
30
|
-
disable(): void;
|
|
31
|
-
enable(): void;
|
|
32
|
-
isDisabled(): boolean;
|
|
33
|
-
setProperties(propertyConfig: IButtonProps): void;
|
|
34
|
-
getProperties(): IButtonProps;
|
|
35
|
-
focus(): void;
|
|
36
|
-
blur(): void;
|
|
37
|
-
}
|
|
38
|
-
export interface IButtonHandlersMap extends IBaseHandlersMap {
|
|
39
|
-
[ItemEvent.click]: (events: Event) => void;
|
|
40
|
-
[ItemEvent.focus]: (text: string) => void;
|
|
41
|
-
[ItemEvent.blur]: (text: string) => void;
|
|
42
|
-
[ItemEvent.keydown]: (event: KeyboardEvent) => void;
|
|
43
|
-
[ItemEvent.beforeHide]: (text: string, init: boolean) => boolean | void;
|
|
44
|
-
[ItemEvent.beforeShow]: (text: string) => boolean | void;
|
|
45
|
-
[ItemEvent.afterHide]: (text: string, init: boolean) => void;
|
|
46
|
-
[ItemEvent.afterShow]: (text: string) => void;
|
|
47
|
-
[ItemEvent.beforeChangeProperties]: (properties: IButtonProps) => boolean | void;
|
|
48
|
-
[ItemEvent.afterChangeProperties]: (properties: IButtonProps) => void;
|
|
49
|
-
}
|
|
50
|
-
export declare class Button extends View implements IButton {
|
|
51
|
-
parent: IFieldset;
|
|
52
|
-
config: IButtonConfig;
|
|
53
|
-
events: IEventSystem<ItemEvent, IButtonHandlersMap>;
|
|
54
|
-
private _handlers;
|
|
55
|
-
private _propsItem;
|
|
56
|
-
private _props;
|
|
57
|
-
constructor(container: HTMLElement | string | null, config: any);
|
|
58
|
-
destructor(): void;
|
|
59
|
-
setProperties(propertyConfig: IButtonProps): void;
|
|
60
|
-
getProperties(): IButtonProps;
|
|
61
|
-
show(): void;
|
|
62
|
-
hide(init?: boolean): void;
|
|
63
|
-
isVisible(): boolean;
|
|
64
|
-
disable(): void;
|
|
65
|
-
enable(): void;
|
|
66
|
-
isDisabled(): boolean;
|
|
67
|
-
focus(): void;
|
|
68
|
-
blur(): void;
|
|
69
|
-
protected _draw(): any;
|
|
70
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../../ts-common/events";
|
|
2
|
-
import { Popup } from "../../../ts-popup";
|
|
3
|
-
import { ItemEvent, IBaseLayoutItem, IMessage, ILabel, IBaseState, IBaseItem, IBaseHandlersMap } from "../types";
|
|
4
|
-
import { Label } from "./helper/label";
|
|
5
|
-
import { IFieldset } from "./fieldset";
|
|
6
|
-
export interface ICheckboxProps extends IBaseLayoutItem, ILabel, IMessage {
|
|
7
|
-
text?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface ICheckboxConfig extends ICheckboxProps, IBaseState, IBaseItem {
|
|
10
|
-
type: "checkbox";
|
|
11
|
-
checked?: boolean;
|
|
12
|
-
value?: string;
|
|
13
|
-
$group?: boolean;
|
|
14
|
-
$required?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export interface ICheckbox {
|
|
17
|
-
parent?: IFieldset;
|
|
18
|
-
config: ICheckboxConfig;
|
|
19
|
-
events: IEventSystem<ItemEvent, ICheckboxEventHandlersMap>;
|
|
20
|
-
destructor(): void;
|
|
21
|
-
getValue(): string | boolean;
|
|
22
|
-
setValue(checked: boolean): void;
|
|
23
|
-
focus(): void;
|
|
24
|
-
blur(): void;
|
|
25
|
-
show(): void;
|
|
26
|
-
hide(init?: boolean): void;
|
|
27
|
-
isVisible(): boolean;
|
|
28
|
-
disable(): void;
|
|
29
|
-
enable(): void;
|
|
30
|
-
isDisabled(): boolean;
|
|
31
|
-
clear(): void;
|
|
32
|
-
validate(silent?: boolean): boolean;
|
|
33
|
-
clearValidate(): void;
|
|
34
|
-
isChecked(): boolean;
|
|
35
|
-
setProperties(propertyConfig: ICheckboxProps, silent?: boolean): void;
|
|
36
|
-
getProperties(): ICheckboxProps;
|
|
37
|
-
}
|
|
38
|
-
export interface ICheckboxEventHandlersMap extends IBaseHandlersMap {
|
|
39
|
-
[ItemEvent.beforeChange]: (value: string | boolean) => boolean | void;
|
|
40
|
-
[ItemEvent.change]: (value: string | boolean) => void;
|
|
41
|
-
[ItemEvent.focus]: (value: string | boolean, id?: string) => void;
|
|
42
|
-
[ItemEvent.blur]: (value: string | boolean, id?: string) => void;
|
|
43
|
-
[ItemEvent.keydown]: (event: KeyboardEvent, id?: string) => void;
|
|
44
|
-
[ItemEvent.beforeHide]: (value: string | boolean, init: boolean) => boolean | void;
|
|
45
|
-
[ItemEvent.beforeShow]: (value: string | boolean) => boolean | void;
|
|
46
|
-
[ItemEvent.afterHide]: (value: string | boolean, init: boolean) => void;
|
|
47
|
-
[ItemEvent.afterShow]: (value: string | boolean) => void;
|
|
48
|
-
[ItemEvent.beforeValidate]: (value: string | boolean) => boolean | void;
|
|
49
|
-
[ItemEvent.afterValidate]: (value: string | boolean, isValidate: boolean) => void;
|
|
50
|
-
[ItemEvent.beforeChangeProperties]: (properties: ICheckboxProps) => boolean | void;
|
|
51
|
-
[ItemEvent.afterChangeProperties]: (properties: ICheckboxProps) => void;
|
|
52
|
-
}
|
|
53
|
-
export declare class Checkbox extends Label implements ICheckbox {
|
|
54
|
-
parent: IFieldset;
|
|
55
|
-
config: ICheckboxConfig;
|
|
56
|
-
events: IEventSystem<ItemEvent, ICheckboxEventHandlersMap>;
|
|
57
|
-
protected _handlers: any;
|
|
58
|
-
protected _helper: Popup;
|
|
59
|
-
private _inGroup;
|
|
60
|
-
private _propsItem;
|
|
61
|
-
private _props;
|
|
62
|
-
constructor(container: HTMLElement | string, config?: {});
|
|
63
|
-
setProperties(propertyConfig: ICheckboxProps, silent?: boolean): void;
|
|
64
|
-
getProperties(): ICheckboxProps;
|
|
65
|
-
show(): void;
|
|
66
|
-
hide(init?: boolean): void;
|
|
67
|
-
isVisible(): boolean;
|
|
68
|
-
disable(): void;
|
|
69
|
-
enable(): void;
|
|
70
|
-
isDisabled(): boolean;
|
|
71
|
-
validate(silent?: boolean): boolean;
|
|
72
|
-
clearValidate(): void;
|
|
73
|
-
setValue(checked: boolean, silent?: boolean): void;
|
|
74
|
-
getValue(): string | boolean;
|
|
75
|
-
clear(silent?: boolean): void;
|
|
76
|
-
destructor(): void;
|
|
77
|
-
focus(): void;
|
|
78
|
-
blur(): void;
|
|
79
|
-
isChecked(): boolean;
|
|
80
|
-
private _getValue;
|
|
81
|
-
private _initView;
|
|
82
|
-
protected _initHandlers(): void;
|
|
83
|
-
protected _draw(): any;
|
|
84
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { Layout } from "../../../ts-layout";
|
|
2
|
-
import { IEventSystem } from "../../../ts-common/events";
|
|
3
|
-
import { Label } from "./helper/label";
|
|
4
|
-
import { ItemEvent, IBaseLayoutItem, IBaseItem, IBaseState, IGroup, ILabel, IMessage, IBaseHandlersMap } from "../types";
|
|
5
|
-
import { IFieldset } from "./fieldset";
|
|
6
|
-
export interface ICheckboxGroupValue {
|
|
7
|
-
[id: string]: boolean | string;
|
|
8
|
-
}
|
|
9
|
-
export interface ICheckboxGroupItemProps extends IBaseLayoutItem {
|
|
10
|
-
id?: string;
|
|
11
|
-
checked?: boolean;
|
|
12
|
-
value?: string;
|
|
13
|
-
text?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface ICheckboxGroupItemConfig extends IBaseItem, IBaseState, ICheckboxGroupItemProps {
|
|
16
|
-
type: "checkbox";
|
|
17
|
-
$group?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export interface ICheckboxGroupOption extends IGroup {
|
|
20
|
-
rows?: ICheckboxGroupItemConfig[];
|
|
21
|
-
cols?: ICheckboxGroupItemConfig[];
|
|
22
|
-
}
|
|
23
|
-
export interface ICheckboxGroupProps extends IBaseLayoutItem, ILabel, IMessage {
|
|
24
|
-
options?: ICheckboxGroupOption;
|
|
25
|
-
}
|
|
26
|
-
export interface ICheckboxGroupConfig extends IBaseItem, IBaseState, ICheckboxGroupProps {
|
|
27
|
-
type: "checkboxgroup";
|
|
28
|
-
value?: ICheckboxGroupValue;
|
|
29
|
-
}
|
|
30
|
-
export interface ICheckboxGroup {
|
|
31
|
-
parent?: IFieldset;
|
|
32
|
-
config: ICheckboxGroupConfig;
|
|
33
|
-
events: IEventSystem<ItemEvent, ICheckboxGroupEventHandlersMap>;
|
|
34
|
-
destructor(): void;
|
|
35
|
-
getValue(): ICheckboxGroupValue;
|
|
36
|
-
getValue(id: string): string | boolean;
|
|
37
|
-
getValue(id?: string): ICheckboxGroupValue | string | boolean;
|
|
38
|
-
setValue(value: ICheckboxGroupValue): void;
|
|
39
|
-
focus(id?: string): void;
|
|
40
|
-
blur(): void;
|
|
41
|
-
show(id?: string): void;
|
|
42
|
-
hide(id?: string, init?: boolean): void;
|
|
43
|
-
isVisible(id?: string): boolean;
|
|
44
|
-
disable(id?: string): void;
|
|
45
|
-
enable(id?: string): void;
|
|
46
|
-
isDisabled(id?: string): boolean;
|
|
47
|
-
clear(): void;
|
|
48
|
-
validate(silent?: boolean): boolean;
|
|
49
|
-
clearValidate(): void;
|
|
50
|
-
isChecked(id?: string): boolean | {
|
|
51
|
-
[key: string]: boolean;
|
|
52
|
-
};
|
|
53
|
-
getProperties(id?: string): ICheckboxGroupProps | ICheckboxGroupItemProps;
|
|
54
|
-
setProperties(arg?: string | ICheckboxGroupProps, props?: ICheckboxGroupItemProps): void;
|
|
55
|
-
}
|
|
56
|
-
export interface ICheckboxGroupEventHandlersMap extends IBaseHandlersMap {
|
|
57
|
-
[ItemEvent.beforeChange]: (value: ICheckboxGroupValue) => boolean | void;
|
|
58
|
-
[ItemEvent.change]: (value: ICheckboxGroupValue) => void;
|
|
59
|
-
[ItemEvent.focus]: (value: ICheckboxGroupValue, id: string) => void;
|
|
60
|
-
[ItemEvent.blur]: (value: ICheckboxGroupValue, id: string) => void;
|
|
61
|
-
[ItemEvent.keydown]: (event: KeyboardEvent, id: string) => void;
|
|
62
|
-
[ItemEvent.beforeHide]: (value: ICheckboxGroupValue, id?: string, init?: boolean) => boolean | void;
|
|
63
|
-
[ItemEvent.beforeShow]: (value: ICheckboxGroupValue, id?: string) => boolean | void;
|
|
64
|
-
[ItemEvent.afterHide]: (value: ICheckboxGroupValue, id?: string, init?: boolean) => void;
|
|
65
|
-
[ItemEvent.afterShow]: (value: ICheckboxGroupValue, id?: string) => void;
|
|
66
|
-
[ItemEvent.beforeValidate]: (value: ICheckboxGroupValue) => boolean | void;
|
|
67
|
-
[ItemEvent.afterValidate]: (value: ICheckboxGroupValue, isValidate: boolean) => void;
|
|
68
|
-
[ItemEvent.beforeChangeProperties]: (properties: ICheckboxGroupProps) => boolean | void;
|
|
69
|
-
[ItemEvent.afterChangeProperties]: (properties: ICheckboxGroupProps) => void;
|
|
70
|
-
}
|
|
71
|
-
export declare class CheckboxGroup extends Label implements ICheckboxGroup {
|
|
72
|
-
parent: IFieldset;
|
|
73
|
-
config: ICheckboxGroupConfig;
|
|
74
|
-
layout: Layout;
|
|
75
|
-
events: IEventSystem<ItemEvent, ICheckboxGroupEventHandlersMap>;
|
|
76
|
-
private _buttons;
|
|
77
|
-
private _propsItem;
|
|
78
|
-
private _props;
|
|
79
|
-
constructor(container: any, config: ICheckboxGroupConfig);
|
|
80
|
-
destructor(): void;
|
|
81
|
-
setProperties(arg?: string | ICheckboxGroupProps, props?: ICheckboxGroupItemProps): void;
|
|
82
|
-
getProperties(id?: string): ICheckboxGroupProps | ICheckboxGroupItemProps;
|
|
83
|
-
getValue(): ICheckboxGroupValue;
|
|
84
|
-
getValue(id: string): string | boolean;
|
|
85
|
-
setValue(newValue: ICheckboxGroupValue): void;
|
|
86
|
-
isChecked(id?: string): boolean | {
|
|
87
|
-
[key: string]: boolean;
|
|
88
|
-
};
|
|
89
|
-
focus(id?: string): void;
|
|
90
|
-
blur(): void;
|
|
91
|
-
show(id?: string): void;
|
|
92
|
-
hide(id?: string, init?: boolean): void;
|
|
93
|
-
isVisible(id?: string): boolean;
|
|
94
|
-
enable(id?: string): void;
|
|
95
|
-
disable(id?: string, init?: boolean): void;
|
|
96
|
-
isDisabled(id?: string): boolean;
|
|
97
|
-
clear(): void;
|
|
98
|
-
validate(silent?: boolean): boolean;
|
|
99
|
-
clearValidate(): void;
|
|
100
|
-
protected _initView(config: ICheckboxGroupConfig): void;
|
|
101
|
-
protected _initHandlers(): void;
|
|
102
|
-
protected _draw(): any;
|
|
103
|
-
}
|