@highcharts/grid-pro 2.0.0
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/README.md +35 -0
- package/css/grid-pro.css +1756 -0
- package/es-modules/Accessibility/A11yI18n.d.ts +95 -0
- package/es-modules/Accessibility/A11yI18n.js +290 -0
- package/es-modules/Accessibility/Accessibility.d.ts +116 -0
- package/es-modules/Accessibility/Accessibility.js +402 -0
- package/es-modules/Accessibility/AccessibilityComponent.d.ts +97 -0
- package/es-modules/Accessibility/AccessibilityComponent.js +147 -0
- package/es-modules/Accessibility/Components/AnnotationsA11y.d.ts +43 -0
- package/es-modules/Accessibility/Components/AnnotationsA11y.js +160 -0
- package/es-modules/Accessibility/Components/ContainerComponent.d.ts +48 -0
- package/es-modules/Accessibility/Components/ContainerComponent.js +142 -0
- package/es-modules/Accessibility/Components/InfoRegionsComponent.d.ts +144 -0
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +555 -0
- package/es-modules/Accessibility/Components/LegendComponent.d.ts +124 -0
- package/es-modules/Accessibility/Components/LegendComponent.js +474 -0
- package/es-modules/Accessibility/Components/MenuComponent.d.ts +93 -0
- package/es-modules/Accessibility/Components/MenuComponent.js +430 -0
- package/es-modules/Accessibility/Components/NavigatorComponent.d.ts +57 -0
- package/es-modules/Accessibility/Components/NavigatorComponent.js +235 -0
- package/es-modules/Accessibility/Components/RangeSelectorComponent.d.ts +126 -0
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +473 -0
- package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.d.ts +18 -0
- package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +234 -0
- package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.d.ts +87 -0
- package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +309 -0
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.d.ts +53 -0
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +130 -0
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.d.ts +28 -0
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +415 -0
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.d.ts +114 -0
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +721 -0
- package/es-modules/Accessibility/Components/ZoomComponent.d.ts +96 -0
- package/es-modules/Accessibility/Components/ZoomComponent.js +314 -0
- package/es-modules/Accessibility/FocusBorder.d.ts +40 -0
- package/es-modules/Accessibility/FocusBorder.js +301 -0
- package/es-modules/Accessibility/HighContrastMode.d.ts +35 -0
- package/es-modules/Accessibility/HighContrastMode.js +100 -0
- package/es-modules/Accessibility/HighContrastTheme.d.ts +11 -0
- package/es-modules/Accessibility/HighContrastTheme.js +212 -0
- package/es-modules/Accessibility/KeyboardNavigation.d.ts +133 -0
- package/es-modules/Accessibility/KeyboardNavigation.js +450 -0
- package/es-modules/Accessibility/KeyboardNavigationHandler.d.ts +48 -0
- package/es-modules/Accessibility/KeyboardNavigationHandler.js +126 -0
- package/es-modules/Accessibility/Options/A11yDefaults.d.ts +68 -0
- package/es-modules/Accessibility/Options/A11yDefaults.js +971 -0
- package/es-modules/Accessibility/Options/DeprecatedOptions.d.ts +22 -0
- package/es-modules/Accessibility/Options/DeprecatedOptions.js +265 -0
- package/es-modules/Accessibility/Options/LangDefaults.d.ts +4 -0
- package/es-modules/Accessibility/Options/LangDefaults.js +440 -0
- package/es-modules/Accessibility/ProxyElement.d.ts +78 -0
- package/es-modules/Accessibility/ProxyElement.js +223 -0
- package/es-modules/Accessibility/ProxyProvider.d.ts +90 -0
- package/es-modules/Accessibility/ProxyProvider.js +315 -0
- package/es-modules/Accessibility/Utils/Announcer.d.ts +26 -0
- package/es-modules/Accessibility/Utils/Announcer.js +90 -0
- package/es-modules/Accessibility/Utils/ChartUtilities.d.ts +90 -0
- package/es-modules/Accessibility/Utils/ChartUtilities.js +298 -0
- package/es-modules/Accessibility/Utils/DOMElementProvider.d.ts +20 -0
- package/es-modules/Accessibility/Utils/DOMElementProvider.js +69 -0
- package/es-modules/Accessibility/Utils/EventProvider.d.ts +26 -0
- package/es-modules/Accessibility/Utils/EventProvider.js +65 -0
- package/es-modules/Accessibility/Utils/HTMLUtilities.d.ts +108 -0
- package/es-modules/Accessibility/Utils/HTMLUtilities.js +319 -0
- package/es-modules/Core/Animation/AnimationUtilities.d.ts +107 -0
- package/es-modules/Core/Animation/AnimationUtilities.js +200 -0
- package/es-modules/Core/Animation/Fx.d.ts +130 -0
- package/es-modules/Core/Animation/Fx.js +388 -0
- package/es-modules/Core/Chart/Chart.d.ts +1009 -0
- package/es-modules/Core/Chart/Chart.js +3008 -0
- package/es-modules/Core/Chart/Chart3D.d.ts +276 -0
- package/es-modules/Core/Chart/Chart3D.js +1686 -0
- package/es-modules/Core/Chart/ChartDefaults.d.ts +8 -0
- package/es-modules/Core/Chart/ChartDefaults.js +1304 -0
- package/es-modules/Core/Chart/ChartNavigationComposition.d.ts +55 -0
- package/es-modules/Core/Chart/ChartNavigationComposition.js +90 -0
- package/es-modules/Core/Chart/GanttChart.d.ts +74 -0
- package/es-modules/Core/Chart/GanttChart.js +189 -0
- package/es-modules/Core/Chart/MapChart.d.ts +132 -0
- package/es-modules/Core/Chart/MapChart.js +232 -0
- package/es-modules/Core/Chart/StockChart.d.ts +117 -0
- package/es-modules/Core/Chart/StockChart.js +641 -0
- package/es-modules/Core/Color/Color.d.ts +112 -0
- package/es-modules/Core/Color/Color.js +418 -0
- package/es-modules/Core/Color/Palettes.d.ts +84 -0
- package/es-modules/Core/Color/Palettes.js +23 -0
- package/es-modules/Core/Defaults.d.ts +42 -0
- package/es-modules/Core/Defaults.js +2977 -0
- package/es-modules/Core/Foundation.d.ts +19 -0
- package/es-modules/Core/Foundation.js +63 -0
- package/es-modules/Core/Geometry/CircleUtilities.d.ts +189 -0
- package/es-modules/Core/Geometry/CircleUtilities.js +388 -0
- package/es-modules/Core/Geometry/GeometryUtilities.d.ts +48 -0
- package/es-modules/Core/Geometry/GeometryUtilities.js +105 -0
- package/es-modules/Core/Geometry/PolygonClip.d.ts +19 -0
- package/es-modules/Core/Geometry/PolygonClip.js +96 -0
- package/es-modules/Core/Globals.d.ts +110 -0
- package/es-modules/Core/Globals.js +127 -0
- package/es-modules/Core/HttpUtilities.d.ts +61 -0
- package/es-modules/Core/HttpUtilities.js +214 -0
- package/es-modules/Core/MSPointer.d.ts +74 -0
- package/es-modules/Core/MSPointer.js +218 -0
- package/es-modules/Core/Math3D.d.ts +117 -0
- package/es-modules/Core/Math3D.js +250 -0
- package/es-modules/Core/Pointer.d.ts +590 -0
- package/es-modules/Core/Pointer.js +1631 -0
- package/es-modules/Core/Renderer/HTML/AST.d.ts +163 -0
- package/es-modules/Core/Renderer/HTML/AST.js +562 -0
- package/es-modules/Core/Renderer/HTML/HTMLElement.d.ts +76 -0
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +471 -0
- package/es-modules/Core/Renderer/RendererRegistry.d.ts +29 -0
- package/es-modules/Core/Renderer/RendererRegistry.js +76 -0
- package/es-modules/Core/Renderer/RendererUtilities.d.ts +26 -0
- package/es-modules/Core/Renderer/RendererUtilities.js +172 -0
- package/es-modules/Core/Responsive.d.ts +55 -0
- package/es-modules/Core/Responsive.js +260 -0
- package/es-modules/Core/Templating.d.ts +125 -0
- package/es-modules/Core/Templating.js +428 -0
- package/es-modules/Core/Time.d.ts +69 -0
- package/es-modules/Core/Time.js +172 -0
- package/es-modules/Core/Tooltip.d.ts +297 -0
- package/es-modules/Core/Tooltip.js +1377 -0
- package/es-modules/Core/Utilities.d.ts +770 -0
- package/es-modules/Core/Utilities.js +1989 -0
- package/es-modules/Data/ColumnUtils.d.ts +87 -0
- package/es-modules/Data/ColumnUtils.js +140 -0
- package/es-modules/Data/Connectors/CSVConnector.d.ts +63 -0
- package/es-modules/Data/Connectors/CSVConnector.js +149 -0
- package/es-modules/Data/Connectors/CSVConnectorOptions.d.ts +149 -0
- package/es-modules/Data/Connectors/DataConnector.d.ts +204 -0
- package/es-modules/Data/Connectors/DataConnector.js +345 -0
- package/es-modules/Data/Connectors/DataConnectorOptions.d.ts +87 -0
- package/es-modules/Data/Connectors/DataConnectorType.d.ts +45 -0
- package/es-modules/Data/Connectors/GoogleSheetsConnector.d.ts +65 -0
- package/es-modules/Data/Connectors/GoogleSheetsConnector.js +226 -0
- package/es-modules/Data/Connectors/GoogleSheetsConnectorOptions.d.ts +167 -0
- package/es-modules/Data/Connectors/HTMLTableConnector.d.ts +77 -0
- package/es-modules/Data/Connectors/HTMLTableConnector.js +119 -0
- package/es-modules/Data/Connectors/HTMLTableConnectorOptions.d.ts +49 -0
- package/es-modules/Data/Connectors/JSONConnector.d.ts +64 -0
- package/es-modules/Data/Connectors/JSONConnector.js +156 -0
- package/es-modules/Data/Connectors/JSONConnectorOptions.d.ts +185 -0
- package/es-modules/Data/Converters/CSVConverter.d.ts +64 -0
- package/es-modules/Data/Converters/CSVConverter.js +374 -0
- package/es-modules/Data/Converters/CSVConverterOptions.d.ts +53 -0
- package/es-modules/Data/Converters/DataConverter.d.ts +168 -0
- package/es-modules/Data/Converters/DataConverter.js +387 -0
- package/es-modules/Data/Converters/DataConverterType.d.ts +40 -0
- package/es-modules/Data/Converters/DataConverterUtils.d.ts +82 -0
- package/es-modules/Data/Converters/DataConverterUtils.js +216 -0
- package/es-modules/Data/Converters/GoogleSheetsConverter.d.ts +46 -0
- package/es-modules/Data/Converters/GoogleSheetsConverter.js +135 -0
- package/es-modules/Data/Converters/GoogleSheetsConverterOptions.d.ts +52 -0
- package/es-modules/Data/Converters/HTMLTableConverter.d.ts +72 -0
- package/es-modules/Data/Converters/HTMLTableConverter.js +362 -0
- package/es-modules/Data/Converters/HTMLTableConverterOptions.d.ts +51 -0
- package/es-modules/Data/Converters/JSONConverter.d.ts +99 -0
- package/es-modules/Data/Converters/JSONConverter.js +239 -0
- package/es-modules/Data/Converters/JSONConverterOptions.d.ts +52 -0
- package/es-modules/Data/DataCursor.d.ts +176 -0
- package/es-modules/Data/DataCursor.js +379 -0
- package/es-modules/Data/DataEvent.d.ts +81 -0
- package/es-modules/Data/DataEvent.js +14 -0
- package/es-modules/Data/DataPool.d.ts +130 -0
- package/es-modules/Data/DataPool.js +257 -0
- package/es-modules/Data/DataPoolOptions.d.ts +66 -0
- package/es-modules/Data/DataTable.d.ts +563 -0
- package/es-modules/Data/DataTable.js +930 -0
- package/es-modules/Data/DataTableCore.d.ts +165 -0
- package/es-modules/Data/DataTableCore.js +316 -0
- package/es-modules/Data/DataTableOptions.d.ts +25 -0
- package/es-modules/Data/DataTableOptions.js +15 -0
- package/es-modules/Data/Formula/Formula.d.ts +21 -0
- package/es-modules/Data/Formula/Formula.js +54 -0
- package/es-modules/Data/Formula/FormulaParser.d.ts +31 -0
- package/es-modules/Data/Formula/FormulaParser.js +488 -0
- package/es-modules/Data/Formula/FormulaProcessor.d.ts +155 -0
- package/es-modules/Data/Formula/FormulaProcessor.js +529 -0
- package/es-modules/Data/Formula/FormulaTypes.d.ts +138 -0
- package/es-modules/Data/Formula/FormulaTypes.js +135 -0
- package/es-modules/Data/Formula/Functions/ABS.d.ts +19 -0
- package/es-modules/Data/Formula/Functions/ABS.js +67 -0
- package/es-modules/Data/Formula/Functions/AND.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/AND.js +59 -0
- package/es-modules/Data/Formula/Functions/AVERAGE.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/AVERAGE.js +74 -0
- package/es-modules/Data/Formula/Functions/AVERAGEA.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/AVERAGEA.js +90 -0
- package/es-modules/Data/Formula/Functions/COUNT.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/COUNT.js +65 -0
- package/es-modules/Data/Formula/Functions/COUNTA.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/COUNTA.js +71 -0
- package/es-modules/Data/Formula/Functions/IF.d.ts +21 -0
- package/es-modules/Data/Formula/Functions/IF.js +54 -0
- package/es-modules/Data/Formula/Functions/ISNA.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/ISNA.js +52 -0
- package/es-modules/Data/Formula/Functions/MAX.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/MAX.js +69 -0
- package/es-modules/Data/Formula/Functions/MEDIAN.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/MEDIAN.js +78 -0
- package/es-modules/Data/Formula/Functions/MIN.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/MIN.js +69 -0
- package/es-modules/Data/Formula/Functions/MOD.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/MOD.js +63 -0
- package/es-modules/Data/Formula/Functions/MODE.d.ts +41 -0
- package/es-modules/Data/Formula/Functions/MODE.js +149 -0
- package/es-modules/Data/Formula/Functions/NOT.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/NOT.js +60 -0
- package/es-modules/Data/Formula/Functions/OR.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/OR.js +62 -0
- package/es-modules/Data/Formula/Functions/PRODUCT.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/PRODUCT.js +68 -0
- package/es-modules/Data/Formula/Functions/SUM.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/SUM.js +65 -0
- package/es-modules/Data/Formula/Functions/XOR.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/XOR.js +81 -0
- package/es-modules/Data/Modifiers/ChainModifier.d.ts +128 -0
- package/es-modules/Data/Modifiers/ChainModifier.js +231 -0
- package/es-modules/Data/Modifiers/ChainModifierOptions.d.ts +20 -0
- package/es-modules/Data/Modifiers/ChainModifierOptions.js +14 -0
- package/es-modules/Data/Modifiers/DataModifier.d.ts +117 -0
- package/es-modules/Data/Modifiers/DataModifier.js +202 -0
- package/es-modules/Data/Modifiers/DataModifierEvent.d.ts +28 -0
- package/es-modules/Data/Modifiers/DataModifierEvent.js +15 -0
- package/es-modules/Data/Modifiers/DataModifierOptions.d.ts +11 -0
- package/es-modules/Data/Modifiers/DataModifierOptions.js +15 -0
- package/es-modules/Data/Modifiers/DataModifierType.d.ts +44 -0
- package/es-modules/Data/Modifiers/FilterModifier.d.ts +53 -0
- package/es-modules/Data/Modifiers/FilterModifier.js +172 -0
- package/es-modules/Data/Modifiers/FilterModifierOptions.d.ts +110 -0
- package/es-modules/Data/Modifiers/FilterModifierOptions.js +14 -0
- package/es-modules/Data/Modifiers/InvertModifier.d.ts +48 -0
- package/es-modules/Data/Modifiers/InvertModifier.js +116 -0
- package/es-modules/Data/Modifiers/InvertModifierOptions.d.ts +11 -0
- package/es-modules/Data/Modifiers/InvertModifierOptions.js +15 -0
- package/es-modules/Data/Modifiers/MathModifier.d.ts +68 -0
- package/es-modules/Data/Modifiers/MathModifier.js +165 -0
- package/es-modules/Data/Modifiers/MathModifierOptions.d.ts +50 -0
- package/es-modules/Data/Modifiers/MathModifierOptions.js +14 -0
- package/es-modules/Data/Modifiers/RangeModifier.d.ts +46 -0
- package/es-modules/Data/Modifiers/RangeModifier.js +96 -0
- package/es-modules/Data/Modifiers/RangeModifierOptions.d.ts +22 -0
- package/es-modules/Data/Modifiers/RangeModifierOptions.js +15 -0
- package/es-modules/Data/Modifiers/SortModifier.d.ts +54 -0
- package/es-modules/Data/Modifiers/SortModifier.js +144 -0
- package/es-modules/Data/Modifiers/SortModifierOptions.d.ts +44 -0
- package/es-modules/Data/Modifiers/SortModifierOptions.js +14 -0
- package/es-modules/Grid/Core/Accessibility/A11yOptions.d.ts +148 -0
- package/es-modules/Grid/Core/Accessibility/A11yOptions.js +17 -0
- package/es-modules/Grid/Core/Accessibility/Accessibility.d.ts +115 -0
- package/es-modules/Grid/Core/Accessibility/Accessibility.js +231 -0
- package/es-modules/Grid/Core/Credits.d.ts +57 -0
- package/es-modules/Grid/Core/Credits.js +125 -0
- package/es-modules/Grid/Core/Defaults.d.ts +20 -0
- package/es-modules/Grid/Core/Defaults.js +148 -0
- package/es-modules/Grid/Core/Globals.d.ts +103 -0
- package/es-modules/Grid/Core/Globals.js +134 -0
- package/es-modules/Grid/Core/Grid.d.ts +295 -0
- package/es-modules/Grid/Core/Grid.js +730 -0
- package/es-modules/Grid/Core/GridUtils.d.ts +110 -0
- package/es-modules/Grid/Core/GridUtils.js +191 -0
- package/es-modules/Grid/Core/Options.d.ts +599 -0
- package/es-modules/Grid/Core/Options.js +16 -0
- package/es-modules/Grid/Core/Pagination/Icons.d.ts +7 -0
- package/es-modules/Grid/Core/Pagination/Icons.js +7 -0
- package/es-modules/Grid/Core/Pagination/Pagination.d.ts +278 -0
- package/es-modules/Grid/Core/Pagination/Pagination.js +842 -0
- package/es-modules/Grid/Core/Pagination/PaginationOptions.d.ts +228 -0
- package/es-modules/Grid/Core/Querying/FilteringController.d.ts +66 -0
- package/es-modules/Grid/Core/Querying/FilteringController.js +256 -0
- package/es-modules/Grid/Core/Querying/PaginationController.d.ts +50 -0
- package/es-modules/Grid/Core/Querying/PaginationController.js +101 -0
- package/es-modules/Grid/Core/Querying/QueryingController.d.ts +58 -0
- package/es-modules/Grid/Core/Querying/QueryingController.js +127 -0
- package/es-modules/Grid/Core/Querying/SortingController.d.ts +67 -0
- package/es-modules/Grid/Core/Querying/SortingController.js +136 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/ColumnFiltering.d.ts +114 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/ColumnFiltering.js +351 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterCell.d.ts +14 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterCell.js +86 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterRow.d.ts +19 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterRow.js +80 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilteringTypes.d.ts +52 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilteringTypes.js +81 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnSorting.d.ts +56 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnSorting.js +170 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnsResizer.d.ts +55 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnsResizer.js +182 -0
- package/es-modules/Grid/Core/Table/Actions/RowsVirtualizer.d.ts +87 -0
- package/es-modules/Grid/Core/Table/Actions/RowsVirtualizer.js +346 -0
- package/es-modules/Grid/Core/Table/Body/TableCell.d.ts +88 -0
- package/es-modules/Grid/Core/Table/Body/TableCell.js +231 -0
- package/es-modules/Grid/Core/Table/Body/TableRow.d.ts +79 -0
- package/es-modules/Grid/Core/Table/Body/TableRow.js +177 -0
- package/es-modules/Grid/Core/Table/Cell.d.ts +92 -0
- package/es-modules/Grid/Core/Table/Cell.js +223 -0
- package/es-modules/Grid/Core/Table/CellContent/CellContent.d.ts +30 -0
- package/es-modules/Grid/Core/Table/CellContent/CellContent.js +40 -0
- package/es-modules/Grid/Core/Table/CellContent/TextContent.d.ts +19 -0
- package/es-modules/Grid/Core/Table/CellContent/TextContent.js +98 -0
- package/es-modules/Grid/Core/Table/Column.d.ts +136 -0
- package/es-modules/Grid/Core/Table/Column.js +230 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/AdjacentResizingMode.d.ts +7 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/AdjacentResizingMode.js +62 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/ColumnResizing.d.ts +32 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/ColumnResizing.js +68 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/DistributedResizingMode.d.ts +7 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/DistributedResizingMode.js +53 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/IndependentResizingMode.d.ts +7 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/IndependentResizingMode.js +63 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/ResizingMode.d.ts +92 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/ResizingMode.js +194 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ColumnToolbar.d.ts +68 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ColumnToolbar.js +187 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/FilterPopup.d.ts +29 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/FilterPopup.js +77 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuButtons/FilterMenuButton.d.ts +13 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuButtons/FilterMenuButton.js +79 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuButtons/SortMenuButton.d.ts +12 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuButtons/SortMenuButton.js +71 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuPopup.d.ts +12 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuPopup.js +66 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/StateHelpers.d.ts +25 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/StateHelpers.js +65 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/FilterToolbarButton.d.ts +12 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/FilterToolbarButton.js +81 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/MenuToolbarButton.d.ts +12 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/MenuToolbarButton.js +80 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/SortToolbarButton.d.ts +11 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/SortToolbarButton.js +81 -0
- package/es-modules/Grid/Core/Table/Header/HeaderCell.d.ts +70 -0
- package/es-modules/Grid/Core/Table/Header/HeaderCell.js +225 -0
- package/es-modules/Grid/Core/Table/Header/HeaderRow.d.ts +53 -0
- package/es-modules/Grid/Core/Table/Header/HeaderRow.js +182 -0
- package/es-modules/Grid/Core/Table/Header/TableHeader.d.ts +65 -0
- package/es-modules/Grid/Core/Table/Header/TableHeader.js +159 -0
- package/es-modules/Grid/Core/Table/Row.d.ts +76 -0
- package/es-modules/Grid/Core/Table/Row.js +131 -0
- package/es-modules/Grid/Core/Table/Table.d.ts +181 -0
- package/es-modules/Grid/Core/Table/Table.js +399 -0
- package/es-modules/Grid/Core/UI/Button.d.ts +31 -0
- package/es-modules/Grid/Core/UI/Button.js +16 -0
- package/es-modules/Grid/Core/UI/ContextMenu.d.ts +38 -0
- package/es-modules/Grid/Core/UI/ContextMenu.js +132 -0
- package/es-modules/Grid/Core/UI/ContextMenuButton.d.ts +126 -0
- package/es-modules/Grid/Core/UI/ContextMenuButton.js +183 -0
- package/es-modules/Grid/Core/UI/Popup.d.ts +149 -0
- package/es-modules/Grid/Core/UI/Popup.js +271 -0
- package/es-modules/Grid/Core/UI/SvgIcons.d.ts +53 -0
- package/es-modules/Grid/Core/UI/SvgIcons.js +158 -0
- package/es-modules/Grid/Core/UI/Toolbar.d.ts +16 -0
- package/es-modules/Grid/Core/UI/Toolbar.js +16 -0
- package/es-modules/Grid/Core/UI/ToolbarButton.d.ts +135 -0
- package/es-modules/Grid/Core/UI/ToolbarButton.js +191 -0
- package/es-modules/Grid/Pro/CellEditing/CellEditMode.d.ts +112 -0
- package/es-modules/Grid/Pro/CellEditing/CellEditing.d.ts +80 -0
- package/es-modules/Grid/Pro/CellEditing/CellEditing.js +211 -0
- package/es-modules/Grid/Pro/CellEditing/CellEditingComposition.d.ts +123 -0
- package/es-modules/Grid/Pro/CellEditing/CellEditingComposition.js +198 -0
- package/es-modules/Grid/Pro/CellRendering/CellContentPro.d.ts +23 -0
- package/es-modules/Grid/Pro/CellRendering/CellContentPro.js +45 -0
- package/es-modules/Grid/Pro/CellRendering/CellRenderer.d.ts +50 -0
- package/es-modules/Grid/Pro/CellRendering/CellRenderer.js +41 -0
- package/es-modules/Grid/Pro/CellRendering/CellRendererRegistry.d.ts +18 -0
- package/es-modules/Grid/Pro/CellRendering/CellRendererRegistry.js +58 -0
- package/es-modules/Grid/Pro/CellRendering/CellRendererType.d.ts +48 -0
- package/es-modules/Grid/Pro/CellRendering/CellRenderersComposition.d.ts +18 -0
- package/es-modules/Grid/Pro/CellRendering/CellRenderersComposition.js +79 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/CheckboxContent.d.ts +30 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/CheckboxContent.js +122 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateInputContent.d.ts +12 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateInputContent.js +39 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateInputContentBase.d.ts +66 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateInputContentBase.js +145 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateTimeInputContent.d.ts +12 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateTimeInputContent.js +38 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/NumberInputContent.d.ts +58 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/NumberInputContent.js +158 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/SelectContent.d.ts +58 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/SelectContent.js +173 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/SparklineContent.d.ts +28 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/SparklineContent.js +157 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/TextInputContent.d.ts +58 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/TextInputContent.js +168 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/TimeInputContent.d.ts +13 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/TimeInputContent.js +41 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/CheckboxRenderer.d.ts +50 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/CheckboxRenderer.js +65 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/DateInputRenderer.d.ts +37 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/DateInputRenderer.js +65 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/DateInputRendererBase.d.ts +26 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/DateInputRendererBase.js +16 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/DateTimeInputRenderer.d.ts +37 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/DateTimeInputRenderer.js +64 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/NumberInputRenderer.d.ts +52 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/NumberInputRenderer.js +64 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/SelectRenderer.d.ts +74 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/SelectRenderer.js +66 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/SparklineRenderer.d.ts +45 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/SparklineRenderer.js +89 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/TextInputRenderer.d.ts +54 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/TextInputRenderer.js +65 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/TextRenderer.d.ts +43 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/TextRenderer.js +74 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/TimeInputRenderer.d.ts +37 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/TimeInputRenderer.js +64 -0
- package/es-modules/Grid/Pro/ColumnTypes/ColumnDataType.d.ts +29 -0
- package/es-modules/Grid/Pro/ColumnTypes/Validator.d.ts +118 -0
- package/es-modules/Grid/Pro/ColumnTypes/Validator.js +270 -0
- package/es-modules/Grid/Pro/ColumnTypes/ValidatorComposition.d.ts +32 -0
- package/es-modules/Grid/Pro/ColumnTypes/ValidatorComposition.js +63 -0
- package/es-modules/Grid/Pro/Credits/CreditsPro.d.ts +35 -0
- package/es-modules/Grid/Pro/Credits/CreditsPro.js +112 -0
- package/es-modules/Grid/Pro/Credits/CreditsProComposition.d.ts +28 -0
- package/es-modules/Grid/Pro/Credits/CreditsProComposition.js +61 -0
- package/es-modules/Grid/Pro/Export/Exporting.d.ts +68 -0
- package/es-modules/Grid/Pro/Export/Exporting.js +202 -0
- package/es-modules/Grid/Pro/Export/ExportingComposition.d.ts +68 -0
- package/es-modules/Grid/Pro/Export/ExportingComposition.js +55 -0
- package/es-modules/Grid/Pro/GridEvents.d.ts +119 -0
- package/es-modules/Grid/Pro/GridEvents.js +107 -0
- package/es-modules/Grid/Pro/Pagination/PaginationComposition.d.ts +75 -0
- package/es-modules/Grid/Pro/Pagination/PaginationComposition.js +76 -0
- package/es-modules/Grid/Pro/highcharts.d.ts +7 -0
- package/es-modules/Grid/index.d.ts +5 -0
- package/es-modules/Grid/index.js +19 -0
- package/es-modules/Shared/BaseForm.d.ts +49 -0
- package/es-modules/Shared/BaseForm.js +126 -0
- package/es-modules/Shared/DownloadURL.d.ts +85 -0
- package/es-modules/Shared/DownloadURL.js +198 -0
- package/es-modules/Shared/LangOptionsCore.d.ts +27 -0
- package/es-modules/Shared/TimeBase.d.ts +353 -0
- package/es-modules/Shared/TimeBase.js +830 -0
- package/es-modules/Shared/Types.d.ts +48 -0
- package/es-modules/masters/grid-pro.src.d.ts +99 -0
- package/es-modules/masters/grid-pro.src.js +129 -0
- package/grid-pro.d.ts +50 -0
- package/grid-pro.js +12 -0
- package/grid-pro.js.map +1 -0
- package/grid-pro.src.d.ts +50 -0
- package/grid-pro.src.js +26623 -0
- package/package.json +21 -0
|
@@ -0,0 +1,563 @@
|
|
|
1
|
+
import type DataEvent from './DataEvent';
|
|
2
|
+
import type DataModifier from './Modifiers/DataModifier';
|
|
3
|
+
import type DataTableOptions from './DataTableOptions';
|
|
4
|
+
import type { DataTableValue } from './DataTableOptions';
|
|
5
|
+
import type { TypedArray } from '../Shared/Types';
|
|
6
|
+
import DataTableCore from './DataTableCore.js';
|
|
7
|
+
/**
|
|
8
|
+
* Class to manage columns and rows in a table structure. It provides methods
|
|
9
|
+
* to add, remove, and manipulate columns and rows, as well as to retrieve data
|
|
10
|
+
* from specific cells.
|
|
11
|
+
*
|
|
12
|
+
* @class
|
|
13
|
+
* @name Highcharts.DataTable
|
|
14
|
+
*
|
|
15
|
+
* @param {Highcharts.DataTableOptions} [options]
|
|
16
|
+
* Options to initialize the new DataTable instance.
|
|
17
|
+
*/
|
|
18
|
+
declare class DataTable extends DataTableCore implements DataEvent.Emitter<DataTable.Event> {
|
|
19
|
+
constructor(options?: DataTableOptions);
|
|
20
|
+
private modifier?;
|
|
21
|
+
private localRowIndexes?;
|
|
22
|
+
private originalRowIndexes?;
|
|
23
|
+
metadata?: Record<string, DataTableValue>;
|
|
24
|
+
/**
|
|
25
|
+
* Returns a clone of this table. The cloned table is completely independent
|
|
26
|
+
* of the original, and any changes made to the clone will not affect
|
|
27
|
+
* the original table.
|
|
28
|
+
*
|
|
29
|
+
* @function Highcharts.DataTable#clone
|
|
30
|
+
*
|
|
31
|
+
* @param {boolean} [skipColumns]
|
|
32
|
+
* Whether to clone columns or not.
|
|
33
|
+
*
|
|
34
|
+
* @param {Highcharts.DataTableEventDetail} [eventDetail]
|
|
35
|
+
* Custom information for pending events.
|
|
36
|
+
*
|
|
37
|
+
* @return {Highcharts.DataTable}
|
|
38
|
+
* Clone of this data table.
|
|
39
|
+
*
|
|
40
|
+
* @emits #cloneTable
|
|
41
|
+
* @emits #afterCloneTable
|
|
42
|
+
*/
|
|
43
|
+
clone(skipColumns?: boolean, eventDetail?: DataEvent.Detail): DataTable;
|
|
44
|
+
/**
|
|
45
|
+
* Deletes columns from the table.
|
|
46
|
+
*
|
|
47
|
+
* @function Highcharts.DataTable#deleteColumns
|
|
48
|
+
*
|
|
49
|
+
* @param {Array<string>} [columnIds]
|
|
50
|
+
* Names of columns to delete. If no array is provided, all
|
|
51
|
+
* columns will be deleted.
|
|
52
|
+
*
|
|
53
|
+
* @param {Highcharts.DataTableEventDetail} [eventDetail]
|
|
54
|
+
* Custom information for pending events.
|
|
55
|
+
*
|
|
56
|
+
* @return {Highcharts.DataTableColumnCollection|undefined}
|
|
57
|
+
* Returns the deleted columns, if found.
|
|
58
|
+
*
|
|
59
|
+
* @emits #deleteColumns
|
|
60
|
+
* @emits #afterDeleteColumns
|
|
61
|
+
*/
|
|
62
|
+
deleteColumns(columnIds?: Array<string>, eventDetail?: DataEvent.Detail): (DataTable.ColumnCollection | undefined);
|
|
63
|
+
/**
|
|
64
|
+
* Deletes the row index references. This is useful when the original table
|
|
65
|
+
* is deleted, and the references are no longer needed. This table is
|
|
66
|
+
* then considered an original table or a table that has the same rows
|
|
67
|
+
* order as the original table.
|
|
68
|
+
*/
|
|
69
|
+
deleteRowIndexReferences(): void;
|
|
70
|
+
/**
|
|
71
|
+
* Deletes rows in this table.
|
|
72
|
+
*
|
|
73
|
+
* @function Highcharts.DataTable#deleteRows
|
|
74
|
+
*
|
|
75
|
+
* @param {number} [rowIndex]
|
|
76
|
+
* Index to start delete of rows. If not specified, all rows will be
|
|
77
|
+
* deleted.
|
|
78
|
+
*
|
|
79
|
+
* @param {number} [rowCount=1]
|
|
80
|
+
* Number of rows to delete.
|
|
81
|
+
*
|
|
82
|
+
* @param {Highcharts.DataTableEventDetail} [eventDetail]
|
|
83
|
+
* Custom information for pending events.
|
|
84
|
+
*
|
|
85
|
+
* @return {Array<Highcharts.DataTableRow>}
|
|
86
|
+
* Returns the deleted rows, if found.
|
|
87
|
+
*
|
|
88
|
+
* @emits #deleteRows
|
|
89
|
+
* @emits #afterDeleteRows
|
|
90
|
+
*/
|
|
91
|
+
deleteRows(rowIndex?: number, rowCount?: number, eventDetail?: DataEvent.Detail): Array<DataTable.Row>;
|
|
92
|
+
/**
|
|
93
|
+
* Emits an event on this table to all registered callbacks of the given
|
|
94
|
+
* event.
|
|
95
|
+
* @private
|
|
96
|
+
*
|
|
97
|
+
* @param {DataTable.Event} e
|
|
98
|
+
* Event object with event information.
|
|
99
|
+
*/
|
|
100
|
+
emit(e: DataTable.Event): void;
|
|
101
|
+
/**
|
|
102
|
+
* Fetches a single cell value.
|
|
103
|
+
*
|
|
104
|
+
* @function Highcharts.DataTable#getCell
|
|
105
|
+
*
|
|
106
|
+
* @param {string} columnId
|
|
107
|
+
* Column name of the cell to retrieve.
|
|
108
|
+
*
|
|
109
|
+
* @param {number} rowIndex
|
|
110
|
+
* Row index of the cell to retrieve.
|
|
111
|
+
*
|
|
112
|
+
* @return {Highcharts.DataTableCellType|undefined}
|
|
113
|
+
* Returns the cell value or `undefined`.
|
|
114
|
+
*/
|
|
115
|
+
getCell(columnId: string, rowIndex: number): (DataTable.CellType | undefined);
|
|
116
|
+
/**
|
|
117
|
+
* Fetches the given column by the canonical column name.
|
|
118
|
+
* This function is a simplified wrap of {@link getColumns}.
|
|
119
|
+
*
|
|
120
|
+
* @function Highcharts.DataTable#getColumn
|
|
121
|
+
*
|
|
122
|
+
* @param {string} columnId
|
|
123
|
+
* Name of the column to get.
|
|
124
|
+
*
|
|
125
|
+
* @param {boolean} [asReference]
|
|
126
|
+
* Whether to return the column as a readonly reference.
|
|
127
|
+
*
|
|
128
|
+
* @return {Highcharts.DataTableColumn|undefined}
|
|
129
|
+
* A copy of the column, or `undefined` if not found.
|
|
130
|
+
*/
|
|
131
|
+
getColumn(columnId: string, asReference?: boolean): (DataTable.Column | undefined);
|
|
132
|
+
/**
|
|
133
|
+
* Fetches all column IDs.
|
|
134
|
+
*
|
|
135
|
+
* @function Highcharts.DataTable#getColumnIds
|
|
136
|
+
*
|
|
137
|
+
* @return {Array<string>}
|
|
138
|
+
* Returns all column IDs.
|
|
139
|
+
*/
|
|
140
|
+
getColumnIds(): Array<string>;
|
|
141
|
+
getColumns(columnIds?: Array<string>, asReference?: boolean): DataTable.ColumnCollection;
|
|
142
|
+
getColumns(columnIds: (Array<string> | undefined), asReference: true): Record<string, DataTable.Column>;
|
|
143
|
+
getColumns(columnIds: (Array<string> | undefined), asReference: false, asBasicColumns: true): Record<string, DataTable.BasicColumn>;
|
|
144
|
+
/**
|
|
145
|
+
* Takes the original row index and returns the local row index in the
|
|
146
|
+
* modified table for which this function is called.
|
|
147
|
+
*
|
|
148
|
+
* @param {number} originalRowIndex
|
|
149
|
+
* Original row index to get the local row index for.
|
|
150
|
+
*
|
|
151
|
+
* @return {number|undefined}
|
|
152
|
+
* Returns the local row index or `undefined` if not found.
|
|
153
|
+
*/
|
|
154
|
+
getLocalRowIndex(originalRowIndex: number): (number | undefined);
|
|
155
|
+
/**
|
|
156
|
+
* Returns the modifier associated with this table, if any.
|
|
157
|
+
*
|
|
158
|
+
* @return {Highcharts.DataModifier|undefined}
|
|
159
|
+
* Returns the modifier or `undefined`.
|
|
160
|
+
*
|
|
161
|
+
* @private
|
|
162
|
+
*/
|
|
163
|
+
getModifier(): (DataModifier | undefined);
|
|
164
|
+
/**
|
|
165
|
+
* Takes the local row index and returns the index of the corresponding row
|
|
166
|
+
* in the original table.
|
|
167
|
+
*
|
|
168
|
+
* @param {number} rowIndex
|
|
169
|
+
* Local row index to get the original row index for.
|
|
170
|
+
*
|
|
171
|
+
* @return {number|undefined}
|
|
172
|
+
* Returns the original row index or `undefined` if not found.
|
|
173
|
+
*/
|
|
174
|
+
getOriginalRowIndex(rowIndex: number): (number | undefined);
|
|
175
|
+
/**
|
|
176
|
+
* Retrieves the row at a given index. This function is a simplified wrap of
|
|
177
|
+
* {@link getRows}.
|
|
178
|
+
*
|
|
179
|
+
* @function Highcharts.DataTable#getRow
|
|
180
|
+
*
|
|
181
|
+
* @param {number} rowIndex
|
|
182
|
+
* Row index to retrieve. First row has index 0.
|
|
183
|
+
*
|
|
184
|
+
* @param {Array<string>} [columnIds]
|
|
185
|
+
* Column names in order to retrieve.
|
|
186
|
+
*
|
|
187
|
+
* @return {Highcharts.DataTableRow}
|
|
188
|
+
* Returns the row values, or `undefined` if not found.
|
|
189
|
+
*/
|
|
190
|
+
getRow(rowIndex: number, columnIds?: Array<string>): (DataTable.Row | undefined);
|
|
191
|
+
/**
|
|
192
|
+
* Returns the number of rows in this table.
|
|
193
|
+
*
|
|
194
|
+
* @function Highcharts.DataTable#getRowCount
|
|
195
|
+
*
|
|
196
|
+
* @return {number}
|
|
197
|
+
* Number of rows in this table.
|
|
198
|
+
*/
|
|
199
|
+
getRowCount(): number;
|
|
200
|
+
/**
|
|
201
|
+
* Retrieves the index of the first row matching a specific cell value.
|
|
202
|
+
*
|
|
203
|
+
* @function Highcharts.DataTable#getRowIndexBy
|
|
204
|
+
*
|
|
205
|
+
* @param {string} columnId
|
|
206
|
+
* Column to search in.
|
|
207
|
+
*
|
|
208
|
+
* @param {Highcharts.DataTableCellType} cellValue
|
|
209
|
+
* Cell value to search for. `NaN` and `undefined` are not supported.
|
|
210
|
+
*
|
|
211
|
+
* @param {number} [rowIndexOffset]
|
|
212
|
+
* Index offset to start searching.
|
|
213
|
+
*
|
|
214
|
+
* @return {number|undefined}
|
|
215
|
+
* Index of the first row matching the cell value.
|
|
216
|
+
*/
|
|
217
|
+
getRowIndexBy(columnId: string, cellValue: DataTable.CellType, rowIndexOffset?: number): (number | undefined);
|
|
218
|
+
/**
|
|
219
|
+
* Retrieves the row at a given index. This function is a simplified wrap of
|
|
220
|
+
* {@link getRowObjects}.
|
|
221
|
+
*
|
|
222
|
+
* @function Highcharts.DataTable#getRowObject
|
|
223
|
+
*
|
|
224
|
+
* @param {number} rowIndex
|
|
225
|
+
* Row index.
|
|
226
|
+
*
|
|
227
|
+
* @param {Array<string>} [columnIds]
|
|
228
|
+
* Column names and their order to retrieve.
|
|
229
|
+
*
|
|
230
|
+
* @return {Highcharts.DataTableRowObject}
|
|
231
|
+
* Returns the row values, or `undefined` if not found.
|
|
232
|
+
*/
|
|
233
|
+
getRowObject(rowIndex: number, columnIds?: Array<string>): (DataTable.RowObject | undefined);
|
|
234
|
+
/**
|
|
235
|
+
* Fetches all or a number of rows as an object.
|
|
236
|
+
*
|
|
237
|
+
* @function Highcharts.DataTable#getRowObjects
|
|
238
|
+
*
|
|
239
|
+
* @param {number} [rowIndex]
|
|
240
|
+
* Index of the first row to fetch. Defaults to first row at index `0`.
|
|
241
|
+
*
|
|
242
|
+
* @param {number} [rowCount]
|
|
243
|
+
* Number of rows to fetch. Defaults to maximal number of rows.
|
|
244
|
+
*
|
|
245
|
+
* @param {Array<string>} [columnIds]
|
|
246
|
+
* Column names and their order to retrieve.
|
|
247
|
+
*
|
|
248
|
+
* @return {Highcharts.DataTableRowObject}
|
|
249
|
+
* Returns retrieved rows.
|
|
250
|
+
*/
|
|
251
|
+
getRowObjects(rowIndex?: number, rowCount?: number, columnIds?: Array<string>): (Array<DataTable.RowObject>);
|
|
252
|
+
/**
|
|
253
|
+
* Fetches all or a number of rows as an array.
|
|
254
|
+
*
|
|
255
|
+
* @function Highcharts.DataTable#getRows
|
|
256
|
+
*
|
|
257
|
+
* @param {number} [rowIndex]
|
|
258
|
+
* Index of the first row to fetch. Defaults to first row at index `0`.
|
|
259
|
+
*
|
|
260
|
+
* @param {number} [rowCount]
|
|
261
|
+
* Number of rows to fetch. Defaults to maximal number of rows.
|
|
262
|
+
*
|
|
263
|
+
* @param {Array<string>} [columnIds]
|
|
264
|
+
* Column names and their order to retrieve.
|
|
265
|
+
*
|
|
266
|
+
* @return {Highcharts.DataTableRow}
|
|
267
|
+
* Returns retrieved rows.
|
|
268
|
+
*/
|
|
269
|
+
getRows(rowIndex?: number, rowCount?: number, columnIds?: Array<string>): (Array<DataTable.Row>);
|
|
270
|
+
/**
|
|
271
|
+
* Returns the unique version tag of the current state of the table.
|
|
272
|
+
*
|
|
273
|
+
* @function Highcharts.DataTable#getVersionTag
|
|
274
|
+
*
|
|
275
|
+
* @return {string}
|
|
276
|
+
* Unique version tag.
|
|
277
|
+
*/
|
|
278
|
+
getVersionTag(): string;
|
|
279
|
+
/**
|
|
280
|
+
* Determines whether all specified column names exist in the table.
|
|
281
|
+
*
|
|
282
|
+
* @function Highcharts.DataTable#hasColumns
|
|
283
|
+
*
|
|
284
|
+
* @param {Array<string>} columnIds
|
|
285
|
+
* Column names to check.
|
|
286
|
+
*
|
|
287
|
+
* @return {boolean}
|
|
288
|
+
* Returns `true` if all columns have been found, otherwise `false`.
|
|
289
|
+
*/
|
|
290
|
+
hasColumns(columnIds: Array<string>): boolean;
|
|
291
|
+
/**
|
|
292
|
+
* Checks if any row in the specified column contains the given cell value.
|
|
293
|
+
*
|
|
294
|
+
* @function Highcharts.DataTable#hasRowWith
|
|
295
|
+
*
|
|
296
|
+
* @param {string} columnId
|
|
297
|
+
* Column to search in.
|
|
298
|
+
*
|
|
299
|
+
* @param {Highcharts.DataTableCellType} cellValue
|
|
300
|
+
* Cell value to search for. `NaN` and `undefined` are not supported.
|
|
301
|
+
*
|
|
302
|
+
* @return {boolean}
|
|
303
|
+
* True, if a row has been found, otherwise false.
|
|
304
|
+
*/
|
|
305
|
+
hasRowWith(columnId: string, cellValue: DataTable.CellType): boolean;
|
|
306
|
+
/**
|
|
307
|
+
* Registers a callback function to be executed when a specific event is
|
|
308
|
+
* emitted. To stop listening to the event, call the function returned by
|
|
309
|
+
* this method.
|
|
310
|
+
*
|
|
311
|
+
* @function Highcharts.DataTable#on
|
|
312
|
+
*
|
|
313
|
+
* @param {string} type
|
|
314
|
+
* Event type as a string.
|
|
315
|
+
*
|
|
316
|
+
* @param {Highcharts.EventCallbackFunction<Highcharts.DataTable>} callback
|
|
317
|
+
* Function to register for an event callback.
|
|
318
|
+
*
|
|
319
|
+
* @return {Function}
|
|
320
|
+
* Function to unregister callback from the event.
|
|
321
|
+
*/
|
|
322
|
+
on<T extends DataTable.Event['type']>(type: T, callback: DataEvent.Callback<this, Extract<DataTable.Event, {
|
|
323
|
+
type: T;
|
|
324
|
+
}>>): Function;
|
|
325
|
+
/**
|
|
326
|
+
* Changes the ID of an existing column to a new ID, effectively renaming
|
|
327
|
+
* the column.
|
|
328
|
+
*
|
|
329
|
+
* @function Highcharts.DataTable#changeColumnId
|
|
330
|
+
*
|
|
331
|
+
* @param {string} columnId
|
|
332
|
+
* Id of the column to be changed.
|
|
333
|
+
*
|
|
334
|
+
* @param {string} newColumnId
|
|
335
|
+
* New id of the column.
|
|
336
|
+
*
|
|
337
|
+
* @return {boolean}
|
|
338
|
+
* Returns `true` if successful, `false` if the column was not found.
|
|
339
|
+
*/
|
|
340
|
+
changeColumnId(columnId: string, newColumnId: string): boolean;
|
|
341
|
+
/**
|
|
342
|
+
* Sets the value of a specific cell identified by column ID and row index.
|
|
343
|
+
* If the column does not exist, it will be created. If the row index is
|
|
344
|
+
* beyond the current row count, the table will be expanded to accommodate
|
|
345
|
+
* the new cell.
|
|
346
|
+
*
|
|
347
|
+
* @function Highcharts.DataTable#setCell
|
|
348
|
+
*
|
|
349
|
+
* @param {string} columnId
|
|
350
|
+
* Column name to set.
|
|
351
|
+
*
|
|
352
|
+
* @param {number|undefined} rowIndex
|
|
353
|
+
* Row index to set.
|
|
354
|
+
*
|
|
355
|
+
* @param {Highcharts.DataTableCellType} cellValue
|
|
356
|
+
* Cell value to set.
|
|
357
|
+
*
|
|
358
|
+
* @param {Highcharts.DataTableEventDetail} [eventDetail]
|
|
359
|
+
* Custom information for pending events.
|
|
360
|
+
*
|
|
361
|
+
* @emits #setCell
|
|
362
|
+
* @emits #afterSetCell
|
|
363
|
+
*/
|
|
364
|
+
setCell(columnId: string, rowIndex: number, cellValue: DataTable.CellType, eventDetail?: DataEvent.Detail): void;
|
|
365
|
+
/**
|
|
366
|
+
* Replaces or updates multiple columns in the table with new data. If a
|
|
367
|
+
* column does not exist, it will be created and added to the table.
|
|
368
|
+
*
|
|
369
|
+
* @function Highcharts.DataTable#setColumns
|
|
370
|
+
*
|
|
371
|
+
* @param {Highcharts.DataTableColumnCollection} columns
|
|
372
|
+
* Columns as a collection, where the keys are the column names.
|
|
373
|
+
*
|
|
374
|
+
* @param {number} [rowIndex]
|
|
375
|
+
* Index of the first row to change. Keep undefined to reset.
|
|
376
|
+
*
|
|
377
|
+
* @param {Highcharts.DataTableEventDetail} [eventDetail]
|
|
378
|
+
* Custom information for pending events.
|
|
379
|
+
*
|
|
380
|
+
* @param {boolean} [typeAsOriginal=false]
|
|
381
|
+
* Determines whether the original column retains its type when data
|
|
382
|
+
* replaced. If `true`, the original column keeps its type. If not
|
|
383
|
+
* (default), the original column will adopt the type of the replacement
|
|
384
|
+
* column.
|
|
385
|
+
*
|
|
386
|
+
* @emits #setColumns
|
|
387
|
+
* @emits #afterSetColumns
|
|
388
|
+
*/
|
|
389
|
+
setColumns(columns: DataTable.ColumnCollection, rowIndex?: number, eventDetail?: DataEvent.Detail, typeAsOriginal?: boolean): void;
|
|
390
|
+
/**
|
|
391
|
+
* Assigns a new data modifier to the table.
|
|
392
|
+
*
|
|
393
|
+
* This method does not modify the table directly. Instead, it sets the
|
|
394
|
+
* `.modified` property of the table with a modified copy of this table,
|
|
395
|
+
* as produced by the modifier.
|
|
396
|
+
*
|
|
397
|
+
* @param {Highcharts.DataModifier} [modifier]
|
|
398
|
+
* Modifier to set, or `undefined` to unset.
|
|
399
|
+
*
|
|
400
|
+
* @param {Highcharts.DataTableEventDetail} [eventDetail]
|
|
401
|
+
* Custom information for pending events.
|
|
402
|
+
*
|
|
403
|
+
* @return {Promise<Highcharts.DataTable>}
|
|
404
|
+
* Resolves to this table if successful, or rejects on failure.
|
|
405
|
+
*
|
|
406
|
+
* @emits #setModifier
|
|
407
|
+
* @emits #afterSetModifier
|
|
408
|
+
*/
|
|
409
|
+
setModifier(modifier?: DataModifier, eventDetail?: DataEvent.Detail): Promise<DataTable>;
|
|
410
|
+
/**
|
|
411
|
+
* Sets the original row indexes for the table. It is used to keep the
|
|
412
|
+
* reference to the original rows when modifying the table.
|
|
413
|
+
*
|
|
414
|
+
* @param {Array<number|undefined>} originalRowIndexes
|
|
415
|
+
* Original row indexes array.
|
|
416
|
+
*
|
|
417
|
+
* @param {boolean} omitLocalRowIndexes
|
|
418
|
+
* Whether to omit the local row indexes calculation. Defaults to `false`.
|
|
419
|
+
*/
|
|
420
|
+
setOriginalRowIndexes(originalRowIndexes: Array<number | undefined>, omitLocalRowIndexes?: boolean): void;
|
|
421
|
+
/**
|
|
422
|
+
* Sets cell values of a row. Will insert a new row, if no index was
|
|
423
|
+
* provided, or if the index is higher than the total number of table rows.
|
|
424
|
+
*
|
|
425
|
+
* Note: This function is just a simplified wrap of
|
|
426
|
+
* {@link Highcharts.DataTable#setRows}.
|
|
427
|
+
*
|
|
428
|
+
* @function Highcharts.DataTable#setRow
|
|
429
|
+
*
|
|
430
|
+
* @param {Highcharts.DataTableRow|Highcharts.DataTableRowObject} row
|
|
431
|
+
* Cell values to set.
|
|
432
|
+
*
|
|
433
|
+
* @param {number} [rowIndex]
|
|
434
|
+
* Index of the row to set. Leave `undefind` to add as a new row.
|
|
435
|
+
*
|
|
436
|
+
* @param {boolean} [insert]
|
|
437
|
+
* Whether to insert the row at the given index, or to overwrite the row.
|
|
438
|
+
*
|
|
439
|
+
* @param {Highcharts.DataTableEventDetail} [eventDetail]
|
|
440
|
+
* Custom information for pending events.
|
|
441
|
+
*
|
|
442
|
+
* @emits #setRows
|
|
443
|
+
* @emits #afterSetRows
|
|
444
|
+
*/
|
|
445
|
+
setRow(row: (DataTable.Row | DataTable.RowObject), rowIndex?: number, insert?: boolean, eventDetail?: DataEvent.Detail): void;
|
|
446
|
+
/**
|
|
447
|
+
* Sets cell values for multiple rows. Will insert new rows, if no index was
|
|
448
|
+
* was provided, or if the index is higher than the total number of table
|
|
449
|
+
* rows.
|
|
450
|
+
*
|
|
451
|
+
* @function Highcharts.DataTable#setRows
|
|
452
|
+
*
|
|
453
|
+
* @param {Array<(Highcharts.DataTableRow|Highcharts.DataTableRowObject)>} rows
|
|
454
|
+
* Row values to set.
|
|
455
|
+
*
|
|
456
|
+
* @param {number} [rowIndex]
|
|
457
|
+
* Index of the first row to set. Leave `undefined` to add as new rows.
|
|
458
|
+
*
|
|
459
|
+
* @param {boolean} [insert]
|
|
460
|
+
* Whether to insert the row at the given index, or to overwrite the row.
|
|
461
|
+
*
|
|
462
|
+
* @param {Highcharts.DataTableEventDetail} [eventDetail]
|
|
463
|
+
* Custom information for pending events.
|
|
464
|
+
*
|
|
465
|
+
* @emits #setRows
|
|
466
|
+
* @emits #afterSetRows
|
|
467
|
+
*/
|
|
468
|
+
setRows(rows: Array<(DataTable.Row | DataTable.RowObject)>, rowIndex?: number, insert?: boolean, eventDetail?: DataEvent.Detail): void;
|
|
469
|
+
}
|
|
470
|
+
/**
|
|
471
|
+
* Additionally it provides necessary types for events.
|
|
472
|
+
*/
|
|
473
|
+
declare namespace DataTable {
|
|
474
|
+
/**
|
|
475
|
+
* Possible value types for a table cell.
|
|
476
|
+
*/
|
|
477
|
+
type CellType = (boolean | number | null | string | undefined);
|
|
478
|
+
/**
|
|
479
|
+
* Conventional array of table cells typed as `CellType`.
|
|
480
|
+
*/
|
|
481
|
+
interface BasicColumn extends Array<DataTable.CellType> {
|
|
482
|
+
[index: number]: CellType;
|
|
483
|
+
}
|
|
484
|
+
/**
|
|
485
|
+
* Array of table cells in vertical expansion.
|
|
486
|
+
*/
|
|
487
|
+
type Column = BasicColumn | TypedArray;
|
|
488
|
+
/**
|
|
489
|
+
* Collection of columns, where the key is the column name and
|
|
490
|
+
* the value is an array of column values.
|
|
491
|
+
*/
|
|
492
|
+
interface ColumnCollection {
|
|
493
|
+
[columnId: string]: Column;
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* Event object for cell-related events.
|
|
497
|
+
*/
|
|
498
|
+
interface CellEvent extends DataEvent {
|
|
499
|
+
readonly type: ('setCell' | 'afterSetCell');
|
|
500
|
+
readonly cellValue: DataTable.CellType;
|
|
501
|
+
readonly columnId: string;
|
|
502
|
+
readonly rowIndex: number;
|
|
503
|
+
}
|
|
504
|
+
/**
|
|
505
|
+
* Event object for clone-related events.
|
|
506
|
+
*/
|
|
507
|
+
interface CloneEvent extends DataEvent {
|
|
508
|
+
readonly type: ('cloneTable' | 'afterCloneTable');
|
|
509
|
+
readonly tableClone?: DataTable;
|
|
510
|
+
}
|
|
511
|
+
/**
|
|
512
|
+
* Event object for column-related events.
|
|
513
|
+
*/
|
|
514
|
+
interface ColumnEvent extends DataEvent {
|
|
515
|
+
readonly type: ('deleteColumns' | 'afterDeleteColumns' | 'setColumns' | 'afterSetColumns');
|
|
516
|
+
readonly columns?: ColumnCollection;
|
|
517
|
+
readonly columnIds: Array<string>;
|
|
518
|
+
readonly rowIndex?: number;
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* All information objects of DataTable events.
|
|
522
|
+
*/
|
|
523
|
+
type Event = (CellEvent | CloneEvent | ColumnEvent | SetModifierEvent | RowEvent);
|
|
524
|
+
/**
|
|
525
|
+
* Event object for modifier-related events.
|
|
526
|
+
*/
|
|
527
|
+
interface ModifierEvent extends DataEvent {
|
|
528
|
+
readonly type: ('setModifier' | 'afterSetModifier');
|
|
529
|
+
readonly modifier: (DataModifier | undefined);
|
|
530
|
+
}
|
|
531
|
+
/**
|
|
532
|
+
* Array of table cells in horizontal expansion. Index of the array is the
|
|
533
|
+
* index of the column names.
|
|
534
|
+
*/
|
|
535
|
+
interface Row extends Array<CellType> {
|
|
536
|
+
[index: number]: CellType;
|
|
537
|
+
}
|
|
538
|
+
/**
|
|
539
|
+
* Event object for row-related events.
|
|
540
|
+
*/
|
|
541
|
+
interface RowEvent extends DataEvent {
|
|
542
|
+
readonly type: ('deleteRows' | 'afterDeleteRows' | 'setRows' | 'afterSetRows');
|
|
543
|
+
readonly rowCount: number;
|
|
544
|
+
readonly rowIndex: number;
|
|
545
|
+
readonly rows?: Array<Row | RowObject>;
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* Object of row values, where the keys are the column names.
|
|
549
|
+
*/
|
|
550
|
+
interface RowObject extends Record<string, CellType> {
|
|
551
|
+
[column: string]: CellType;
|
|
552
|
+
}
|
|
553
|
+
/**
|
|
554
|
+
* Event object for the setModifier events.
|
|
555
|
+
*/
|
|
556
|
+
interface SetModifierEvent extends DataEvent {
|
|
557
|
+
readonly type: ('setModifier' | 'afterSetModifier' | 'setModifierError');
|
|
558
|
+
readonly error?: unknown;
|
|
559
|
+
readonly modifier?: DataModifier;
|
|
560
|
+
readonly modified?: DataTable;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
export default DataTable;
|