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,210 +0,0 @@
|
|
|
1
|
-
import { Id } from "../../ts-common/types";
|
|
2
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
3
|
-
import { DataEvents, IDataEventsHandlersMap, IDataItem, TreeCollection } from "../../ts-data";
|
|
4
|
-
import { Calendar, ViewMode } from "../../ts-calendar";
|
|
5
|
-
import { Popup } from "../../ts-popup";
|
|
6
|
-
export { DataEvents } from "../../ts-data";
|
|
7
|
-
export interface IHtmlExtendable {
|
|
8
|
-
html?: string;
|
|
9
|
-
}
|
|
10
|
-
export interface IState {
|
|
11
|
-
[key: string]: string;
|
|
12
|
-
}
|
|
13
|
-
export type NavigationType = "pointer" | "click";
|
|
14
|
-
export interface IGroups {
|
|
15
|
-
[key: string]: {
|
|
16
|
-
active?: Id;
|
|
17
|
-
elements: string[];
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export type ContextMode = "bottom" | "right";
|
|
21
|
-
export interface INavbarConfig {
|
|
22
|
-
navigationType?: NavigationType;
|
|
23
|
-
css?: string;
|
|
24
|
-
menuCss?: string;
|
|
25
|
-
data?: any[] | TreeCollection<any>;
|
|
26
|
-
rootId?: string;
|
|
27
|
-
$name?: string;
|
|
28
|
-
}
|
|
29
|
-
export interface INavbar {
|
|
30
|
-
data: TreeCollection;
|
|
31
|
-
events: IEventSystem<DataEvents | NavigationBarEvents, IDataEventsHandlersMap & INavbarEventHandlersMap>;
|
|
32
|
-
config: INavbarConfig;
|
|
33
|
-
paint(): void;
|
|
34
|
-
disable(ids: Id | Id[]): void;
|
|
35
|
-
enable(ids: Id | Id[]): void;
|
|
36
|
-
isDisabled(id: Id): boolean;
|
|
37
|
-
show(ids: Id | Id[]): void;
|
|
38
|
-
hide(ids: Id | Id[]): void;
|
|
39
|
-
destructor(): void;
|
|
40
|
-
select(id: Id, unselect: boolean): void;
|
|
41
|
-
unselect(id?: Id): void;
|
|
42
|
-
isSelected(id: Id): boolean;
|
|
43
|
-
getSelected(): Id[];
|
|
44
|
-
}
|
|
45
|
-
export type ItemType = "button" | "imageButton" | "selectButton" | "customButton" | "input" | "separator" | "title" | "spacer" | "menuItem" | "block" | "navItem" | "customHTML" | "customHTMLButton" | "datePicker";
|
|
46
|
-
export interface IItem extends IDataItem {
|
|
47
|
-
id?: Id;
|
|
48
|
-
type?: ItemType;
|
|
49
|
-
parent?: Id;
|
|
50
|
-
css?: string | string[];
|
|
51
|
-
hidden?: boolean;
|
|
52
|
-
disabled?: boolean;
|
|
53
|
-
}
|
|
54
|
-
export type IMenuElement = ISpacer | ISeparator | IMenuItem | ICustomHTML;
|
|
55
|
-
export interface IMenuItem extends IItem, IHtmlExtendable {
|
|
56
|
-
type?: "menuItem";
|
|
57
|
-
$openIcon?: string;
|
|
58
|
-
icon?: string;
|
|
59
|
-
items?: IMenuElement[];
|
|
60
|
-
hotkey?: string;
|
|
61
|
-
count?: number | string;
|
|
62
|
-
countColor?: "danger" | "secondary" | "primary" | "success";
|
|
63
|
-
value?: string;
|
|
64
|
-
}
|
|
65
|
-
export interface IPopup {
|
|
66
|
-
data: any[];
|
|
67
|
-
mode: "bottom" | "other";
|
|
68
|
-
position: any;
|
|
69
|
-
width: number;
|
|
70
|
-
height: number;
|
|
71
|
-
}
|
|
72
|
-
export interface INavItem extends IItem, IHtmlExtendable {
|
|
73
|
-
type: "navItem";
|
|
74
|
-
twoState?: boolean;
|
|
75
|
-
group?: string;
|
|
76
|
-
$openIcon?: string;
|
|
77
|
-
icon?: string;
|
|
78
|
-
items?: IMenuElement[];
|
|
79
|
-
value?: string;
|
|
80
|
-
hotkey?: string;
|
|
81
|
-
active?: boolean;
|
|
82
|
-
count?: number | string;
|
|
83
|
-
countColor?: "danger" | "secondary" | "primary" | "success";
|
|
84
|
-
}
|
|
85
|
-
export interface ICustomHTML extends IItem, IHtmlExtendable {
|
|
86
|
-
type: "customHTML";
|
|
87
|
-
}
|
|
88
|
-
export interface ITitle extends IItem, IHtmlExtendable {
|
|
89
|
-
type: "title";
|
|
90
|
-
value?: string;
|
|
91
|
-
tooltip?: string;
|
|
92
|
-
}
|
|
93
|
-
export interface ISpacer extends IItem {
|
|
94
|
-
type: "spacer";
|
|
95
|
-
}
|
|
96
|
-
export interface ISeparator extends IItem {
|
|
97
|
-
type: "separator";
|
|
98
|
-
}
|
|
99
|
-
export interface IButton extends IItem, IHtmlExtendable {
|
|
100
|
-
type: "button";
|
|
101
|
-
css?: string;
|
|
102
|
-
hotkey?: string;
|
|
103
|
-
tooltip?: string;
|
|
104
|
-
count?: number;
|
|
105
|
-
countColor?: "danger" | "secondary" | "primary" | "success";
|
|
106
|
-
items?: IMenuElement[];
|
|
107
|
-
group?: string;
|
|
108
|
-
twoState?: boolean;
|
|
109
|
-
active?: boolean;
|
|
110
|
-
multiClick?: boolean;
|
|
111
|
-
icon?: string;
|
|
112
|
-
view?: "flat" | "link";
|
|
113
|
-
size?: "small" | "medium" | string;
|
|
114
|
-
color?: "danger" | "secondary" | "primary" | "success";
|
|
115
|
-
full?: boolean;
|
|
116
|
-
circle?: boolean;
|
|
117
|
-
loading?: boolean;
|
|
118
|
-
value?: string;
|
|
119
|
-
}
|
|
120
|
-
export interface IInput extends IItem {
|
|
121
|
-
type: "input";
|
|
122
|
-
icon?: string;
|
|
123
|
-
placeholder?: string;
|
|
124
|
-
width?: string;
|
|
125
|
-
label?: string;
|
|
126
|
-
hiddenLabel?: boolean;
|
|
127
|
-
value?: string;
|
|
128
|
-
autocomplete?: boolean;
|
|
129
|
-
}
|
|
130
|
-
export interface IImageButton extends IItem {
|
|
131
|
-
type: "imageButton";
|
|
132
|
-
src: string;
|
|
133
|
-
twoState?: boolean;
|
|
134
|
-
active?: boolean;
|
|
135
|
-
hotkey?: string;
|
|
136
|
-
group?: string;
|
|
137
|
-
count?: number | string;
|
|
138
|
-
countColor?: "danger" | "secondary" | "primary" | "success";
|
|
139
|
-
}
|
|
140
|
-
export interface ISelectButton extends IItem {
|
|
141
|
-
type: "selectButton";
|
|
142
|
-
$openIcon?: string;
|
|
143
|
-
icon?: string;
|
|
144
|
-
items?: IMenuElement[];
|
|
145
|
-
count?: number | string;
|
|
146
|
-
countColor?: "danger" | "secondary" | "primary" | "success";
|
|
147
|
-
value?: string;
|
|
148
|
-
}
|
|
149
|
-
export interface ICustomHTMLButton extends IItem {
|
|
150
|
-
type: "customHTMLButton";
|
|
151
|
-
twoState?: boolean;
|
|
152
|
-
active?: boolean;
|
|
153
|
-
value?: string;
|
|
154
|
-
count?: number;
|
|
155
|
-
countColor?: "danger" | "secondary" | "primary" | "success";
|
|
156
|
-
}
|
|
157
|
-
export interface IBlock extends IItem {
|
|
158
|
-
type: "block";
|
|
159
|
-
title?: string;
|
|
160
|
-
direction?: "row" | "col";
|
|
161
|
-
css?: "string";
|
|
162
|
-
}
|
|
163
|
-
export interface IDatePicker extends IItem {
|
|
164
|
-
type: "datePicker";
|
|
165
|
-
icon?: string;
|
|
166
|
-
placeholder?: string;
|
|
167
|
-
width?: string;
|
|
168
|
-
label?: string;
|
|
169
|
-
hiddenLabel?: boolean;
|
|
170
|
-
editable?: boolean;
|
|
171
|
-
value?: string | Date;
|
|
172
|
-
dateFormat?: string;
|
|
173
|
-
valueFormat?: "string" | "date";
|
|
174
|
-
date?: Date | string;
|
|
175
|
-
mark?: (a: Date) => string;
|
|
176
|
-
disabledDates?: (a: Date) => boolean;
|
|
177
|
-
weekStart?: "saturday" | "sunday" | "monday";
|
|
178
|
-
weekNumbers?: boolean;
|
|
179
|
-
mode?: ViewMode;
|
|
180
|
-
timePicker?: boolean;
|
|
181
|
-
timeFormat?: 24 | 12;
|
|
182
|
-
thisMonthOnly?: boolean;
|
|
183
|
-
$calendar?: Calendar;
|
|
184
|
-
$popup?: Popup;
|
|
185
|
-
}
|
|
186
|
-
export declare enum NavigationBarEvents {
|
|
187
|
-
inputCreated = "inputCreated",
|
|
188
|
-
click = "click",
|
|
189
|
-
openMenu = "openMenu",
|
|
190
|
-
beforeHide = "beforeHide",
|
|
191
|
-
afterHide = "afterHide",
|
|
192
|
-
inputFocus = "inputFocus",
|
|
193
|
-
inputBlur = "inputBlur",
|
|
194
|
-
inputChange = "inputChange",
|
|
195
|
-
input = "input",
|
|
196
|
-
keydown = "keydown"
|
|
197
|
-
}
|
|
198
|
-
export interface INavbarEventHandlersMap {
|
|
199
|
-
[key: string]: (...args: any[]) => any;
|
|
200
|
-
[NavigationBarEvents.inputCreated]: (id: Id, input: HTMLInputElement) => void;
|
|
201
|
-
[NavigationBarEvents.openMenu]: (id: Id) => void;
|
|
202
|
-
[NavigationBarEvents.click]: (id: Id, events: Event) => void;
|
|
203
|
-
[NavigationBarEvents.beforeHide]: (id: Id, events: Event) => void | boolean;
|
|
204
|
-
[NavigationBarEvents.afterHide]: (events: Event) => void;
|
|
205
|
-
[NavigationBarEvents.inputBlur]: (id: Id) => void;
|
|
206
|
-
[NavigationBarEvents.inputFocus]: (id: Id) => void;
|
|
207
|
-
[NavigationBarEvents.inputChange]: (id: Id, newValue: string) => void;
|
|
208
|
-
[NavigationBarEvents.input]: (id: Id, value: string) => void;
|
|
209
|
-
[NavigationBarEvents.keydown]: (event: KeyboardEvent, id?: Id) => void;
|
|
210
|
-
}
|
|
File without changes
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { DHXView } from "./DHXView";
|
|
2
|
-
import { ICell, IEventConfig, IEventSystem, ISession } from "./types";
|
|
3
|
-
export declare class DHXApp extends DHXView {
|
|
4
|
-
session: ISession;
|
|
5
|
-
config: any;
|
|
6
|
-
events: IEventSystem;
|
|
7
|
-
private services;
|
|
8
|
-
constructor(cell: ICell | HTMLElement | string, config?: any);
|
|
9
|
-
setService(name: string, obj: any, config?: IEventConfig): void;
|
|
10
|
-
getService(name: string): any;
|
|
11
|
-
destructor(): void;
|
|
12
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ICallable, ICell, IDHXApp, IServiceConfig } from "./types";
|
|
2
|
-
export declare class DHXView {
|
|
3
|
-
app: IDHXApp;
|
|
4
|
-
private _events;
|
|
5
|
-
constructor(cell: ICell, app: IDHXApp);
|
|
6
|
-
destructor(): void;
|
|
7
|
-
setService(name: string, obj: any, config?: IServiceConfig): void;
|
|
8
|
-
getService(name: string): any;
|
|
9
|
-
on(obj: any, name: string, handler: ICallable): void;
|
|
10
|
-
render(_cell: any): void;
|
|
11
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ICallable } from "./types";
|
|
2
|
-
export declare class EventSystem {
|
|
3
|
-
private evs;
|
|
4
|
-
private master;
|
|
5
|
-
constructor(master: any);
|
|
6
|
-
detach(config: any): void;
|
|
7
|
-
on(name: string, code: ICallable, config: any): void;
|
|
8
|
-
fire(name: string, event: any): boolean;
|
|
9
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export interface ISession {
|
|
2
|
-
get(name: string): any;
|
|
3
|
-
set(name: string, data: any): void;
|
|
4
|
-
}
|
|
5
|
-
export interface IEventConfig {
|
|
6
|
-
bind?: any;
|
|
7
|
-
tag?: any;
|
|
8
|
-
}
|
|
9
|
-
export interface IEventSystem {
|
|
10
|
-
on(name: string, handler: ICallable, config?: IEventConfig): any;
|
|
11
|
-
detach(config: IEventConfig): any;
|
|
12
|
-
fire(name: string, data: any): any;
|
|
13
|
-
}
|
|
14
|
-
export interface IServiceConfig {
|
|
15
|
-
tag?: any;
|
|
16
|
-
}
|
|
17
|
-
export interface ICell {
|
|
18
|
-
attach(content: any): any;
|
|
19
|
-
}
|
|
20
|
-
export interface IDHXView {
|
|
21
|
-
on(obj: any, name: string, handler: ICallable): void;
|
|
22
|
-
getService(name: string): any;
|
|
23
|
-
setService(name: string, obj: any, config: IServiceConfig): void;
|
|
24
|
-
render(cell: ICell): any;
|
|
25
|
-
destructor(): void;
|
|
26
|
-
}
|
|
27
|
-
export interface IDHXApp extends IDHXView {
|
|
28
|
-
session: ISession;
|
|
29
|
-
config: any;
|
|
30
|
-
events: IEventSystem;
|
|
31
|
-
}
|
|
32
|
-
export type ICallable = (...args: any[]) => any;
|
|
33
|
-
export type hash = {
|
|
34
|
-
[key: string]: any;
|
|
35
|
-
};
|
|
36
|
-
export type IDHXViewFactory = new (app: IDHXApp) => IDHXView;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
2
|
-
import { DataCollection, DataEvents, IDataEventsHandlersMap } from "../../ts-data";
|
|
3
|
-
import { View } from "../../ts-common/view";
|
|
4
|
-
import { IPagination, IPaginationConfig, PaginationEvents, IPaginationEventHandlersMap } from "./types";
|
|
5
|
-
export declare class Pagination extends View implements IPagination {
|
|
6
|
-
config: IPaginationConfig;
|
|
7
|
-
events: IEventSystem<DataEvents | PaginationEvents, IDataEventsHandlersMap & IPaginationEventHandlersMap>;
|
|
8
|
-
data: DataCollection;
|
|
9
|
-
private _toolbar;
|
|
10
|
-
private _page;
|
|
11
|
-
private _size;
|
|
12
|
-
constructor(container: HTMLElement | string, config: IPaginationConfig);
|
|
13
|
-
paint(): void;
|
|
14
|
-
destructor(): void;
|
|
15
|
-
setPage(page: number, necessarily?: boolean): void;
|
|
16
|
-
getPage(): number;
|
|
17
|
-
setPageSize(size: number): void;
|
|
18
|
-
getPageSize(): number;
|
|
19
|
-
getPagesCount(): number;
|
|
20
|
-
private _showItem;
|
|
21
|
-
private _showTreeItem;
|
|
22
|
-
private _updateSizeUI;
|
|
23
|
-
private _initUI;
|
|
24
|
-
private _initEvents;
|
|
25
|
-
private _render;
|
|
26
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { DataCollection, DataEvents, IDataEventsHandlersMap } from "../../ts-data";
|
|
2
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
3
|
-
export interface IPagination {
|
|
4
|
-
data: DataCollection;
|
|
5
|
-
config: IPaginationConfig;
|
|
6
|
-
events: IEventSystem<DataEvents | PaginationEvents, IDataEventsHandlersMap & IPaginationEventHandlersMap>;
|
|
7
|
-
destructor(): void;
|
|
8
|
-
setPage(page: number): void;
|
|
9
|
-
getPage(): number;
|
|
10
|
-
setPageSize(size: number): void;
|
|
11
|
-
getPageSize(): number;
|
|
12
|
-
getPagesCount(): number;
|
|
13
|
-
}
|
|
14
|
-
export interface IPaginationConfig {
|
|
15
|
-
data: DataCollection;
|
|
16
|
-
css?: string;
|
|
17
|
-
page?: number;
|
|
18
|
-
pageSize?: number;
|
|
19
|
-
inputWidth?: number;
|
|
20
|
-
}
|
|
21
|
-
export declare enum PaginationEvents {
|
|
22
|
-
change = "change"
|
|
23
|
-
}
|
|
24
|
-
export interface IPaginationEventHandlersMap {
|
|
25
|
-
[key: string]: (...args: any[]) => any;
|
|
26
|
-
[PaginationEvents.change]: (index: number, previousIndex: number) => void;
|
|
27
|
-
}
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./sources/Pivot";
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { IDataPreprocessor, IField, IFilterMeta, IParsedPivotConfig, IPivotConfig, IPivotData, IPivotFields } from "./types";
|
|
2
|
-
export declare class DataPreprocessor implements IDataPreprocessor {
|
|
3
|
-
private _filters;
|
|
4
|
-
private _subFields;
|
|
5
|
-
private _globalFilter;
|
|
6
|
-
private _fields;
|
|
7
|
-
constructor();
|
|
8
|
-
setFilterValue(fieldId: string, meta: IFilterMeta): void;
|
|
9
|
-
setFiltersValues(filtersMeta: any): void;
|
|
10
|
-
getFilterValue(fieldId: string): IFilterMeta;
|
|
11
|
-
getFiltersValues(): any;
|
|
12
|
-
clearFiltersValues(): void;
|
|
13
|
-
setGlobalFilter(handler?: any): void;
|
|
14
|
-
addSubField(name: string, functor: any, label: string): void;
|
|
15
|
-
normalizeConfig(config: IPivotConfig): IParsedPivotConfig;
|
|
16
|
-
normalizeData(data: IPivotData, fieldList: any): any[];
|
|
17
|
-
normalizeFields(config: any): void;
|
|
18
|
-
getData(data: any[], fields: IPivotFields): any[];
|
|
19
|
-
getPureFields(fields: IPivotFields): {
|
|
20
|
-
columns: IField[];
|
|
21
|
-
rows: IField[];
|
|
22
|
-
values: import("./types").IValue[];
|
|
23
|
-
};
|
|
24
|
-
private _parseDates;
|
|
25
|
-
private _parseAliases;
|
|
26
|
-
private _checkAliases;
|
|
27
|
-
private _checkData;
|
|
28
|
-
private _callGroupMethod;
|
|
29
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export type IStrToDate = (date: string) => Date;
|
|
2
|
-
export type IDateToStr = (date: Date) => string;
|
|
3
|
-
export type IDateAdd = (date: Date, inc: number, mode: string) => Date;
|
|
4
|
-
export declare class DateFormatter {
|
|
5
|
-
locale: any;
|
|
6
|
-
startOnMonday: boolean;
|
|
7
|
-
private _len;
|
|
8
|
-
private custom;
|
|
9
|
-
constructor();
|
|
10
|
-
date_part(date: Date): Date;
|
|
11
|
-
time_part(date: Date): number;
|
|
12
|
-
week_start(date: Date): Date;
|
|
13
|
-
month_start(date: Date): Date;
|
|
14
|
-
month_end(date: Date): Date;
|
|
15
|
-
year_start(date: Date): Date;
|
|
16
|
-
day_start(date: Date): Date;
|
|
17
|
-
length(a: Date, b: Date, unit: string): number;
|
|
18
|
-
_add_days(date: Date, inc: number): Date;
|
|
19
|
-
registerCustomMode(name: string, handler: IDateAdd): void;
|
|
20
|
-
add(date: Date, inc: number, mode: string): Date;
|
|
21
|
-
to_fixed(num: number): string;
|
|
22
|
-
copy(date: Date): Date;
|
|
23
|
-
date_to_str(format: string, utc?: boolean): IDateToStr;
|
|
24
|
-
str_to_date(format: string, utc?: boolean): IStrToDate;
|
|
25
|
-
getISOWeek(ndate: Date): number;
|
|
26
|
-
getUTCISOWeek(ndate: Date): number;
|
|
27
|
-
convert_to_utc(date: Date): Date;
|
|
28
|
-
getQuarter(d: Date): number;
|
|
29
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
2
|
-
import { View } from "../../ts-common/view";
|
|
3
|
-
import { IFilterMeta, IParsedPivotConfig, IPivotBase, IPivotConfig, IPivotData, IPivotFields, mathMethod, PivotEvents } from "./types";
|
|
4
|
-
export declare class Pivot extends View implements IPivotBase {
|
|
5
|
-
config: IParsedPivotConfig;
|
|
6
|
-
events: IEventSystem<PivotEvents>;
|
|
7
|
-
private _configurator;
|
|
8
|
-
private _grid;
|
|
9
|
-
private _dataPrep;
|
|
10
|
-
private _isSettingsHidden;
|
|
11
|
-
private _htmlEvents;
|
|
12
|
-
constructor(container: HTMLElement | string, config: IPivotConfig);
|
|
13
|
-
setFields(fields: IPivotFields): void;
|
|
14
|
-
getFields(): IPivotFields;
|
|
15
|
-
getConfig(): IPivotConfig;
|
|
16
|
-
load(url: string, type?: string): Promise<void>;
|
|
17
|
-
setData(data: IPivotData, type?: any): void;
|
|
18
|
-
addMathMethod(id: string, label: string, func: mathMethod): void;
|
|
19
|
-
addSubField(name: string, functor: any, label: string): void;
|
|
20
|
-
setFilterValue(field: string, meta: IFilterMeta): void;
|
|
21
|
-
setFiltersValues(filters: {
|
|
22
|
-
[key: string]: IFilterMeta;
|
|
23
|
-
}): void;
|
|
24
|
-
getFilterValue(fieldId: string): IFilterMeta;
|
|
25
|
-
getFiltersValues(): any;
|
|
26
|
-
clearFiltersValues(): void;
|
|
27
|
-
setGlobalFilter(handler?: any): void;
|
|
28
|
-
addFilter(): void;
|
|
29
|
-
removeFilter(): void;
|
|
30
|
-
getFilter(): void;
|
|
31
|
-
export(url: any): {
|
|
32
|
-
name: string;
|
|
33
|
-
columns: any[];
|
|
34
|
-
header: any[][];
|
|
35
|
-
data: string[][];
|
|
36
|
-
styles: {
|
|
37
|
-
cells: any[];
|
|
38
|
-
css: {
|
|
39
|
-
default: {
|
|
40
|
-
color: string;
|
|
41
|
-
background: string;
|
|
42
|
-
fontSize: number;
|
|
43
|
-
bold: boolean;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
private _setEventsHandlers;
|
|
49
|
-
private _render;
|
|
50
|
-
private _update;
|
|
51
|
-
private _init;
|
|
52
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../../ts-common/events";
|
|
2
|
-
import { IPivotFields, PivotEvents } from "./../types";
|
|
3
|
-
export declare const types: {
|
|
4
|
-
operations: {
|
|
5
|
-
id: string;
|
|
6
|
-
label: string;
|
|
7
|
-
}[];
|
|
8
|
-
dates: {
|
|
9
|
-
id: string;
|
|
10
|
-
label: string;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
13
|
-
export declare class Configurator {
|
|
14
|
-
config: any;
|
|
15
|
-
events: IEventSystem<PivotEvents>;
|
|
16
|
-
private _pivot;
|
|
17
|
-
private _pressedItem;
|
|
18
|
-
private _pressedCoords;
|
|
19
|
-
private _isDragStart;
|
|
20
|
-
private _dropArea;
|
|
21
|
-
private _changeItem;
|
|
22
|
-
private _htmlEvents;
|
|
23
|
-
private _filters;
|
|
24
|
-
constructor(pivot: any, config: any);
|
|
25
|
-
getField(name: string): any;
|
|
26
|
-
setFields(fields: IPivotFields): void;
|
|
27
|
-
getFields(): IPivotFields;
|
|
28
|
-
getShadow(): any;
|
|
29
|
-
setPressedItem(ev: any, id: string, node: HTMLElement): void;
|
|
30
|
-
private _getFieldObj;
|
|
31
|
-
private _handleMouseMove;
|
|
32
|
-
private _handleMouseup;
|
|
33
|
-
private _getItem;
|
|
34
|
-
private _moveItem;
|
|
35
|
-
private _deleteItem;
|
|
36
|
-
private _updateFields;
|
|
37
|
-
private _getSelectorType;
|
|
38
|
-
private _getSelector;
|
|
39
|
-
private _toggleSelector;
|
|
40
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const i18n: any;
|
|
2
|
-
import "../../styles/pivot.scss";
|
|
3
|
-
export { Pivot } from "./Pivot";
|
|
4
|
-
import { CsvDriver, DataProxy, JsonDriver } from "../../ts-data";
|
|
5
|
-
export declare const data: {
|
|
6
|
-
CsvDriver: typeof CsvDriver;
|
|
7
|
-
JsonDriver: typeof JsonDriver;
|
|
8
|
-
Proxy: typeof DataProxy;
|
|
9
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { IDateFilterMeta } from "./../types";
|
|
2
|
-
import { Filter } from "./Filter";
|
|
3
|
-
export declare class DateFilter extends Filter {
|
|
4
|
-
protected _format: any;
|
|
5
|
-
protected mask: any;
|
|
6
|
-
protected placeholder: any;
|
|
7
|
-
protected _meta: IDateFilterMeta;
|
|
8
|
-
protected _inputTimeout: any;
|
|
9
|
-
constructor(config: any);
|
|
10
|
-
protected _checkInputText(e: any, inputId: string): void;
|
|
11
|
-
protected _validateInput(val: any): any;
|
|
12
|
-
protected _createMask(): void;
|
|
13
|
-
protected _setMeta(oldMeta: IDateFilterMeta): void;
|
|
14
|
-
protected _getFilterInput(): any;
|
|
15
|
-
protected _formatLabel(label: any): any;
|
|
16
|
-
protected _getCheckboxData(): any[];
|
|
17
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { View } from "../../../ts-common/view";
|
|
2
|
-
import { Popup } from "../../../ts-popup";
|
|
3
|
-
import { IField, IFilterMeta } from "../types";
|
|
4
|
-
export declare const operations: {
|
|
5
|
-
string: {
|
|
6
|
-
ct: {
|
|
7
|
-
name: () => string;
|
|
8
|
-
handler: (item: string, str: string) => boolean;
|
|
9
|
-
};
|
|
10
|
-
nct: {
|
|
11
|
-
name: () => string;
|
|
12
|
-
handler: (item: string, str: string) => boolean;
|
|
13
|
-
};
|
|
14
|
-
eq: {
|
|
15
|
-
name: () => string;
|
|
16
|
-
handler: (item: string, str: string) => boolean;
|
|
17
|
-
};
|
|
18
|
-
neq: {
|
|
19
|
-
name: () => string;
|
|
20
|
-
handler: (item: string, str: string) => boolean;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
number: {
|
|
24
|
-
lt: {
|
|
25
|
-
name: () => string;
|
|
26
|
-
handler: (item: number, inpVal: number) => boolean;
|
|
27
|
-
};
|
|
28
|
-
gt: {
|
|
29
|
-
name: () => string;
|
|
30
|
-
handler: (item: number, inpVal: number) => boolean;
|
|
31
|
-
};
|
|
32
|
-
leq: {
|
|
33
|
-
name: () => string;
|
|
34
|
-
handler: (item: number, inpVal: number) => boolean;
|
|
35
|
-
};
|
|
36
|
-
geq: {
|
|
37
|
-
name: () => string;
|
|
38
|
-
handler: (item: number, inpVal: number) => boolean;
|
|
39
|
-
};
|
|
40
|
-
eq: {
|
|
41
|
-
name: () => string;
|
|
42
|
-
handler: (item: number, inpVal: number) => boolean;
|
|
43
|
-
};
|
|
44
|
-
neq: {
|
|
45
|
-
name: () => string;
|
|
46
|
-
handler: (item: number, inpVal: number) => boolean;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
export declare class Filter extends View {
|
|
51
|
-
config: any;
|
|
52
|
-
protected _meta: IFilterMeta;
|
|
53
|
-
protected _htmlEvents: any;
|
|
54
|
-
protected _inputTimeout: any;
|
|
55
|
-
protected _data: any[];
|
|
56
|
-
protected _item: IField;
|
|
57
|
-
protected _popup: Popup;
|
|
58
|
-
constructor(config: any);
|
|
59
|
-
setMeta(item: IField, meta: IFilterMeta, uniqueData: any[]): void;
|
|
60
|
-
getMeta(): IFilterMeta;
|
|
61
|
-
show(node: HTMLElement): void;
|
|
62
|
-
hide(): void;
|
|
63
|
-
protected _setMeta(oldMeta: IFilterMeta): void;
|
|
64
|
-
protected _checkHandler(checkbox: any): void;
|
|
65
|
-
protected _validateInput(val: any): boolean;
|
|
66
|
-
protected _getContent(): any;
|
|
67
|
-
protected _getOperations(type?: string): any[];
|
|
68
|
-
protected _getFilterInput(): any;
|
|
69
|
-
protected _formatLabel(label: any): any;
|
|
70
|
-
protected _getCheckboxData(): any[];
|
|
71
|
-
protected _getCheckboxes(): any;
|
|
72
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../../ts-common/events";
|
|
2
|
-
import { IField, IFilterMeta, PivotEvents } from "../types";
|
|
3
|
-
import { DateFilter } from "./DateFilter";
|
|
4
|
-
import { Filter } from "./Filter";
|
|
5
|
-
export declare function getFilterHandler(meta: IFilterMeta, field: IField): (item: any) => boolean;
|
|
6
|
-
export declare class Filters {
|
|
7
|
-
events: IEventSystem<PivotEvents>;
|
|
8
|
-
private _filter;
|
|
9
|
-
constructor(events: IEventSystem<PivotEvents>);
|
|
10
|
-
getFilter(item: IField, coords: any, data: any[], oldMeta: IFilterMeta): void;
|
|
11
|
-
protected _getFilter(type: string): DateFilter | Filter;
|
|
12
|
-
protected _getFieldType(fieldData: any[]): "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function";
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IParsedPivotConfig } from "./../types";
|
|
2
|
-
export declare function getValue(obj: any, key: string, fallback?: any): any;
|
|
3
|
-
export declare function getGridData(config: IParsedPivotConfig, data: any[]): {
|
|
4
|
-
headers: {
|
|
5
|
-
header: any[];
|
|
6
|
-
footer: {
|
|
7
|
-
text: string;
|
|
8
|
-
}[];
|
|
9
|
-
width: any;
|
|
10
|
-
id: number;
|
|
11
|
-
}[];
|
|
12
|
-
groupedData: any[];
|
|
13
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ICell } from "./types";
|
|
2
|
-
export declare function getUnique(data: ICell[][], field: string, dir: string): any[];
|
|
3
|
-
export declare const mathMethods: {
|
|
4
|
-
sum: (data: any[]) => any;
|
|
5
|
-
min: (data: any[]) => any;
|
|
6
|
-
max: (data: any[]) => any;
|
|
7
|
-
count: (data: any[]) => number;
|
|
8
|
-
};
|
|
9
|
-
export declare function setDefaultFormat(format: any): void;
|
|
10
|
-
export declare function methods(data: any[], field: string, method: string): any;
|