dhx-chart 8.3.0 → 8.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/codebase/chart.d.ts +1 -1
- package/codebase/chart.min.js +3 -3
- package/codebase/chart.min.js.map +1 -1
- package/codebase/types/ts-grid/sources/ui/editors/editors.d.ts +2 -0
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +3 -0
- package/codebase/types/ts-all/sources/entry.d.ts +0 -27
- package/codebase/types/ts-all/sources/entry_pro.d.ts +0 -17
- package/codebase/types/ts-calendar/sources/entry.d.ts +0 -7
- package/codebase/types/ts-calendar/tests/calendar/calendar.d.ts +0 -1
- package/codebase/types/ts-calendar/tests/suite.d.ts +0 -1
- package/codebase/types/ts-chart/index.d.ts +0 -3
- package/codebase/types/ts-chart/sources/ProChart.d.ts +0 -7
- package/codebase/types/ts-chart/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-chart/tests/Chart.d.ts +0 -1
- package/codebase/types/ts-chart/tests/suite.d.ts +0 -1
- package/codebase/types/ts-colorpicker/index.d.ts +0 -5
- package/codebase/types/ts-colorpicker/sources/Colorpicker.d.ts +0 -41
- package/codebase/types/ts-colorpicker/sources/colors.d.ts +0 -2
- package/codebase/types/ts-colorpicker/sources/entry.d.ts +0 -4
- package/codebase/types/ts-colorpicker/sources/helpers/calculations.d.ts +0 -9
- package/codebase/types/ts-colorpicker/sources/helpers/color.d.ts +0 -18
- package/codebase/types/ts-colorpicker/sources/locales/en.d.ts +0 -8
- package/codebase/types/ts-colorpicker/sources/picker.d.ts +0 -4
- package/codebase/types/ts-colorpicker/sources/types.d.ts +0 -69
- package/codebase/types/ts-colorpicker/tests/suite.d.ts +0 -0
- package/codebase/types/ts-combobox/sources/entry.d.ts +0 -4
- package/codebase/types/ts-combobox/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-combobox/tests/suite.d.ts +0 -0
- package/codebase/types/ts-common/CssManager.d.ts +0 -26
- package/codebase/types/ts-common/tests/core.d.ts +0 -1
- package/codebase/types/ts-common/tests/events.d.ts +0 -1
- package/codebase/types/ts-common/tests/html.d.ts +0 -1
- package/codebase/types/ts-common/tests/suite.d.ts +0 -3
- package/codebase/types/ts-data/sources/entry.d.ts +0 -5
- package/codebase/types/ts-data/tests/ajax.d.ts +0 -1
- package/codebase/types/ts-data/tests/drivers.d.ts +0 -1
- package/codebase/types/ts-data/tests/filter.d.ts +0 -1
- package/codebase/types/ts-data/tests/main.d.ts +0 -1
- package/codebase/types/ts-data/tests/move.d.ts +0 -1
- package/codebase/types/ts-data/tests/sort.d.ts +0 -1
- package/codebase/types/ts-data/tests/suite.d.ts +0 -7
- package/codebase/types/ts-data/tests/treecollection.d.ts +0 -1
- package/codebase/types/ts-dataview/index.d.ts +0 -3
- package/codebase/types/ts-dataview/sources/DataView.d.ts +0 -41
- package/codebase/types/ts-dataview/sources/ProDataView.d.ts +0 -11
- package/codebase/types/ts-dataview/sources/editors/InputEditor.d.ts +0 -16
- package/codebase/types/ts-dataview/sources/editors/editors.d.ts +0 -4
- package/codebase/types/ts-dataview/sources/entry.d.ts +0 -3
- package/codebase/types/ts-dataview/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-dataview/sources/types.d.ts +0 -62
- package/codebase/types/ts-dataview/tests/selections/Selections.d.ts +0 -1
- package/codebase/types/ts-dataview/tests/selections/stubs.d.ts +0 -3
- package/codebase/types/ts-dataview/tests/suite.d.ts +0 -1
- package/codebase/types/ts-diagram/index.d.ts +0 -5
- package/codebase/types/ts-diagram/sources/Diagram.d.ts +0 -32
- package/codebase/types/ts-diagram/sources/ShapesCollection.d.ts +0 -16
- package/codebase/types/ts-diagram/sources/Toolbar.d.ts +0 -16
- package/codebase/types/ts-diagram/sources/entry.d.ts +0 -4
- package/codebase/types/ts-diagram/sources/helpers/Export.d.ts +0 -10
- package/codebase/types/ts-diagram/sources/helpers/Selection.d.ts +0 -14
- package/codebase/types/ts-diagram/sources/helpers/linkPaths.d.ts +0 -8
- package/codebase/types/ts-diagram/sources/helpers/placement.d.ts +0 -6
- package/codebase/types/ts-diagram/sources/locales/en.d.ts +0 -9
- package/codebase/types/ts-diagram/sources/shapes/Base.d.ts +0 -31
- package/codebase/types/ts-diagram/sources/shapes/Connector/Line.d.ts +0 -21
- package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramCard.d.ts +0 -13
- package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramImgCard.d.ts +0 -12
- package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramSvgCard.d.ts +0 -12
- package/codebase/types/ts-diagram/sources/shapes/Diagram/templates.d.ts +0 -4
- package/codebase/types/ts-diagram/sources/shapes/FlowShape.d.ts +0 -90
- package/codebase/types/ts-diagram/sources/shapes/TextShape.d.ts +0 -19
- package/codebase/types/ts-diagram/sources/shapes/factory.d.ts +0 -7
- package/codebase/types/ts-diagram/sources/types.d.ts +0 -161
- package/codebase/types/ts-diagram/tests/stubs.d.ts +0 -25
- package/codebase/types/ts-diagram/tests/suite.d.ts +0 -0
- package/codebase/types/ts-form/index.d.ts +0 -3
- package/codebase/types/ts-form/sources/Form.d.ts +0 -55
- package/codebase/types/ts-form/sources/ProForm.d.ts +0 -7
- package/codebase/types/ts-form/sources/elements/ToggleButton.d.ts +0 -77
- package/codebase/types/ts-form/sources/elements/ToggleGroup.d.ts +0 -95
- package/codebase/types/ts-form/sources/elements/avatar.d.ts +0 -119
- package/codebase/types/ts-form/sources/elements/button.d.ts +0 -70
- package/codebase/types/ts-form/sources/elements/checkbox.d.ts +0 -84
- package/codebase/types/ts-form/sources/elements/checkboxGroup.d.ts +0 -103
- package/codebase/types/ts-form/sources/elements/colorpicker.d.ts +0 -101
- package/codebase/types/ts-form/sources/elements/combo.d.ts +0 -101
- package/codebase/types/ts-form/sources/elements/container.d.ts +0 -53
- package/codebase/types/ts-form/sources/elements/dateinput.d.ts +0 -107
- package/codebase/types/ts-form/sources/elements/fieldset.d.ts +0 -64
- package/codebase/types/ts-form/sources/elements/helper/label.d.ts +0 -18
- package/codebase/types/ts-form/sources/elements/input.d.ts +0 -106
- package/codebase/types/ts-form/sources/elements/proCombo.d.ts +0 -5
- package/codebase/types/ts-form/sources/elements/radioGroup.d.ts +0 -99
- package/codebase/types/ts-form/sources/elements/radiobutton.d.ts +0 -41
- package/codebase/types/ts-form/sources/elements/select.d.ts +0 -94
- package/codebase/types/ts-form/sources/elements/simplevault.d.ts +0 -124
- package/codebase/types/ts-form/sources/elements/sliderform.d.ts +0 -84
- package/codebase/types/ts-form/sources/elements/spacer.d.ts +0 -40
- package/codebase/types/ts-form/sources/elements/textarea.d.ts +0 -70
- package/codebase/types/ts-form/sources/elements/textinput.d.ts +0 -39
- package/codebase/types/ts-form/sources/elements/timeinput.d.ts +0 -102
- package/codebase/types/ts-form/sources/entry.d.ts +0 -5
- package/codebase/types/ts-form/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-form/sources/helper.d.ts +0 -12
- package/codebase/types/ts-form/sources/locales/en.d.ts +0 -5
- package/codebase/types/ts-form/sources/types.d.ts +0 -180
- package/codebase/types/ts-form/tests/elements/button.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/checkbox.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/colorpicker.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/combo.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/container.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/datepicker.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/input.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/radiogroup.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/select.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/simplevault.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/slider.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/textarea.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/timepicker.d.ts +0 -1
- package/codebase/types/ts-form/tests/form.d.ts +0 -1
- package/codebase/types/ts-form/tests/stubs/stubs.d.ts +0 -4
- package/codebase/types/ts-form/tests/stubs/stubsCheckbox.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsColorpicker.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsCombo.d.ts +0 -4
- package/codebase/types/ts-form/tests/stubs/stubsDatepicker.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsInput.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsRadiogroup.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsSelect.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsSlider.d.ts +0 -4
- package/codebase/types/ts-form/tests/stubs/stubsTimepicker.d.ts +0 -4
- package/codebase/types/ts-form/tests/suite.d.ts +0 -14
- package/codebase/types/ts-grid/sources/entry.d.ts +0 -7
- package/codebase/types/ts-grid/sources/entry_pro.d.ts +0 -3
- package/codebase/types/ts-grid/tests/Grid.d.ts +0 -1
- package/codebase/types/ts-grid/tests/TreeGrid.d.ts +0 -1
- package/codebase/types/ts-grid/tests/stubs.d.ts +0 -83
- package/codebase/types/ts-grid/tests/suite.d.ts +0 -2
- package/codebase/types/ts-helpers/entry.d.ts +0 -0
- package/codebase/types/ts-layout/sources/entry.d.ts +0 -2
- package/codebase/types/ts-layout/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-layout/tests/Layout.d.ts +0 -1
- package/codebase/types/ts-layout/tests/suite.d.ts +0 -1
- package/codebase/types/ts-list/sources/entry.d.ts +0 -3
- package/codebase/types/ts-list/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-list/sources/helpers.d.ts +0 -2
- package/codebase/types/ts-list/tests/selections/Selections.d.ts +0 -1
- package/codebase/types/ts-list/tests/selections/stubs.d.ts +0 -3
- package/codebase/types/ts-list/tests/suite.d.ts +0 -1
- package/codebase/types/ts-menu/index.d.ts +0 -2
- package/codebase/types/ts-menu/sources/ContextMenu.d.ts +0 -11
- package/codebase/types/ts-menu/sources/Menu.d.ts +0 -6
- package/codebase/types/ts-menu/sources/entry.d.ts +0 -4
- package/codebase/types/ts-menu/tests/suite.d.ts +0 -0
- package/codebase/types/ts-message/sources/entry.d.ts +0 -6
- package/codebase/types/ts-message/tests/suite.d.ts +0 -0
- package/codebase/types/ts-navbar/index.d.ts +0 -3
- package/codebase/types/ts-navbar/sources/Navbar.d.ts +0 -62
- package/codebase/types/ts-navbar/sources/elements/button.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/customHTMLButton.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/datePicker.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/helpers.d.ts +0 -17
- package/codebase/types/ts-navbar/sources/elements/imageButton.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/input.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/menuItem.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/navItem.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/separator.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/spacer.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/elements/title.d.ts +0 -1
- package/codebase/types/ts-navbar/sources/itemfactory.d.ts +0 -10
- package/codebase/types/ts-navbar/sources/types.d.ts +0 -210
- package/codebase/types/ts-navbar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-optimus/index.d.ts +0 -2
- package/codebase/types/ts-optimus/sources/DHXApp.d.ts +0 -12
- package/codebase/types/ts-optimus/sources/DHXView.d.ts +0 -11
- package/codebase/types/ts-optimus/sources/EventSystem.d.ts +0 -9
- package/codebase/types/ts-optimus/sources/HTMLCell.d.ts +0 -8
- package/codebase/types/ts-optimus/sources/LocalSession.d.ts +0 -5
- package/codebase/types/ts-optimus/sources/types.d.ts +0 -36
- package/codebase/types/ts-pagination/index.d.ts +0 -2
- package/codebase/types/ts-pagination/sources/Pagination.d.ts +0 -26
- package/codebase/types/ts-pagination/sources/entry.d.ts +0 -3
- package/codebase/types/ts-pagination/sources/types.d.ts +0 -27
- package/codebase/types/ts-pagination/tests/suite.d.ts +0 -0
- package/codebase/types/ts-pivot/index.d.ts +0 -1
- package/codebase/types/ts-pivot/sources/DataPreprocessor.d.ts +0 -29
- package/codebase/types/ts-pivot/sources/DateFormatter.d.ts +0 -29
- package/codebase/types/ts-pivot/sources/Pivot.d.ts +0 -52
- package/codebase/types/ts-pivot/sources/configurator/Configurator.d.ts +0 -40
- package/codebase/types/ts-pivot/sources/entry.d.ts +0 -9
- package/codebase/types/ts-pivot/sources/filters/DateFilter.d.ts +0 -17
- package/codebase/types/ts-pivot/sources/filters/Filter.d.ts +0 -72
- package/codebase/types/ts-pivot/sources/filters/Filters.d.ts +0 -13
- package/codebase/types/ts-pivot/sources/filters/helpers.d.ts +0 -2
- package/codebase/types/ts-pivot/sources/group-module/DataGroup.d.ts +0 -13
- package/codebase/types/ts-pivot/sources/group-module/groupfuncs.d.ts +0 -10
- package/codebase/types/ts-pivot/sources/group-module/types.d.ts +0 -19
- package/codebase/types/ts-pivot/sources/helpers.d.ts +0 -28
- package/codebase/types/ts-pivot/sources/locales/en.d.ts +0 -38
- package/codebase/types/ts-pivot/sources/templates.d.ts +0 -4
- package/codebase/types/ts-pivot/sources/types.d.ts +0 -180
- package/codebase/types/ts-pivot/tests/DataPreprocessor.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/Pivot.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/config-module/Config.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/config-module/stubs.d.ts +0 -80
- package/codebase/types/ts-pivot/tests/filter-module/Filter.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/group-module/DataGroup.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/group-module/groupfuncs.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/group-module/stubs.d.ts +0 -54
- package/codebase/types/ts-pivot/tests/stubs.d.ts +0 -107
- package/codebase/types/ts-pivot/tests/suite.d.ts +0 -6
- package/codebase/types/ts-popup/sources/entry.d.ts +0 -2
- package/codebase/types/ts-popup/tests/suite.d.ts +0 -0
- package/codebase/types/ts-property/index.d.ts +0 -2
- package/codebase/types/ts-property/sources/Property.d.ts +0 -16
- package/codebase/types/ts-property/sources/entry.d.ts +0 -2
- package/codebase/types/ts-property/sources/items/BaseItem.d.ts +0 -16
- package/codebase/types/ts-property/sources/items/Checkbox.d.ts +0 -7
- package/codebase/types/ts-property/sources/items/Colorpicker.d.ts +0 -10
- package/codebase/types/ts-property/sources/items/Combo.d.ts +0 -9
- package/codebase/types/ts-property/sources/items/Label.d.ts +0 -4
- package/codebase/types/ts-property/sources/items/Select.d.ts +0 -5
- package/codebase/types/ts-property/sources/items/Text.d.ts +0 -4
- package/codebase/types/ts-property/sources/items/Textarea.d.ts +0 -4
- package/codebase/types/ts-property/sources/items/helpers.d.ts +0 -2
- package/codebase/types/ts-property/sources/items/index.d.ts +0 -19
- package/codebase/types/ts-property/sources/types.d.ts +0 -47
- package/codebase/types/ts-property/tests/suite.d.ts +0 -0
- package/codebase/types/ts-ribbon/index.d.ts +0 -2
- package/codebase/types/ts-ribbon/sources/ProRibbon.d.ts +0 -10
- package/codebase/types/ts-ribbon/sources/Ribbon.d.ts +0 -43
- package/codebase/types/ts-ribbon/sources/entry.d.ts +0 -4
- package/codebase/types/ts-ribbon/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-ribbon/tests/suite.d.ts +0 -0
- package/codebase/types/ts-richtext/index.d.ts +0 -1
- package/codebase/types/ts-richtext/sources/Manager.d.ts +0 -16
- package/codebase/types/ts-richtext/sources/Richtext.d.ts +0 -36
- package/codebase/types/ts-richtext/sources/SelectionHelper.d.ts +0 -30
- package/codebase/types/ts-richtext/sources/constants.d.ts +0 -44
- package/codebase/types/ts-richtext/sources/entry.d.ts +0 -3
- package/codebase/types/ts-richtext/sources/helpers/buffer.d.ts +0 -10
- package/codebase/types/ts-richtext/sources/helpers/composition.d.ts +0 -2
- package/codebase/types/ts-richtext/sources/helpers/link.d.ts +0 -40
- package/codebase/types/ts-richtext/sources/helpers/markdown.d.ts +0 -2
- package/codebase/types/ts-richtext/sources/helpers/minimizer.d.ts +0 -19
- package/codebase/types/ts-richtext/sources/helpers/other.d.ts +0 -13
- package/codebase/types/ts-richtext/sources/helpers/parser.d.ts +0 -1
- package/codebase/types/ts-richtext/sources/helpers/scroll.d.ts +0 -10
- package/codebase/types/ts-richtext/sources/helpers/selection.d.ts +0 -10
- package/codebase/types/ts-richtext/sources/helpers/serializer.d.ts +0 -2
- package/codebase/types/ts-richtext/sources/helpers/statistics.d.ts +0 -7
- package/codebase/types/ts-richtext/sources/helpers/styles.d.ts +0 -10
- package/codebase/types/ts-richtext/sources/helpers/toolbar.d.ts +0 -21
- package/codebase/types/ts-richtext/sources/keyhandler.d.ts +0 -26
- package/codebase/types/ts-richtext/sources/locales/en.d.ts +0 -35
- package/codebase/types/ts-richtext/sources/models/Block.d.ts +0 -27
- package/codebase/types/ts-richtext/sources/models/Editor.d.ts +0 -61
- package/codebase/types/ts-richtext/sources/models/TextNode.d.ts +0 -16
- package/codebase/types/ts-richtext/sources/types.d.ts +0 -143
- package/codebase/types/ts-richtext/tests/block.d.ts +0 -1
- package/codebase/types/ts-richtext/tests/editor.d.ts +0 -1
- package/codebase/types/ts-richtext/tests/suite.d.ts +0 -3
- package/codebase/types/ts-richtext/tests/textnode.d.ts +0 -1
- package/codebase/types/ts-samplegen/index.d.ts +0 -1
- package/codebase/types/ts-samplegen/sources/SampleGenerator.d.ts +0 -20
- package/codebase/types/ts-samplegen/sources/entry.d.ts +0 -2
- package/codebase/types/ts-samplegen/tests/suite.d.ts +0 -0
- package/codebase/types/ts-scheduler/index.d.ts +0 -1
- package/codebase/types/ts-scheduler/sources/Scheduler.d.ts +0 -18
- package/codebase/types/ts-scheduler/sources/entry.d.ts +0 -2
- package/codebase/types/ts-scheduler/sources/helpers/scales.d.ts +0 -1
- package/codebase/types/ts-scheduler/sources/helpers/topbar.d.ts +0 -1
- package/codebase/types/ts-scheduler/sources/views/Agenda.d.ts +0 -6
- package/codebase/types/ts-scheduler/sources/views/Base.d.ts +0 -3
- package/codebase/types/ts-scheduler/sources/views/Cols.d.ts +0 -8
- package/codebase/types/ts-scheduler/sources/views/Day.d.ts +0 -4
- package/codebase/types/ts-scheduler/sources/views/Month.d.ts +0 -8
- package/codebase/types/ts-scheduler/sources/views/Week.d.ts +0 -4
- package/codebase/types/ts-scheduler/sources/views/index.d.ts +0 -11
- package/codebase/types/ts-scheduler/tests/suite.d.ts +0 -0
- package/codebase/types/ts-sidebar/index.d.ts +0 -3
- package/codebase/types/ts-sidebar/sources/ProSidebar.d.ts +0 -8
- package/codebase/types/ts-sidebar/sources/Sidebar.d.ts +0 -24
- package/codebase/types/ts-sidebar/sources/entry.d.ts +0 -3
- package/codebase/types/ts-sidebar/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-sidebar/sources/types.d.ts +0 -40
- package/codebase/types/ts-sidebar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-slider/sources/entry.d.ts +0 -2
- package/codebase/types/ts-slider/tests/suite.d.ts +0 -0
- package/codebase/types/ts-tabbar/index.d.ts +0 -2
- package/codebase/types/ts-tabbar/sources/Tabbar.d.ts +0 -38
- package/codebase/types/ts-tabbar/sources/entry.d.ts +0 -2
- package/codebase/types/ts-tabbar/sources/types.d.ts +0 -64
- package/codebase/types/ts-tabbar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-theme/entry.d.ts +0 -0
- package/codebase/types/ts-timepicker/sources/entry.d.ts +0 -3
- package/codebase/types/ts-timepicker/tests/suite.d.ts +0 -0
- package/codebase/types/ts-toolbar/index.d.ts +0 -2
- package/codebase/types/ts-toolbar/sources/ProToolbar.d.ts +0 -10
- package/codebase/types/ts-toolbar/sources/Toolbar.d.ts +0 -32
- package/codebase/types/ts-toolbar/sources/entry.d.ts +0 -4
- package/codebase/types/ts-toolbar/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-toolbar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-tree/index.d.ts +0 -3
- package/codebase/types/ts-tree/sources/Editor.d.ts +0 -42
- package/codebase/types/ts-tree/sources/Tree.d.ts +0 -58
- package/codebase/types/ts-tree/sources/entry.d.ts +0 -6
- package/codebase/types/ts-tree/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-tree/sources/types.d.ts +0 -119
- package/codebase/types/ts-tree/tests/suite.d.ts +0 -0
- package/codebase/types/ts-treegrid/index.d.ts +0 -3
- package/codebase/types/ts-treegrid/sources/TreeGrid.d.ts +0 -30
- package/codebase/types/ts-treegrid/sources/TreeGridCollection.d.ts +0 -20
- package/codebase/types/ts-treegrid/sources/entry.d.ts +0 -7
- package/codebase/types/ts-treegrid/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-treegrid/sources/types.d.ts +0 -32
- package/codebase/types/ts-treegrid/tests/Grid.d.ts +0 -1
- package/codebase/types/ts-treegrid/tests/TreeGrid.d.ts +0 -1
- package/codebase/types/ts-treegrid/tests/stubs.d.ts +0 -83
- package/codebase/types/ts-treegrid/tests/suite.d.ts +0 -2
- package/codebase/types/ts-ui-kit/index.d.ts +0 -0
- package/codebase/types/ts-ui-kit/sources/entry.d.ts +0 -1
- package/codebase/types/ts-ui-kit/tests/suite.d.ts +0 -0
- package/codebase/types/ts-vault/index.d.ts +0 -3
- package/codebase/types/ts-vault/sources/ProgressBar.d.ts +0 -12
- package/codebase/types/ts-vault/sources/ReadStackPreview.d.ts +0 -11
- package/codebase/types/ts-vault/sources/Uploader.d.ts +0 -26
- package/codebase/types/ts-vault/sources/Vault.d.ts +0 -33
- package/codebase/types/ts-vault/sources/configs.d.ts +0 -14
- package/codebase/types/ts-vault/sources/entry.d.ts +0 -6
- package/codebase/types/ts-vault/sources/helper.d.ts +0 -30
- package/codebase/types/ts-vault/sources/locales/en.d.ts +0 -18
- package/codebase/types/ts-vault/sources/types.d.ts +0 -107
- package/codebase/types/ts-vault/tests/suite.d.ts +0 -0
- package/codebase/types/ts-window/index.d.ts +0 -2
- package/codebase/types/ts-window/sources/ProWindow.d.ts +0 -11
- package/codebase/types/ts-window/sources/Window.d.ts +0 -55
- package/codebase/types/ts-window/sources/WindowController.d.ts +0 -10
- package/codebase/types/ts-window/sources/entry.d.ts +0 -2
- package/codebase/types/ts-window/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-window/sources/helpers.d.ts +0 -1
- package/codebase/types/ts-window/sources/types.d.ts +0 -82
- package/codebase/types/ts-window/tests/suite.d.ts +0 -0
|
@@ -1,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
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
2
|
-
import { View } from "../../ts-common/view";
|
|
3
|
-
import { Layout, ILayoutConfig, ICellConfig } from "../../ts-layout";
|
|
4
|
-
import { IAnyObj } from "../../ts-common/types";
|
|
5
|
-
import { FormEvents, IItemConfig, IFormEventHandlersMap, IForm, ClearMethod, IFormConfig, TFormDataCallback, TProps } from "./types";
|
|
6
|
-
export declare class Form extends View implements IForm {
|
|
7
|
-
config: IFormConfig;
|
|
8
|
-
events: IEventSystem<FormEvents, IFormEventHandlersMap>;
|
|
9
|
-
layout: Layout;
|
|
10
|
-
private _isValid;
|
|
11
|
-
protected _attachments: {
|
|
12
|
-
[name: string]: any;
|
|
13
|
-
};
|
|
14
|
-
protected _state: {
|
|
15
|
-
[key: string]: any;
|
|
16
|
-
};
|
|
17
|
-
private container;
|
|
18
|
-
constructor(container: HTMLElement | string, config: IFormConfig);
|
|
19
|
-
paint(): void;
|
|
20
|
-
send(url: string, method?: string, asFormData?: boolean): Promise<any> | void;
|
|
21
|
-
clear(method?: ClearMethod): void;
|
|
22
|
-
setValue(obj: IAnyObj): void;
|
|
23
|
-
getValue<T extends boolean = false>(asFormData?: boolean): T extends true ? FormData : IAnyObj;
|
|
24
|
-
getItem(name: string): any;
|
|
25
|
-
validate(silent?: boolean): boolean;
|
|
26
|
-
setProperties(arg: string | {
|
|
27
|
-
[name: string]: TProps;
|
|
28
|
-
}, props?: TProps): void;
|
|
29
|
-
getProperties(name?: string): {
|
|
30
|
-
[name: string]: TProps;
|
|
31
|
-
} | TProps;
|
|
32
|
-
show(): void;
|
|
33
|
-
hide(init?: boolean): void;
|
|
34
|
-
setFocus(name: string): void;
|
|
35
|
-
blur(name: string): void;
|
|
36
|
-
isVisible(name?: string): boolean;
|
|
37
|
-
disable(): void;
|
|
38
|
-
enable(): void;
|
|
39
|
-
isDisabled(name?: string): boolean;
|
|
40
|
-
forEach(callback: TFormDataCallback): void;
|
|
41
|
-
destructor(): void;
|
|
42
|
-
getRootView(): any;
|
|
43
|
-
protected _addLayoutItem(item: IItemConfig): ICellConfig;
|
|
44
|
-
protected _initItemHandlers(item: IItemConfig, name: string): void;
|
|
45
|
-
protected _changeProps(name: any, props: any): void;
|
|
46
|
-
private _addLayoutItems;
|
|
47
|
-
private _checkLayoutConfig;
|
|
48
|
-
protected _createLayoutConfig(config: IFormConfig, layoutConfig: ILayoutConfig): void;
|
|
49
|
-
protected _initUI(container: HTMLElement | string): void;
|
|
50
|
-
private _clear;
|
|
51
|
-
private _clearValidate;
|
|
52
|
-
private _formContainerShow;
|
|
53
|
-
private _formContainerHide;
|
|
54
|
-
private _send;
|
|
55
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Form } from "./Form";
|
|
2
|
-
import { IFormConfig, IItemConfig } from "./types";
|
|
3
|
-
export declare class ProForm extends Form {
|
|
4
|
-
constructor(container: HTMLElement | string, config: IFormConfig);
|
|
5
|
-
protected _initItemHandlers(item: IItemConfig, name: string): void;
|
|
6
|
-
protected _initUI(container: HTMLElement | string): void;
|
|
7
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { IBaseLayoutItem, IBaseItem, IBaseState, IBaseHandlersMap, ItemEvent } from "../types";
|
|
2
|
-
import { View } from "../../../ts-common/view";
|
|
3
|
-
import { IFieldset } from "./fieldset";
|
|
4
|
-
import { IEventSystem } from "../../../ts-common/events";
|
|
5
|
-
export type IToggleValue = number | string;
|
|
6
|
-
export interface IToggleButtonProps extends IBaseLayoutItem {
|
|
7
|
-
full?: boolean;
|
|
8
|
-
text?: string;
|
|
9
|
-
icon?: string;
|
|
10
|
-
offText?: string;
|
|
11
|
-
offIcon?: string;
|
|
12
|
-
value?: IToggleValue;
|
|
13
|
-
}
|
|
14
|
-
export interface IToggleButtonConfig extends IBaseItem, IBaseState, IToggleButtonProps {
|
|
15
|
-
type: "toggle";
|
|
16
|
-
selected?: boolean;
|
|
17
|
-
$group?: boolean;
|
|
18
|
-
$gap?: number;
|
|
19
|
-
$extraCss?: string;
|
|
20
|
-
}
|
|
21
|
-
export interface IToggleButton {
|
|
22
|
-
parent?: IFieldset;
|
|
23
|
-
config: IToggleButtonConfig;
|
|
24
|
-
events: IEventSystem<ItemEvent, IToggleButtonHandlersMap>;
|
|
25
|
-
setValue(selected: boolean, silent?: boolean): void;
|
|
26
|
-
getValue(): IToggleValue | boolean;
|
|
27
|
-
isSelected(): boolean;
|
|
28
|
-
show(): void;
|
|
29
|
-
hide(init?: boolean): void;
|
|
30
|
-
isVisible(): boolean;
|
|
31
|
-
focus(): void;
|
|
32
|
-
blur(): void;
|
|
33
|
-
disable(): void;
|
|
34
|
-
enable(): void;
|
|
35
|
-
isDisabled(): boolean;
|
|
36
|
-
setProperties(config: IToggleButtonProps): void;
|
|
37
|
-
getProperties(): IToggleButtonProps;
|
|
38
|
-
destructor(): void;
|
|
39
|
-
paint(): void;
|
|
40
|
-
}
|
|
41
|
-
export interface IToggleButtonHandlersMap extends IBaseHandlersMap {
|
|
42
|
-
[ItemEvent.beforeChange]: (value: IToggleValue | boolean) => boolean | void;
|
|
43
|
-
[ItemEvent.change]: (value: IToggleValue | boolean) => void;
|
|
44
|
-
[ItemEvent.focus]: (value: IToggleValue | boolean) => void;
|
|
45
|
-
[ItemEvent.blur]: (value: IToggleValue | boolean) => void;
|
|
46
|
-
[ItemEvent.keydown]: (event: KeyboardEvent) => void;
|
|
47
|
-
[ItemEvent.beforeHide]: (value: IToggleValue | boolean, init: boolean) => boolean | void;
|
|
48
|
-
[ItemEvent.beforeShow]: (value: IToggleValue | boolean) => boolean | void;
|
|
49
|
-
[ItemEvent.afterHide]: (value: IToggleValue | boolean, init: boolean) => void;
|
|
50
|
-
[ItemEvent.afterShow]: (value: IToggleValue | boolean) => void;
|
|
51
|
-
[ItemEvent.beforeChangeProperties]: (config: IToggleButtonProps) => boolean | void;
|
|
52
|
-
[ItemEvent.afterChangeProperties]: (config: IToggleButtonProps) => void;
|
|
53
|
-
}
|
|
54
|
-
export declare class ToggleButton extends View implements IToggleButton {
|
|
55
|
-
parent?: IFieldset;
|
|
56
|
-
config: IToggleButtonConfig;
|
|
57
|
-
events: IEventSystem<ItemEvent, IToggleButtonHandlersMap>;
|
|
58
|
-
private props;
|
|
59
|
-
private handlers;
|
|
60
|
-
constructor(container: HTMLElement | string | null, config: IToggleButtonConfig);
|
|
61
|
-
setValue(selected?: boolean, silent?: boolean): void;
|
|
62
|
-
getValue(): IToggleValue | boolean;
|
|
63
|
-
isSelected(): boolean;
|
|
64
|
-
show(): void;
|
|
65
|
-
hide(init?: boolean): void;
|
|
66
|
-
isVisible(): boolean;
|
|
67
|
-
focus(): void;
|
|
68
|
-
blur(): void;
|
|
69
|
-
disable(): void;
|
|
70
|
-
enable(): void;
|
|
71
|
-
isDisabled(): boolean;
|
|
72
|
-
setProperties(config: IToggleButtonProps): void;
|
|
73
|
-
getProperties(): IToggleButtonProps;
|
|
74
|
-
destructor(): void;
|
|
75
|
-
protected draw(): any;
|
|
76
|
-
private initHandlers;
|
|
77
|
-
}
|