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,58 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
2
|
-
import { Id } from "../../ts-common/types";
|
|
3
|
-
import { View } from "../../ts-common/view";
|
|
4
|
-
import { Selection, TreeCollection, DataEvents, DragEvents, IDataEventsHandlersMap, IDragEventsHandlersMap } from "../../ts-data";
|
|
5
|
-
import { IEditorConfig } from "./Editor";
|
|
6
|
-
import { ITree, ITreeConfig, ITreeState, TreeEvents, ITreeEventHandlersMap, ITreeItem } from "./types";
|
|
7
|
-
export declare class Tree<T extends object = object> extends View implements ITree {
|
|
8
|
-
config: ITreeConfig;
|
|
9
|
-
data: TreeCollection<T & ITreeItem>;
|
|
10
|
-
events: IEventSystem<DataEvents | TreeEvents | DragEvents, IDataEventsHandlersMap & ITreeEventHandlersMap & IDragEventsHandlersMap>;
|
|
11
|
-
selection: Selection;
|
|
12
|
-
private _editor;
|
|
13
|
-
private _handlers;
|
|
14
|
-
private _isSelectionActive;
|
|
15
|
-
private _root;
|
|
16
|
-
private _focusId;
|
|
17
|
-
private _right;
|
|
18
|
-
private _keyManager;
|
|
19
|
-
private _touch;
|
|
20
|
-
private _isDraget;
|
|
21
|
-
constructor(container: HTMLElement | string, config?: ITreeConfig);
|
|
22
|
-
focusItem(id: Id): void;
|
|
23
|
-
destructor(): void;
|
|
24
|
-
editItem(id: Id, config?: IEditorConfig): void;
|
|
25
|
-
getState(): ITreeState;
|
|
26
|
-
setState(state: ITreeState): void;
|
|
27
|
-
toggle(id: Id): void;
|
|
28
|
-
getChecked(): Id[];
|
|
29
|
-
checkItem(id: Id): void;
|
|
30
|
-
collapse(id: Id): void;
|
|
31
|
-
collapseAll(): void;
|
|
32
|
-
expand(id: Id): void;
|
|
33
|
-
expandAll(): void;
|
|
34
|
-
uncheckItem(id: Id): void;
|
|
35
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
36
|
-
close(id: Id): void;
|
|
37
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
38
|
-
closeAll(): void;
|
|
39
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
40
|
-
open(id: Id): void;
|
|
41
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
42
|
-
openAll(): void;
|
|
43
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
44
|
-
unCheckItem(id: Id): void;
|
|
45
|
-
private _draw;
|
|
46
|
-
private _initEvents;
|
|
47
|
-
private _autoScroll;
|
|
48
|
-
private _scrollTo;
|
|
49
|
-
private _initHandlers;
|
|
50
|
-
private _dblClick;
|
|
51
|
-
private _clearTouchTimer;
|
|
52
|
-
private _dragStart;
|
|
53
|
-
private _getRightPos;
|
|
54
|
-
private _drawItems;
|
|
55
|
-
private _updateItemCheck;
|
|
56
|
-
private _updateParents;
|
|
57
|
-
private _initHotkeys;
|
|
58
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
2
|
-
import { Id } from "../../ts-common/types";
|
|
3
|
-
import { TreeCollection, DataEvents, DragEvents, IDragConfig, IDataItem, IDragEventsHandlersMap, Selection } from "../../ts-data";
|
|
4
|
-
import { IEditorConfig } from "./Editor";
|
|
5
|
-
export interface ITreeState {
|
|
6
|
-
[id: string]: {
|
|
7
|
-
selected: SelectStatus;
|
|
8
|
-
open: boolean;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export interface ITreeItem extends IDataItem {
|
|
12
|
-
parent: string;
|
|
13
|
-
opened?: boolean;
|
|
14
|
-
$mark?: SelectStatus;
|
|
15
|
-
checkbox?: boolean;
|
|
16
|
-
$autoload?: boolean;
|
|
17
|
-
$selected?: boolean;
|
|
18
|
-
$editor?: boolean;
|
|
19
|
-
}
|
|
20
|
-
export interface ITreeCustomIcon {
|
|
21
|
-
file?: string;
|
|
22
|
-
folder?: string;
|
|
23
|
-
openFolder?: string;
|
|
24
|
-
}
|
|
25
|
-
export declare enum SelectStatus {
|
|
26
|
-
unselected = 0,
|
|
27
|
-
selected = 1,
|
|
28
|
-
indeterminate = 2
|
|
29
|
-
}
|
|
30
|
-
export type ItemIcon = "file" | "folder" | "openFolder";
|
|
31
|
-
export interface ITreeConfig extends IDragConfig {
|
|
32
|
-
data?: TreeCollection<any> | any[];
|
|
33
|
-
css?: string;
|
|
34
|
-
keyNavigation?: boolean;
|
|
35
|
-
autoload?: string;
|
|
36
|
-
checkbox?: boolean;
|
|
37
|
-
isFolder?: (obj: any) => boolean;
|
|
38
|
-
icon?: ITreeCustomIcon;
|
|
39
|
-
editable?: boolean;
|
|
40
|
-
selection?: boolean;
|
|
41
|
-
rootId?: Id;
|
|
42
|
-
itemHeight?: number | string;
|
|
43
|
-
template?: (item: ITreeItem, isFolder: boolean) => string;
|
|
44
|
-
eventHandlers?: {
|
|
45
|
-
[eventName: string]: {
|
|
46
|
-
[className: string]: (event: Event, item: ITree) => void | boolean;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
collapsed?: boolean;
|
|
50
|
-
$editable?: boolean;
|
|
51
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
52
|
-
editing?: boolean;
|
|
53
|
-
}
|
|
54
|
-
export interface ITree {
|
|
55
|
-
data: TreeCollection;
|
|
56
|
-
events: IEventSystem<DataEvents | DragEvents | TreeEvents>;
|
|
57
|
-
selection: Selection;
|
|
58
|
-
config: ITreeConfig;
|
|
59
|
-
paint(): void;
|
|
60
|
-
destructor(): void;
|
|
61
|
-
editItem(id: Id, config: IEditorConfig): void;
|
|
62
|
-
getState(): ITreeState;
|
|
63
|
-
setState(state: ITreeState): void;
|
|
64
|
-
focusItem(id: Id): void;
|
|
65
|
-
toggle(id: Id): void;
|
|
66
|
-
getChecked(): Id[];
|
|
67
|
-
checkItem(id: Id): void;
|
|
68
|
-
collapse(id: Id): void;
|
|
69
|
-
collapseAll(): void;
|
|
70
|
-
expand(id: Id): void;
|
|
71
|
-
expandAll(): void;
|
|
72
|
-
uncheckItem(id: Id): void;
|
|
73
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
74
|
-
close(id: Id): void;
|
|
75
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
76
|
-
closeAll(): void;
|
|
77
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
78
|
-
open(id: Id): void;
|
|
79
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
80
|
-
openAll(): void;
|
|
81
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
82
|
-
unCheckItem(id: Id): void;
|
|
83
|
-
}
|
|
84
|
-
export declare enum TreeEvents {
|
|
85
|
-
itemClick = "itemclick",
|
|
86
|
-
itemDblClick = "itemdblclick",
|
|
87
|
-
itemRightClick = "itemrightclick",
|
|
88
|
-
beforeCollapse = "beforeCollapse",
|
|
89
|
-
afterCollapse = "afterCollapse",
|
|
90
|
-
beforeExpand = "beforeExpand",
|
|
91
|
-
afterExpand = "afterExpand",
|
|
92
|
-
beforeEditStart = "beforeEditStart",
|
|
93
|
-
afterEditStart = "afterEditStart",
|
|
94
|
-
beforeEditEnd = "beforeEditEnd",
|
|
95
|
-
afterEditEnd = "afterEditEnd",
|
|
96
|
-
focusChange = "focusChange",
|
|
97
|
-
beforeCheck = "beforeCheck",
|
|
98
|
-
afterCheck = "afterCheck",
|
|
99
|
-
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
100
|
-
itemContextMenu = "itemcontextmenu"
|
|
101
|
-
}
|
|
102
|
-
export interface ITreeEventHandlersMap extends IDragEventsHandlersMap {
|
|
103
|
-
[key: string]: (...args: any[]) => any;
|
|
104
|
-
[TreeEvents.itemClick]: (id: Id, e: Event) => any;
|
|
105
|
-
[TreeEvents.itemRightClick]: (id: Id, e: Event) => void;
|
|
106
|
-
[TreeEvents.itemDblClick]: (id: Id, e: Event) => void;
|
|
107
|
-
[TreeEvents.beforeCollapse]: (id: Id) => boolean | void;
|
|
108
|
-
[TreeEvents.afterCollapse]: (id: Id) => void;
|
|
109
|
-
[TreeEvents.beforeExpand]: (id: Id) => boolean | void;
|
|
110
|
-
[TreeEvents.afterExpand]: (id: Id) => void;
|
|
111
|
-
[TreeEvents.beforeEditStart]: (value: string, id: Id) => boolean | void;
|
|
112
|
-
[TreeEvents.afterEditStart]: (value: string, id: Id) => void;
|
|
113
|
-
[TreeEvents.beforeEditEnd]: (value: string, id: Id) => boolean | void;
|
|
114
|
-
[TreeEvents.afterEditEnd]: (value: string, id: Id) => void;
|
|
115
|
-
[TreeEvents.focusChange]: (index: number, id: Id) => void;
|
|
116
|
-
[TreeEvents.beforeCheck]: (index: number, id: Id) => boolean | void;
|
|
117
|
-
[TreeEvents.afterCheck]: (index: number, id: Id, value: boolean) => void;
|
|
118
|
-
[TreeEvents.itemContextMenu]: (id: Id, e: Event) => any;
|
|
119
|
-
}
|
|
File without changes
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { GridEvents, IEventHandlersMap, ProGrid, ICellRect, IColumnsWidth, ISpan, IAdjustColumns } from "../../ts-grid";
|
|
2
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
3
|
-
import { DataEvents, DragEvents, IDataEventsHandlersMap, IDragEventsHandlersMap, IDataItem } from "../../ts-data";
|
|
4
|
-
import { TreeGridCollection } from "./TreeGridCollection";
|
|
5
|
-
import { ITreeEventHandlersMap, ITreeGrid, ITreeGridConfig, TreeGridEvents } from "./types";
|
|
6
|
-
import { Id } from "../../ts-common/types";
|
|
7
|
-
export declare class TreeGrid extends ProGrid implements ITreeGrid {
|
|
8
|
-
config: ITreeGridConfig;
|
|
9
|
-
data: TreeGridCollection;
|
|
10
|
-
events: IEventSystem<DataEvents | GridEvents | DragEvents | TreeGridEvents, IEventHandlersMap & IDataEventsHandlersMap & IDragEventsHandlersMap & ITreeEventHandlersMap>;
|
|
11
|
-
private _pregroupData;
|
|
12
|
-
constructor(container: HTMLElement, config: ITreeGridConfig);
|
|
13
|
-
scrollTo(rowId: Id, colId: Id): void;
|
|
14
|
-
expand(rowId: Id): void;
|
|
15
|
-
collapse(rowId: Id): void;
|
|
16
|
-
expandAll(): void;
|
|
17
|
-
collapseAll(): void;
|
|
18
|
-
groupBy(property: string | ((item: IDataItem) => string)): void;
|
|
19
|
-
ungroup(): void;
|
|
20
|
-
showRow(rowId: Id): void;
|
|
21
|
-
hideRow(rowId: Id): void;
|
|
22
|
-
getCellRect(rowId: Id, colId: Id): ICellRect;
|
|
23
|
-
getSpan(rowId: Id, colId: Id): ISpan;
|
|
24
|
-
protected _adjustColumnsWidth({ rows, cols, totalCols, adjust, }: IAdjustColumns): IColumnsWidth;
|
|
25
|
-
protected _createCollection(prep: (data: any[]) => any[]): void;
|
|
26
|
-
protected _getRowIndex(rowId: Id): number;
|
|
27
|
-
protected _setEventHandlers(): void;
|
|
28
|
-
private _groupBy;
|
|
29
|
-
private _serialize;
|
|
30
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
2
|
-
import { DataCallback, DataDriver, DataEvents, IDataItem, TreeCollection } from "../../ts-data";
|
|
3
|
-
import { TreeGridEvents } from "./types";
|
|
4
|
-
import { Id } from "../../ts-common/types";
|
|
5
|
-
export declare class TreeGridCollection extends TreeCollection {
|
|
6
|
-
constructor(config?: any, events?: IEventSystem<DataEvents | TreeGridEvents>);
|
|
7
|
-
eachChild(id: Id, cb: any, direct?: boolean, checkItem?: (item: IDataItem) => boolean): void;
|
|
8
|
-
getMaxLevel(): number;
|
|
9
|
-
getLevel(id: Id): number;
|
|
10
|
-
serialize(driver?: DataDriver): any[];
|
|
11
|
-
getPlainIndex(id: Id): number;
|
|
12
|
-
map(cb: DataCallback<IDataItem>, parent?: Id, direct?: boolean): IDataItem[];
|
|
13
|
-
mapVisible(cb: DataCallback<IDataItem>, parent?: Id, direct?: boolean): IDataItem[];
|
|
14
|
-
protected _parse_data(data: any, parent?: Id): void;
|
|
15
|
-
protected _copy(id: Id, index: number, target?: TreeGridCollection, targetId?: Id, key?: number): Id;
|
|
16
|
-
protected _addToOrder(_order: any, obj: any, index: number): void;
|
|
17
|
-
protected _removeCore(id: Id): void;
|
|
18
|
-
protected _setParent(item: IDataItem, parent: Id): void;
|
|
19
|
-
private _checkItems;
|
|
20
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "../../styles/grid.scss";
|
|
2
|
-
import "../../styles/themes.scss";
|
|
3
|
-
export { cssManager } from "../../ts-common/CssManager";
|
|
4
|
-
export { awaitRedraw, setTheme } from "../../ts-common/dom";
|
|
5
|
-
export { TreeGridCollection } from "./TreeGridCollection";
|
|
6
|
-
export { TreeGrid } from "./TreeGrid";
|
|
7
|
-
export declare const i18n: any;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { DataEvents, DragEvents, IDataEventsHandlersMap, IDragEventsHandlersMap, IDataItem } from "../../ts-data";
|
|
2
|
-
import { GridEvents, IEventHandlersMap, IGrid, IGridConfig } from "../../ts-grid";
|
|
3
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
4
|
-
import { Id } from "../../ts-common/types";
|
|
5
|
-
export interface ITreeGridConfig extends IGridConfig {
|
|
6
|
-
rootParent?: Id;
|
|
7
|
-
dragExpand?: boolean;
|
|
8
|
-
collapsed?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export interface ITreeGrid extends IGrid {
|
|
11
|
-
events: IEventSystem<DataEvents | GridEvents | DragEvents | TreeGridEvents, IEventHandlersMap & IDataEventsHandlersMap & IDragEventsHandlersMap & ITreeEventHandlersMap>;
|
|
12
|
-
scrollTo(rowId: Id, colId: Id): void;
|
|
13
|
-
expand(rowId: Id): void;
|
|
14
|
-
collapse(rowId: Id): void;
|
|
15
|
-
expandAll(): void;
|
|
16
|
-
collapseAll(): void;
|
|
17
|
-
groupBy(property: string | ((item: IDataItem) => string)): void;
|
|
18
|
-
ungroup(): void;
|
|
19
|
-
}
|
|
20
|
-
export declare enum TreeGridEvents {
|
|
21
|
-
beforeCollapse = "beforeCollapse",
|
|
22
|
-
afterCollapse = "afterCollapse",
|
|
23
|
-
beforeExpand = "beforeExpand",
|
|
24
|
-
afterExpand = "afterExpand"
|
|
25
|
-
}
|
|
26
|
-
export interface ITreeEventHandlersMap {
|
|
27
|
-
[key: string]: (...args: any[]) => any;
|
|
28
|
-
[TreeGridEvents.beforeCollapse]: (rowId: Id) => boolean | void;
|
|
29
|
-
[TreeGridEvents.afterCollapse]: (rowId: Id) => any;
|
|
30
|
-
[TreeGridEvents.beforeExpand]: (rowId: Id) => boolean | void;
|
|
31
|
-
[TreeGridEvents.afterExpand]: (rowId: Id) => any;
|
|
32
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
export declare const sizes: {
|
|
2
|
-
scrollTop: number;
|
|
3
|
-
scrollLeft: number;
|
|
4
|
-
scrollWidth: number;
|
|
5
|
-
offsetWidth: number;
|
|
6
|
-
clientWidth: number;
|
|
7
|
-
};
|
|
8
|
-
export declare const headers: {
|
|
9
|
-
header: ({
|
|
10
|
-
text: string;
|
|
11
|
-
colspan: number;
|
|
12
|
-
} | {
|
|
13
|
-
text: string;
|
|
14
|
-
colspan?: undefined;
|
|
15
|
-
})[];
|
|
16
|
-
width: number;
|
|
17
|
-
id: number;
|
|
18
|
-
}[];
|
|
19
|
-
export declare const stringHeaders: {
|
|
20
|
-
header: string;
|
|
21
|
-
width: number;
|
|
22
|
-
id: number;
|
|
23
|
-
}[];
|
|
24
|
-
export declare const dataAfterGroup: ({
|
|
25
|
-
id: string;
|
|
26
|
-
0: string;
|
|
27
|
-
1: any;
|
|
28
|
-
2: string;
|
|
29
|
-
3: string;
|
|
30
|
-
4: any;
|
|
31
|
-
5: any;
|
|
32
|
-
} | {
|
|
33
|
-
id: string;
|
|
34
|
-
0: any;
|
|
35
|
-
1: string;
|
|
36
|
-
2: string;
|
|
37
|
-
3: string;
|
|
38
|
-
4: any;
|
|
39
|
-
5: any;
|
|
40
|
-
} | {
|
|
41
|
-
id: string;
|
|
42
|
-
0: string;
|
|
43
|
-
1: any;
|
|
44
|
-
2: any;
|
|
45
|
-
3: any;
|
|
46
|
-
4: string;
|
|
47
|
-
5: string;
|
|
48
|
-
} | {
|
|
49
|
-
id: string;
|
|
50
|
-
0: any;
|
|
51
|
-
1: string;
|
|
52
|
-
2: any;
|
|
53
|
-
3: any;
|
|
54
|
-
4: string;
|
|
55
|
-
5: string;
|
|
56
|
-
})[];
|
|
57
|
-
export declare const treeData: ({
|
|
58
|
-
id: string;
|
|
59
|
-
a: number;
|
|
60
|
-
d: string;
|
|
61
|
-
parent?: undefined;
|
|
62
|
-
} | {
|
|
63
|
-
id: string;
|
|
64
|
-
a: string;
|
|
65
|
-
d: string;
|
|
66
|
-
parent: string;
|
|
67
|
-
})[];
|
|
68
|
-
export declare const config: {
|
|
69
|
-
totalWidth: number;
|
|
70
|
-
columns: {
|
|
71
|
-
header: ({
|
|
72
|
-
text: string;
|
|
73
|
-
colspan: number;
|
|
74
|
-
} | {
|
|
75
|
-
text: string;
|
|
76
|
-
colspan?: undefined;
|
|
77
|
-
})[];
|
|
78
|
-
width: number;
|
|
79
|
-
id: number;
|
|
80
|
-
}[];
|
|
81
|
-
headerLevel: number;
|
|
82
|
-
headerRowHeight: number;
|
|
83
|
-
span: any;
|
|
84
|
-
};
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../styles/ui-kit/index.scss";
|
|
File without changes
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { View } from "../../ts-common/view";
|
|
2
|
-
import { IProgressBarConfig, IVaultEventSystem } from "./types";
|
|
3
|
-
export declare class ProgressBar<T> extends View {
|
|
4
|
-
config: IProgressBarConfig<T>;
|
|
5
|
-
events: IVaultEventSystem;
|
|
6
|
-
private _progress;
|
|
7
|
-
private _progressText;
|
|
8
|
-
private _abortUpload;
|
|
9
|
-
constructor(events: IVaultEventSystem, config: IProgressBarConfig<T>);
|
|
10
|
-
setState(progress: number, extra: T): void;
|
|
11
|
-
private _draw;
|
|
12
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { DataCollection } from "../../ts-data";
|
|
2
|
-
import { IFileWrapper } from "./types";
|
|
3
|
-
export declare class ReadStackPreview {
|
|
4
|
-
private _data;
|
|
5
|
-
private _readerStack;
|
|
6
|
-
private _isActive;
|
|
7
|
-
constructor(data: DataCollection<IFileWrapper>);
|
|
8
|
-
add(fileWrapper: IFileWrapper, wait?: boolean): void;
|
|
9
|
-
read(): void;
|
|
10
|
-
stop(): void;
|
|
11
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Id } from "../../ts-common/types";
|
|
2
|
-
import { DataCollection } from "../../ts-data";
|
|
3
|
-
import { IFileWrapper, IParams, IUploader, IUploaderConfig, IVaultEventSystem } from "./types";
|
|
4
|
-
export declare class Uploader implements IUploader {
|
|
5
|
-
config: IUploaderConfig;
|
|
6
|
-
data: DataCollection<IFileWrapper>;
|
|
7
|
-
events: IVaultEventSystem;
|
|
8
|
-
isActive: boolean;
|
|
9
|
-
private _fileInput;
|
|
10
|
-
private _dropAreas;
|
|
11
|
-
private _uploadInfo;
|
|
12
|
-
constructor(config?: IUploaderConfig, data?: DataCollection<IFileWrapper>, events?: IVaultEventSystem);
|
|
13
|
-
selectFile(): void;
|
|
14
|
-
linkDropArea(element: HTMLElement | string): void;
|
|
15
|
-
unlinkDropArea(element?: HTMLElement | string): void;
|
|
16
|
-
parseFiles(dataTransfer: DataTransfer): void;
|
|
17
|
-
send(params?: IParams): void;
|
|
18
|
-
abort(id?: Id): void;
|
|
19
|
-
private _unlinkDropArea;
|
|
20
|
-
private _initEvents;
|
|
21
|
-
private _xhrSend;
|
|
22
|
-
private _parseAsWebkitEntry;
|
|
23
|
-
private _createFormData;
|
|
24
|
-
private _addFile;
|
|
25
|
-
private _traverseFileTree;
|
|
26
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { View } from "../../ts-common/view";
|
|
2
|
-
import { DataCollection } from "../../ts-data";
|
|
3
|
-
import { Toolbar } from "../../ts-toolbar";
|
|
4
|
-
import { IFileWrapper, IUploader, IVault, IVaultConfig, IVaultEventSystem } from "./types";
|
|
5
|
-
export declare class Vault extends View implements IVault {
|
|
6
|
-
config: IVaultConfig;
|
|
7
|
-
data: DataCollection<IFileWrapper>;
|
|
8
|
-
events: IVaultEventSystem;
|
|
9
|
-
uploader: IUploader;
|
|
10
|
-
toolbar: Toolbar;
|
|
11
|
-
private _layout;
|
|
12
|
-
private _handlers;
|
|
13
|
-
private _progressBar;
|
|
14
|
-
private _vaultView;
|
|
15
|
-
private _readStack;
|
|
16
|
-
private _canDrop;
|
|
17
|
-
private _scrollView;
|
|
18
|
-
constructor(container: HTMLElement | string, config?: IVaultConfig);
|
|
19
|
-
destructor(): void;
|
|
20
|
-
getRootView(): any;
|
|
21
|
-
private _initUI;
|
|
22
|
-
private _initHandlers;
|
|
23
|
-
private _getDragEvents;
|
|
24
|
-
private _hideUploadAndDeleteButtons;
|
|
25
|
-
private _showUploadAndDeleteButtons;
|
|
26
|
-
private _initEvents;
|
|
27
|
-
private _draw;
|
|
28
|
-
private _getFileActions;
|
|
29
|
-
private _drawList;
|
|
30
|
-
private _drawDropableArea;
|
|
31
|
-
private _drawGrid;
|
|
32
|
-
private _drawCircle;
|
|
33
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { IFileWrapper } from "./types";
|
|
2
|
-
export declare function getBasis(size?: number, current?: number): any;
|
|
3
|
-
export declare function truncateWord(word: string, len?: number): string;
|
|
4
|
-
export declare function calculateCover(image: any): {
|
|
5
|
-
sx: any;
|
|
6
|
-
sy: any;
|
|
7
|
-
sWidth: any;
|
|
8
|
-
sHeight: any;
|
|
9
|
-
dx: number;
|
|
10
|
-
dy: number;
|
|
11
|
-
};
|
|
12
|
-
export declare enum FileType {
|
|
13
|
-
image = "image",
|
|
14
|
-
video = "video",
|
|
15
|
-
archive = "archive",
|
|
16
|
-
table = "table",
|
|
17
|
-
document = "document",
|
|
18
|
-
presentation = "presentation",
|
|
19
|
-
application = "application",
|
|
20
|
-
web = "web",
|
|
21
|
-
apple = "apple",
|
|
22
|
-
pdf = "pdf",
|
|
23
|
-
psd = "psd",
|
|
24
|
-
audio = "audio",
|
|
25
|
-
other = "other",
|
|
26
|
-
text = "text"
|
|
27
|
-
}
|
|
28
|
-
export declare function getFileType(extension: any, mime: any): FileType;
|
|
29
|
-
export declare function getFileClassName(fileWrapper: IFileWrapper): string;
|
|
30
|
-
export declare function isImage(fileWrapper: any): boolean;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const locale: {
|
|
2
|
-
dragAndDrop: string;
|
|
3
|
-
or: string;
|
|
4
|
-
browse: string;
|
|
5
|
-
filesOrFoldersHere: string;
|
|
6
|
-
cancel: string;
|
|
7
|
-
clearAll: string;
|
|
8
|
-
clear: string;
|
|
9
|
-
add: string;
|
|
10
|
-
upload: string;
|
|
11
|
-
download: string;
|
|
12
|
-
error: string;
|
|
13
|
-
byte: string;
|
|
14
|
-
kilobyte: string;
|
|
15
|
-
megabyte: string;
|
|
16
|
-
gigabyte: string;
|
|
17
|
-
};
|
|
18
|
-
export default locale;
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
2
|
-
import { DataEvents, DataCollection, IDataItem, Statuses } from "../../ts-data";
|
|
3
|
-
export declare enum FileStatus {
|
|
4
|
-
queue = "queue",
|
|
5
|
-
uploaded = "uploaded",
|
|
6
|
-
failed = "failed",
|
|
7
|
-
inprogress = "inprogress"
|
|
8
|
-
}
|
|
9
|
-
export declare enum UploaderEvents {
|
|
10
|
-
uploadBegin = "uploadbegin",
|
|
11
|
-
beforeUploadFile = "beforeuploadfile",
|
|
12
|
-
uploadFile = "uploadfile",
|
|
13
|
-
uploadFail = "uploadfail",
|
|
14
|
-
uploadComplete = "uploadcomplete",
|
|
15
|
-
uploadProgress = "uploadprogress"
|
|
16
|
-
}
|
|
17
|
-
export declare enum ProgressBarEvents {
|
|
18
|
-
cancel = "cancel"
|
|
19
|
-
}
|
|
20
|
-
export type FileHandler = (file?: object, extra?: object) => boolean | void;
|
|
21
|
-
export interface IParams {
|
|
22
|
-
[key: string]: any;
|
|
23
|
-
}
|
|
24
|
-
export declare enum VaultMode {
|
|
25
|
-
grid = "grid",
|
|
26
|
-
list = "list"
|
|
27
|
-
}
|
|
28
|
-
export interface IVaultConfig {
|
|
29
|
-
mode?: VaultMode;
|
|
30
|
-
customScroll?: boolean;
|
|
31
|
-
toolbar?: boolean;
|
|
32
|
-
scaleFactor?: number;
|
|
33
|
-
uploader?: IUploaderConfig;
|
|
34
|
-
downloadURL?: string;
|
|
35
|
-
progressBar?: IProgressBarConfig<IVaultProgressData>;
|
|
36
|
-
data?: DataCollection<IFileWrapper>;
|
|
37
|
-
}
|
|
38
|
-
export interface IVault {
|
|
39
|
-
data: DataCollection<IFileWrapper>;
|
|
40
|
-
events: IEventSystem<DataEvents | UploaderEvents>;
|
|
41
|
-
uploader: IUploader;
|
|
42
|
-
paint(): void;
|
|
43
|
-
}
|
|
44
|
-
export interface IVaultProgressData {
|
|
45
|
-
total: number;
|
|
46
|
-
current: number;
|
|
47
|
-
}
|
|
48
|
-
export interface IProgressBarConfig<T> {
|
|
49
|
-
template?: (percent: number, extra: T) => string;
|
|
50
|
-
}
|
|
51
|
-
export interface IUploader {
|
|
52
|
-
config: IUploaderConfig;
|
|
53
|
-
data: DataCollection<IFileWrapper>;
|
|
54
|
-
events: IEventSystem<DataEvents | UploaderEvents>;
|
|
55
|
-
isActive: boolean;
|
|
56
|
-
selectFile(): void;
|
|
57
|
-
abort(id?: string): void;
|
|
58
|
-
linkDropArea(el: HTMLElement | string): void;
|
|
59
|
-
unlinkDropArea(el?: HTMLElement | string): void;
|
|
60
|
-
send(params?: IParams): void;
|
|
61
|
-
parseFiles(dataTransfer: DataTransfer): any;
|
|
62
|
-
}
|
|
63
|
-
export interface IUploaderConfig {
|
|
64
|
-
accept?: string;
|
|
65
|
-
autosend?: boolean;
|
|
66
|
-
target?: string;
|
|
67
|
-
params?: IParams;
|
|
68
|
-
headerParams?: IParams;
|
|
69
|
-
singleRequest?: boolean;
|
|
70
|
-
fieldName?: string;
|
|
71
|
-
updateFromResponse?: boolean;
|
|
72
|
-
}
|
|
73
|
-
export interface IFileWrapper extends IDataItem {
|
|
74
|
-
file: File;
|
|
75
|
-
status: FileStatus;
|
|
76
|
-
progress: number;
|
|
77
|
-
link?: string;
|
|
78
|
-
image?: HTMLImageElement;
|
|
79
|
-
request?: XMLHttpRequest;
|
|
80
|
-
path?: string;
|
|
81
|
-
name?: string;
|
|
82
|
-
size?: number;
|
|
83
|
-
preview?: string;
|
|
84
|
-
$toRemove?: boolean;
|
|
85
|
-
}
|
|
86
|
-
type BeforeReturnType = false | void;
|
|
87
|
-
interface IObjectWithAnyFields {
|
|
88
|
-
[key: string]: string;
|
|
89
|
-
}
|
|
90
|
-
export interface IEventHandlersMap {
|
|
91
|
-
[UploaderEvents.uploadBegin]: (files?: IFileWrapper[]) => void;
|
|
92
|
-
[UploaderEvents.beforeUploadFile]: (file: IFileWrapper) => BeforeReturnType;
|
|
93
|
-
[UploaderEvents.uploadFile]: (file: IFileWrapper, extra?: IObjectWithAnyFields) => void;
|
|
94
|
-
[UploaderEvents.uploadFail]: (file: IFileWrapper) => void;
|
|
95
|
-
[UploaderEvents.uploadComplete]: (files?: IFileWrapper[]) => void;
|
|
96
|
-
[UploaderEvents.uploadProgress]: (progress: number, current?: number, total?: number) => void;
|
|
97
|
-
[ProgressBarEvents.cancel]: () => void;
|
|
98
|
-
[DataEvents.beforeAdd]: (file: IFileWrapper) => BeforeReturnType;
|
|
99
|
-
[DataEvents.beforeRemove]: (file: IFileWrapper) => BeforeReturnType;
|
|
100
|
-
[DataEvents.afterAdd]: (file: IFileWrapper) => void;
|
|
101
|
-
[DataEvents.afterRemove]: (file: IFileWrapper) => void;
|
|
102
|
-
[DataEvents.removeAll]: () => void;
|
|
103
|
-
[DataEvents.change]: (id?: string, status?: Statuses, file?: IFileWrapper) => void;
|
|
104
|
-
[DataEvents.load]: () => void;
|
|
105
|
-
}
|
|
106
|
-
export type IVaultEventSystem = IEventSystem<DataEvents | UploaderEvents | ProgressBarEvents>;
|
|
107
|
-
export {};
|