dhx-chart 8.3.0 → 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/ui/editors/editors.d.ts +2 -0
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +3 -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 -41
- 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 -9
- package/codebase/types/ts-colorpicker/sources/helpers/color.d.ts +0 -18
- 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 -69
- 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 -53
- 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 -83
- 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 -210
- 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 -4
- 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 -83
- 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,124 +0,0 @@
|
|
|
1
|
-
import { Id } from "../../../ts-common/types";
|
|
2
|
-
import { IEventSystem } from "../../../ts-common/events";
|
|
3
|
-
import { DataCollection, IDataItem } from "../../../ts-data";
|
|
4
|
-
import { UploaderEvents } from "../../../ts-vault";
|
|
5
|
-
import { Popup } from "../../../ts-popup";
|
|
6
|
-
import { ItemEvent, IBaseLayoutItem, IMessage, ILabel, IBaseItem, IBaseState, IBaseHandlersMap } from "../types";
|
|
7
|
-
import { IFieldset } from "./fieldset";
|
|
8
|
-
import { Label } from "./helper/label";
|
|
9
|
-
export interface IParams {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}
|
|
12
|
-
export declare enum FileStatus {
|
|
13
|
-
queue = "queue",
|
|
14
|
-
uploaded = "uploaded",
|
|
15
|
-
failed = "failed",
|
|
16
|
-
inprogress = "inprogress"
|
|
17
|
-
}
|
|
18
|
-
export interface IFileWrapper extends IDataItem {
|
|
19
|
-
file: File;
|
|
20
|
-
status: FileStatus;
|
|
21
|
-
progress: number;
|
|
22
|
-
request?: XMLHttpRequest;
|
|
23
|
-
path?: string;
|
|
24
|
-
name?: string;
|
|
25
|
-
[key: string]: any;
|
|
26
|
-
}
|
|
27
|
-
export interface ISimpleVaultValue extends IFileWrapper {
|
|
28
|
-
id: Id;
|
|
29
|
-
}
|
|
30
|
-
export interface ISimpleVaultProps extends IBaseLayoutItem, ILabel, IMessage {
|
|
31
|
-
params?: IParams;
|
|
32
|
-
headerParams?: IParams;
|
|
33
|
-
target?: string;
|
|
34
|
-
fieldName?: string;
|
|
35
|
-
singleRequest?: boolean;
|
|
36
|
-
updateFromResponse?: boolean;
|
|
37
|
-
autosend?: boolean;
|
|
38
|
-
accept?: string;
|
|
39
|
-
validation?: (value: ISimpleVaultValue[]) => boolean;
|
|
40
|
-
}
|
|
41
|
-
export interface ISimpleVaultConfig extends IBaseItem, IBaseState, ISimpleVaultProps {
|
|
42
|
-
type: "simplevault";
|
|
43
|
-
value?: ISimpleVaultValue[];
|
|
44
|
-
$vaultHeight?: number | string;
|
|
45
|
-
}
|
|
46
|
-
export interface ISimpleVault {
|
|
47
|
-
parent?: IFieldset;
|
|
48
|
-
config: ISimpleVaultConfig;
|
|
49
|
-
data: DataCollection<IFileWrapper>;
|
|
50
|
-
events: IEventSystem<ItemEvent | ISimpleVaultEventHandlersMap>;
|
|
51
|
-
send(params?: IParams): void;
|
|
52
|
-
selectFile(): void;
|
|
53
|
-
setValue(value: ISimpleVaultValue[]): void;
|
|
54
|
-
getValue(): ISimpleVaultValue[];
|
|
55
|
-
clear(): void;
|
|
56
|
-
disable(): void;
|
|
57
|
-
enable(): void;
|
|
58
|
-
isDisabled(): boolean;
|
|
59
|
-
show(): void;
|
|
60
|
-
hide(init?: boolean): void;
|
|
61
|
-
isVisible(): boolean;
|
|
62
|
-
validate(silent?: boolean, validateValue?: ISimpleVaultValue[]): boolean;
|
|
63
|
-
clearValidate(): void;
|
|
64
|
-
setProperties(propertyConfig: ISimpleVaultProps): void;
|
|
65
|
-
getProperties(): ISimpleVaultProps;
|
|
66
|
-
focus(): void;
|
|
67
|
-
blur(): void;
|
|
68
|
-
destructor(): void;
|
|
69
|
-
}
|
|
70
|
-
export interface ISimpleVaultEventHandlersMap extends IBaseHandlersMap {
|
|
71
|
-
[ItemEvent.beforeChange]: (value: ISimpleVaultValue[], file?: ISimpleVaultValue) => boolean | void;
|
|
72
|
-
[ItemEvent.change]: (value: ISimpleVaultValue[]) => void;
|
|
73
|
-
[ItemEvent.beforeHide]: (value: ISimpleVaultValue[], init: boolean) => boolean | void;
|
|
74
|
-
[ItemEvent.beforeShow]: (value: ISimpleVaultValue[]) => boolean | void;
|
|
75
|
-
[ItemEvent.afterHide]: (value: ISimpleVaultValue[], init: boolean) => void;
|
|
76
|
-
[ItemEvent.afterShow]: (value: ISimpleVaultValue[]) => void;
|
|
77
|
-
[ItemEvent.beforeValidate]: (value: ISimpleVaultValue[]) => boolean | void;
|
|
78
|
-
[ItemEvent.afterValidate]: (value: ISimpleVaultValue[], isValidate: boolean) => void;
|
|
79
|
-
[ItemEvent.beforeUploadFile]: (file: ISimpleVaultValue, value: ISimpleVaultValue[]) => boolean | void;
|
|
80
|
-
[ItemEvent.uploadBegin]: (files: ISimpleVaultValue[], value: ISimpleVaultValue[]) => void;
|
|
81
|
-
[ItemEvent.uploadComplete]: (files: ISimpleVaultValue[], value: ISimpleVaultValue[]) => void;
|
|
82
|
-
[ItemEvent.uploadFail]: (file: ISimpleVaultValue, value: ISimpleVaultValue[]) => void;
|
|
83
|
-
[ItemEvent.uploadFile]: (file: ISimpleVaultValue, value: ISimpleVaultValue[], extra?: {
|
|
84
|
-
[key: string]: string;
|
|
85
|
-
}) => void;
|
|
86
|
-
[ItemEvent.uploadProgress]: (progress: number, value: ISimpleVaultValue[]) => void;
|
|
87
|
-
[ItemEvent.beforeChangeProperties]: (properties: ISimpleVaultProps) => boolean | void;
|
|
88
|
-
[ItemEvent.afterChangeProperties]: (properties: ISimpleVaultProps) => void;
|
|
89
|
-
}
|
|
90
|
-
export declare class SimpleVault extends Label implements ISimpleVault {
|
|
91
|
-
config: ISimpleVaultConfig;
|
|
92
|
-
parent: IFieldset;
|
|
93
|
-
events: IEventSystem<UploaderEvents | ItemEvent | ISimpleVaultEventHandlersMap>;
|
|
94
|
-
data: DataCollection<ISimpleVaultValue>;
|
|
95
|
-
protected _helper: Popup;
|
|
96
|
-
private _uploader;
|
|
97
|
-
private _dragover;
|
|
98
|
-
private _dragoverTimeout;
|
|
99
|
-
private _propsItem;
|
|
100
|
-
private _propsSimpleVault;
|
|
101
|
-
private _props;
|
|
102
|
-
constructor(container: HTMLElement | string, config: ISimpleVaultConfig);
|
|
103
|
-
send(params?: IParams): void;
|
|
104
|
-
selectFile(): void;
|
|
105
|
-
setValue(value: ISimpleVaultValue[]): void;
|
|
106
|
-
getValue(): ISimpleVaultValue[];
|
|
107
|
-
clear(): void;
|
|
108
|
-
disable(): void;
|
|
109
|
-
enable(): void;
|
|
110
|
-
isDisabled(): boolean;
|
|
111
|
-
show(): void;
|
|
112
|
-
hide(init?: boolean): void;
|
|
113
|
-
isVisible(): boolean;
|
|
114
|
-
validate(silent?: boolean, value?: ISimpleVaultValue[]): boolean;
|
|
115
|
-
clearValidate(): void;
|
|
116
|
-
setProperties(propertyConfig: ISimpleVaultProps): void;
|
|
117
|
-
getProperties(): ISimpleVaultProps;
|
|
118
|
-
focus(): void;
|
|
119
|
-
blur(): void;
|
|
120
|
-
destructor(): void;
|
|
121
|
-
protected _initView(config: ISimpleVaultConfig): void;
|
|
122
|
-
protected _initHandlers(): void;
|
|
123
|
-
protected _draw(): any;
|
|
124
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { Slider, Direction } from "../../../ts-slider";
|
|
2
|
-
import { IEventSystem } from "../../../ts-common/events";
|
|
3
|
-
import { Label } from "./helper/label";
|
|
4
|
-
import { ItemEvent, IBaseLayoutItem, ILabel, IBaseItem, IBaseState, IBaseHandlersMap } from "../types";
|
|
5
|
-
import { IFieldset } from "./fieldset";
|
|
6
|
-
export interface ISliderProps extends IBaseLayoutItem, ILabel {
|
|
7
|
-
helpMessage?: string;
|
|
8
|
-
min?: number;
|
|
9
|
-
max?: number;
|
|
10
|
-
step?: number;
|
|
11
|
-
mode?: Direction;
|
|
12
|
-
range?: boolean;
|
|
13
|
-
inverse?: boolean;
|
|
14
|
-
tooltip?: boolean;
|
|
15
|
-
tick?: number;
|
|
16
|
-
tickTemplate?: (position: number) => string;
|
|
17
|
-
majorTick?: number;
|
|
18
|
-
}
|
|
19
|
-
export interface ISliderFormConfig extends IBaseItem, IBaseState, ISliderProps {
|
|
20
|
-
type: "slider";
|
|
21
|
-
value?: number | number[];
|
|
22
|
-
}
|
|
23
|
-
export interface ISliderForm {
|
|
24
|
-
parent?: IFieldset;
|
|
25
|
-
config: ISliderFormConfig;
|
|
26
|
-
slider: Slider;
|
|
27
|
-
events: IEventSystem<ItemEvent, ISliderFormEventHandlersMap>;
|
|
28
|
-
destructor(): void;
|
|
29
|
-
show(): void;
|
|
30
|
-
focus(): void;
|
|
31
|
-
blur(): void;
|
|
32
|
-
hide(init?: boolean): void;
|
|
33
|
-
isVisible(): boolean;
|
|
34
|
-
disable(): void;
|
|
35
|
-
enable(): void;
|
|
36
|
-
isDisabled(): boolean;
|
|
37
|
-
setValue(value: number | number[]): void;
|
|
38
|
-
getValue(): number[];
|
|
39
|
-
clear(): void;
|
|
40
|
-
getWidget(): Slider;
|
|
41
|
-
setProperties(propertyConfig: ISliderProps): void;
|
|
42
|
-
getProperties(): ISliderProps;
|
|
43
|
-
}
|
|
44
|
-
export interface ISliderFormEventHandlersMap extends IBaseHandlersMap {
|
|
45
|
-
[ItemEvent.beforeChange]: (value: number[]) => boolean | void;
|
|
46
|
-
[ItemEvent.change]: (value: number[]) => void;
|
|
47
|
-
[ItemEvent.focus]: (value: number[]) => void;
|
|
48
|
-
[ItemEvent.blur]: (value: number[]) => void;
|
|
49
|
-
[ItemEvent.keydown]: (event: KeyboardEvent) => void;
|
|
50
|
-
[ItemEvent.beforeHide]: (value: number[], init: boolean) => boolean | void;
|
|
51
|
-
[ItemEvent.beforeShow]: (value: number[]) => boolean | void;
|
|
52
|
-
[ItemEvent.afterHide]: (value: number[], init: boolean) => void;
|
|
53
|
-
[ItemEvent.afterShow]: (value: number[]) => void;
|
|
54
|
-
[ItemEvent.beforeChangeProperties]: (properties: ISliderProps) => boolean | void;
|
|
55
|
-
[ItemEvent.afterChangeProperties]: (properties: ISliderProps) => void;
|
|
56
|
-
}
|
|
57
|
-
export declare class SliderForm extends Label implements ISliderForm {
|
|
58
|
-
parent: IFieldset;
|
|
59
|
-
config: ISliderFormConfig;
|
|
60
|
-
slider: Slider;
|
|
61
|
-
events: IEventSystem<ItemEvent, ISliderFormEventHandlersMap>;
|
|
62
|
-
private _propsItem;
|
|
63
|
-
private _propsSlider;
|
|
64
|
-
private _props;
|
|
65
|
-
constructor(container: any, config: ISliderFormConfig);
|
|
66
|
-
destructor(): void;
|
|
67
|
-
setProperties(propertyConfig: ISliderProps): void;
|
|
68
|
-
getProperties(): ISliderProps;
|
|
69
|
-
show(): void;
|
|
70
|
-
hide(init?: boolean): void;
|
|
71
|
-
isVisible(): boolean;
|
|
72
|
-
disable(): void;
|
|
73
|
-
enable(): void;
|
|
74
|
-
isDisabled(): boolean;
|
|
75
|
-
clear(): void;
|
|
76
|
-
getValue(): number[];
|
|
77
|
-
setValue(value: number | number[]): void;
|
|
78
|
-
getWidget(): Slider;
|
|
79
|
-
focus(extra?: boolean): void;
|
|
80
|
-
blur(): void;
|
|
81
|
-
protected _initView(config: ISliderFormConfig): void;
|
|
82
|
-
protected _initHandlers(): void;
|
|
83
|
-
protected _drawSlider(): any;
|
|
84
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { View } from "../../../ts-common/view";
|
|
2
|
-
import { ItemEvent, IBaseLayoutItem, IBaseHandlersMap, IBaseItem } from "../types";
|
|
3
|
-
import { IEventSystem } from "../../../ts-common/events";
|
|
4
|
-
import { IFieldset } from "./fieldset";
|
|
5
|
-
export type ISpacerProps = IBaseLayoutItem;
|
|
6
|
-
export interface ISpacerConfig extends IBaseItem, ISpacerProps {
|
|
7
|
-
type: "spacer";
|
|
8
|
-
hidden?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export interface ISpacer {
|
|
11
|
-
parent?: IFieldset;
|
|
12
|
-
config: ISpacerConfig;
|
|
13
|
-
events: IEventSystem<ItemEvent, ISpacerHandlersMap>;
|
|
14
|
-
destructor(): void;
|
|
15
|
-
show(): void;
|
|
16
|
-
hide(init?: boolean): void;
|
|
17
|
-
isVisible(): boolean;
|
|
18
|
-
setProperties(propertyConfig: ISpacerProps): void;
|
|
19
|
-
getProperties(): ISpacerProps;
|
|
20
|
-
}
|
|
21
|
-
export interface ISpacerHandlersMap extends IBaseHandlersMap {
|
|
22
|
-
[ItemEvent.beforeHide]: (init: boolean) => boolean | void;
|
|
23
|
-
[ItemEvent.beforeShow]: () => boolean | void;
|
|
24
|
-
[ItemEvent.afterHide]: (init: boolean) => void;
|
|
25
|
-
[ItemEvent.afterShow]: () => void;
|
|
26
|
-
[ItemEvent.beforeChangeProperties]: (properties: IBaseLayoutItem) => boolean | void;
|
|
27
|
-
[ItemEvent.afterChangeProperties]: (properties: IBaseLayoutItem) => void;
|
|
28
|
-
}
|
|
29
|
-
export declare class Spacer extends View implements ISpacer {
|
|
30
|
-
config: ISpacerConfig;
|
|
31
|
-
events: IEventSystem<ItemEvent, ISpacerHandlersMap>;
|
|
32
|
-
constructor(container: HTMLElement | string, config: any);
|
|
33
|
-
destructor(): void;
|
|
34
|
-
setProperties(propertyConfig: IBaseLayoutItem): void;
|
|
35
|
-
getProperties(): IBaseLayoutItem;
|
|
36
|
-
show(): void;
|
|
37
|
-
hide(init?: boolean): void;
|
|
38
|
-
isVisible(): boolean;
|
|
39
|
-
protected _draw(): any;
|
|
40
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { Input, IInputProps } from "./input";
|
|
2
|
-
import { ItemEvent, ValidationFn, IBaseItem, IBaseState, IBaseLayoutItem, ILabel, IMessage, IBaseHandlersMap } from "../types";
|
|
3
|
-
import { IEventSystem } from "../../../ts-common/events";
|
|
4
|
-
import { IFieldset } from "./fieldset";
|
|
5
|
-
export interface ITextAreaProps extends IBaseLayoutItem, ILabel, IMessage {
|
|
6
|
-
validation?: ValidationFn;
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
readOnly?: boolean;
|
|
9
|
-
maxlength?: number | string;
|
|
10
|
-
minlength?: number | string;
|
|
11
|
-
resizable?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export interface ITextAreaConfig extends IBaseItem, IBaseState, ITextAreaProps {
|
|
14
|
-
type: "textarea";
|
|
15
|
-
value?: string;
|
|
16
|
-
}
|
|
17
|
-
export interface ITextArea {
|
|
18
|
-
parent?: IFieldset;
|
|
19
|
-
config: ITextAreaConfig;
|
|
20
|
-
events: IEventSystem<ItemEvent, ITextAreaEventHandlersMap>;
|
|
21
|
-
destructor(): void;
|
|
22
|
-
show(): void;
|
|
23
|
-
hide(init?: boolean): void;
|
|
24
|
-
isVisible(): boolean;
|
|
25
|
-
disable(): void;
|
|
26
|
-
enable(): void;
|
|
27
|
-
isDisabled(): boolean;
|
|
28
|
-
validate(silent?: boolean, validateValue?: string | number): boolean;
|
|
29
|
-
clearValidate(): void;
|
|
30
|
-
setValue(value: string): void;
|
|
31
|
-
getValue(): string;
|
|
32
|
-
focus(): void;
|
|
33
|
-
blur(): void;
|
|
34
|
-
clear(): void;
|
|
35
|
-
setProperties(propertyConfig: ITextAreaProps): void;
|
|
36
|
-
getProperties(): ITextAreaProps;
|
|
37
|
-
}
|
|
38
|
-
export interface ITextAreaEventHandlersMap extends IBaseHandlersMap {
|
|
39
|
-
[ItemEvent.beforeChange]: (value: string) => boolean | void;
|
|
40
|
-
[ItemEvent.change]: (value: string) => void;
|
|
41
|
-
[ItemEvent.focus]: (value: string) => void;
|
|
42
|
-
[ItemEvent.blur]: (value: string) => void;
|
|
43
|
-
[ItemEvent.keydown]: (event: KeyboardEvent) => void;
|
|
44
|
-
[ItemEvent.input]: (value: string) => void;
|
|
45
|
-
[ItemEvent.beforeHide]: (value: string, init: boolean) => boolean | void;
|
|
46
|
-
[ItemEvent.beforeShow]: (value: string) => boolean | void;
|
|
47
|
-
[ItemEvent.afterHide]: (value: string, init: boolean) => void;
|
|
48
|
-
[ItemEvent.afterShow]: (value: string) => void;
|
|
49
|
-
[ItemEvent.beforeValidate]: (value: string) => boolean | void;
|
|
50
|
-
[ItemEvent.afterValidate]: (value: string, isValidate: boolean) => void;
|
|
51
|
-
[ItemEvent.beforeChangeProperties]: (properties: ITextAreaProps) => boolean | void;
|
|
52
|
-
[ItemEvent.afterChangeProperties]: (properties: ITextAreaProps) => void;
|
|
53
|
-
}
|
|
54
|
-
export declare class Textarea extends Input implements ITextArea {
|
|
55
|
-
config: ITextAreaConfig & {
|
|
56
|
-
type: any;
|
|
57
|
-
validation: any;
|
|
58
|
-
};
|
|
59
|
-
events: IEventSystem<ItemEvent, ITextAreaEventHandlersMap>;
|
|
60
|
-
protected _propsItem: string[];
|
|
61
|
-
protected _props: string[];
|
|
62
|
-
getValue(): string;
|
|
63
|
-
isFocused(): boolean;
|
|
64
|
-
focus(): void;
|
|
65
|
-
blur(): void;
|
|
66
|
-
setProperties(propertyConfig: ITextAreaProps & IInputProps): void;
|
|
67
|
-
getProperties(): ITextAreaProps & IInputProps;
|
|
68
|
-
protected _initView(config: ITextAreaConfig): void;
|
|
69
|
-
protected _draw(): any;
|
|
70
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Input, IInputEventHandlersMap } from "./input";
|
|
2
|
-
import { ItemEvent, IBaseLayoutItem, ILabel, IMessage, IBaseItem, IBaseState } from "../types";
|
|
3
|
-
import { IFieldset } from "./fieldset";
|
|
4
|
-
import { IEventSystem } from "../../../ts-common/events";
|
|
5
|
-
export interface ITextProps extends IBaseLayoutItem, ILabel, IMessage {
|
|
6
|
-
inputType?: "text" | "password" | "number";
|
|
7
|
-
}
|
|
8
|
-
export interface ITextConfig extends IBaseItem, IBaseState, ITextProps {
|
|
9
|
-
type: "text";
|
|
10
|
-
value?: number | string;
|
|
11
|
-
}
|
|
12
|
-
export interface IText {
|
|
13
|
-
parent?: IFieldset;
|
|
14
|
-
config: ITextConfig;
|
|
15
|
-
events: IEventSystem<ItemEvent, IInputEventHandlersMap>;
|
|
16
|
-
destructor(): void;
|
|
17
|
-
show(): void;
|
|
18
|
-
hide(init?: boolean): void;
|
|
19
|
-
isVisible(): boolean;
|
|
20
|
-
disable(): void;
|
|
21
|
-
enable(): void;
|
|
22
|
-
isDisabled(): boolean;
|
|
23
|
-
setValue(value: string | number): void;
|
|
24
|
-
getValue(): string | number;
|
|
25
|
-
clear(): void;
|
|
26
|
-
setProperties(propertyConfig: ITextProps): void;
|
|
27
|
-
getProperties(): ITextProps;
|
|
28
|
-
}
|
|
29
|
-
export declare class Text extends Input implements IText {
|
|
30
|
-
config: ITextConfig & {
|
|
31
|
-
type: any;
|
|
32
|
-
};
|
|
33
|
-
protected _propsItem: string[];
|
|
34
|
-
protected _props: string[];
|
|
35
|
-
setProperties(propertyConfig: ITextProps): void;
|
|
36
|
-
getProperties(): ITextProps;
|
|
37
|
-
protected _initView(config: ITextConfig): void;
|
|
38
|
-
protected _draw(): any;
|
|
39
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { ITimeObject, Timepicker } from "../../../ts-timepicker";
|
|
2
|
-
import { Label } from "./helper/label";
|
|
3
|
-
import { IEventSystem } from "../../../ts-common/events";
|
|
4
|
-
import { ValidationStatus, ItemEvent, IBaseLayoutItem, ILabel, IMessage, IBaseItem, IBaseState, IBaseHandlersMap } from "../types";
|
|
5
|
-
import { IFieldset } from "./fieldset";
|
|
6
|
-
export type ValidationTimepickerFn = (input: string | ITimeObject) => boolean;
|
|
7
|
-
export interface ITimePickerProps extends IBaseLayoutItem, ILabel, IMessage {
|
|
8
|
-
editable?: boolean;
|
|
9
|
-
validation?: ValidationTimepickerFn;
|
|
10
|
-
icon?: string;
|
|
11
|
-
placeholder?: string;
|
|
12
|
-
timeFormat?: 12 | 24;
|
|
13
|
-
controls?: boolean;
|
|
14
|
-
valueFormat?: "string" | "timeObject";
|
|
15
|
-
}
|
|
16
|
-
export interface ITimePickerConfig extends IBaseItem, IBaseState, ITimePickerProps {
|
|
17
|
-
type: "timepicker";
|
|
18
|
-
value?: Date | number | string | any[] | ITimeObject;
|
|
19
|
-
$validationStatus?: ValidationStatus;
|
|
20
|
-
}
|
|
21
|
-
export interface ITimePicker {
|
|
22
|
-
parent?: IFieldset;
|
|
23
|
-
config: ITimePickerConfig;
|
|
24
|
-
timepicker: Timepicker;
|
|
25
|
-
events: IEventSystem<ItemEvent, ITimePickerEventHandlersMap>;
|
|
26
|
-
destructor(): void;
|
|
27
|
-
show(): void;
|
|
28
|
-
hide(init?: boolean): void;
|
|
29
|
-
isVisible(): boolean;
|
|
30
|
-
disable(): void;
|
|
31
|
-
enable(): void;
|
|
32
|
-
isDisabled(): boolean;
|
|
33
|
-
validate(silent?: boolean, validateValue?: string): boolean;
|
|
34
|
-
clearValidate(): void;
|
|
35
|
-
setValue(value: Date | number | string | any[] | ITimeObject): void;
|
|
36
|
-
getValue<T extends boolean = false>(asOBject?: T): T extends true ? ITimeObject : string;
|
|
37
|
-
focus(): void;
|
|
38
|
-
blur(): void;
|
|
39
|
-
clear(): void;
|
|
40
|
-
getWidget(): Timepicker;
|
|
41
|
-
setProperties(propertyConfig: ITimePickerProps): void;
|
|
42
|
-
getProperties(): ITimePickerProps;
|
|
43
|
-
}
|
|
44
|
-
export interface ITimePickerEventHandlersMap extends IBaseHandlersMap {
|
|
45
|
-
[ItemEvent.beforeChange]: (value: string | ITimeObject) => boolean | void;
|
|
46
|
-
[ItemEvent.change]: (value: string | ITimeObject) => void;
|
|
47
|
-
[ItemEvent.focus]: (value: string | ITimeObject) => void;
|
|
48
|
-
[ItemEvent.blur]: (value: string | ITimeObject) => void;
|
|
49
|
-
[ItemEvent.keydown]: (event: KeyboardEvent) => void;
|
|
50
|
-
[ItemEvent.input]: (inputValue: string) => void;
|
|
51
|
-
[ItemEvent.beforeHide]: (value: string | ITimeObject, init: boolean) => boolean | void;
|
|
52
|
-
[ItemEvent.beforeShow]: (value: string | ITimeObject) => boolean | void;
|
|
53
|
-
[ItemEvent.afterHide]: (value: string | ITimeObject, init: boolean) => void;
|
|
54
|
-
[ItemEvent.afterShow]: (value: string | ITimeObject) => void;
|
|
55
|
-
[ItemEvent.beforeValidate]: (value: string | ITimeObject) => boolean | void;
|
|
56
|
-
[ItemEvent.afterValidate]: (value: string | ITimeObject, isValidate: boolean) => void;
|
|
57
|
-
[ItemEvent.beforeChangeProperties]: (properties: ITimePickerProps) => boolean | void;
|
|
58
|
-
[ItemEvent.afterChangeProperties]: (properties: ITimePickerProps) => void;
|
|
59
|
-
}
|
|
60
|
-
export declare class TimePicker extends Label implements ITimePicker {
|
|
61
|
-
parent: IFieldset;
|
|
62
|
-
config: ITimePickerConfig;
|
|
63
|
-
timepicker: Timepicker;
|
|
64
|
-
events: IEventSystem<ItemEvent, ITimePickerEventHandlersMap>;
|
|
65
|
-
private _keyManager;
|
|
66
|
-
private _popup;
|
|
67
|
-
private _popupIsFocus;
|
|
68
|
-
private _propsItem;
|
|
69
|
-
private _propsTimepicker;
|
|
70
|
-
private _props;
|
|
71
|
-
constructor(container: any, config: ITimePickerConfig);
|
|
72
|
-
destructor(): void;
|
|
73
|
-
setProperties(propertyConfig: ITimePickerProps): void;
|
|
74
|
-
getProperties(): ITimePickerProps;
|
|
75
|
-
show(): void;
|
|
76
|
-
hide(init?: boolean): void;
|
|
77
|
-
isVisible(): boolean;
|
|
78
|
-
disable(): void;
|
|
79
|
-
enable(): void;
|
|
80
|
-
isDisabled(): boolean;
|
|
81
|
-
validate(silent?: boolean, value?: any): boolean;
|
|
82
|
-
clearValidate(): void;
|
|
83
|
-
setValue(value: Date | number | string | any[] | ITimeObject): void;
|
|
84
|
-
getValue(asOBject?: boolean): ITimeObject | string | any;
|
|
85
|
-
focus(): void;
|
|
86
|
-
blur(): void;
|
|
87
|
-
clear(): void;
|
|
88
|
-
getWidget(): Timepicker;
|
|
89
|
-
protected _initView(config: ITimePickerConfig): void;
|
|
90
|
-
protected _initHandlers(): void;
|
|
91
|
-
protected _getHandlers(): {
|
|
92
|
-
onfocus: () => void;
|
|
93
|
-
onblur: () => void;
|
|
94
|
-
oninput: (e: Event) => void;
|
|
95
|
-
};
|
|
96
|
-
protected _initHotkeys(): void;
|
|
97
|
-
protected _draw(): any;
|
|
98
|
-
private _clear;
|
|
99
|
-
private _afterApply;
|
|
100
|
-
private _applyTab;
|
|
101
|
-
private _isTimeObject;
|
|
102
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Validation, ValidationInputFn, IInputConfig } from "./elements/input";
|
|
2
|
-
export declare function getFormItemCss(item: any, validate?: boolean, focus?: boolean): string;
|
|
3
|
-
export declare function getValidationMessage(item: any): any;
|
|
4
|
-
export declare function validateTemplate(template: Validation, str: any): boolean;
|
|
5
|
-
export declare function isBlock(config: any): boolean;
|
|
6
|
-
export declare function validateInput(value: string | number, validation: Validation | ValidationInputFn): boolean;
|
|
7
|
-
export declare function baseInputValidate(value: string | number, config: IInputConfig): boolean;
|
|
8
|
-
export declare function isTimeFormat(value: string, timeFormat?: number): boolean;
|
|
9
|
-
export declare function isVerify(config: any): boolean;
|
|
10
|
-
export declare const baseProps: string[];
|
|
11
|
-
export declare const widgetConfig: ({ width, type, id, name, hidden, editable, css, required, helpMessage, preMessage, successMessage, errorMessage, label, labelWidth, labelPosition, hiddenLabel, validation, icon, ...res }: any) => any;
|
|
12
|
-
export declare function setAttacments(attachments: any, layout: any): void;
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
2
|
-
import { Layout } from "../../ts-layout";
|
|
3
|
-
import { IAnyObj } from "../../ts-common/types";
|
|
4
|
-
import { FlexDirection } from "../../ts-common/html";
|
|
5
|
-
import { IAvatarConfig, IAvatar, IAvatarProps } from "./elements/avatar";
|
|
6
|
-
import { IButtonConfig, IButton, IButtonProps } from "./elements/button";
|
|
7
|
-
import { ICheckboxConfig, ICheckbox, ICheckboxProps } from "./elements/checkbox";
|
|
8
|
-
import { ICheckboxGroupConfig, ICheckboxGroup, ICheckboxGroupProps } from "./elements/checkboxGroup";
|
|
9
|
-
import { IColorPickerConfig, IColorPicker, IColorpickerProps } from "./elements/colorpicker";
|
|
10
|
-
import { IComboConfig, ICombo, IComboProps } from "./elements/combo";
|
|
11
|
-
import { IContainerConfig, IContainer, IContainerProps } from "./elements/container";
|
|
12
|
-
import { IDatePickerConfig, IDatePicker, IDatePickerProps } from "./elements/dateinput";
|
|
13
|
-
import { IFieldsetConfig, IFieldset, IFieldsetProps } from "./elements/fieldset";
|
|
14
|
-
import { IInputConfig, IInput, IInputProps } from "./elements/input";
|
|
15
|
-
import { IRadioGroupConfig, IRadioGroup, IRadioButtonProps, IRadioGroupProps } from "./elements/radioGroup";
|
|
16
|
-
import { ISelectConfig, ISelect, ISelectProps } from "./elements/select";
|
|
17
|
-
import { ISimpleVaultConfig, ISimpleVault, ISimpleVaultProps } from "./elements/simplevault";
|
|
18
|
-
import { ISliderFormConfig, ISliderForm, ISliderProps } from "./elements/sliderform";
|
|
19
|
-
import { ISpacerConfig, ISpacer, ISpacerProps } from "./elements/spacer";
|
|
20
|
-
import { ITextAreaConfig, ITextArea, ITextAreaProps } from "./elements/textarea";
|
|
21
|
-
import { ITextConfig, IText, ITextProps } from "./elements/textinput";
|
|
22
|
-
import { ITimePickerConfig, ITimePicker, ITimePickerProps } from "./elements/timeinput";
|
|
23
|
-
import { IToggleButtonConfig, IToggleButton, IToggleButtonProps } from "./elements/ToggleButton";
|
|
24
|
-
import { IToggleGroupProps, IToggleGroupConfig, IToggleGroup } from "./elements/ToggleGroup";
|
|
25
|
-
export type TFormDataCallback = (item: IItem, index: number, array: IItem[]) => void;
|
|
26
|
-
export declare enum ClearMethod {
|
|
27
|
-
value = "value",
|
|
28
|
-
validation = "validation"
|
|
29
|
-
}
|
|
30
|
-
export interface IFormConfig extends IBlockConfig, IBaseState {
|
|
31
|
-
}
|
|
32
|
-
export interface IForm {
|
|
33
|
-
config: IFormConfig;
|
|
34
|
-
events: IEventSystem<FormEvents, IFormEventHandlersMap>;
|
|
35
|
-
layout: Layout;
|
|
36
|
-
paint(): void;
|
|
37
|
-
destructor(): void;
|
|
38
|
-
disable(): void;
|
|
39
|
-
enable(): void;
|
|
40
|
-
isDisabled(name?: string): boolean;
|
|
41
|
-
show(): void;
|
|
42
|
-
hide(): void;
|
|
43
|
-
isVisible(name?: string): boolean;
|
|
44
|
-
validate(silent?: boolean): boolean;
|
|
45
|
-
send(url: string, method?: string, asFormData?: boolean): Promise<any> | void;
|
|
46
|
-
clear(method?: ClearMethod): void;
|
|
47
|
-
setValue(obj: FormData | IAnyObj): void;
|
|
48
|
-
setFocus(name: string): void;
|
|
49
|
-
blur(name: string): void;
|
|
50
|
-
getValue(asFormData?: boolean): FormData | IAnyObj;
|
|
51
|
-
getItem(name: string): any;
|
|
52
|
-
forEach(callback: TFormDataCallback): void;
|
|
53
|
-
getProperties(name?: string): {
|
|
54
|
-
[name: string]: TProps;
|
|
55
|
-
} | TProps;
|
|
56
|
-
setProperties(arg: string | {
|
|
57
|
-
[name: string]: TProps;
|
|
58
|
-
}, props?: TProps): void;
|
|
59
|
-
}
|
|
60
|
-
export declare enum FormEvents {
|
|
61
|
-
beforeChange = "beforeChange",
|
|
62
|
-
change = "change",
|
|
63
|
-
click = "click",
|
|
64
|
-
focus = "focus",
|
|
65
|
-
blur = "blur",
|
|
66
|
-
keydown = "keydown",
|
|
67
|
-
beforeShow = "beforeShow",
|
|
68
|
-
afterShow = "afterShow",
|
|
69
|
-
beforeHide = "beforeHide",
|
|
70
|
-
afterHide = "afterHide",
|
|
71
|
-
afterValidate = "afterValidate",
|
|
72
|
-
beforeValidate = "beforeValidate",
|
|
73
|
-
beforeChangeProperties = "beforeChangeProperties",
|
|
74
|
-
afterChangeProperties = "afterChangeProperties",
|
|
75
|
-
beforeSend = "beforesend",
|
|
76
|
-
afterSend = "aftersend",
|
|
77
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
78
|
-
buttonClick = "buttonClick",
|
|
79
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
80
|
-
validationFail = "validationfail"
|
|
81
|
-
}
|
|
82
|
-
export interface IFormEventHandlersMap {
|
|
83
|
-
[key: string]: (...args: any[]) => any;
|
|
84
|
-
[FormEvents.beforeChange]: (name: string, value: any) => boolean | void;
|
|
85
|
-
[FormEvents.change]: (name: string, value: any) => void;
|
|
86
|
-
[FormEvents.click]: (name: string, event: Event) => void;
|
|
87
|
-
[FormEvents.focus]: (name: string, value: any, id?: string) => void;
|
|
88
|
-
[FormEvents.blur]: (name: string, value: any, id?: string) => void;
|
|
89
|
-
[FormEvents.keydown]: (event: KeyboardEvent, name: string, id?: string) => void;
|
|
90
|
-
[FormEvents.beforeHide]: (name: string, value?: any, id?: string) => boolean | void;
|
|
91
|
-
[FormEvents.afterHide]: (name: string, value?: any, id?: string) => void;
|
|
92
|
-
[FormEvents.beforeShow]: (name: string, value?: any, id?: string) => boolean | void;
|
|
93
|
-
[FormEvents.afterShow]: (name: string, value?: any, id?: string) => void;
|
|
94
|
-
[FormEvents.beforeValidate]: (name: string, value: any) => boolean | void;
|
|
95
|
-
[FormEvents.afterValidate]: (name: string, value: any, isValid: boolean) => void;
|
|
96
|
-
[FormEvents.beforeChangeProperties]: (name: string, props: any) => boolean | void;
|
|
97
|
-
[FormEvents.afterChangeProperties]: (name: string, props: any) => void;
|
|
98
|
-
[FormEvents.beforeSend]: () => boolean;
|
|
99
|
-
[FormEvents.afterSend]: () => void;
|
|
100
|
-
[FormEvents.buttonClick]: (name: string, event: Event) => any;
|
|
101
|
-
[FormEvents.validationFail]: (id: string, component: any) => any;
|
|
102
|
-
}
|
|
103
|
-
export type ValidationFn = (input: string) => boolean;
|
|
104
|
-
export declare enum ValidationStatus {
|
|
105
|
-
pre = 0,
|
|
106
|
-
error = 1,
|
|
107
|
-
success = 2
|
|
108
|
-
}
|
|
109
|
-
export type TItemType = "input" | "button" | "avatar" | "combo" | "slider" | "radiobutton" | "radiogroup" | "checkbox" | "checkboxgroup" | "select" | "simplevault" | "textarea" | "timepicker" | "datepicker" | "colorpicker" | "text" | "spacer" | "container" | "fieldset" | "toggle" | "togglegroup";
|
|
110
|
-
export interface IBlockConfig extends IBaseLayoutItem {
|
|
111
|
-
rows?: IBlock & any;
|
|
112
|
-
cols?: IBlock & any;
|
|
113
|
-
align?: FlexDirection;
|
|
114
|
-
title?: string;
|
|
115
|
-
}
|
|
116
|
-
export interface IBaseItem {
|
|
117
|
-
type: TItemType;
|
|
118
|
-
name?: string;
|
|
119
|
-
id?: string;
|
|
120
|
-
}
|
|
121
|
-
export interface IBaseLayoutItem {
|
|
122
|
-
css?: string;
|
|
123
|
-
width?: string | number | "content";
|
|
124
|
-
height?: string | number | "content";
|
|
125
|
-
padding?: string | number;
|
|
126
|
-
}
|
|
127
|
-
export type ILabelPosition = "left" | "top";
|
|
128
|
-
export interface ILabel {
|
|
129
|
-
label?: string;
|
|
130
|
-
labelWidth?: string | number;
|
|
131
|
-
labelPosition?: ILabelPosition;
|
|
132
|
-
hiddenLabel?: boolean;
|
|
133
|
-
helpMessage?: string;
|
|
134
|
-
required?: boolean;
|
|
135
|
-
$validationStatus?: ValidationStatus;
|
|
136
|
-
}
|
|
137
|
-
export interface IMessage {
|
|
138
|
-
preMessage?: string;
|
|
139
|
-
successMessage?: string;
|
|
140
|
-
errorMessage?: string;
|
|
141
|
-
}
|
|
142
|
-
export interface IBaseState {
|
|
143
|
-
hidden?: boolean;
|
|
144
|
-
disabled?: boolean;
|
|
145
|
-
}
|
|
146
|
-
export interface IBaseHandlersMap {
|
|
147
|
-
[key: string]: (...args: any[]) => any;
|
|
148
|
-
}
|
|
149
|
-
export interface IGroup extends IBaseLayoutItem {
|
|
150
|
-
align?: FlexDirection;
|
|
151
|
-
}
|
|
152
|
-
export type TProps = IButtonProps | IAvatarProps | ICheckboxProps | ICheckboxGroupProps | IColorpickerProps | IComboProps | IContainerProps | IDatePickerProps | IInputProps | IRadioButtonProps | IRadioGroupProps | ISelectProps | ISimpleVaultProps | ISliderProps | ITextProps | ITextAreaProps | ITimePickerProps | ISpacerProps | IFieldsetProps | IToggleButtonProps | IToggleGroupProps;
|
|
153
|
-
export type IItemConfig = IAvatarConfig | IInputConfig | IButtonConfig | IComboConfig | ISliderFormConfig | ICheckboxConfig | IDatePickerConfig | ISelectConfig | ISimpleVaultConfig | ITextAreaConfig | ITimePickerConfig | ITextConfig | IColorPickerConfig | IRadioGroupConfig | ICheckboxGroupConfig | ISpacerConfig | IContainerConfig | IFieldsetConfig | IToggleButtonConfig | IToggleGroupConfig;
|
|
154
|
-
export type IItem = IAvatar | IInput | IButton | ICombo | ISliderForm | ICheckbox | IDatePicker | ISelect | ISimpleVault | ITextArea | ITimePicker | IText | IColorPicker | IRadioGroup | ICheckboxGroup | ISpacer | IContainer | IFieldset | IToggleButton | IToggleGroup;
|
|
155
|
-
export type IBlock = IBlockConfig | IItemConfig[];
|
|
156
|
-
export declare enum ItemEvent {
|
|
157
|
-
click = "click",
|
|
158
|
-
beforeChange = "beforeChange",
|
|
159
|
-
change = "change",
|
|
160
|
-
input = "input",
|
|
161
|
-
focus = "focus",
|
|
162
|
-
blur = "blur",
|
|
163
|
-
keydown = "keydown",
|
|
164
|
-
beforeChangeOptions = "beforeChangeOptions",
|
|
165
|
-
changeOptions = "changeOptions",
|
|
166
|
-
beforeShow = "beforeShow",
|
|
167
|
-
afterShow = "afterShow",
|
|
168
|
-
beforeHide = "beforeHide",
|
|
169
|
-
afterHide = "afterHide",
|
|
170
|
-
beforeValidate = "beforeValidate",
|
|
171
|
-
afterValidate = "afterValidate",
|
|
172
|
-
beforeUploadFile = "beforeUploadFile",
|
|
173
|
-
uploadFile = "uploadfile",
|
|
174
|
-
uploadBegin = "uploadBegin",
|
|
175
|
-
uploadComplete = "uploadComplete",
|
|
176
|
-
uploadFail = "uploadFail",
|
|
177
|
-
uploadProgress = "uploadProgress",
|
|
178
|
-
beforeChangeProperties = "beforeChangeProperties",
|
|
179
|
-
afterChangeProperties = "afterChangeProperties"
|
|
180
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|