dhx-chart 8.2.3 → 8.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/codebase/chart.d.ts +1 -1
- package/codebase/chart.min.css +1 -1
- package/codebase/chart.min.js +3 -3
- package/codebase/types/ts-all/sources/entry.d.ts +27 -0
- package/codebase/types/ts-all/sources/entry_pro.d.ts +17 -0
- package/codebase/types/ts-calendar/sources/entry.d.ts +7 -0
- package/codebase/types/ts-calendar/sources/types.d.ts +2 -2
- package/codebase/types/ts-calendar/tests/calendar/calendar.d.ts +1 -0
- package/codebase/types/ts-calendar/tests/suite.d.ts +1 -0
- package/codebase/types/ts-chart/index.d.ts +3 -0
- package/codebase/types/ts-chart/sources/ProChart.d.ts +7 -0
- package/codebase/types/ts-chart/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-chart/sources/helpers/circle.d.ts +2 -2
- package/codebase/types/ts-chart/sources/helpers/common.d.ts +1 -1
- package/codebase/types/ts-chart/sources/scales/SvgScales.d.ts +1 -1
- package/codebase/types/ts-chart/sources/shapes/line.d.ts +1 -1
- package/codebase/types/ts-chart/sources/types.d.ts +20 -20
- package/codebase/types/ts-chart/tests/Chart.d.ts +1 -0
- package/codebase/types/ts-chart/tests/suite.d.ts +1 -0
- package/codebase/types/ts-colorpicker/index.d.ts +5 -0
- package/codebase/types/ts-colorpicker/sources/Colorpicker.d.ts +40 -0
- package/codebase/types/ts-colorpicker/sources/colors.d.ts +2 -0
- package/codebase/types/ts-colorpicker/sources/entry.d.ts +4 -0
- package/codebase/types/ts-colorpicker/sources/helpers/calculations.d.ts +8 -0
- package/codebase/types/ts-colorpicker/sources/helpers/color.d.ts +16 -0
- package/codebase/types/ts-colorpicker/sources/locales/en.d.ts +8 -0
- package/codebase/types/ts-colorpicker/sources/picker.d.ts +4 -0
- package/codebase/types/ts-colorpicker/sources/types.d.ts +66 -0
- package/codebase/types/ts-colorpicker/tests/suite.d.ts +0 -0
- package/codebase/types/ts-combobox/sources/entry.d.ts +4 -0
- package/codebase/types/ts-combobox/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-combobox/sources/types.d.ts +2 -2
- package/codebase/types/ts-combobox/tests/suite.d.ts +0 -0
- package/codebase/types/ts-common/CssManager.d.ts +26 -0
- package/codebase/types/ts-common/core.d.ts +2 -2
- package/codebase/types/ts-common/dom.d.ts +2 -2
- package/codebase/types/ts-common/events.d.ts +2 -2
- package/codebase/types/ts-common/html.d.ts +4 -4
- package/codebase/types/ts-common/tests/core.d.ts +1 -0
- package/codebase/types/ts-common/tests/events.d.ts +1 -0
- package/codebase/types/ts-common/tests/html.d.ts +1 -0
- package/codebase/types/ts-common/tests/suite.d.ts +3 -0
- package/codebase/types/ts-common/types.d.ts +8 -8
- package/codebase/types/ts-data/sources/dataproxy.d.ts +1 -1
- package/codebase/types/ts-data/sources/entry.d.ts +5 -0
- package/codebase/types/ts-data/sources/types.d.ts +14 -14
- package/codebase/types/ts-data/tests/ajax.d.ts +1 -0
- package/codebase/types/ts-data/tests/drivers.d.ts +1 -0
- package/codebase/types/ts-data/tests/filter.d.ts +1 -0
- package/codebase/types/ts-data/tests/main.d.ts +1 -0
- package/codebase/types/ts-data/tests/move.d.ts +1 -0
- package/codebase/types/ts-data/tests/sort.d.ts +1 -0
- package/codebase/types/ts-data/tests/suite.d.ts +7 -0
- package/codebase/types/ts-data/tests/treecollection.d.ts +1 -0
- package/codebase/types/ts-dataview/index.d.ts +3 -0
- package/codebase/types/ts-dataview/sources/DataView.d.ts +41 -0
- package/codebase/types/ts-dataview/sources/ProDataView.d.ts +11 -0
- package/codebase/types/ts-dataview/sources/editors/InputEditor.d.ts +16 -0
- package/codebase/types/ts-dataview/sources/editors/editors.d.ts +4 -0
- package/codebase/types/ts-dataview/sources/entry.d.ts +3 -0
- package/codebase/types/ts-dataview/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-dataview/sources/types.d.ts +62 -0
- package/codebase/types/ts-dataview/tests/selections/Selections.d.ts +1 -0
- package/codebase/types/ts-dataview/tests/selections/stubs.d.ts +3 -0
- package/codebase/types/ts-dataview/tests/suite.d.ts +1 -0
- package/codebase/types/ts-diagram/index.d.ts +5 -0
- package/codebase/types/ts-diagram/sources/Diagram.d.ts +32 -0
- package/codebase/types/ts-diagram/sources/ShapesCollection.d.ts +16 -0
- package/codebase/types/ts-diagram/sources/Toolbar.d.ts +16 -0
- package/codebase/types/ts-diagram/sources/entry.d.ts +4 -0
- package/codebase/types/ts-diagram/sources/helpers/Export.d.ts +10 -0
- package/codebase/types/ts-diagram/sources/helpers/Selection.d.ts +14 -0
- package/codebase/types/ts-diagram/sources/helpers/linkPaths.d.ts +8 -0
- package/codebase/types/ts-diagram/sources/helpers/placement.d.ts +6 -0
- package/codebase/types/ts-diagram/sources/locales/en.d.ts +9 -0
- package/codebase/types/ts-diagram/sources/shapes/Base.d.ts +31 -0
- package/codebase/types/ts-diagram/sources/shapes/Connector/Line.d.ts +21 -0
- package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramCard.d.ts +13 -0
- package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramImgCard.d.ts +12 -0
- package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramSvgCard.d.ts +12 -0
- package/codebase/types/ts-diagram/sources/shapes/Diagram/templates.d.ts +4 -0
- package/codebase/types/ts-diagram/sources/shapes/FlowShape.d.ts +90 -0
- package/codebase/types/ts-diagram/sources/shapes/TextShape.d.ts +19 -0
- package/codebase/types/ts-diagram/sources/shapes/factory.d.ts +7 -0
- package/codebase/types/ts-diagram/sources/types.d.ts +161 -0
- package/codebase/types/ts-diagram/tests/stubs.d.ts +25 -0
- package/codebase/types/ts-diagram/tests/suite.d.ts +0 -0
- package/codebase/types/ts-form/index.d.ts +3 -0
- package/codebase/types/ts-form/sources/Form.d.ts +55 -0
- package/codebase/types/ts-form/sources/ProForm.d.ts +7 -0
- package/codebase/types/ts-form/sources/elements/ToggleButton.d.ts +77 -0
- package/codebase/types/ts-form/sources/elements/ToggleGroup.d.ts +95 -0
- package/codebase/types/ts-form/sources/elements/avatar.d.ts +119 -0
- package/codebase/types/ts-form/sources/elements/button.d.ts +70 -0
- package/codebase/types/ts-form/sources/elements/checkbox.d.ts +84 -0
- package/codebase/types/ts-form/sources/elements/checkboxGroup.d.ts +103 -0
- package/codebase/types/ts-form/sources/elements/colorpicker.d.ts +101 -0
- package/codebase/types/ts-form/sources/elements/combo.d.ts +101 -0
- package/codebase/types/ts-form/sources/elements/container.d.ts +52 -0
- package/codebase/types/ts-form/sources/elements/dateinput.d.ts +107 -0
- package/codebase/types/ts-form/sources/elements/fieldset.d.ts +64 -0
- package/codebase/types/ts-form/sources/elements/helper/label.d.ts +18 -0
- package/codebase/types/ts-form/sources/elements/input.d.ts +106 -0
- package/codebase/types/ts-form/sources/elements/proCombo.d.ts +5 -0
- package/codebase/types/ts-form/sources/elements/radioGroup.d.ts +99 -0
- package/codebase/types/ts-form/sources/elements/radiobutton.d.ts +41 -0
- package/codebase/types/ts-form/sources/elements/select.d.ts +94 -0
- package/codebase/types/ts-form/sources/elements/simplevault.d.ts +124 -0
- package/codebase/types/ts-form/sources/elements/sliderform.d.ts +84 -0
- package/codebase/types/ts-form/sources/elements/spacer.d.ts +40 -0
- package/codebase/types/ts-form/sources/elements/textarea.d.ts +69 -0
- package/codebase/types/ts-form/sources/elements/textinput.d.ts +39 -0
- package/codebase/types/ts-form/sources/elements/timeinput.d.ts +102 -0
- package/codebase/types/ts-form/sources/entry.d.ts +5 -0
- package/codebase/types/ts-form/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-form/sources/helper.d.ts +12 -0
- package/codebase/types/ts-form/sources/locales/en.d.ts +5 -0
- package/codebase/types/ts-form/sources/types.d.ts +180 -0
- package/codebase/types/ts-form/tests/elements/button.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/checkbox.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/colorpicker.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/combo.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/container.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/datepicker.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/input.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/radiogroup.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/select.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/simplevault.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/slider.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/textarea.d.ts +1 -0
- package/codebase/types/ts-form/tests/elements/timepicker.d.ts +1 -0
- package/codebase/types/ts-form/tests/form.d.ts +1 -0
- package/codebase/types/ts-form/tests/stubs/stubs.d.ts +4 -0
- package/codebase/types/ts-form/tests/stubs/stubsCheckbox.d.ts +3 -0
- package/codebase/types/ts-form/tests/stubs/stubsColorpicker.d.ts +3 -0
- package/codebase/types/ts-form/tests/stubs/stubsCombo.d.ts +4 -0
- package/codebase/types/ts-form/tests/stubs/stubsDatepicker.d.ts +3 -0
- package/codebase/types/ts-form/tests/stubs/stubsInput.d.ts +3 -0
- package/codebase/types/ts-form/tests/stubs/stubsRadiogroup.d.ts +3 -0
- package/codebase/types/ts-form/tests/stubs/stubsSelect.d.ts +3 -0
- package/codebase/types/ts-form/tests/stubs/stubsSlider.d.ts +4 -0
- package/codebase/types/ts-form/tests/stubs/stubsTimepicker.d.ts +4 -0
- package/codebase/types/ts-form/tests/suite.d.ts +14 -0
- package/codebase/types/ts-grid/sources/Grid.d.ts +1 -1
- package/codebase/types/ts-grid/sources/entry.d.ts +7 -0
- package/codebase/types/ts-grid/sources/entry_pro.d.ts +3 -0
- package/codebase/types/ts-grid/sources/helpers/data.d.ts +2 -2
- package/codebase/types/ts-grid/sources/types.d.ts +15 -14
- package/codebase/types/ts-grid/sources/ui/Cells.d.ts +3 -3
- package/codebase/types/ts-grid/sources/ui/content/ComboFilter.d.ts +1 -0
- package/codebase/types/ts-grid/sources/ui/editors/DateEditor.d.ts +1 -1
- package/codebase/types/ts-grid/tests/Grid.d.ts +1 -0
- package/codebase/types/ts-grid/tests/TreeGrid.d.ts +1 -0
- package/codebase/types/ts-grid/tests/stubs.d.ts +84 -0
- package/codebase/types/ts-grid/tests/suite.d.ts +2 -0
- package/codebase/types/ts-helpers/entry.d.ts +0 -0
- package/codebase/types/ts-layout/sources/entry.d.ts +2 -0
- package/codebase/types/ts-layout/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-layout/sources/types.d.ts +3 -3
- package/codebase/types/ts-layout/tests/Layout.d.ts +1 -0
- package/codebase/types/ts-layout/tests/suite.d.ts +1 -0
- package/codebase/types/ts-list/sources/List.d.ts +1 -0
- package/codebase/types/ts-list/sources/entry.d.ts +3 -0
- package/codebase/types/ts-list/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-list/sources/helpers.d.ts +2 -0
- package/codebase/types/ts-list/sources/types.d.ts +1 -1
- package/codebase/types/ts-list/tests/selections/Selections.d.ts +1 -0
- package/codebase/types/ts-list/tests/selections/stubs.d.ts +3 -0
- package/codebase/types/ts-list/tests/suite.d.ts +1 -0
- package/codebase/types/ts-menu/index.d.ts +2 -0
- package/codebase/types/ts-menu/sources/ContextMenu.d.ts +11 -0
- package/codebase/types/ts-menu/sources/Menu.d.ts +6 -0
- package/codebase/types/ts-menu/sources/entry.d.ts +4 -0
- package/codebase/types/ts-menu/tests/suite.d.ts +0 -0
- package/codebase/types/ts-message/sources/entry.d.ts +6 -0
- package/codebase/types/ts-message/sources/tooltip.d.ts +1 -1
- package/codebase/types/ts-message/tests/suite.d.ts +0 -0
- package/codebase/types/ts-navbar/index.d.ts +3 -0
- package/codebase/types/ts-navbar/sources/Navbar.d.ts +62 -0
- package/codebase/types/ts-navbar/sources/elements/button.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/elements/customHTMLButton.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/elements/datePicker.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/elements/helpers.d.ts +17 -0
- package/codebase/types/ts-navbar/sources/elements/imageButton.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/elements/input.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/elements/menuItem.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/elements/navItem.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/elements/separator.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/elements/spacer.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/elements/title.d.ts +1 -0
- package/codebase/types/ts-navbar/sources/itemfactory.d.ts +10 -0
- package/codebase/types/ts-navbar/sources/types.d.ts +206 -0
- package/codebase/types/ts-navbar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-optimus/index.d.ts +2 -0
- package/codebase/types/ts-optimus/sources/DHXApp.d.ts +12 -0
- package/codebase/types/ts-optimus/sources/DHXView.d.ts +11 -0
- package/codebase/types/ts-optimus/sources/EventSystem.d.ts +9 -0
- package/codebase/types/ts-optimus/sources/HTMLCell.d.ts +8 -0
- package/codebase/types/ts-optimus/sources/LocalSession.d.ts +5 -0
- package/codebase/types/ts-optimus/sources/types.d.ts +36 -0
- package/codebase/types/ts-pagination/index.d.ts +2 -0
- package/codebase/types/ts-pagination/sources/Pagination.d.ts +26 -0
- package/codebase/types/ts-pagination/sources/entry.d.ts +3 -0
- package/codebase/types/ts-pagination/sources/types.d.ts +27 -0
- package/codebase/types/ts-pagination/tests/suite.d.ts +0 -0
- package/codebase/types/ts-pivot/index.d.ts +1 -0
- package/codebase/types/ts-pivot/sources/DataPreprocessor.d.ts +29 -0
- package/codebase/types/ts-pivot/sources/DateFormatter.d.ts +29 -0
- package/codebase/types/ts-pivot/sources/Pivot.d.ts +52 -0
- package/codebase/types/ts-pivot/sources/configurator/Configurator.d.ts +40 -0
- package/codebase/types/ts-pivot/sources/entry.d.ts +9 -0
- package/codebase/types/ts-pivot/sources/filters/DateFilter.d.ts +17 -0
- package/codebase/types/ts-pivot/sources/filters/Filter.d.ts +72 -0
- package/codebase/types/ts-pivot/sources/filters/Filters.d.ts +13 -0
- package/codebase/types/ts-pivot/sources/filters/helpers.d.ts +2 -0
- package/codebase/types/ts-pivot/sources/group-module/DataGroup.d.ts +13 -0
- package/codebase/types/ts-pivot/sources/group-module/groupfuncs.d.ts +10 -0
- package/codebase/types/ts-pivot/sources/group-module/types.d.ts +19 -0
- package/codebase/types/ts-pivot/sources/helpers.d.ts +28 -0
- package/codebase/types/ts-pivot/sources/locales/en.d.ts +38 -0
- package/codebase/types/ts-pivot/sources/templates.d.ts +4 -0
- package/codebase/types/ts-pivot/sources/types.d.ts +180 -0
- package/codebase/types/ts-pivot/tests/DataPreprocessor.d.ts +1 -0
- package/codebase/types/ts-pivot/tests/Pivot.d.ts +1 -0
- package/codebase/types/ts-pivot/tests/config-module/Config.d.ts +1 -0
- package/codebase/types/ts-pivot/tests/config-module/stubs.d.ts +80 -0
- package/codebase/types/ts-pivot/tests/filter-module/Filter.d.ts +1 -0
- package/codebase/types/ts-pivot/tests/group-module/DataGroup.d.ts +1 -0
- package/codebase/types/ts-pivot/tests/group-module/groupfuncs.d.ts +1 -0
- package/codebase/types/ts-pivot/tests/group-module/stubs.d.ts +54 -0
- package/codebase/types/ts-pivot/tests/stubs.d.ts +107 -0
- package/codebase/types/ts-pivot/tests/suite.d.ts +6 -0
- package/codebase/types/ts-popup/sources/entry.d.ts +2 -0
- package/codebase/types/ts-popup/tests/suite.d.ts +0 -0
- package/codebase/types/ts-property/index.d.ts +2 -0
- package/codebase/types/ts-property/sources/Property.d.ts +16 -0
- package/codebase/types/ts-property/sources/entry.d.ts +2 -0
- package/codebase/types/ts-property/sources/items/BaseItem.d.ts +16 -0
- package/codebase/types/ts-property/sources/items/Checkbox.d.ts +7 -0
- package/codebase/types/ts-property/sources/items/Colorpicker.d.ts +10 -0
- package/codebase/types/ts-property/sources/items/Combo.d.ts +9 -0
- package/codebase/types/ts-property/sources/items/Label.d.ts +4 -0
- package/codebase/types/ts-property/sources/items/Select.d.ts +5 -0
- package/codebase/types/ts-property/sources/items/Text.d.ts +4 -0
- package/codebase/types/ts-property/sources/items/Textarea.d.ts +4 -0
- package/codebase/types/ts-property/sources/items/helpers.d.ts +2 -0
- package/codebase/types/ts-property/sources/items/index.d.ts +19 -0
- package/codebase/types/ts-property/sources/types.d.ts +47 -0
- package/codebase/types/ts-property/tests/suite.d.ts +0 -0
- package/codebase/types/ts-ribbon/index.d.ts +2 -0
- package/codebase/types/ts-ribbon/sources/ProRibbon.d.ts +10 -0
- package/codebase/types/ts-ribbon/sources/Ribbon.d.ts +43 -0
- package/codebase/types/ts-ribbon/sources/entry.d.ts +3 -0
- package/codebase/types/ts-ribbon/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-ribbon/tests/suite.d.ts +0 -0
- package/codebase/types/ts-richtext/index.d.ts +1 -0
- package/codebase/types/ts-richtext/sources/Manager.d.ts +16 -0
- package/codebase/types/ts-richtext/sources/Richtext.d.ts +36 -0
- package/codebase/types/ts-richtext/sources/SelectionHelper.d.ts +30 -0
- package/codebase/types/ts-richtext/sources/constants.d.ts +44 -0
- package/codebase/types/ts-richtext/sources/entry.d.ts +3 -0
- package/codebase/types/ts-richtext/sources/helpers/buffer.d.ts +10 -0
- package/codebase/types/ts-richtext/sources/helpers/composition.d.ts +2 -0
- package/codebase/types/ts-richtext/sources/helpers/link.d.ts +40 -0
- package/codebase/types/ts-richtext/sources/helpers/markdown.d.ts +2 -0
- package/codebase/types/ts-richtext/sources/helpers/minimizer.d.ts +19 -0
- package/codebase/types/ts-richtext/sources/helpers/other.d.ts +13 -0
- package/codebase/types/ts-richtext/sources/helpers/parser.d.ts +1 -0
- package/codebase/types/ts-richtext/sources/helpers/scroll.d.ts +10 -0
- package/codebase/types/ts-richtext/sources/helpers/selection.d.ts +10 -0
- package/codebase/types/ts-richtext/sources/helpers/serializer.d.ts +2 -0
- package/codebase/types/ts-richtext/sources/helpers/statistics.d.ts +7 -0
- package/codebase/types/ts-richtext/sources/helpers/styles.d.ts +10 -0
- package/codebase/types/ts-richtext/sources/helpers/toolbar.d.ts +21 -0
- package/codebase/types/ts-richtext/sources/keyhandler.d.ts +26 -0
- package/codebase/types/ts-richtext/sources/locales/en.d.ts +35 -0
- package/codebase/types/ts-richtext/sources/models/Block.d.ts +27 -0
- package/codebase/types/ts-richtext/sources/models/Editor.d.ts +61 -0
- package/codebase/types/ts-richtext/sources/models/TextNode.d.ts +16 -0
- package/codebase/types/ts-richtext/sources/types.d.ts +143 -0
- package/codebase/types/ts-richtext/tests/block.d.ts +1 -0
- package/codebase/types/ts-richtext/tests/editor.d.ts +1 -0
- package/codebase/types/ts-richtext/tests/suite.d.ts +3 -0
- package/codebase/types/ts-richtext/tests/textnode.d.ts +1 -0
- package/codebase/types/ts-samplegen/index.d.ts +1 -0
- package/codebase/types/ts-samplegen/sources/SampleGenerator.d.ts +20 -0
- package/codebase/types/ts-samplegen/sources/entry.d.ts +2 -0
- package/codebase/types/ts-samplegen/tests/suite.d.ts +0 -0
- package/codebase/types/ts-scheduler/index.d.ts +1 -0
- package/codebase/types/ts-scheduler/sources/Scheduler.d.ts +18 -0
- package/codebase/types/ts-scheduler/sources/entry.d.ts +2 -0
- package/codebase/types/ts-scheduler/sources/helpers/scales.d.ts +1 -0
- package/codebase/types/ts-scheduler/sources/helpers/topbar.d.ts +1 -0
- package/codebase/types/ts-scheduler/sources/views/Agenda.d.ts +6 -0
- package/codebase/types/ts-scheduler/sources/views/Base.d.ts +3 -0
- package/codebase/types/ts-scheduler/sources/views/Cols.d.ts +8 -0
- package/codebase/types/ts-scheduler/sources/views/Day.d.ts +4 -0
- package/codebase/types/ts-scheduler/sources/views/Month.d.ts +8 -0
- package/codebase/types/ts-scheduler/sources/views/Week.d.ts +4 -0
- package/codebase/types/ts-scheduler/sources/views/index.d.ts +11 -0
- package/codebase/types/ts-scheduler/tests/suite.d.ts +0 -0
- package/codebase/types/ts-sidebar/index.d.ts +3 -0
- package/codebase/types/ts-sidebar/sources/ProSidebar.d.ts +8 -0
- package/codebase/types/ts-sidebar/sources/Sidebar.d.ts +24 -0
- package/codebase/types/ts-sidebar/sources/entry.d.ts +3 -0
- package/codebase/types/ts-sidebar/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-sidebar/sources/types.d.ts +40 -0
- package/codebase/types/ts-sidebar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-slider/sources/entry.d.ts +2 -0
- package/codebase/types/ts-slider/sources/types.d.ts +3 -3
- package/codebase/types/ts-slider/tests/suite.d.ts +0 -0
- package/codebase/types/ts-tabbar/index.d.ts +2 -0
- package/codebase/types/ts-tabbar/sources/Tabbar.d.ts +38 -0
- package/codebase/types/ts-tabbar/sources/entry.d.ts +2 -0
- package/codebase/types/ts-tabbar/sources/types.d.ts +64 -0
- package/codebase/types/ts-tabbar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-theme/entry.d.ts +0 -0
- package/codebase/types/ts-timepicker/sources/entry.d.ts +3 -0
- package/codebase/types/ts-timepicker/tests/suite.d.ts +0 -0
- package/codebase/types/ts-toolbar/index.d.ts +2 -0
- package/codebase/types/ts-toolbar/sources/ProToolbar.d.ts +10 -0
- package/codebase/types/ts-toolbar/sources/Toolbar.d.ts +32 -0
- package/codebase/types/ts-toolbar/sources/entry.d.ts +4 -0
- package/codebase/types/ts-toolbar/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-toolbar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-tree/index.d.ts +3 -0
- package/codebase/types/ts-tree/sources/Editor.d.ts +42 -0
- package/codebase/types/ts-tree/sources/Tree.d.ts +58 -0
- package/codebase/types/ts-tree/sources/entry.d.ts +6 -0
- package/codebase/types/ts-tree/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-tree/sources/types.d.ts +119 -0
- package/codebase/types/ts-tree/tests/suite.d.ts +0 -0
- package/codebase/types/ts-treegrid/index.d.ts +3 -0
- package/codebase/types/ts-treegrid/sources/TreeGrid.d.ts +30 -0
- package/codebase/types/ts-treegrid/sources/TreeGridCollection.d.ts +20 -0
- package/codebase/types/ts-treegrid/sources/entry.d.ts +7 -0
- package/codebase/types/ts-treegrid/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-treegrid/sources/types.d.ts +32 -0
- package/codebase/types/ts-treegrid/tests/Grid.d.ts +1 -0
- package/codebase/types/ts-treegrid/tests/TreeGrid.d.ts +1 -0
- package/codebase/types/ts-treegrid/tests/stubs.d.ts +84 -0
- package/codebase/types/ts-treegrid/tests/suite.d.ts +2 -0
- package/codebase/types/ts-ui-kit/index.d.ts +0 -0
- package/codebase/types/ts-ui-kit/sources/entry.d.ts +1 -0
- package/codebase/types/ts-ui-kit/tests/suite.d.ts +0 -0
- package/codebase/types/ts-vault/index.d.ts +3 -0
- package/codebase/types/ts-vault/sources/ProgressBar.d.ts +12 -0
- package/codebase/types/ts-vault/sources/ReadStackPreview.d.ts +11 -0
- package/codebase/types/ts-vault/sources/Uploader.d.ts +26 -0
- package/codebase/types/ts-vault/sources/Vault.d.ts +33 -0
- package/codebase/types/ts-vault/sources/configs.d.ts +14 -0
- package/codebase/types/ts-vault/sources/entry.d.ts +6 -0
- package/codebase/types/ts-vault/sources/helper.d.ts +30 -0
- package/codebase/types/ts-vault/sources/locales/en.d.ts +18 -0
- package/codebase/types/ts-vault/sources/types.d.ts +107 -0
- package/codebase/types/ts-vault/tests/suite.d.ts +0 -0
- package/codebase/types/ts-window/index.d.ts +2 -0
- package/codebase/types/ts-window/sources/ProWindow.d.ts +11 -0
- package/codebase/types/ts-window/sources/Window.d.ts +55 -0
- package/codebase/types/ts-window/sources/WindowController.d.ts +10 -0
- package/codebase/types/ts-window/sources/entry.d.ts +2 -0
- package/codebase/types/ts-window/sources/entry_pro.d.ts +2 -0
- package/codebase/types/ts-window/sources/helpers.d.ts +1 -0
- package/codebase/types/ts-window/sources/types.d.ts +82 -0
- package/codebase/types/ts-window/tests/suite.d.ts +0 -0
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +6 -0
|
@@ -0,0 +1,84 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../styles/ui-kit/index.scss";
|
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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;
|
|
@@ -0,0 +1,18 @@
|
|
|
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;
|
|
@@ -0,0 +1,107 @@
|
|
|
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 {};
|
|
File without changes
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Window } from "./Window";
|
|
2
|
+
import { ProLayout } from "../../ts-layout";
|
|
3
|
+
import { IWindowConfig, IDirectionConfig } from "./types";
|
|
4
|
+
import { ScrollView } from "../../ts-common/ScrollView";
|
|
5
|
+
export declare class ProWindow extends Window {
|
|
6
|
+
protected _layout: ProLayout;
|
|
7
|
+
scrollView: ScrollView;
|
|
8
|
+
constructor(config: IWindowConfig);
|
|
9
|
+
protected _startResize(resizeConfig: IDirectionConfig): void;
|
|
10
|
+
protected _initUI(): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { EventSystem } from "../../ts-common/events";
|
|
2
|
+
import { IHandlers } from "../../ts-common/types";
|
|
3
|
+
import { Layout } from "../../ts-layout";
|
|
4
|
+
import { Toolbar } from "../../ts-toolbar";
|
|
5
|
+
import { IDirectionConfig, IWindowConfig, WindowEvents, IWindow, ISize, IPosition, IWindowEventHandlersMap } from "./types";
|
|
6
|
+
export declare class Window implements IWindow {
|
|
7
|
+
config: IWindowConfig;
|
|
8
|
+
events: EventSystem<WindowEvents, IWindowEventHandlersMap>;
|
|
9
|
+
header: Toolbar;
|
|
10
|
+
footer: Toolbar;
|
|
11
|
+
protected _layout: Layout;
|
|
12
|
+
protected _handlers: IHandlers;
|
|
13
|
+
protected _popup: HTMLElement;
|
|
14
|
+
protected _uid: string;
|
|
15
|
+
private _isActive;
|
|
16
|
+
private _blocker;
|
|
17
|
+
private _keyManager;
|
|
18
|
+
private _fullScreen;
|
|
19
|
+
private _oldSizes;
|
|
20
|
+
private _oldPosition;
|
|
21
|
+
constructor(config: IWindowConfig);
|
|
22
|
+
paint(): void;
|
|
23
|
+
isFullScreen(): boolean;
|
|
24
|
+
setFullScreen(): void;
|
|
25
|
+
unsetFullScreen(): void;
|
|
26
|
+
setSize(width: number, height: number): void;
|
|
27
|
+
getSize(): ISize;
|
|
28
|
+
setPosition(left: number, top: number): void;
|
|
29
|
+
getPosition(): IPosition;
|
|
30
|
+
show(left?: number, top?: number): void;
|
|
31
|
+
hide(): void;
|
|
32
|
+
protected _hide(e?: Event): void;
|
|
33
|
+
isVisible(): boolean;
|
|
34
|
+
getWidget(): any;
|
|
35
|
+
getContainer(): HTMLElement;
|
|
36
|
+
attach(name: any, config?: any): void;
|
|
37
|
+
attachHTML(html: string): void;
|
|
38
|
+
getRootView(): any;
|
|
39
|
+
destructor(): void;
|
|
40
|
+
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
41
|
+
fullScreen(): void;
|
|
42
|
+
protected _initHandlers(): void;
|
|
43
|
+
protected _initUI(): void;
|
|
44
|
+
protected _drawResizers(): any;
|
|
45
|
+
private _startDrag;
|
|
46
|
+
protected _startResize(resizeConfig: IDirectionConfig): void;
|
|
47
|
+
private _blockScreen;
|
|
48
|
+
protected _notInNode(): boolean;
|
|
49
|
+
protected _getContainerParams(): {
|
|
50
|
+
containerInnerWidth: any;
|
|
51
|
+
containerInnerHeight: any;
|
|
52
|
+
containerXOffset: any;
|
|
53
|
+
containerYOffset: any;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
popups: {};
|
|
3
|
+
lastActive: any;
|
|
4
|
+
freeCount: number;
|
|
5
|
+
add(id: string, popup: any): void;
|
|
6
|
+
setActive(id: string): void;
|
|
7
|
+
openFreeWindow(node: HTMLElement): void;
|
|
8
|
+
closeFreeWindow(node: HTMLElement): void;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function detectDrag(e: MouseEvent): Promise<any>;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { IViewFn, IViewConstructor } from "../../ts-layout";
|
|
2
|
+
import { IView } from "../../ts-common/view";
|
|
3
|
+
import { Toolbar } from "../../ts-toolbar";
|
|
4
|
+
import { EventSystem } from "../../ts-common/events";
|
|
5
|
+
export interface IWindowConfig {
|
|
6
|
+
css?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
html?: string;
|
|
9
|
+
minWidth?: number;
|
|
10
|
+
minHeight?: number;
|
|
11
|
+
left?: number;
|
|
12
|
+
top?: number;
|
|
13
|
+
width?: number;
|
|
14
|
+
height?: number;
|
|
15
|
+
footer?: boolean;
|
|
16
|
+
header?: boolean;
|
|
17
|
+
viewportOverflow?: boolean;
|
|
18
|
+
resizable?: boolean;
|
|
19
|
+
movable?: boolean;
|
|
20
|
+
modal?: boolean;
|
|
21
|
+
closable?: boolean;
|
|
22
|
+
node?: any;
|
|
23
|
+
}
|
|
24
|
+
export interface IPosition {
|
|
25
|
+
left: number;
|
|
26
|
+
top: number;
|
|
27
|
+
}
|
|
28
|
+
export interface ISize {
|
|
29
|
+
width: number;
|
|
30
|
+
height: number;
|
|
31
|
+
}
|
|
32
|
+
export interface IState extends ISize, IPosition {
|
|
33
|
+
}
|
|
34
|
+
export interface IWindow {
|
|
35
|
+
config: IWindowConfig;
|
|
36
|
+
events: EventSystem<WindowEvents, IWindowEventHandlersMap>;
|
|
37
|
+
header: Toolbar;
|
|
38
|
+
footer: Toolbar;
|
|
39
|
+
setSize(width: number, height: number): void;
|
|
40
|
+
getSize(): ISize;
|
|
41
|
+
setPosition(left: number, top: number): void;
|
|
42
|
+
getPosition(): IPosition;
|
|
43
|
+
getWidget(): any;
|
|
44
|
+
getContainer(): HTMLElement;
|
|
45
|
+
show(left?: number, top?: number): void;
|
|
46
|
+
hide(): void;
|
|
47
|
+
isVisible(): boolean;
|
|
48
|
+
attach(name: string | IViewFn | IView | IViewConstructor | any, config?: any): void;
|
|
49
|
+
attachHTML(html: string): void;
|
|
50
|
+
destructor(): void;
|
|
51
|
+
paint(): void;
|
|
52
|
+
isFullScreen(): boolean;
|
|
53
|
+
setFullScreen(): void;
|
|
54
|
+
unsetFullScreen(): void;
|
|
55
|
+
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
56
|
+
fullScreen(): void;
|
|
57
|
+
}
|
|
58
|
+
export interface IDirectionConfig {
|
|
59
|
+
left?: boolean;
|
|
60
|
+
right?: boolean;
|
|
61
|
+
top?: boolean;
|
|
62
|
+
bottom?: boolean;
|
|
63
|
+
}
|
|
64
|
+
export declare enum WindowEvents {
|
|
65
|
+
resize = "resize",
|
|
66
|
+
headerDoubleClick = "headerdoubleclick",
|
|
67
|
+
move = "move",
|
|
68
|
+
afterShow = "aftershow",
|
|
69
|
+
afterHide = "afterhide",
|
|
70
|
+
beforeShow = "beforeshow",
|
|
71
|
+
beforeHide = "beforehide"
|
|
72
|
+
}
|
|
73
|
+
export interface IWindowEventHandlersMap {
|
|
74
|
+
[key: string]: (...args: any[]) => any;
|
|
75
|
+
[WindowEvents.resize]: (state: (ISize & IPosition) | ISize | IPosition, oldState: (ISize & IPosition) | ISize | IPosition, editettypes: IDirectionConfig) => void;
|
|
76
|
+
[WindowEvents.headerDoubleClick]: (e: Event) => void;
|
|
77
|
+
[WindowEvents.move]: (position: IPosition, oldPosition: IPosition, side: IDirectionConfig) => void;
|
|
78
|
+
[WindowEvents.afterHide]: (position: IPosition, e?: Event) => void;
|
|
79
|
+
[WindowEvents.afterShow]: (position: IPosition) => void;
|
|
80
|
+
[WindowEvents.beforeHide]: (position: IPosition, e?: Event) => boolean | void;
|
|
81
|
+
[WindowEvents.beforeShow]: (position: IPosition) => boolean | void;
|
|
82
|
+
}
|
|
File without changes
|
package/package.json
CHANGED
package/readme.txt
CHANGED