dhx-chart 8.2.7 → 8.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/codebase/chart.d.ts +1 -1
- package/codebase/chart.min.js +3 -3
- package/codebase/chart.min.js.map +1 -1
- package/codebase/types/ts-grid/sources/Grid.d.ts +4 -1
- package/codebase/types/ts-grid/sources/ProGrid.d.ts +2 -1
- package/codebase/types/ts-grid/sources/helpers/data.d.ts +10 -2
- package/codebase/types/ts-grid/sources/helpers/main.d.ts +2 -2
- package/codebase/types/ts-grid/sources/types.d.ts +14 -8
- package/codebase/types/ts-grid/sources/ui/editors/InputEditor.d.ts +5 -1
- package/codebase/types/ts-grid/sources/ui/editors/TextAreaEditor.d.ts +2 -1
- package/codebase/types/ts-grid/sources/ui/editors/editors.d.ts +2 -0
- package/codebase/types/ts-grid/sources/ui/render.d.ts +0 -1
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +6 -0
- package/codebase/types/ts-all/sources/entry.d.ts +0 -27
- package/codebase/types/ts-all/sources/entry_pro.d.ts +0 -17
- package/codebase/types/ts-calendar/sources/entry.d.ts +0 -7
- package/codebase/types/ts-calendar/tests/calendar/calendar.d.ts +0 -1
- package/codebase/types/ts-calendar/tests/suite.d.ts +0 -1
- package/codebase/types/ts-chart/index.d.ts +0 -3
- package/codebase/types/ts-chart/sources/ProChart.d.ts +0 -7
- package/codebase/types/ts-chart/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-chart/tests/Chart.d.ts +0 -1
- package/codebase/types/ts-chart/tests/suite.d.ts +0 -1
- package/codebase/types/ts-colorpicker/index.d.ts +0 -5
- package/codebase/types/ts-colorpicker/sources/Colorpicker.d.ts +0 -40
- package/codebase/types/ts-colorpicker/sources/colors.d.ts +0 -2
- package/codebase/types/ts-colorpicker/sources/entry.d.ts +0 -4
- package/codebase/types/ts-colorpicker/sources/helpers/calculations.d.ts +0 -8
- package/codebase/types/ts-colorpicker/sources/helpers/color.d.ts +0 -16
- package/codebase/types/ts-colorpicker/sources/locales/en.d.ts +0 -8
- package/codebase/types/ts-colorpicker/sources/picker.d.ts +0 -4
- package/codebase/types/ts-colorpicker/sources/types.d.ts +0 -66
- package/codebase/types/ts-colorpicker/tests/suite.d.ts +0 -0
- package/codebase/types/ts-combobox/sources/entry.d.ts +0 -4
- package/codebase/types/ts-combobox/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-combobox/tests/suite.d.ts +0 -0
- package/codebase/types/ts-common/CssManager.d.ts +0 -26
- package/codebase/types/ts-common/tests/core.d.ts +0 -1
- package/codebase/types/ts-common/tests/events.d.ts +0 -1
- package/codebase/types/ts-common/tests/html.d.ts +0 -1
- package/codebase/types/ts-common/tests/suite.d.ts +0 -3
- package/codebase/types/ts-data/sources/entry.d.ts +0 -5
- package/codebase/types/ts-data/tests/ajax.d.ts +0 -1
- package/codebase/types/ts-data/tests/drivers.d.ts +0 -1
- package/codebase/types/ts-data/tests/filter.d.ts +0 -1
- package/codebase/types/ts-data/tests/main.d.ts +0 -1
- package/codebase/types/ts-data/tests/move.d.ts +0 -1
- package/codebase/types/ts-data/tests/sort.d.ts +0 -1
- package/codebase/types/ts-data/tests/suite.d.ts +0 -7
- package/codebase/types/ts-data/tests/treecollection.d.ts +0 -1
- package/codebase/types/ts-dataview/index.d.ts +0 -3
- package/codebase/types/ts-dataview/sources/DataView.d.ts +0 -41
- package/codebase/types/ts-dataview/sources/ProDataView.d.ts +0 -11
- package/codebase/types/ts-dataview/sources/editors/InputEditor.d.ts +0 -16
- package/codebase/types/ts-dataview/sources/editors/editors.d.ts +0 -4
- package/codebase/types/ts-dataview/sources/entry.d.ts +0 -3
- package/codebase/types/ts-dataview/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-dataview/sources/types.d.ts +0 -62
- package/codebase/types/ts-dataview/tests/selections/Selections.d.ts +0 -1
- package/codebase/types/ts-dataview/tests/selections/stubs.d.ts +0 -3
- package/codebase/types/ts-dataview/tests/suite.d.ts +0 -1
- package/codebase/types/ts-diagram/index.d.ts +0 -5
- package/codebase/types/ts-diagram/sources/Diagram.d.ts +0 -32
- package/codebase/types/ts-diagram/sources/ShapesCollection.d.ts +0 -16
- package/codebase/types/ts-diagram/sources/Toolbar.d.ts +0 -16
- package/codebase/types/ts-diagram/sources/entry.d.ts +0 -4
- package/codebase/types/ts-diagram/sources/helpers/Export.d.ts +0 -10
- package/codebase/types/ts-diagram/sources/helpers/Selection.d.ts +0 -14
- package/codebase/types/ts-diagram/sources/helpers/linkPaths.d.ts +0 -8
- package/codebase/types/ts-diagram/sources/helpers/placement.d.ts +0 -6
- package/codebase/types/ts-diagram/sources/locales/en.d.ts +0 -9
- package/codebase/types/ts-diagram/sources/shapes/Base.d.ts +0 -31
- package/codebase/types/ts-diagram/sources/shapes/Connector/Line.d.ts +0 -21
- package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramCard.d.ts +0 -13
- package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramImgCard.d.ts +0 -12
- package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramSvgCard.d.ts +0 -12
- package/codebase/types/ts-diagram/sources/shapes/Diagram/templates.d.ts +0 -4
- package/codebase/types/ts-diagram/sources/shapes/FlowShape.d.ts +0 -90
- package/codebase/types/ts-diagram/sources/shapes/TextShape.d.ts +0 -19
- package/codebase/types/ts-diagram/sources/shapes/factory.d.ts +0 -7
- package/codebase/types/ts-diagram/sources/types.d.ts +0 -161
- package/codebase/types/ts-diagram/tests/stubs.d.ts +0 -25
- package/codebase/types/ts-diagram/tests/suite.d.ts +0 -0
- package/codebase/types/ts-form/index.d.ts +0 -3
- package/codebase/types/ts-form/sources/Form.d.ts +0 -55
- package/codebase/types/ts-form/sources/ProForm.d.ts +0 -7
- package/codebase/types/ts-form/sources/elements/ToggleButton.d.ts +0 -77
- package/codebase/types/ts-form/sources/elements/ToggleGroup.d.ts +0 -95
- package/codebase/types/ts-form/sources/elements/avatar.d.ts +0 -119
- package/codebase/types/ts-form/sources/elements/button.d.ts +0 -70
- package/codebase/types/ts-form/sources/elements/checkbox.d.ts +0 -84
- package/codebase/types/ts-form/sources/elements/checkboxGroup.d.ts +0 -103
- package/codebase/types/ts-form/sources/elements/colorpicker.d.ts +0 -101
- package/codebase/types/ts-form/sources/elements/combo.d.ts +0 -101
- package/codebase/types/ts-form/sources/elements/container.d.ts +0 -52
- package/codebase/types/ts-form/sources/elements/dateinput.d.ts +0 -107
- package/codebase/types/ts-form/sources/elements/fieldset.d.ts +0 -64
- package/codebase/types/ts-form/sources/elements/helper/label.d.ts +0 -18
- package/codebase/types/ts-form/sources/elements/input.d.ts +0 -106
- package/codebase/types/ts-form/sources/elements/proCombo.d.ts +0 -5
- package/codebase/types/ts-form/sources/elements/radioGroup.d.ts +0 -99
- package/codebase/types/ts-form/sources/elements/radiobutton.d.ts +0 -41
- package/codebase/types/ts-form/sources/elements/select.d.ts +0 -94
- package/codebase/types/ts-form/sources/elements/simplevault.d.ts +0 -124
- package/codebase/types/ts-form/sources/elements/sliderform.d.ts +0 -84
- package/codebase/types/ts-form/sources/elements/spacer.d.ts +0 -40
- package/codebase/types/ts-form/sources/elements/textarea.d.ts +0 -70
- package/codebase/types/ts-form/sources/elements/textinput.d.ts +0 -39
- package/codebase/types/ts-form/sources/elements/timeinput.d.ts +0 -102
- package/codebase/types/ts-form/sources/entry.d.ts +0 -5
- package/codebase/types/ts-form/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-form/sources/helper.d.ts +0 -12
- package/codebase/types/ts-form/sources/locales/en.d.ts +0 -5
- package/codebase/types/ts-form/sources/types.d.ts +0 -180
- package/codebase/types/ts-form/tests/elements/button.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/checkbox.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/colorpicker.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/combo.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/container.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/datepicker.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/input.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/radiogroup.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/select.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/simplevault.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/slider.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/textarea.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/timepicker.d.ts +0 -1
- package/codebase/types/ts-form/tests/form.d.ts +0 -1
- package/codebase/types/ts-form/tests/stubs/stubs.d.ts +0 -4
- package/codebase/types/ts-form/tests/stubs/stubsCheckbox.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsColorpicker.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsCombo.d.ts +0 -4
- package/codebase/types/ts-form/tests/stubs/stubsDatepicker.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsInput.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsRadiogroup.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsSelect.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsSlider.d.ts +0 -4
- package/codebase/types/ts-form/tests/stubs/stubsTimepicker.d.ts +0 -4
- package/codebase/types/ts-form/tests/suite.d.ts +0 -14
- package/codebase/types/ts-grid/sources/entry.d.ts +0 -7
- package/codebase/types/ts-grid/sources/entry_pro.d.ts +0 -3
- package/codebase/types/ts-grid/tests/Grid.d.ts +0 -1
- package/codebase/types/ts-grid/tests/TreeGrid.d.ts +0 -1
- package/codebase/types/ts-grid/tests/stubs.d.ts +0 -84
- package/codebase/types/ts-grid/tests/suite.d.ts +0 -2
- package/codebase/types/ts-helpers/entry.d.ts +0 -0
- package/codebase/types/ts-layout/sources/entry.d.ts +0 -2
- package/codebase/types/ts-layout/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-layout/tests/Layout.d.ts +0 -1
- package/codebase/types/ts-layout/tests/suite.d.ts +0 -1
- package/codebase/types/ts-list/sources/entry.d.ts +0 -3
- package/codebase/types/ts-list/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-list/sources/helpers.d.ts +0 -2
- package/codebase/types/ts-list/tests/selections/Selections.d.ts +0 -1
- package/codebase/types/ts-list/tests/selections/stubs.d.ts +0 -3
- package/codebase/types/ts-list/tests/suite.d.ts +0 -1
- package/codebase/types/ts-menu/index.d.ts +0 -2
- package/codebase/types/ts-menu/sources/ContextMenu.d.ts +0 -11
- package/codebase/types/ts-menu/sources/Menu.d.ts +0 -6
- package/codebase/types/ts-menu/sources/entry.d.ts +0 -4
- package/codebase/types/ts-menu/tests/suite.d.ts +0 -0
- package/codebase/types/ts-message/sources/entry.d.ts +0 -6
- package/codebase/types/ts-message/tests/suite.d.ts +0 -0
- package/codebase/types/ts-navbar/index.d.ts +0 -3
- package/codebase/types/ts-navbar/sources/Navbar.d.ts +0 -62
- package/codebase/types/ts-navbar/sources/elements/button.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/customHTMLButton.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/datePicker.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/helpers.d.ts +0 -17
- package/codebase/types/ts-navbar/sources/elements/imageButton.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/input.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/menuItem.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/navItem.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/separator.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/spacer.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/title.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/itemfactory.d.ts +0 -10
- package/codebase/types/ts-navbar/sources/types.d.ts +0 -206
- package/codebase/types/ts-navbar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-optimus/index.d.ts +0 -2
- package/codebase/types/ts-optimus/sources/DHXApp.d.ts +0 -12
- package/codebase/types/ts-optimus/sources/DHXView.d.ts +0 -11
- package/codebase/types/ts-optimus/sources/EventSystem.d.ts +0 -9
- package/codebase/types/ts-optimus/sources/HTMLCell.d.ts +0 -8
- package/codebase/types/ts-optimus/sources/LocalSession.d.ts +0 -5
- package/codebase/types/ts-optimus/sources/types.d.ts +0 -36
- package/codebase/types/ts-pagination/index.d.ts +0 -2
- package/codebase/types/ts-pagination/sources/Pagination.d.ts +0 -26
- package/codebase/types/ts-pagination/sources/entry.d.ts +0 -3
- package/codebase/types/ts-pagination/sources/types.d.ts +0 -27
- package/codebase/types/ts-pagination/tests/suite.d.ts +0 -0
- package/codebase/types/ts-pivot/index.d.ts +0 -1
- package/codebase/types/ts-pivot/sources/DataPreprocessor.d.ts +0 -29
- package/codebase/types/ts-pivot/sources/DateFormatter.d.ts +0 -29
- package/codebase/types/ts-pivot/sources/Pivot.d.ts +0 -52
- package/codebase/types/ts-pivot/sources/configurator/Configurator.d.ts +0 -40
- package/codebase/types/ts-pivot/sources/entry.d.ts +0 -9
- package/codebase/types/ts-pivot/sources/filters/DateFilter.d.ts +0 -17
- package/codebase/types/ts-pivot/sources/filters/Filter.d.ts +0 -72
- package/codebase/types/ts-pivot/sources/filters/Filters.d.ts +0 -13
- package/codebase/types/ts-pivot/sources/filters/helpers.d.ts +0 -2
- package/codebase/types/ts-pivot/sources/group-module/DataGroup.d.ts +0 -13
- package/codebase/types/ts-pivot/sources/group-module/groupfuncs.d.ts +0 -10
- package/codebase/types/ts-pivot/sources/group-module/types.d.ts +0 -19
- package/codebase/types/ts-pivot/sources/helpers.d.ts +0 -28
- package/codebase/types/ts-pivot/sources/locales/en.d.ts +0 -38
- package/codebase/types/ts-pivot/sources/templates.d.ts +0 -4
- package/codebase/types/ts-pivot/sources/types.d.ts +0 -180
- package/codebase/types/ts-pivot/tests/DataPreprocessor.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/Pivot.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/config-module/Config.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/config-module/stubs.d.ts +0 -80
- package/codebase/types/ts-pivot/tests/filter-module/Filter.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/group-module/DataGroup.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/group-module/groupfuncs.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/group-module/stubs.d.ts +0 -54
- package/codebase/types/ts-pivot/tests/stubs.d.ts +0 -107
- package/codebase/types/ts-pivot/tests/suite.d.ts +0 -6
- package/codebase/types/ts-popup/sources/entry.d.ts +0 -2
- package/codebase/types/ts-popup/tests/suite.d.ts +0 -0
- package/codebase/types/ts-property/index.d.ts +0 -2
- package/codebase/types/ts-property/sources/Property.d.ts +0 -16
- package/codebase/types/ts-property/sources/entry.d.ts +0 -2
- package/codebase/types/ts-property/sources/items/BaseItem.d.ts +0 -16
- package/codebase/types/ts-property/sources/items/Checkbox.d.ts +0 -7
- package/codebase/types/ts-property/sources/items/Colorpicker.d.ts +0 -10
- package/codebase/types/ts-property/sources/items/Combo.d.ts +0 -9
- package/codebase/types/ts-property/sources/items/Label.d.ts +0 -4
- package/codebase/types/ts-property/sources/items/Select.d.ts +0 -5
- package/codebase/types/ts-property/sources/items/Text.d.ts +0 -4
- package/codebase/types/ts-property/sources/items/Textarea.d.ts +0 -4
- package/codebase/types/ts-property/sources/items/helpers.d.ts +0 -2
- package/codebase/types/ts-property/sources/items/index.d.ts +0 -19
- package/codebase/types/ts-property/sources/types.d.ts +0 -47
- package/codebase/types/ts-property/tests/suite.d.ts +0 -0
- package/codebase/types/ts-ribbon/index.d.ts +0 -2
- package/codebase/types/ts-ribbon/sources/ProRibbon.d.ts +0 -10
- package/codebase/types/ts-ribbon/sources/Ribbon.d.ts +0 -43
- package/codebase/types/ts-ribbon/sources/entry.d.ts +0 -3
- package/codebase/types/ts-ribbon/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-ribbon/tests/suite.d.ts +0 -0
- package/codebase/types/ts-richtext/index.d.ts +0 -1
- package/codebase/types/ts-richtext/sources/Manager.d.ts +0 -16
- package/codebase/types/ts-richtext/sources/Richtext.d.ts +0 -36
- package/codebase/types/ts-richtext/sources/SelectionHelper.d.ts +0 -30
- package/codebase/types/ts-richtext/sources/constants.d.ts +0 -44
- package/codebase/types/ts-richtext/sources/entry.d.ts +0 -3
- package/codebase/types/ts-richtext/sources/helpers/buffer.d.ts +0 -10
- package/codebase/types/ts-richtext/sources/helpers/composition.d.ts +0 -2
- package/codebase/types/ts-richtext/sources/helpers/link.d.ts +0 -40
- package/codebase/types/ts-richtext/sources/helpers/markdown.d.ts +0 -2
- package/codebase/types/ts-richtext/sources/helpers/minimizer.d.ts +0 -19
- package/codebase/types/ts-richtext/sources/helpers/other.d.ts +0 -13
- package/codebase/types/ts-richtext/sources/helpers/parser.d.ts +0 -1
- package/codebase/types/ts-richtext/sources/helpers/scroll.d.ts +0 -10
- package/codebase/types/ts-richtext/sources/helpers/selection.d.ts +0 -10
- package/codebase/types/ts-richtext/sources/helpers/serializer.d.ts +0 -2
- package/codebase/types/ts-richtext/sources/helpers/statistics.d.ts +0 -7
- package/codebase/types/ts-richtext/sources/helpers/styles.d.ts +0 -10
- package/codebase/types/ts-richtext/sources/helpers/toolbar.d.ts +0 -21
- package/codebase/types/ts-richtext/sources/keyhandler.d.ts +0 -26
- package/codebase/types/ts-richtext/sources/locales/en.d.ts +0 -35
- package/codebase/types/ts-richtext/sources/models/Block.d.ts +0 -27
- package/codebase/types/ts-richtext/sources/models/Editor.d.ts +0 -61
- package/codebase/types/ts-richtext/sources/models/TextNode.d.ts +0 -16
- package/codebase/types/ts-richtext/sources/types.d.ts +0 -143
- package/codebase/types/ts-richtext/tests/block.d.ts +0 -1
- package/codebase/types/ts-richtext/tests/editor.d.ts +0 -1
- package/codebase/types/ts-richtext/tests/suite.d.ts +0 -3
- package/codebase/types/ts-richtext/tests/textnode.d.ts +0 -1
- package/codebase/types/ts-samplegen/index.d.ts +0 -1
- package/codebase/types/ts-samplegen/sources/SampleGenerator.d.ts +0 -20
- package/codebase/types/ts-samplegen/sources/entry.d.ts +0 -2
- package/codebase/types/ts-samplegen/tests/suite.d.ts +0 -0
- package/codebase/types/ts-scheduler/index.d.ts +0 -1
- package/codebase/types/ts-scheduler/sources/Scheduler.d.ts +0 -18
- package/codebase/types/ts-scheduler/sources/entry.d.ts +0 -2
- package/codebase/types/ts-scheduler/sources/helpers/scales.d.ts +0 -1
- package/codebase/types/ts-scheduler/sources/helpers/topbar.d.ts +0 -1
- package/codebase/types/ts-scheduler/sources/views/Agenda.d.ts +0 -6
- package/codebase/types/ts-scheduler/sources/views/Base.d.ts +0 -3
- package/codebase/types/ts-scheduler/sources/views/Cols.d.ts +0 -8
- package/codebase/types/ts-scheduler/sources/views/Day.d.ts +0 -4
- package/codebase/types/ts-scheduler/sources/views/Month.d.ts +0 -8
- package/codebase/types/ts-scheduler/sources/views/Week.d.ts +0 -4
- package/codebase/types/ts-scheduler/sources/views/index.d.ts +0 -11
- package/codebase/types/ts-scheduler/tests/suite.d.ts +0 -0
- package/codebase/types/ts-sidebar/index.d.ts +0 -3
- package/codebase/types/ts-sidebar/sources/ProSidebar.d.ts +0 -8
- package/codebase/types/ts-sidebar/sources/Sidebar.d.ts +0 -24
- package/codebase/types/ts-sidebar/sources/entry.d.ts +0 -3
- package/codebase/types/ts-sidebar/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-sidebar/sources/types.d.ts +0 -40
- package/codebase/types/ts-sidebar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-slider/sources/entry.d.ts +0 -2
- package/codebase/types/ts-slider/tests/suite.d.ts +0 -0
- package/codebase/types/ts-tabbar/index.d.ts +0 -2
- package/codebase/types/ts-tabbar/sources/Tabbar.d.ts +0 -38
- package/codebase/types/ts-tabbar/sources/entry.d.ts +0 -2
- package/codebase/types/ts-tabbar/sources/types.d.ts +0 -64
- package/codebase/types/ts-tabbar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-theme/entry.d.ts +0 -0
- package/codebase/types/ts-timepicker/sources/entry.d.ts +0 -3
- package/codebase/types/ts-timepicker/tests/suite.d.ts +0 -0
- package/codebase/types/ts-toolbar/index.d.ts +0 -2
- package/codebase/types/ts-toolbar/sources/ProToolbar.d.ts +0 -10
- package/codebase/types/ts-toolbar/sources/Toolbar.d.ts +0 -32
- package/codebase/types/ts-toolbar/sources/entry.d.ts +0 -4
- package/codebase/types/ts-toolbar/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-toolbar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-tree/index.d.ts +0 -3
- package/codebase/types/ts-tree/sources/Editor.d.ts +0 -42
- package/codebase/types/ts-tree/sources/Tree.d.ts +0 -58
- package/codebase/types/ts-tree/sources/entry.d.ts +0 -6
- package/codebase/types/ts-tree/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-tree/sources/types.d.ts +0 -119
- package/codebase/types/ts-tree/tests/suite.d.ts +0 -0
- package/codebase/types/ts-treegrid/index.d.ts +0 -3
- package/codebase/types/ts-treegrid/sources/TreeGrid.d.ts +0 -30
- package/codebase/types/ts-treegrid/sources/TreeGridCollection.d.ts +0 -20
- package/codebase/types/ts-treegrid/sources/entry.d.ts +0 -7
- package/codebase/types/ts-treegrid/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-treegrid/sources/types.d.ts +0 -32
- package/codebase/types/ts-treegrid/tests/Grid.d.ts +0 -1
- package/codebase/types/ts-treegrid/tests/TreeGrid.d.ts +0 -1
- package/codebase/types/ts-treegrid/tests/stubs.d.ts +0 -84
- package/codebase/types/ts-treegrid/tests/suite.d.ts +0 -2
- package/codebase/types/ts-ui-kit/index.d.ts +0 -0
- package/codebase/types/ts-ui-kit/sources/entry.d.ts +0 -1
- package/codebase/types/ts-ui-kit/tests/suite.d.ts +0 -0
- package/codebase/types/ts-vault/index.d.ts +0 -3
- package/codebase/types/ts-vault/sources/ProgressBar.d.ts +0 -12
- package/codebase/types/ts-vault/sources/ReadStackPreview.d.ts +0 -11
- package/codebase/types/ts-vault/sources/Uploader.d.ts +0 -26
- package/codebase/types/ts-vault/sources/Vault.d.ts +0 -33
- package/codebase/types/ts-vault/sources/configs.d.ts +0 -14
- package/codebase/types/ts-vault/sources/entry.d.ts +0 -6
- package/codebase/types/ts-vault/sources/helper.d.ts +0 -30
- package/codebase/types/ts-vault/sources/locales/en.d.ts +0 -18
- package/codebase/types/ts-vault/sources/types.d.ts +0 -107
- package/codebase/types/ts-vault/tests/suite.d.ts +0 -0
- package/codebase/types/ts-window/index.d.ts +0 -2
- package/codebase/types/ts-window/sources/ProWindow.d.ts +0 -11
- package/codebase/types/ts-window/sources/Window.d.ts +0 -55
- package/codebase/types/ts-window/sources/WindowController.d.ts +0 -10
- package/codebase/types/ts-window/sources/entry.d.ts +0 -2
- package/codebase/types/ts-window/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-window/sources/helpers.d.ts +0 -1
- package/codebase/types/ts-window/sources/types.d.ts +0 -82
- package/codebase/types/ts-window/tests/suite.d.ts +0 -0
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ScrollView } from "../../ts-common/ScrollView";
|
|
2
|
-
import { IProDataView, IDataViewConfig } from "./types";
|
|
3
|
-
import { DataView } from "./DataView";
|
|
4
|
-
import { VNode } from "../../ts-common/dom";
|
|
5
|
-
export declare class ProDataView extends DataView implements IProDataView {
|
|
6
|
-
scrollView: ScrollView;
|
|
7
|
-
constructor(node: HTMLElement | string, config?: IDataViewConfig);
|
|
8
|
-
destructor(): void;
|
|
9
|
-
scrollTo(id: string): void;
|
|
10
|
-
protected _renderList(): VNode;
|
|
11
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IDataViewConfig, IDataViewItem } from "../types";
|
|
2
|
-
import { DataView } from "../DataView";
|
|
3
|
-
export declare class InputEditor {
|
|
4
|
-
protected _handlers: {
|
|
5
|
-
[key: string]: (...args: any[]) => void;
|
|
6
|
-
};
|
|
7
|
-
protected _mode: boolean;
|
|
8
|
-
protected _config: IDataViewConfig;
|
|
9
|
-
protected _dataView: DataView;
|
|
10
|
-
protected _item: IDataViewItem;
|
|
11
|
-
protected _input: HTMLInputElement;
|
|
12
|
-
constructor(item: IDataViewItem, dataView: DataView);
|
|
13
|
-
endEdit(): void;
|
|
14
|
-
toHTML(isLastItemInRow: boolean): any;
|
|
15
|
-
protected _initHandlers(): void;
|
|
16
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { DataCollection, DataEvents, DragEvents, IDataEventsHandlersMap, IDragEventsHandlersMap } from "../../ts-data";
|
|
2
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
3
|
-
import { ISelection, MultiselectionMode, IListConfig, IListEventHandlersMap, ListEvents } from "../../ts-list";
|
|
4
|
-
import { ScrollView } from "../../ts-common/ScrollView";
|
|
5
|
-
import { Id } from "../../ts-common/types";
|
|
6
|
-
export interface IDataViewConfig extends IListConfig {
|
|
7
|
-
data?: DataCollection<any> | any[];
|
|
8
|
-
itemsInRow?: number;
|
|
9
|
-
height?: number | string;
|
|
10
|
-
itemHeight?: number | string;
|
|
11
|
-
gap?: number;
|
|
12
|
-
template?: (item: any) => string;
|
|
13
|
-
keyNavigation?: boolean | (() => boolean);
|
|
14
|
-
css?: string;
|
|
15
|
-
selection?: boolean;
|
|
16
|
-
multiselection?: boolean | MultiselectionMode;
|
|
17
|
-
editable?: boolean;
|
|
18
|
-
eventHandlers?: {
|
|
19
|
-
[eventName: string]: {
|
|
20
|
-
[className: string]: (event: Event, id: Id) => void;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
24
|
-
editing?: boolean;
|
|
25
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
26
|
-
multiselectionMode?: MultiselectionMode;
|
|
27
|
-
}
|
|
28
|
-
export interface IDataView<T = any> {
|
|
29
|
-
config: IDataViewConfig;
|
|
30
|
-
data: DataCollection<T>;
|
|
31
|
-
events: IEventSystem<DataEvents | DragEvents | ListEvents, IDataEventsHandlersMap & IDragEventsHandlersMap & IListEventHandlersMap>;
|
|
32
|
-
selection: ISelection;
|
|
33
|
-
paint(): void;
|
|
34
|
-
destructor(): void;
|
|
35
|
-
editItem(id: Id): void;
|
|
36
|
-
getFocusItem(): T;
|
|
37
|
-
setFocus(id: Id): void;
|
|
38
|
-
getFocus(): Id;
|
|
39
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
40
|
-
disableSelection(): void;
|
|
41
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
42
|
-
enableSelection(): void;
|
|
43
|
-
}
|
|
44
|
-
export interface IProDataView extends IDataView {
|
|
45
|
-
scrollView: ScrollView;
|
|
46
|
-
}
|
|
47
|
-
export declare enum DataViewEvents {
|
|
48
|
-
click = "click",
|
|
49
|
-
doubleClick = "doubleclick",
|
|
50
|
-
focusChange = "focuschange",
|
|
51
|
-
beforeEditStart = "beforeEditStart",
|
|
52
|
-
afterEditStart = "afterEditStart",
|
|
53
|
-
beforeEditEnd = "beforeEditEnd",
|
|
54
|
-
afterEditEnd = "afterEditEnd",
|
|
55
|
-
itemRightClick = "itemRightClick",
|
|
56
|
-
itemMouseOver = "itemMouseOver",
|
|
57
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
58
|
-
contextmenu = "contextmenu"
|
|
59
|
-
}
|
|
60
|
-
export interface IDataViewItem {
|
|
61
|
-
[key: string]: any;
|
|
62
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./selections/Selections";
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
2
|
-
import { View } from "../../ts-common/view";
|
|
3
|
-
import { Exporter } from "./helpers/Export";
|
|
4
|
-
import { Selection } from "./helpers/Selection";
|
|
5
|
-
import { IShapeMap } from "./shapes/factory";
|
|
6
|
-
import { ShapesCollection } from "./ShapesCollection";
|
|
7
|
-
import { DataEvents } from "../../ts-data";
|
|
8
|
-
import { DiagramEvents, ICoords, IDiagram, IDiagramConfig, IShape, SelectionEvents } from "./types";
|
|
9
|
-
export declare class Diagram extends View implements IDiagram {
|
|
10
|
-
version: string;
|
|
11
|
-
config: IDiagramConfig;
|
|
12
|
-
events: IEventSystem<DataEvents | SelectionEvents | DiagramEvents>;
|
|
13
|
-
data: ShapesCollection;
|
|
14
|
-
selection: Selection;
|
|
15
|
-
export: Exporter;
|
|
16
|
-
shapes: IShapeMap;
|
|
17
|
-
private _htmlevents;
|
|
18
|
-
private _toolbar;
|
|
19
|
-
constructor(container: HTMLElement | any, config?: IDiagramConfig);
|
|
20
|
-
locate(ev: Event): IShape;
|
|
21
|
-
collapseItem(id: string): void;
|
|
22
|
-
expandItem(id: string): void;
|
|
23
|
-
getScrollState(): ICoords;
|
|
24
|
-
scrollTo(x: number, y: number): void;
|
|
25
|
-
showItem(id: string): void;
|
|
26
|
-
protected _render(vm: any): any;
|
|
27
|
-
protected _init_events(): void;
|
|
28
|
-
protected _set_defaults(): void;
|
|
29
|
-
protected _init_struct(): void;
|
|
30
|
-
private _getContent;
|
|
31
|
-
private _getPoint;
|
|
32
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
2
|
-
import { Id } from "../../ts-common/types";
|
|
3
|
-
import { DataCollection, DataEvents } from "../../ts-data";
|
|
4
|
-
import { IItemConfig } from "./types";
|
|
5
|
-
export declare class ShapesCollection extends DataCollection {
|
|
6
|
-
private _roots;
|
|
7
|
-
private _orgMode;
|
|
8
|
-
constructor(config: any, events: IEventSystem<DataEvents>);
|
|
9
|
-
getNearId(id: Id): Id;
|
|
10
|
-
mapVisible(handler: any): any[];
|
|
11
|
-
getRoots(): Id[];
|
|
12
|
-
protected _removeNested(obj: any): void;
|
|
13
|
-
protected _eachBranch(item: IItemConfig, handler: any, stack: any[]): void;
|
|
14
|
-
protected _parse_data(data: any[]): void;
|
|
15
|
-
protected _mark_chains(): void;
|
|
16
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
2
|
-
import { DiagramEvents, IButtonConfig, IItemConfig, SelectionEvents } from "./types";
|
|
3
|
-
import { DataEvents } from "../../ts-data";
|
|
4
|
-
export declare class Toolbar {
|
|
5
|
-
config: any;
|
|
6
|
-
private events;
|
|
7
|
-
private _pressCoords;
|
|
8
|
-
private _handlers;
|
|
9
|
-
constructor(events: IEventSystem<DataEvents | DiagramEvents | SelectionEvents>, icons: IButtonConfig[]);
|
|
10
|
-
toSVG(item: any, size: any): any;
|
|
11
|
-
protected _getIcons(item: IItemConfig, icons: IButtonConfig[]): any[];
|
|
12
|
-
protected _getCoords(target: IItemConfig, width: number, height: number, scale: number): {
|
|
13
|
-
x: number;
|
|
14
|
-
y: number;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { View } from "../../../ts-common/view";
|
|
2
|
-
export declare class Exporter {
|
|
3
|
-
private _name;
|
|
4
|
-
private _version;
|
|
5
|
-
private _view;
|
|
6
|
-
constructor(_name: string, _version: string, _view: View);
|
|
7
|
-
pdf(config: any): void;
|
|
8
|
-
png(config: any): void;
|
|
9
|
-
protected _rawExport(config: any, mode: string, view: View): void;
|
|
10
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../../ts-common/events";
|
|
2
|
-
import { Id } from "../../../ts-common/types";
|
|
3
|
-
import { DataCollection } from "../../../ts-data";
|
|
4
|
-
import { SelectionEvents } from "../types";
|
|
5
|
-
export declare class Selection {
|
|
6
|
-
events: IEventSystem<SelectionEvents>;
|
|
7
|
-
private _selected;
|
|
8
|
-
private _data;
|
|
9
|
-
constructor(_config: any, data?: DataCollection, events?: IEventSystem<any>);
|
|
10
|
-
getId(): Id;
|
|
11
|
-
getItem(): any;
|
|
12
|
-
remove(id?: Id): boolean;
|
|
13
|
-
add(id: Id): void;
|
|
14
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IItemConfig, ILinkConfig } from "../types";
|
|
2
|
-
interface IPoint {
|
|
3
|
-
x: number;
|
|
4
|
-
y: number;
|
|
5
|
-
}
|
|
6
|
-
export declare function nearestLinkPath(link: ILinkConfig, from: IItemConfig, to: IItemConfig, config: any): IPoint[];
|
|
7
|
-
export declare function directLinkPath(link: ILinkConfig, from: IItemConfig, to: IItemConfig, config: any): void;
|
|
8
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Id } from "../../../ts-common/types";
|
|
2
|
-
import { ICoords, IItemConfig, IShape } from "../types";
|
|
3
|
-
export declare class BaseShape implements IShape {
|
|
4
|
-
config: IItemConfig;
|
|
5
|
-
id: Id;
|
|
6
|
-
constructor(config: IItemConfig);
|
|
7
|
-
isConnector(): boolean;
|
|
8
|
-
canResize(): boolean;
|
|
9
|
-
getCenter(): ICoords;
|
|
10
|
-
getBox(): {
|
|
11
|
-
left: number;
|
|
12
|
-
right: number;
|
|
13
|
-
top: number;
|
|
14
|
-
bottom: number;
|
|
15
|
-
};
|
|
16
|
-
getMetaInfo(): {
|
|
17
|
-
id: string;
|
|
18
|
-
label: string;
|
|
19
|
-
type: string;
|
|
20
|
-
}[];
|
|
21
|
-
move(x: number, y: number): void;
|
|
22
|
-
resize(width: number, height: number): void;
|
|
23
|
-
rotate(angle: number): void;
|
|
24
|
-
update(conf: IItemConfig): void;
|
|
25
|
-
toSVG(): string;
|
|
26
|
-
getPoint(x: number, y: number): ICoords;
|
|
27
|
-
setCss(value: string): void;
|
|
28
|
-
protected getCss(): string;
|
|
29
|
-
protected setDefaults(config: IItemConfig): IItemConfig;
|
|
30
|
-
protected getCoords(conf: any): ICoords;
|
|
31
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { IBoxSize, ICoords, ILinkConfig } from "../../types";
|
|
2
|
-
import { BaseShape } from "../Base";
|
|
3
|
-
export declare class Line extends BaseShape {
|
|
4
|
-
config: ILinkConfig;
|
|
5
|
-
constructor(config: ILinkConfig);
|
|
6
|
-
isConnector(): boolean;
|
|
7
|
-
getMetaInfo(): {
|
|
8
|
-
id: string;
|
|
9
|
-
type: string;
|
|
10
|
-
label: string;
|
|
11
|
-
connector: boolean;
|
|
12
|
-
}[];
|
|
13
|
-
setDefaults(config: ILinkConfig): ILinkConfig;
|
|
14
|
-
toSVG(): string;
|
|
15
|
-
getBox(): IBoxSize;
|
|
16
|
-
protected _getType(): string;
|
|
17
|
-
protected _getPoints(): string;
|
|
18
|
-
protected _getStringPoints(): string;
|
|
19
|
-
protected _getArrowLine(): any[];
|
|
20
|
-
protected _arrow(from: ICoords, to: ICoords): string;
|
|
21
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IItemConfig } from "../../types";
|
|
2
|
-
import { BaseShape } from "../Base";
|
|
3
|
-
export declare class DiagramCard extends BaseShape {
|
|
4
|
-
toSVG(): any;
|
|
5
|
-
getMetaInfo(): {
|
|
6
|
-
id: string;
|
|
7
|
-
label: string;
|
|
8
|
-
type: string;
|
|
9
|
-
}[];
|
|
10
|
-
protected getCss(): string;
|
|
11
|
-
protected setDefaults(obj: IItemConfig): IItemConfig;
|
|
12
|
-
protected text(): any;
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IItemConfig } from "../../types";
|
|
2
|
-
import { DiagramCard } from "./DiagramCard";
|
|
3
|
-
export declare class DiagramImgCard extends DiagramCard {
|
|
4
|
-
getMetaInfo(): {
|
|
5
|
-
id: string;
|
|
6
|
-
label: string;
|
|
7
|
-
type: string;
|
|
8
|
-
}[];
|
|
9
|
-
protected setDefaults(obj: IItemConfig): IItemConfig;
|
|
10
|
-
protected getCss(): string;
|
|
11
|
-
protected text(): any[];
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { DiagramCard } from "./DiagramCard";
|
|
2
|
-
export declare class DiagramSvgCard extends DiagramCard {
|
|
3
|
-
toSVG(): any;
|
|
4
|
-
getMetaInfo(): {
|
|
5
|
-
id: string;
|
|
6
|
-
label: string;
|
|
7
|
-
type: string;
|
|
8
|
-
}[];
|
|
9
|
-
protected text(): string;
|
|
10
|
-
protected title(): string;
|
|
11
|
-
protected getCss(): string;
|
|
12
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { IItemConfig } from "../types";
|
|
2
|
-
import { BaseShape } from "./Base";
|
|
3
|
-
export declare const extraLines: {
|
|
4
|
-
database: (width: any, _height: any, part: any, config: any) => any;
|
|
5
|
-
internal: (width: any, height: any, part: any, config: any) => any;
|
|
6
|
-
offline: (width: any, height: any, part: any, config: any) => any;
|
|
7
|
-
subroutine: (width: any, height: any, part: any, config: any) => any;
|
|
8
|
-
or: (width: any, height: any, _part: any, config: any) => any;
|
|
9
|
-
junction: (width: any, height: any, _part: any, config: any) => any;
|
|
10
|
-
roll: (width: any, height: any, _part: any, config: any) => any;
|
|
11
|
-
};
|
|
12
|
-
declare function display(width: any, height: any): string;
|
|
13
|
-
declare function circle(width: any, height: any): string;
|
|
14
|
-
declare function triangle(width: any, height: any): string;
|
|
15
|
-
declare function document(width: any, height: any): string;
|
|
16
|
-
declare function data(width: any, height: any, part: any): string;
|
|
17
|
-
declare function database(width: any, height: any, part: any): string;
|
|
18
|
-
declare function delay(width: any, height: any): string;
|
|
19
|
-
declare function output(width: any, height: any, part: any): string;
|
|
20
|
-
declare function page(width: any, height: any): string;
|
|
21
|
-
declare function input(width: any, height: any): string;
|
|
22
|
-
declare function operation(width: any, height: any): string;
|
|
23
|
-
declare function punchcard(width: any, height: any): string;
|
|
24
|
-
declare function comment(width: any, height: any): string;
|
|
25
|
-
declare function storage(width: any, height: any): string;
|
|
26
|
-
declare function extract(width: any, height: any): string;
|
|
27
|
-
declare function decision(width: any, height: any): string;
|
|
28
|
-
declare function collate(width: any, height: any): string;
|
|
29
|
-
declare function keyring(width: any, height: any, part: any): string;
|
|
30
|
-
declare function start(width: any, height: any): string;
|
|
31
|
-
declare function rectangle(width: any, height: any): string;
|
|
32
|
-
declare function tape(width: any, height: any): string;
|
|
33
|
-
declare function preparation(width: any, height: any): string;
|
|
34
|
-
declare function endpoint(width: any, height: any): string;
|
|
35
|
-
export declare const renders: {
|
|
36
|
-
circle: typeof circle;
|
|
37
|
-
rectangle: typeof rectangle;
|
|
38
|
-
triangle: typeof triangle;
|
|
39
|
-
start: typeof start;
|
|
40
|
-
end: typeof start;
|
|
41
|
-
process: typeof rectangle;
|
|
42
|
-
output: typeof output;
|
|
43
|
-
decision: typeof decision;
|
|
44
|
-
display: typeof display;
|
|
45
|
-
document: typeof document;
|
|
46
|
-
data: typeof data;
|
|
47
|
-
database: typeof database;
|
|
48
|
-
internal: typeof rectangle;
|
|
49
|
-
offline: typeof storage;
|
|
50
|
-
delay: typeof delay;
|
|
51
|
-
page: typeof page;
|
|
52
|
-
input: typeof input;
|
|
53
|
-
operation: typeof operation;
|
|
54
|
-
punchcard: typeof punchcard;
|
|
55
|
-
subroutine: typeof rectangle;
|
|
56
|
-
comment: typeof comment;
|
|
57
|
-
storage: typeof storage;
|
|
58
|
-
extract: typeof extract;
|
|
59
|
-
collate: typeof collate;
|
|
60
|
-
or: typeof circle;
|
|
61
|
-
junction: typeof circle;
|
|
62
|
-
keyring: typeof keyring;
|
|
63
|
-
tape: typeof tape;
|
|
64
|
-
preparation: typeof preparation;
|
|
65
|
-
endpoint: typeof endpoint;
|
|
66
|
-
roll: typeof circle;
|
|
67
|
-
};
|
|
68
|
-
export declare class FlowShape extends BaseShape {
|
|
69
|
-
config: IItemConfig;
|
|
70
|
-
getMetaInfo(): ({
|
|
71
|
-
id: string;
|
|
72
|
-
type: string;
|
|
73
|
-
label: string;
|
|
74
|
-
hint: string;
|
|
75
|
-
value: string;
|
|
76
|
-
} | {
|
|
77
|
-
id: string;
|
|
78
|
-
label: string;
|
|
79
|
-
type: string;
|
|
80
|
-
hint?: undefined;
|
|
81
|
-
value?: undefined;
|
|
82
|
-
})[];
|
|
83
|
-
toSVG(): any;
|
|
84
|
-
protected setDefaults(obj: IItemConfig): IItemConfig;
|
|
85
|
-
private _shapeLine;
|
|
86
|
-
private _getPoints;
|
|
87
|
-
private _getExtraLines;
|
|
88
|
-
private _getText;
|
|
89
|
-
}
|
|
90
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { IItemConfig } from "../types";
|
|
2
|
-
import { BaseShape } from "./Base";
|
|
3
|
-
export declare class TextShape extends BaseShape {
|
|
4
|
-
toSVG(): any;
|
|
5
|
-
getMetaInfo(): ({
|
|
6
|
-
id: string;
|
|
7
|
-
label: string;
|
|
8
|
-
type: string;
|
|
9
|
-
alignments?: undefined;
|
|
10
|
-
} | {
|
|
11
|
-
id: string;
|
|
12
|
-
type: string;
|
|
13
|
-
label: string;
|
|
14
|
-
alignments: boolean;
|
|
15
|
-
})[];
|
|
16
|
-
canResize(): boolean;
|
|
17
|
-
protected setDefaults(obj: IItemConfig): IItemConfig;
|
|
18
|
-
private _getText;
|
|
19
|
-
}
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { Id } from "../../ts-common/types";
|
|
2
|
-
type textAlign = "left" | "center" | "right";
|
|
3
|
-
type textVerticalAlign = "top" | "center" | "bottom";
|
|
4
|
-
type strokeType = "line" | "dash" | any;
|
|
5
|
-
type arrows = "filled" | any;
|
|
6
|
-
type connectType = "straight" | "curved" | "elbow";
|
|
7
|
-
type fontStyle = "normal" | "italic" | "oblique";
|
|
8
|
-
export { SelectionEvents } from "../../ts-common/types";
|
|
9
|
-
export interface IItemConfig {
|
|
10
|
-
id?: Id;
|
|
11
|
-
type?: string;
|
|
12
|
-
parent?: string;
|
|
13
|
-
img?: string;
|
|
14
|
-
x?: number;
|
|
15
|
-
y?: number;
|
|
16
|
-
dx?: number;
|
|
17
|
-
dy?: number;
|
|
18
|
-
height?: number;
|
|
19
|
-
width?: number;
|
|
20
|
-
angle?: number;
|
|
21
|
-
text?: string;
|
|
22
|
-
title?: string;
|
|
23
|
-
css?: string;
|
|
24
|
-
color?: string;
|
|
25
|
-
hidden?: boolean;
|
|
26
|
-
from?: string;
|
|
27
|
-
to?: string;
|
|
28
|
-
points?: ICoords[];
|
|
29
|
-
fill?: string;
|
|
30
|
-
stroke?: string;
|
|
31
|
-
extraLinesStroke?: string;
|
|
32
|
-
strokeWidth?: number;
|
|
33
|
-
strokeType?: strokeType;
|
|
34
|
-
strokeDash?: string;
|
|
35
|
-
fontColor?: string;
|
|
36
|
-
fontStyle?: fontStyle;
|
|
37
|
-
fontWeight?: string;
|
|
38
|
-
fontSize?: number;
|
|
39
|
-
textAlign?: textAlign;
|
|
40
|
-
textVerticalAlign?: textVerticalAlign;
|
|
41
|
-
lineHeight?: number;
|
|
42
|
-
open?: boolean;
|
|
43
|
-
dir?: string;
|
|
44
|
-
$count?: number;
|
|
45
|
-
$kids?: any[];
|
|
46
|
-
$selected?: boolean;
|
|
47
|
-
$expandColor?: string;
|
|
48
|
-
$parent?: string;
|
|
49
|
-
$shape?: IShape;
|
|
50
|
-
$move?: boolean;
|
|
51
|
-
$connectMode?: boolean;
|
|
52
|
-
}
|
|
53
|
-
export interface IButtonConfig {
|
|
54
|
-
content: any;
|
|
55
|
-
check?: any;
|
|
56
|
-
id: Id;
|
|
57
|
-
css?: any;
|
|
58
|
-
}
|
|
59
|
-
export interface IDiagramConfig {
|
|
60
|
-
toolbar?: IButtonConfig[];
|
|
61
|
-
type?: string;
|
|
62
|
-
select?: boolean;
|
|
63
|
-
defaultShapeType?: string;
|
|
64
|
-
defaultLinkType?: string;
|
|
65
|
-
scale?: number;
|
|
66
|
-
scroll?: boolean;
|
|
67
|
-
dragMode?: boolean;
|
|
68
|
-
showGrid?: boolean;
|
|
69
|
-
gridStep?: number;
|
|
70
|
-
margin?: {
|
|
71
|
-
x?: number;
|
|
72
|
-
y?: number;
|
|
73
|
-
itemX?: number;
|
|
74
|
-
itemY?: number;
|
|
75
|
-
};
|
|
76
|
-
lineGap?: number;
|
|
77
|
-
$svg?: any;
|
|
78
|
-
}
|
|
79
|
-
export interface IBoxSize {
|
|
80
|
-
left: number;
|
|
81
|
-
right: number;
|
|
82
|
-
top: number;
|
|
83
|
-
bottom: number;
|
|
84
|
-
}
|
|
85
|
-
export interface IShape {
|
|
86
|
-
config: IItemConfig;
|
|
87
|
-
id: Id;
|
|
88
|
-
move(x: number, y: number): any;
|
|
89
|
-
resize(width: number, height: number): any;
|
|
90
|
-
rotate(angle: number): any;
|
|
91
|
-
update(config: IItemConfig): any;
|
|
92
|
-
getPoint(x: number, y: number): ICoords;
|
|
93
|
-
toSVG(): string;
|
|
94
|
-
getCenter(): ICoords;
|
|
95
|
-
setCss(value: string): any;
|
|
96
|
-
getMetaInfo(): any[];
|
|
97
|
-
isConnector(): boolean;
|
|
98
|
-
getBox(): IBoxSize;
|
|
99
|
-
canResize(): boolean;
|
|
100
|
-
}
|
|
101
|
-
export interface ICoords {
|
|
102
|
-
x: number;
|
|
103
|
-
y: number;
|
|
104
|
-
side?: string;
|
|
105
|
-
$custom?: boolean;
|
|
106
|
-
}
|
|
107
|
-
export interface ILinkConfig extends IItemConfig {
|
|
108
|
-
id?: string;
|
|
109
|
-
from: string;
|
|
110
|
-
to: string;
|
|
111
|
-
type?: strokeType;
|
|
112
|
-
arrow?: string;
|
|
113
|
-
backArrow?: arrows;
|
|
114
|
-
forwardArrow?: arrows;
|
|
115
|
-
fromSide?: string;
|
|
116
|
-
toSide?: string;
|
|
117
|
-
cornersRadius?: number;
|
|
118
|
-
points?: ICoords[];
|
|
119
|
-
connectType?: connectType;
|
|
120
|
-
$selected?: boolean;
|
|
121
|
-
$move?: boolean;
|
|
122
|
-
$selectedPoint?: string;
|
|
123
|
-
}
|
|
124
|
-
export type FilterHandler = (item: IItemConfig) => boolean;
|
|
125
|
-
export interface IDiagram {
|
|
126
|
-
config: IDiagramConfig;
|
|
127
|
-
collapseItem(id: string): any;
|
|
128
|
-
expandItem(id: string): any;
|
|
129
|
-
paint(): any;
|
|
130
|
-
getScrollState(): ICoords;
|
|
131
|
-
scrollTo(x: number, y: number): any;
|
|
132
|
-
showItem(id: string): any;
|
|
133
|
-
}
|
|
134
|
-
export interface IContent {
|
|
135
|
-
shapes?: string;
|
|
136
|
-
width?: number;
|
|
137
|
-
height?: number;
|
|
138
|
-
minX?: number;
|
|
139
|
-
minY?: number;
|
|
140
|
-
gap?: number;
|
|
141
|
-
container?: any;
|
|
142
|
-
root?: string;
|
|
143
|
-
scroll?: any;
|
|
144
|
-
}
|
|
145
|
-
export type SelectShape = (item: IItemConfig) => boolean;
|
|
146
|
-
export type ActionShape = (item: IItemConfig) => void;
|
|
147
|
-
export declare enum DiagramEvents {
|
|
148
|
-
scroll = "scroll",
|
|
149
|
-
beforeCollapse = "beforecollapse",
|
|
150
|
-
afterCollapse = "aftercollapse",
|
|
151
|
-
beforeExpand = "beforeexpand",
|
|
152
|
-
afterExpand = "afterexpand",
|
|
153
|
-
shapeMouseDown = "shapemousedown",
|
|
154
|
-
shapeClick = "shapeclick",
|
|
155
|
-
shapedDblClick = "shapedblclick",
|
|
156
|
-
shapeIconClick = "shapeiconclick",
|
|
157
|
-
beforeRender = "beforerender",
|
|
158
|
-
shapeHover = "shapeHover",
|
|
159
|
-
emptyAreaClick = "emptyAreaClick",
|
|
160
|
-
load = "load"
|
|
161
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export declare const diagramWithImgData: ({
|
|
2
|
-
id: string;
|
|
3
|
-
text: string;
|
|
4
|
-
title: string;
|
|
5
|
-
img: string;
|
|
6
|
-
from?: undefined;
|
|
7
|
-
to?: undefined;
|
|
8
|
-
type?: undefined;
|
|
9
|
-
} | {
|
|
10
|
-
id: string;
|
|
11
|
-
text: string;
|
|
12
|
-
img: string;
|
|
13
|
-
title?: undefined;
|
|
14
|
-
from?: undefined;
|
|
15
|
-
to?: undefined;
|
|
16
|
-
type?: undefined;
|
|
17
|
-
} | {
|
|
18
|
-
id: string;
|
|
19
|
-
from: string;
|
|
20
|
-
to: string;
|
|
21
|
-
type: string;
|
|
22
|
-
text?: undefined;
|
|
23
|
-
title?: undefined;
|
|
24
|
-
img?: undefined;
|
|
25
|
-
})[];
|
|
File without changes
|