dhx-chart 8.2.4 → 8.2.6
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.css +1 -1
- package/codebase/chart.min.js +3 -3
- package/codebase/types/ts-all/sources/entry.d.ts +27 -0
- package/codebase/types/ts-all/sources/entry_pro.d.ts +17 -0
- package/codebase/types/ts-calendar/sources/entry.d.ts +7 -0
- package/codebase/types/ts-calendar/sources/types.d.ts +2 -2
- package/codebase/types/ts-calendar/tests/calendar/calendar.d.ts +1 -0
- package/codebase/types/ts-calendar/tests/suite.d.ts +1 -0
- package/codebase/types/ts-chart/index.d.ts +3 -0
- package/codebase/types/ts-chart/sources/ProChart.d.ts +7 -0
- package/codebase/types/ts-chart/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-chart/sources/helpers/circle.d.ts +2 -2
- package/codebase/types/ts-chart/sources/helpers/common.d.ts +1 -1
- package/codebase/types/ts-chart/sources/scales/SvgScales.d.ts +1 -1
- package/codebase/types/ts-chart/sources/shapes/line.d.ts +1 -1
- package/codebase/types/ts-chart/sources/types.d.ts +20 -20
- package/codebase/types/ts-chart/tests/Chart.d.ts +1 -0
- package/codebase/types/ts-chart/tests/suite.d.ts +1 -0
- package/codebase/types/ts-colorpicker/index.d.ts +5 -0
- package/codebase/types/ts-colorpicker/sources/Colorpicker.d.ts +40 -0
- package/codebase/types/ts-colorpicker/sources/colors.d.ts +2 -0
- package/codebase/types/ts-colorpicker/sources/entry.d.ts +4 -0
- package/codebase/types/ts-colorpicker/sources/helpers/calculations.d.ts +8 -0
- package/codebase/types/ts-colorpicker/sources/helpers/color.d.ts +16 -0
- package/codebase/types/ts-colorpicker/sources/locales/en.d.ts +8 -0
- package/codebase/types/ts-colorpicker/sources/picker.d.ts +4 -0
- package/codebase/types/ts-colorpicker/sources/types.d.ts +66 -0
- package/codebase/types/ts-colorpicker/tests/suite.d.ts +0 -0
- package/codebase/types/ts-combobox/sources/entry.d.ts +4 -0
- package/codebase/types/ts-combobox/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-combobox/sources/types.d.ts +2 -2
- package/codebase/types/ts-combobox/tests/suite.d.ts +0 -0
- package/codebase/types/ts-common/CssManager.d.ts +26 -0
- package/codebase/types/ts-common/core.d.ts +2 -2
- package/codebase/types/ts-common/dom.d.ts +2 -2
- package/codebase/types/ts-common/events.d.ts +2 -2
- package/codebase/types/ts-common/html.d.ts +4 -4
- package/codebase/types/ts-common/tests/core.d.ts +1 -0
- package/codebase/types/ts-common/tests/events.d.ts +1 -0
- package/codebase/types/ts-common/tests/html.d.ts +1 -0
- package/codebase/types/ts-common/tests/suite.d.ts +3 -0
- package/codebase/types/ts-common/types.d.ts +8 -8
- package/codebase/types/ts-data/sources/dataproxy.d.ts +1 -1
- package/codebase/types/ts-data/sources/entry.d.ts +5 -0
- package/codebase/types/ts-data/sources/types.d.ts +14 -14
- package/codebase/types/ts-data/tests/ajax.d.ts +1 -0
- package/codebase/types/ts-data/tests/drivers.d.ts +1 -0
- package/codebase/types/ts-data/tests/filter.d.ts +1 -0
- package/codebase/types/ts-data/tests/main.d.ts +1 -0
- package/codebase/types/ts-data/tests/move.d.ts +1 -0
- package/codebase/types/ts-data/tests/sort.d.ts +1 -0
- package/codebase/types/ts-data/tests/suite.d.ts +7 -0
- package/codebase/types/ts-data/tests/treecollection.d.ts +1 -0
- package/codebase/types/ts-dataview/index.d.ts +3 -0
- package/codebase/types/ts-dataview/sources/DataView.d.ts +41 -0
- package/codebase/types/ts-dataview/sources/ProDataView.d.ts +11 -0
- package/codebase/types/ts-dataview/sources/editors/InputEditor.d.ts +16 -0
- package/codebase/types/ts-dataview/sources/editors/editors.d.ts +4 -0
- package/codebase/types/ts-dataview/sources/entry.d.ts +3 -0
- package/codebase/types/ts-dataview/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-dataview/sources/types.d.ts +62 -0
- package/codebase/types/ts-dataview/tests/selections/Selections.d.ts +1 -0
- package/codebase/types/ts-dataview/tests/selections/stubs.d.ts +3 -0
- package/codebase/types/ts-dataview/tests/suite.d.ts +1 -0
- package/codebase/types/ts-diagram/index.d.ts +5 -0
- package/codebase/types/ts-diagram/sources/Diagram.d.ts +32 -0
- package/codebase/types/ts-diagram/sources/ShapesCollection.d.ts +16 -0
- package/codebase/types/ts-diagram/sources/Toolbar.d.ts +16 -0
- package/codebase/types/ts-diagram/sources/entry.d.ts +4 -0
- package/codebase/types/ts-diagram/sources/helpers/Export.d.ts +10 -0
- package/codebase/types/ts-diagram/sources/helpers/Selection.d.ts +14 -0
- package/codebase/types/ts-diagram/sources/helpers/linkPaths.d.ts +8 -0
- package/codebase/types/ts-diagram/sources/helpers/placement.d.ts +6 -0
- package/codebase/types/ts-diagram/sources/locales/en.d.ts +9 -0
- package/codebase/types/ts-diagram/sources/shapes/Base.d.ts +31 -0
- package/codebase/types/ts-diagram/sources/shapes/Connector/Line.d.ts +21 -0
- package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramCard.d.ts +13 -0
- package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramImgCard.d.ts +12 -0
- package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramSvgCard.d.ts +12 -0
- package/codebase/types/ts-diagram/sources/shapes/Diagram/templates.d.ts +4 -0
- package/codebase/types/ts-diagram/sources/shapes/FlowShape.d.ts +90 -0
- package/codebase/types/ts-diagram/sources/shapes/TextShape.d.ts +19 -0
- package/codebase/types/ts-diagram/sources/shapes/factory.d.ts +7 -0
- package/codebase/types/ts-diagram/sources/types.d.ts +161 -0
- package/codebase/types/ts-diagram/tests/stubs.d.ts +25 -0
- package/codebase/types/ts-diagram/tests/suite.d.ts +0 -0
- package/codebase/types/ts-form/index.d.ts +3 -0
- package/codebase/types/ts-form/sources/Form.d.ts +55 -0
- package/codebase/types/ts-form/sources/ProForm.d.ts +7 -0
- package/codebase/types/ts-form/sources/elements/ToggleButton.d.ts +77 -0
- package/codebase/types/ts-form/sources/elements/ToggleGroup.d.ts +95 -0
- package/codebase/types/ts-form/sources/elements/avatar.d.ts +119 -0
- package/codebase/types/ts-form/sources/elements/button.d.ts +70 -0
- package/codebase/types/ts-form/sources/elements/checkbox.d.ts +84 -0
- package/codebase/types/ts-form/sources/elements/checkboxGroup.d.ts +103 -0
- package/codebase/types/ts-form/sources/elements/colorpicker.d.ts +101 -0
- package/codebase/types/ts-form/sources/elements/combo.d.ts +101 -0
- package/codebase/types/ts-form/sources/elements/container.d.ts +52 -0
- package/codebase/types/ts-form/sources/elements/dateinput.d.ts +107 -0
- package/codebase/types/ts-form/sources/elements/fieldset.d.ts +64 -0
- package/codebase/types/ts-form/sources/elements/helper/label.d.ts +18 -0
- package/codebase/types/ts-form/sources/elements/input.d.ts +106 -0
- package/codebase/types/ts-form/sources/elements/proCombo.d.ts +5 -0
- package/codebase/types/ts-form/sources/elements/radioGroup.d.ts +99 -0
- package/codebase/types/ts-form/sources/elements/radiobutton.d.ts +41 -0
- package/codebase/types/ts-form/sources/elements/select.d.ts +94 -0
- package/codebase/types/ts-form/sources/elements/simplevault.d.ts +124 -0
- package/codebase/types/ts-form/sources/elements/sliderform.d.ts +84 -0
- package/codebase/types/ts-form/sources/elements/spacer.d.ts +40 -0
- package/codebase/types/ts-form/sources/elements/textarea.d.ts +69 -0
- package/codebase/types/ts-form/sources/elements/textinput.d.ts +39 -0
- package/codebase/types/ts-form/sources/elements/timeinput.d.ts +102 -0
- package/codebase/types/ts-form/sources/entry.d.ts +5 -0
- package/codebase/types/ts-form/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-form/sources/helper.d.ts +12 -0
- package/codebase/types/ts-form/sources/locales/en.d.ts +5 -0
- package/codebase/types/ts-form/sources/types.d.ts +180 -0
- package/codebase/types/ts-form/tests/elements/button.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/checkbox.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/colorpicker.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/combo.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/container.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/datepicker.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/input.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/radiogroup.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/select.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/simplevault.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/slider.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/textarea.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/timepicker.d.ts +1 -0
- package/codebase/types/ts-form/tests/form.d.ts +1 -0
- package/codebase/types/ts-form/tests/stubs/stubs.d.ts +4 -0
- package/codebase/types/ts-form/tests/stubs/stubsCheckbox.d.ts +3 -0
- package/codebase/types/ts-form/tests/stubs/stubsColorpicker.d.ts +3 -0
- package/codebase/types/ts-form/tests/stubs/stubsCombo.d.ts +4 -0
- package/codebase/types/ts-form/tests/stubs/stubsDatepicker.d.ts +3 -0
- package/codebase/types/ts-form/tests/stubs/stubsInput.d.ts +3 -0
- package/codebase/types/ts-form/tests/stubs/stubsRadiogroup.d.ts +3 -0
- package/codebase/types/ts-form/tests/stubs/stubsSelect.d.ts +3 -0
- package/codebase/types/ts-form/tests/stubs/stubsSlider.d.ts +4 -0
- package/codebase/types/ts-form/tests/stubs/stubsTimepicker.d.ts +4 -0
- package/codebase/types/ts-form/tests/suite.d.ts +14 -0
- package/codebase/types/ts-grid/sources/Grid.d.ts +1 -1
- package/codebase/types/ts-grid/sources/entry.d.ts +7 -0
- package/codebase/types/ts-grid/sources/entry_pro.d.ts +3 -0
- package/codebase/types/ts-grid/sources/helpers/data.d.ts +2 -2
- package/codebase/types/ts-grid/sources/types.d.ts +14 -14
- package/codebase/types/ts-grid/sources/ui/Cells.d.ts +3 -3
- package/codebase/types/ts-grid/sources/ui/editors/DateEditor.d.ts +1 -1
- package/codebase/types/ts-grid/tests/Grid.d.ts +1 -0
- package/codebase/types/ts-grid/tests/TreeGrid.d.ts +1 -0
- package/codebase/types/ts-grid/tests/stubs.d.ts +84 -0
- package/codebase/types/ts-grid/tests/suite.d.ts +2 -0
- package/codebase/types/ts-helpers/entry.d.ts +0 -0
- package/codebase/types/ts-layout/sources/Layout.d.ts +1 -1
- package/codebase/types/ts-layout/sources/entry.d.ts +2 -0
- package/codebase/types/ts-layout/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-layout/sources/types.d.ts +3 -3
- package/codebase/types/ts-layout/tests/Layout.d.ts +1 -0
- package/codebase/types/ts-layout/tests/suite.d.ts +1 -0
- package/codebase/types/ts-list/sources/entry.d.ts +3 -0
- package/codebase/types/ts-list/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-list/sources/helpers.d.ts +2 -0
- package/codebase/types/ts-list/sources/types.d.ts +1 -1
- package/codebase/types/ts-list/tests/selections/Selections.d.ts +1 -0
- package/codebase/types/ts-list/tests/selections/stubs.d.ts +3 -0
- package/codebase/types/ts-list/tests/suite.d.ts +1 -0
- package/codebase/types/ts-menu/index.d.ts +2 -0
- package/codebase/types/ts-menu/sources/ContextMenu.d.ts +11 -0
- package/codebase/types/ts-menu/sources/Menu.d.ts +6 -0
- package/codebase/types/ts-menu/sources/entry.d.ts +4 -0
- package/codebase/types/ts-menu/tests/suite.d.ts +0 -0
- package/codebase/types/ts-message/sources/entry.d.ts +6 -0
- package/codebase/types/ts-message/sources/tooltip.d.ts +1 -1
- package/codebase/types/ts-message/tests/suite.d.ts +0 -0
- package/codebase/types/ts-navbar/index.d.ts +3 -0
- package/codebase/types/ts-navbar/sources/Navbar.d.ts +62 -0
- package/codebase/types/ts-navbar/sources/elements/button.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/elements/customHTMLButton.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/elements/datePicker.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/elements/helpers.d.ts +17 -0
- package/codebase/types/ts-navbar/sources/elements/imageButton.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/elements/input.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/elements/menuItem.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/elements/navItem.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/elements/separator.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/elements/spacer.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/elements/title.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/itemfactory.d.ts +10 -0
- package/codebase/types/ts-navbar/sources/types.d.ts +206 -0
- package/codebase/types/ts-navbar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-optimus/index.d.ts +2 -0
- package/codebase/types/ts-optimus/sources/DHXApp.d.ts +12 -0
- package/codebase/types/ts-optimus/sources/DHXView.d.ts +11 -0
- package/codebase/types/ts-optimus/sources/EventSystem.d.ts +9 -0
- package/codebase/types/ts-optimus/sources/HTMLCell.d.ts +8 -0
- package/codebase/types/ts-optimus/sources/LocalSession.d.ts +5 -0
- package/codebase/types/ts-optimus/sources/types.d.ts +36 -0
- package/codebase/types/ts-pagination/index.d.ts +2 -0
- package/codebase/types/ts-pagination/sources/Pagination.d.ts +26 -0
- package/codebase/types/ts-pagination/sources/entry.d.ts +3 -0
- package/codebase/types/ts-pagination/sources/types.d.ts +27 -0
- package/codebase/types/ts-pagination/tests/suite.d.ts +0 -0
- package/codebase/types/ts-pivot/index.d.ts +1 -0
- package/codebase/types/ts-pivot/sources/DataPreprocessor.d.ts +29 -0
- package/codebase/types/ts-pivot/sources/DateFormatter.d.ts +29 -0
- package/codebase/types/ts-pivot/sources/Pivot.d.ts +52 -0
- package/codebase/types/ts-pivot/sources/configurator/Configurator.d.ts +40 -0
- package/codebase/types/ts-pivot/sources/entry.d.ts +9 -0
- package/codebase/types/ts-pivot/sources/filters/DateFilter.d.ts +17 -0
- package/codebase/types/ts-pivot/sources/filters/Filter.d.ts +72 -0
- package/codebase/types/ts-pivot/sources/filters/Filters.d.ts +13 -0
- package/codebase/types/ts-pivot/sources/filters/helpers.d.ts +2 -0
- package/codebase/types/ts-pivot/sources/group-module/DataGroup.d.ts +13 -0
- package/codebase/types/ts-pivot/sources/group-module/groupfuncs.d.ts +10 -0
- package/codebase/types/ts-pivot/sources/group-module/types.d.ts +19 -0
- package/codebase/types/ts-pivot/sources/helpers.d.ts +28 -0
- package/codebase/types/ts-pivot/sources/locales/en.d.ts +38 -0
- package/codebase/types/ts-pivot/sources/templates.d.ts +4 -0
- package/codebase/types/ts-pivot/sources/types.d.ts +180 -0
- package/codebase/types/ts-pivot/tests/DataPreprocessor.d.ts +1 -0
- package/codebase/types/ts-pivot/tests/Pivot.d.ts +1 -0
- package/codebase/types/ts-pivot/tests/config-module/Config.d.ts +1 -0
- package/codebase/types/ts-pivot/tests/config-module/stubs.d.ts +80 -0
- package/codebase/types/ts-pivot/tests/filter-module/Filter.d.ts +1 -0
- package/codebase/types/ts-pivot/tests/group-module/DataGroup.d.ts +1 -0
- package/codebase/types/ts-pivot/tests/group-module/groupfuncs.d.ts +1 -0
- package/codebase/types/ts-pivot/tests/group-module/stubs.d.ts +54 -0
- package/codebase/types/ts-pivot/tests/stubs.d.ts +107 -0
- package/codebase/types/ts-pivot/tests/suite.d.ts +6 -0
- package/codebase/types/ts-popup/sources/entry.d.ts +2 -0
- package/codebase/types/ts-popup/tests/suite.d.ts +0 -0
- package/codebase/types/ts-property/index.d.ts +2 -0
- package/codebase/types/ts-property/sources/Property.d.ts +16 -0
- package/codebase/types/ts-property/sources/entry.d.ts +2 -0
- package/codebase/types/ts-property/sources/items/BaseItem.d.ts +16 -0
- package/codebase/types/ts-property/sources/items/Checkbox.d.ts +7 -0
- package/codebase/types/ts-property/sources/items/Colorpicker.d.ts +10 -0
- package/codebase/types/ts-property/sources/items/Combo.d.ts +9 -0
- package/codebase/types/ts-property/sources/items/Label.d.ts +4 -0
- package/codebase/types/ts-property/sources/items/Select.d.ts +5 -0
- package/codebase/types/ts-property/sources/items/Text.d.ts +4 -0
- package/codebase/types/ts-property/sources/items/Textarea.d.ts +4 -0
- package/codebase/types/ts-property/sources/items/helpers.d.ts +2 -0
- package/codebase/types/ts-property/sources/items/index.d.ts +19 -0
- package/codebase/types/ts-property/sources/types.d.ts +47 -0
- package/codebase/types/ts-property/tests/suite.d.ts +0 -0
- package/codebase/types/ts-ribbon/index.d.ts +2 -0
- package/codebase/types/ts-ribbon/sources/ProRibbon.d.ts +10 -0
- package/codebase/types/ts-ribbon/sources/Ribbon.d.ts +43 -0
- package/codebase/types/ts-ribbon/sources/entry.d.ts +3 -0
- package/codebase/types/ts-ribbon/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-ribbon/tests/suite.d.ts +0 -0
- package/codebase/types/ts-richtext/index.d.ts +1 -0
- package/codebase/types/ts-richtext/sources/Manager.d.ts +16 -0
- package/codebase/types/ts-richtext/sources/Richtext.d.ts +36 -0
- package/codebase/types/ts-richtext/sources/SelectionHelper.d.ts +30 -0
- package/codebase/types/ts-richtext/sources/constants.d.ts +44 -0
- package/codebase/types/ts-richtext/sources/entry.d.ts +3 -0
- package/codebase/types/ts-richtext/sources/helpers/buffer.d.ts +10 -0
- package/codebase/types/ts-richtext/sources/helpers/composition.d.ts +2 -0
- package/codebase/types/ts-richtext/sources/helpers/link.d.ts +40 -0
- package/codebase/types/ts-richtext/sources/helpers/markdown.d.ts +2 -0
- package/codebase/types/ts-richtext/sources/helpers/minimizer.d.ts +19 -0
- package/codebase/types/ts-richtext/sources/helpers/other.d.ts +13 -0
- package/codebase/types/ts-richtext/sources/helpers/parser.d.ts +1 -0
- package/codebase/types/ts-richtext/sources/helpers/scroll.d.ts +10 -0
- package/codebase/types/ts-richtext/sources/helpers/selection.d.ts +10 -0
- package/codebase/types/ts-richtext/sources/helpers/serializer.d.ts +2 -0
- package/codebase/types/ts-richtext/sources/helpers/statistics.d.ts +7 -0
- package/codebase/types/ts-richtext/sources/helpers/styles.d.ts +10 -0
- package/codebase/types/ts-richtext/sources/helpers/toolbar.d.ts +21 -0
- package/codebase/types/ts-richtext/sources/keyhandler.d.ts +26 -0
- package/codebase/types/ts-richtext/sources/locales/en.d.ts +35 -0
- package/codebase/types/ts-richtext/sources/models/Block.d.ts +27 -0
- package/codebase/types/ts-richtext/sources/models/Editor.d.ts +61 -0
- package/codebase/types/ts-richtext/sources/models/TextNode.d.ts +16 -0
- package/codebase/types/ts-richtext/sources/types.d.ts +143 -0
- package/codebase/types/ts-richtext/tests/block.d.ts +1 -0
- package/codebase/types/ts-richtext/tests/editor.d.ts +1 -0
- package/codebase/types/ts-richtext/tests/suite.d.ts +3 -0
- package/codebase/types/ts-richtext/tests/textnode.d.ts +1 -0
- package/codebase/types/ts-samplegen/index.d.ts +1 -0
- package/codebase/types/ts-samplegen/sources/SampleGenerator.d.ts +20 -0
- package/codebase/types/ts-samplegen/sources/entry.d.ts +2 -0
- package/codebase/types/ts-samplegen/tests/suite.d.ts +0 -0
- package/codebase/types/ts-scheduler/index.d.ts +1 -0
- package/codebase/types/ts-scheduler/sources/Scheduler.d.ts +18 -0
- package/codebase/types/ts-scheduler/sources/entry.d.ts +2 -0
- package/codebase/types/ts-scheduler/sources/helpers/scales.d.ts +1 -0
- package/codebase/types/ts-scheduler/sources/helpers/topbar.d.ts +1 -0
- package/codebase/types/ts-scheduler/sources/views/Agenda.d.ts +6 -0
- package/codebase/types/ts-scheduler/sources/views/Base.d.ts +3 -0
- package/codebase/types/ts-scheduler/sources/views/Cols.d.ts +8 -0
- package/codebase/types/ts-scheduler/sources/views/Day.d.ts +4 -0
- package/codebase/types/ts-scheduler/sources/views/Month.d.ts +8 -0
- package/codebase/types/ts-scheduler/sources/views/Week.d.ts +4 -0
- package/codebase/types/ts-scheduler/sources/views/index.d.ts +11 -0
- package/codebase/types/ts-scheduler/tests/suite.d.ts +0 -0
- package/codebase/types/ts-sidebar/index.d.ts +3 -0
- package/codebase/types/ts-sidebar/sources/ProSidebar.d.ts +8 -0
- package/codebase/types/ts-sidebar/sources/Sidebar.d.ts +24 -0
- package/codebase/types/ts-sidebar/sources/entry.d.ts +3 -0
- package/codebase/types/ts-sidebar/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-sidebar/sources/types.d.ts +40 -0
- package/codebase/types/ts-sidebar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-slider/sources/entry.d.ts +2 -0
- package/codebase/types/ts-slider/sources/types.d.ts +3 -3
- package/codebase/types/ts-slider/tests/suite.d.ts +0 -0
- package/codebase/types/ts-tabbar/index.d.ts +2 -0
- package/codebase/types/ts-tabbar/sources/Tabbar.d.ts +38 -0
- package/codebase/types/ts-tabbar/sources/entry.d.ts +2 -0
- package/codebase/types/ts-tabbar/sources/types.d.ts +64 -0
- 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 +3 -0
- package/codebase/types/ts-timepicker/tests/suite.d.ts +0 -0
- package/codebase/types/ts-toolbar/index.d.ts +2 -0
- package/codebase/types/ts-toolbar/sources/ProToolbar.d.ts +10 -0
- package/codebase/types/ts-toolbar/sources/Toolbar.d.ts +32 -0
- package/codebase/types/ts-toolbar/sources/entry.d.ts +4 -0
- package/codebase/types/ts-toolbar/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-toolbar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-tree/index.d.ts +3 -0
- package/codebase/types/ts-tree/sources/Editor.d.ts +42 -0
- package/codebase/types/ts-tree/sources/Tree.d.ts +58 -0
- package/codebase/types/ts-tree/sources/entry.d.ts +6 -0
- package/codebase/types/ts-tree/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-tree/sources/types.d.ts +119 -0
- package/codebase/types/ts-tree/tests/suite.d.ts +0 -0
- package/codebase/types/ts-treegrid/index.d.ts +3 -0
- package/codebase/types/ts-treegrid/sources/TreeGrid.d.ts +30 -0
- package/codebase/types/ts-treegrid/sources/TreeGridCollection.d.ts +20 -0
- package/codebase/types/ts-treegrid/sources/entry.d.ts +7 -0
- package/codebase/types/ts-treegrid/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-treegrid/sources/types.d.ts +32 -0
- package/codebase/types/ts-treegrid/tests/Grid.d.ts +1 -0
- package/codebase/types/ts-treegrid/tests/TreeGrid.d.ts +1 -0
- package/codebase/types/ts-treegrid/tests/stubs.d.ts +84 -0
- package/codebase/types/ts-treegrid/tests/suite.d.ts +2 -0
- package/codebase/types/ts-ui-kit/index.d.ts +0 -0
- package/codebase/types/ts-ui-kit/sources/entry.d.ts +1 -0
- package/codebase/types/ts-ui-kit/tests/suite.d.ts +0 -0
- package/codebase/types/ts-vault/index.d.ts +3 -0
- package/codebase/types/ts-vault/sources/ProgressBar.d.ts +12 -0
- package/codebase/types/ts-vault/sources/ReadStackPreview.d.ts +11 -0
- package/codebase/types/ts-vault/sources/Uploader.d.ts +26 -0
- package/codebase/types/ts-vault/sources/Vault.d.ts +33 -0
- package/codebase/types/ts-vault/sources/configs.d.ts +14 -0
- package/codebase/types/ts-vault/sources/entry.d.ts +6 -0
- package/codebase/types/ts-vault/sources/helper.d.ts +30 -0
- package/codebase/types/ts-vault/sources/locales/en.d.ts +18 -0
- package/codebase/types/ts-vault/sources/types.d.ts +107 -0
- package/codebase/types/ts-vault/tests/suite.d.ts +0 -0
- package/codebase/types/ts-window/index.d.ts +2 -0
- package/codebase/types/ts-window/sources/ProWindow.d.ts +11 -0
- package/codebase/types/ts-window/sources/Window.d.ts +55 -0
- package/codebase/types/ts-window/sources/WindowController.d.ts +10 -0
- package/codebase/types/ts-window/sources/entry.d.ts +2 -0
- package/codebase/types/ts-window/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-window/sources/helpers.d.ts +1 -0
- package/codebase/types/ts-window/sources/types.d.ts +82 -0
- package/codebase/types/ts-window/tests/suite.d.ts +0 -0
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +6 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import "../../styles/suite.scss";
|
|
2
|
+
export { cssManager } from "../../ts-common/CssManager";
|
|
3
|
+
export { EventSystem } from "../../ts-common/events";
|
|
4
|
+
export { awaitRedraw, resizeHandler, setTheme } from "../../ts-common/dom";
|
|
5
|
+
export { Uploader } from "../../ts-vault";
|
|
6
|
+
export { DataCollection, TreeCollection, DataProxy, dataDrivers, ajax } from "../../ts-data";
|
|
7
|
+
export { Layout } from "../../ts-layout";
|
|
8
|
+
export { List } from "../../ts-list";
|
|
9
|
+
export { Calendar } from "../../ts-calendar";
|
|
10
|
+
export { Colorpicker } from "../../ts-colorpicker";
|
|
11
|
+
export { Chart } from "../../ts-chart";
|
|
12
|
+
export { Combobox } from "../../ts-combobox";
|
|
13
|
+
export { DataView } from "../../ts-dataview";
|
|
14
|
+
export { Form } from "../../ts-form";
|
|
15
|
+
export { Grid } from "../../ts-grid";
|
|
16
|
+
export { message, alert, confirm, enableTooltip, disableTooltip, tooltip } from "../../ts-message";
|
|
17
|
+
export { Menu, ContextMenu } from "../../ts-menu";
|
|
18
|
+
export { Popup } from "../../ts-popup";
|
|
19
|
+
export { Ribbon } from "../../ts-ribbon";
|
|
20
|
+
export { Sidebar } from "../../ts-sidebar";
|
|
21
|
+
export { Slider } from "../../ts-slider";
|
|
22
|
+
export { Tabbar } from "../../ts-tabbar";
|
|
23
|
+
export { Timepicker } from "../../ts-timepicker";
|
|
24
|
+
export { Toolbar } from "../../ts-toolbar";
|
|
25
|
+
export { Tree } from "../../ts-tree";
|
|
26
|
+
export { Window } from "../../ts-window";
|
|
27
|
+
export declare const i18n: any;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from "./entry";
|
|
2
|
+
export { dataDriversPro as dataDrivers, LazyDataProxy } from "../../ts-data";
|
|
3
|
+
export { TreeGridCollection } from "../../ts-treegrid";
|
|
4
|
+
export { ScrollView, scrollViewConfig } from "../../ts-common/ScrollView";
|
|
5
|
+
export { TreeGrid } from "../../ts-treegrid";
|
|
6
|
+
export { ProGrid as Grid } from "../../ts-grid";
|
|
7
|
+
export { ProChart as Chart } from "../../ts-chart";
|
|
8
|
+
export { ProList as List } from "../../ts-list";
|
|
9
|
+
export { ProCombobox as Combobox } from "../../ts-combobox";
|
|
10
|
+
export { ProDataView as DataView } from "../../ts-dataview";
|
|
11
|
+
export { ProLayout as Layout } from "../../ts-layout";
|
|
12
|
+
export { ProToolbar as Toolbar } from "../../ts-toolbar";
|
|
13
|
+
export { ProSidebar as Sidebar } from "../../ts-sidebar";
|
|
14
|
+
export { ProRibbon as Ribbon } from "../../ts-ribbon";
|
|
15
|
+
export { Pagination } from "../../ts-pagination";
|
|
16
|
+
export { ProWindow as Window } from "../../ts-window";
|
|
17
|
+
export { ProForm as Form } from "../../ts-form";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "../../styles/calendar.scss";
|
|
2
|
+
import "../../styles/themes.scss";
|
|
3
|
+
export { tooltip } from "../../ts-message";
|
|
4
|
+
export { Popup } from "../../ts-popup";
|
|
5
|
+
export { Calendar } from "./Calendar";
|
|
6
|
+
export { awaitRedraw, setTheme } from "../../ts-common/dom";
|
|
7
|
+
export declare const i18n: any;
|
|
@@ -29,7 +29,7 @@ export interface ICalendar {
|
|
|
29
29
|
getCurrentMode(): ViewMode;
|
|
30
30
|
link(calendar: ICalendar): void;
|
|
31
31
|
}
|
|
32
|
-
export
|
|
32
|
+
export type ViewMode = "calendar" | "year" | "month" | "timepicker";
|
|
33
33
|
export interface ICalendarDay {
|
|
34
34
|
css: string;
|
|
35
35
|
date: Date;
|
|
@@ -53,7 +53,7 @@ export declare enum CalendarEvents {
|
|
|
53
53
|
}
|
|
54
54
|
export interface ICalendarHandlersMap {
|
|
55
55
|
[key: string]: (...args: any[]) => any;
|
|
56
|
-
[CalendarEvents.change]: (date: Date, oldDate: Date, byClick: boolean) => void;
|
|
56
|
+
[CalendarEvents.change]: (date: Date, oldDate: Date, byClick: boolean, mode?: "clear") => void;
|
|
57
57
|
[CalendarEvents.beforeChange]: (date: Date, oldDate: Date, byClick: boolean) => boolean | void;
|
|
58
58
|
[CalendarEvents.dateMouseOver]: (date: Date, e: MouseEvent) => void;
|
|
59
59
|
[CalendarEvents.modeChange]: (mode: string) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./calendar/calendar";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Chart } from "./Chart";
|
|
2
|
+
import { IChartConfig } from "./types";
|
|
3
|
+
export declare class ProChart extends Chart implements IChartConfig {
|
|
4
|
+
config: IChartConfig;
|
|
5
|
+
constructor(node: HTMLElement | string, config?: IChartConfig);
|
|
6
|
+
setConfig(config: IChartConfig): void;
|
|
7
|
+
}
|
|
@@ -3,7 +3,7 @@ import { IRadarScaleDrawData } from "../types";
|
|
|
3
3
|
export declare function getCoordinates(percent: number, radiusX: number, radiusY: number, stroke?: number): [number, number];
|
|
4
4
|
export declare function shiftCoordinates(item: [number, number], dx: number, dy: number): [number, number];
|
|
5
5
|
export declare const pieLikeHandlers: {
|
|
6
|
-
onmouseover(shiftX: number, shiftY: number, _: any, node:
|
|
7
|
-
onmouseout(_: any, node:
|
|
6
|
+
onmouseover(shiftX: number, shiftY: number, _: any, node: VNode): void;
|
|
7
|
+
onmouseout(_: any, node: VNode): void;
|
|
8
8
|
};
|
|
9
9
|
export declare function radarScale(data: IRadarScaleDrawData, width: number, height: number): VNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IContainerConfig } from "../../../ts-common/core";
|
|
2
2
|
export declare function getDefaultColor(index?: number, isTreeMapRange?: boolean): string;
|
|
3
|
-
|
|
3
|
+
type Locator = (data: any) => number | string;
|
|
4
4
|
export declare function locator(value: string | Locator): Locator;
|
|
5
5
|
export declare function log10(x: number): number;
|
|
6
6
|
export declare const getTextWidth: (...args: string[]) => number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VNode } from "../../../ts-common/dom";
|
|
2
2
|
import { IGridRenderConfig, IScaleConfig } from "../types";
|
|
3
|
-
|
|
3
|
+
type PointInfo = [number, string];
|
|
4
4
|
export declare function bottom(points: PointInfo[], config: IScaleConfig, width: number, height: number): VNode;
|
|
5
5
|
export declare function bottomGrid(points: PointInfo[], width: number, height: number, config: IGridRenderConfig): VNode;
|
|
6
6
|
export declare function top(points: PointInfo[], config: IScaleConfig, width: number, _height: number): VNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PointType } from "../types";
|
|
2
2
|
export declare function getHelper(type: PointType): any;
|
|
3
3
|
export declare function getHTMLHelper(type: PointType): any;
|
|
4
|
-
|
|
4
|
+
type drawFn = (x: number, y: number, id: string) => any;
|
|
5
5
|
export declare function getShadeHelper(type: PointType, color: string): drawFn;
|
|
6
6
|
export declare function getShadeHTMLHelper(type: PointType, color: string): drawFn;
|
|
7
7
|
export {};
|
|
@@ -20,7 +20,7 @@ export interface IChartConfig {
|
|
|
20
20
|
data?: DataCollection<any> | any[];
|
|
21
21
|
exportStyles?: boolean | string[];
|
|
22
22
|
}
|
|
23
|
-
export
|
|
23
|
+
export type TChartType = "bar" | "line" | "spline" | "scatter" | "area" | "donut" | "pie" | "pie3D" | "radar" | "xbar" | "splineArea" | "treeMap" | "calendarHeatMap";
|
|
24
24
|
export declare enum ChartEvents {
|
|
25
25
|
toggleSeries = "toggleSeries",
|
|
26
26
|
chartMouseMove = "chartMouseMove",
|
|
@@ -54,7 +54,7 @@ export interface ISeria extends ILikeSeria {
|
|
|
54
54
|
getClosest(x: number, y: number): [number, number, number, string];
|
|
55
55
|
getClosestVertical(x: number): [number, number, number, string, number];
|
|
56
56
|
}
|
|
57
|
-
export
|
|
57
|
+
export type TreeDirectionType = "asc" | "desc";
|
|
58
58
|
export interface ISeriaConfig {
|
|
59
59
|
id?: string;
|
|
60
60
|
type?: TChartType;
|
|
@@ -86,7 +86,7 @@ export interface ISeriaConfig {
|
|
|
86
86
|
baseLine?: number;
|
|
87
87
|
stacked?: boolean;
|
|
88
88
|
}
|
|
89
|
-
export
|
|
89
|
+
export type SeriaConfig = ISeriaConfig | INoScaleConfig;
|
|
90
90
|
export interface IScale extends IComposable {
|
|
91
91
|
locator?: Locator;
|
|
92
92
|
add(chart: ILikeSeria): void;
|
|
@@ -111,7 +111,7 @@ export interface IScaleConfig extends IAxisCreatorConfig {
|
|
|
111
111
|
showText?: boolean;
|
|
112
112
|
locator?: SmartLocator;
|
|
113
113
|
}
|
|
114
|
-
export
|
|
114
|
+
export type ScaleType = "left" | "right" | "top" | "bottom" | "radial";
|
|
115
115
|
export interface IScales {
|
|
116
116
|
left?: IScale | ITextScale;
|
|
117
117
|
right?: IScale | ITextScale;
|
|
@@ -260,16 +260,16 @@ export interface INoScaleConfig extends ISeriaConfig {
|
|
|
260
260
|
monochrome?: string;
|
|
261
261
|
paddings?: number;
|
|
262
262
|
}
|
|
263
|
-
export
|
|
264
|
-
export
|
|
265
|
-
export
|
|
266
|
-
export
|
|
267
|
-
export
|
|
268
|
-
export
|
|
269
|
-
export
|
|
270
|
-
export
|
|
271
|
-
export
|
|
272
|
-
export
|
|
263
|
+
export type PointType = "circle" | "rect" | "triangle" | "rhombus" | "simpleRect" | "simpleCircle" | "empty";
|
|
264
|
+
export type Gradient = (color: string) => any;
|
|
265
|
+
export type TooltipType = "simple" | "right" | "left" | "top" | "bot";
|
|
266
|
+
export type SvgElement = any;
|
|
267
|
+
export type Shape = "rect" | "circle" | "line";
|
|
268
|
+
export type HorizontalPosition = "left" | "center" | "right";
|
|
269
|
+
export type VerticalPosition = "top" | "middle" | "bottom";
|
|
270
|
+
export type LegendDirection = "row" | "column";
|
|
271
|
+
export type LegendType = "groupName" | "range" | "scale";
|
|
272
|
+
export type LegendSizes = {
|
|
273
273
|
width: number;
|
|
274
274
|
height: number;
|
|
275
275
|
};
|
|
@@ -280,15 +280,15 @@ export interface ILikeSeria extends IComposable {
|
|
|
280
280
|
export interface ITextScale extends IScale {
|
|
281
281
|
addPadding(): void;
|
|
282
282
|
}
|
|
283
|
-
export
|
|
284
|
-
export
|
|
285
|
-
export
|
|
286
|
-
export
|
|
283
|
+
export type Locator = (item: any) => any;
|
|
284
|
+
export type DrawPoint = (x: number, y: number, ref?: string) => any;
|
|
285
|
+
export type NoScaleSubType = "basic" | "percentOnly" | "valueOnly";
|
|
286
|
+
export type SmartLocator = Locator | string;
|
|
287
287
|
export interface IStacker extends IComposable, ILikeSeria {
|
|
288
288
|
add(seria: ISeria): void;
|
|
289
289
|
}
|
|
290
|
-
export
|
|
291
|
-
export
|
|
290
|
+
export type PointData = [number, number, string, (number | string)?, number?, TreePointData?];
|
|
291
|
+
export type TreePointData = {
|
|
292
292
|
items: PointData[];
|
|
293
293
|
};
|
|
294
294
|
export interface IGridRenderConfig {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./Chart";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { IEventSystem } from "../../ts-common/events";
|
|
2
|
+
import { View } from "../../ts-common/view";
|
|
3
|
+
import { ColorpickerEvents, IColorpicker, IColorpickerConfig, ViewsMode, IEventHandlersMap } from "./types";
|
|
4
|
+
export declare class Colorpicker extends View implements IColorpicker {
|
|
5
|
+
config: IColorpickerConfig;
|
|
6
|
+
events: IEventSystem<ColorpickerEvents, IEventHandlersMap>;
|
|
7
|
+
private _keyManager;
|
|
8
|
+
private _selected;
|
|
9
|
+
private _handlers;
|
|
10
|
+
private _pickerState;
|
|
11
|
+
private _inputTimeout;
|
|
12
|
+
constructor(container: string | HTMLElement, config?: IColorpickerConfig);
|
|
13
|
+
destructor(): void;
|
|
14
|
+
clear(): void;
|
|
15
|
+
setValue(value: string): void;
|
|
16
|
+
setFocus(value: string): void;
|
|
17
|
+
getValue(): string;
|
|
18
|
+
getCustomColors(): string[];
|
|
19
|
+
setCustomColors(customColors: string[]): void;
|
|
20
|
+
setCurrentMode(mode: ViewsMode): void;
|
|
21
|
+
getCurrentMode(): ViewsMode;
|
|
22
|
+
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
23
|
+
getView(): ViewsMode;
|
|
24
|
+
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
25
|
+
setView(mode: ViewsMode): void;
|
|
26
|
+
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
27
|
+
focusValue(value: string): void;
|
|
28
|
+
private _setHandlers;
|
|
29
|
+
private _pickerMove;
|
|
30
|
+
private _focusColor;
|
|
31
|
+
private _setPaletteGrip;
|
|
32
|
+
private _setRangeGrip;
|
|
33
|
+
private _onColorClick;
|
|
34
|
+
private _removeCustomColor;
|
|
35
|
+
private _getCells;
|
|
36
|
+
private _getGrayShades;
|
|
37
|
+
private _getPalette;
|
|
38
|
+
private _getContent;
|
|
39
|
+
private _initHotKey;
|
|
40
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface IRgb {
|
|
2
|
+
r: number;
|
|
3
|
+
g: number;
|
|
4
|
+
b: number;
|
|
5
|
+
}
|
|
6
|
+
export interface IHsv {
|
|
7
|
+
h: number;
|
|
8
|
+
s: number;
|
|
9
|
+
v: number;
|
|
10
|
+
}
|
|
11
|
+
export declare function HSVtoRGB(hsv: IHsv): IRgb;
|
|
12
|
+
export declare function RGBToHex(rgb: IRgb): string;
|
|
13
|
+
export declare function HexToRGB(hex: string): IRgb;
|
|
14
|
+
export declare function RGBToHSV(rgb: IRgb): IHsv;
|
|
15
|
+
export declare function HexToHSV(hex: string): IHsv;
|
|
16
|
+
export declare function isHex(hex: string): boolean;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IPickerState } from "./types";
|
|
2
|
+
import { Colorpicker } from "./Colorpicker";
|
|
3
|
+
export declare function getPicker(colorpicker: Colorpicker, pickerState: IPickerState, handlers: any): any;
|
|
4
|
+
export declare function calculatePaletteGrip(rootView: any, top: number, left: number): void;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { IEventSystem } from "../../ts-common/events";
|
|
2
|
+
export interface IColorpicker {
|
|
3
|
+
events: IEventSystem<ColorpickerEvents>;
|
|
4
|
+
paint(): void;
|
|
5
|
+
destructor(): void;
|
|
6
|
+
clear(): void;
|
|
7
|
+
setCustomColors(customColors: string[]): void;
|
|
8
|
+
setValue(value: string): void;
|
|
9
|
+
setCurrentMode(view: ViewsMode): void;
|
|
10
|
+
setFocus(value: string): void;
|
|
11
|
+
getCustomColors(): string[];
|
|
12
|
+
getValue(): string;
|
|
13
|
+
getCurrentMode(): ViewsMode;
|
|
14
|
+
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
15
|
+
getView(): ViewsMode;
|
|
16
|
+
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
17
|
+
setView(view: ViewsMode): void;
|
|
18
|
+
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
19
|
+
focusValue(value: string): void;
|
|
20
|
+
}
|
|
21
|
+
export interface IColorpickerConfig {
|
|
22
|
+
css?: string;
|
|
23
|
+
grayShades?: boolean;
|
|
24
|
+
customColors?: string[];
|
|
25
|
+
palette?: string[][];
|
|
26
|
+
width?: string | number;
|
|
27
|
+
mode?: ViewsMode;
|
|
28
|
+
pickerOnly?: boolean;
|
|
29
|
+
paletteOnly?: boolean;
|
|
30
|
+
}
|
|
31
|
+
export declare enum ColorpickerEvents {
|
|
32
|
+
beforeChange = "beforeChange",
|
|
33
|
+
change = "change",
|
|
34
|
+
apply = "apply",
|
|
35
|
+
cancelClick = "cancelClick",
|
|
36
|
+
modeChange = "modeChange",
|
|
37
|
+
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
38
|
+
selectClick = "selectClick",
|
|
39
|
+
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
40
|
+
colorChange = "colorChange",
|
|
41
|
+
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
42
|
+
viewChange = "viewChange"
|
|
43
|
+
}
|
|
44
|
+
export interface IEventHandlersMap {
|
|
45
|
+
[key: string]: (...args: any[]) => any;
|
|
46
|
+
[ColorpickerEvents.beforeChange]: (color: string) => boolean | void;
|
|
47
|
+
[ColorpickerEvents.change]: (color: string, mode?: "clear") => void;
|
|
48
|
+
[ColorpickerEvents.apply]: () => void;
|
|
49
|
+
[ColorpickerEvents.cancelClick]: () => void;
|
|
50
|
+
[ColorpickerEvents.modeChange]: (view: ViewsMode) => void;
|
|
51
|
+
[ColorpickerEvents.selectClick]: () => void;
|
|
52
|
+
[ColorpickerEvents.colorChange]: (color: string) => void;
|
|
53
|
+
[ColorpickerEvents.viewChange]: (view: ViewsMode) => void;
|
|
54
|
+
}
|
|
55
|
+
export interface IHSV {
|
|
56
|
+
h: number;
|
|
57
|
+
s: number;
|
|
58
|
+
v: number;
|
|
59
|
+
}
|
|
60
|
+
export interface IPickerState {
|
|
61
|
+
hsv: IHSV;
|
|
62
|
+
customHex: string;
|
|
63
|
+
background?: string;
|
|
64
|
+
rangeLeft?: number;
|
|
65
|
+
}
|
|
66
|
+
export type ViewsMode = "palette" | "picker";
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Id } from "../../ts-common/types";
|
|
2
2
|
import { DataCollection, IDataItem } from "../../ts-data";
|
|
3
|
-
export
|
|
3
|
+
export type ILabelPosition = "left" | "top";
|
|
4
4
|
export interface IComboboxConfig {
|
|
5
5
|
data?: DataCollection<any> | any[];
|
|
6
6
|
disabled?: boolean;
|
|
@@ -87,4 +87,4 @@ export declare enum ComboState {
|
|
|
87
87
|
success = 2
|
|
88
88
|
}
|
|
89
89
|
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
90
|
-
export
|
|
90
|
+
export type State = "success" | "error" | "default";
|
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
interface ICssList {
|
|
2
|
+
[key: string]: string;
|
|
3
|
+
}
|
|
4
|
+
interface ICssManager {
|
|
5
|
+
update(): void;
|
|
6
|
+
remove(className: string): void;
|
|
7
|
+
add(cssList: ICssList, customId?: string, silent?: boolean): string;
|
|
8
|
+
get(className: string): ICssList;
|
|
9
|
+
destructor(): void;
|
|
10
|
+
}
|
|
11
|
+
export declare class CssManager implements ICssManager {
|
|
12
|
+
private _classes;
|
|
13
|
+
private _styleCont;
|
|
14
|
+
constructor();
|
|
15
|
+
update(): void;
|
|
16
|
+
remove(className: string): void;
|
|
17
|
+
add(cssList: ICssList, customId?: string, silent?: boolean): string;
|
|
18
|
+
get(className: string): ICssList;
|
|
19
|
+
destructor(): void;
|
|
20
|
+
private _findSameClassId;
|
|
21
|
+
private _addNewClass;
|
|
22
|
+
private _toCssString;
|
|
23
|
+
private _generateCss;
|
|
24
|
+
}
|
|
25
|
+
export declare const cssManager: CssManager;
|
|
26
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
type fn<T extends any[], K> = (...args: T) => K;
|
|
2
|
+
type anyFunction = fn<any[], any>;
|
|
3
3
|
export declare function uid(): string;
|
|
4
4
|
export declare function extend(target: any, source: any, deep?: boolean): any;
|
|
5
5
|
interface IOBj {
|
|
@@ -6,7 +6,7 @@ export declare const create: any;
|
|
|
6
6
|
export declare const inject: any;
|
|
7
7
|
export declare const KEYED_LIST: any;
|
|
8
8
|
export declare function disableHelp(): void;
|
|
9
|
-
export
|
|
9
|
+
export type VNode = any;
|
|
10
10
|
export interface IDomView {
|
|
11
11
|
redraw(): any;
|
|
12
12
|
mount(el: HTMLElement): any;
|
|
@@ -19,5 +19,5 @@ export interface IViewHash {
|
|
|
19
19
|
}
|
|
20
20
|
export declare function resizer(handler: any): any;
|
|
21
21
|
export declare function resizeHandler(container: any, handler: any): any;
|
|
22
|
-
export declare function awaitRedraw(): Promise<
|
|
22
|
+
export declare function awaitRedraw(): Promise<void>;
|
|
23
23
|
export declare function setTheme(theme: TTheme, container: string | HTMLElement): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Callback = (...args: any[]) => any;
|
|
2
2
|
export interface IEventSystem<E, T extends IEventHandlersMap = IEventHandlersMap> {
|
|
3
3
|
context: any;
|
|
4
4
|
events: IEvents;
|
|
@@ -17,7 +17,7 @@ interface IEvents {
|
|
|
17
17
|
interface IEventHandlersMap {
|
|
18
18
|
[key: string]: Callback;
|
|
19
19
|
}
|
|
20
|
-
|
|
20
|
+
type ArgumentTypes<F extends (...args: any[]) => any> = F extends (...args: infer A) => any ? A : never;
|
|
21
21
|
export declare class EventSystem<E extends string, T extends IEventHandlersMap = IEventHandlersMap> implements IEventSystem<E, T> {
|
|
22
22
|
events: IEvents;
|
|
23
23
|
context: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { anyFunction } from "./types";
|
|
2
2
|
export declare function toNode(node: string | HTMLElement): HTMLElement;
|
|
3
|
-
|
|
3
|
+
type eventPrepare = (ev: Event) => any;
|
|
4
4
|
interface IHandlerHash {
|
|
5
5
|
[name: string]: (...args: any[]) => boolean | void;
|
|
6
6
|
}
|
|
@@ -37,9 +37,9 @@ export interface IFitPositionConfig {
|
|
|
37
37
|
width: number;
|
|
38
38
|
height: number;
|
|
39
39
|
}
|
|
40
|
-
export
|
|
41
|
-
export
|
|
42
|
-
export
|
|
40
|
+
export type IAlign = "left" | "center" | "right";
|
|
41
|
+
export type Position = "left" | "right" | "bottom" | "top";
|
|
42
|
+
export type FlexDirection = "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
43
43
|
export declare function isIE(): boolean;
|
|
44
44
|
export declare function isSafari(): any;
|
|
45
45
|
export declare function isFirefox(): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,10 +2,10 @@ import { IEventSystem } from "./events";
|
|
|
2
2
|
export interface IHandlers {
|
|
3
3
|
[key: string]: anyFunction | IHandlers;
|
|
4
4
|
}
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
5
|
+
export type TTheme = "light" | "dark" | "contrast-light" | "contrast-dark" | string;
|
|
6
|
+
export type Id = string | number;
|
|
7
|
+
export type fn<T extends any[], K> = (...args: T) => K;
|
|
8
|
+
export type anyFunction = fn<any[], any>;
|
|
9
9
|
export interface IAnyObj {
|
|
10
10
|
[key: string]: any;
|
|
11
11
|
}
|
|
@@ -42,8 +42,8 @@ export interface ITouchParam {
|
|
|
42
42
|
timeStamp?: number;
|
|
43
43
|
dblDuration?: number;
|
|
44
44
|
}
|
|
45
|
-
export
|
|
46
|
-
export
|
|
45
|
+
export type TExportType = "pdf" | "png";
|
|
46
|
+
export type TPaperFormat = "Letter" | "Legal" | "Tabloid" | "Ledger" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6";
|
|
47
47
|
export interface IExportFileConfig {
|
|
48
48
|
url?: string;
|
|
49
49
|
name?: string;
|
|
@@ -72,5 +72,5 @@ export interface IPDFConfig extends IExportFileConfig {
|
|
|
72
72
|
printBackground?: boolean;
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
|
-
export
|
|
76
|
-
export
|
|
75
|
+
export type IPNGConfig = IExportFileConfig;
|
|
76
|
+
export type TLabelAlignment = "left" | "right" | "center";
|
|
@@ -5,6 +5,6 @@ export declare class DataProxy implements IDataProxy {
|
|
|
5
5
|
protected _url: string;
|
|
6
6
|
constructor(url: string, config?: any);
|
|
7
7
|
updateUrl(url?: string, params?: any): void;
|
|
8
|
-
load<T = string>(): Promise<T>;
|
|
8
|
+
load<T = string>(): Promise<T | void>;
|
|
9
9
|
save(data: any, mode: string): Promise<any>;
|
|
10
10
|
}
|