@highcharts/grid-pro 2.1.0 → 2.2.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/css/grid-pro.css +428 -432
- package/es-modules/Accessibility/A11yI18n.js +3 -3
- package/es-modules/Accessibility/Accessibility.js +4 -3
- package/es-modules/Accessibility/AccessibilityComponent.d.ts +1 -1
- package/es-modules/Accessibility/AccessibilityComponent.js +4 -3
- package/es-modules/Accessibility/Components/AnnotationsA11y.js +4 -3
- package/es-modules/Accessibility/Components/ContainerComponent.js +4 -3
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +4 -3
- package/es-modules/Accessibility/Components/LegendComponent.js +4 -3
- package/es-modules/Accessibility/Components/MenuComponent.js +4 -3
- package/es-modules/Accessibility/Components/NavigatorComponent.js +3 -3
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +4 -3
- package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +14 -3
- package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +4 -3
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +4 -3
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +4 -3
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +4 -3
- package/es-modules/Accessibility/Components/ZoomComponent.js +4 -3
- package/es-modules/Accessibility/FocusBorder.js +4 -3
- package/es-modules/Accessibility/HighContrastMode.js +4 -3
- package/es-modules/Accessibility/HighContrastTheme.js +4 -3
- package/es-modules/Accessibility/KeyboardNavigation.js +4 -3
- package/es-modules/Accessibility/KeyboardNavigationHandler.js +4 -3
- package/es-modules/Accessibility/Options/A11yDefaults.js +4 -3
- package/es-modules/Accessibility/Options/DeprecatedOptions.js +4 -3
- package/es-modules/Accessibility/Options/LangDefaults.js +4 -3
- package/es-modules/Accessibility/ProxyElement.js +4 -3
- package/es-modules/Accessibility/ProxyProvider.js +4 -3
- package/es-modules/Accessibility/Utils/Announcer.js +4 -3
- package/es-modules/Accessibility/Utils/ChartUtilities.js +4 -3
- package/es-modules/Accessibility/Utils/DOMElementProvider.js +4 -3
- package/es-modules/Accessibility/Utils/EventProvider.d.ts +1 -1
- package/es-modules/Accessibility/Utils/EventProvider.js +4 -3
- package/es-modules/Accessibility/Utils/HTMLUtilities.js +4 -3
- package/es-modules/Core/Animation/AnimationOptions.d.ts +42 -0
- package/es-modules/Core/Animation/AnimationOptions.js +10 -0
- package/es-modules/Core/Animation/AnimationUtilities.js +39 -3
- package/es-modules/Core/Animation/Fx.d.ts +1 -130
- package/es-modules/Core/Animation/Fx.js +13 -6
- package/es-modules/Core/Animation/FxBase.d.ts +1 -0
- package/es-modules/Core/Animation/FxBase.js +11 -0
- package/es-modules/Core/Callback.d.ts +49 -0
- package/es-modules/Core/Callback.js +10 -0
- package/es-modules/Core/Chart/Chart.d.ts +659 -400
- package/es-modules/Core/Chart/Chart.js +64 -54
- package/es-modules/Core/Chart/Chart3D.d.ts +123 -233
- package/es-modules/Core/Chart/Chart3D.js +22 -35
- package/es-modules/Core/Chart/ChartBase.d.ts +3 -0
- package/es-modules/Core/Chart/ChartBase.js +11 -0
- package/es-modules/Core/Chart/ChartDefaults.js +7 -12
- package/es-modules/Core/Chart/ChartNavigationComposition.d.ts +1 -55
- package/es-modules/Core/Chart/ChartNavigationComposition.js +13 -13
- package/es-modules/Core/Chart/ChartOptions.d.ts +1217 -0
- package/es-modules/Core/Chart/ChartOptions.js +10 -0
- package/es-modules/Core/Chart/GanttChart.d.ts +0 -38
- package/es-modules/Core/Chart/GanttChart.js +4 -3
- package/es-modules/Core/Chart/MapChart.d.ts +9 -4
- package/es-modules/Core/Chart/MapChart.js +13 -3
- package/es-modules/Core/Chart/StockChart.d.ts +0 -85
- package/es-modules/Core/Chart/StockChart.js +33 -15
- package/es-modules/Core/Color/Color.d.ts +16 -24
- package/es-modules/Core/Color/Color.js +26 -8
- package/es-modules/Core/Color/ColorString.d.ts +0 -23
- package/es-modules/Core/Color/ColorString.js +11 -0
- package/es-modules/Core/Color/ColorType.d.ts +0 -33
- package/es-modules/Core/Color/ColorType.js +11 -0
- package/es-modules/Core/Color/GradientColor.d.ts +0 -33
- package/es-modules/Core/Color/GradientColor.js +11 -0
- package/es-modules/Core/Color/Palettes.d.ts +1 -84
- package/es-modules/Core/Color/Palettes.js +2 -1
- package/es-modules/Core/Defaults.d.ts +6 -0
- package/es-modules/Core/Defaults.js +30 -66
- package/es-modules/Core/Foundation.d.ts +1 -19
- package/es-modules/Core/Foundation.js +7 -4
- package/es-modules/Core/Geometry/CircleObject.d.ts +5 -0
- package/es-modules/Core/Geometry/CircleObject.js +10 -0
- package/es-modules/Core/Geometry/CircleUtilities.d.ts +1 -189
- package/es-modules/Core/Geometry/CircleUtilities.js +17 -15
- package/es-modules/Core/Geometry/GeometryObject.d.ts +7 -0
- package/es-modules/Core/Geometry/GeometryObject.js +10 -0
- package/es-modules/Core/Geometry/GeometryUtilities.d.ts +1 -48
- package/es-modules/Core/Geometry/GeometryUtilities.js +9 -7
- package/es-modules/Core/Geometry/IntersectionObject.d.ts +7 -0
- package/es-modules/Core/Geometry/IntersectionObject.js +10 -0
- package/es-modules/Core/Geometry/PolygonClip.d.ts +1 -19
- package/es-modules/Core/Geometry/PolygonClip.js +9 -7
- package/es-modules/Core/Globals.d.ts +9 -31
- package/es-modules/Core/Globals.js +9 -10
- package/es-modules/Core/GlobalsBase.d.ts +35 -0
- package/es-modules/Core/GlobalsBase.js +11 -0
- package/es-modules/Core/HttpUtilities.d.ts +54 -17
- package/es-modules/Core/HttpUtilities.js +15 -14
- package/es-modules/Core/JSON.d.ts +29 -0
- package/es-modules/Core/JSON.js +13 -0
- package/es-modules/Core/KeyboardEvent.d.ts +1 -0
- package/es-modules/Core/KeyboardEvent.js +11 -0
- package/es-modules/Core/MSPointer.d.ts +1 -74
- package/es-modules/Core/MSPointer.js +23 -13
- package/es-modules/Core/Math3D.d.ts +1 -117
- package/es-modules/Core/Math3D.js +13 -10
- package/es-modules/Core/Options.d.ts +334 -0
- package/es-modules/Core/Options.js +10 -0
- package/es-modules/Core/Pointer.d.ts +71 -445
- package/es-modules/Core/Pointer.js +51 -65
- package/es-modules/Core/PointerEvent.d.ts +18 -0
- package/es-modules/Core/PointerEvent.js +11 -0
- package/es-modules/Core/Renderer/AlignObject.d.ts +25 -27
- package/es-modules/Core/Renderer/AlignObject.js +11 -0
- package/es-modules/Core/Renderer/BBoxObject.d.ts +20 -31
- package/es-modules/Core/Renderer/BBoxObject.js +11 -0
- package/es-modules/Core/Renderer/CSSObject.d.ts +268 -59
- package/es-modules/Core/Renderer/CSSObject.js +10 -0
- package/es-modules/Core/Renderer/DOMElementType.d.ts +1 -33
- package/es-modules/Core/Renderer/DOMElementType.js +11 -0
- package/es-modules/Core/Renderer/DashStyleValue.d.ts +1 -27
- package/es-modules/Core/Renderer/DashStyleValue.js +11 -0
- package/es-modules/Core/Renderer/FontMetricsObject.d.ts +6 -26
- package/es-modules/Core/Renderer/FontMetricsObject.js +11 -0
- package/es-modules/Core/Renderer/HTML/AST.d.ts +3 -15
- package/es-modules/Core/Renderer/HTML/AST.js +22 -13
- package/es-modules/Core/Renderer/HTML/HTMLAttributes.d.ts +1 -25
- package/es-modules/Core/Renderer/HTML/HTMLAttributes.js +11 -0
- package/es-modules/Core/Renderer/HTML/HTMLElement.d.ts +0 -54
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +27 -22
- package/es-modules/Core/Renderer/PolygonBoxObject.d.ts +15 -12
- package/es-modules/Core/Renderer/PolygonBoxObject.js +11 -0
- package/es-modules/Core/Renderer/Position3DObject.d.ts +6 -30
- package/es-modules/Core/Renderer/Position3DObject.js +11 -0
- package/es-modules/Core/Renderer/PositionObject.d.ts +9 -23
- package/es-modules/Core/Renderer/PositionObject.js +11 -0
- package/es-modules/Core/Renderer/RectangleObject.d.ts +6 -30
- package/es-modules/Core/Renderer/RectangleObject.js +11 -0
- package/es-modules/Core/Renderer/RendererRegistry.d.ts +1 -29
- package/es-modules/Core/Renderer/RendererRegistry.js +6 -3
- package/es-modules/Core/Renderer/RendererType.d.ts +1 -53
- package/es-modules/Core/Renderer/RendererType.js +11 -0
- package/es-modules/Core/Renderer/RendererUtilities.d.ts +1 -26
- package/es-modules/Core/Renderer/RendererUtilities.js +7 -4
- package/es-modules/Core/Renderer/SVG/ButtonThemeObject.d.ts +26 -31
- package/es-modules/Core/Renderer/SVG/SVGArc3D.d.ts +1 -44
- package/es-modules/Core/Renderer/SVG/SVGAttributes.d.ts +15 -51
- package/es-modules/Core/Renderer/SVG/SVGAttributes3D.d.ts +1 -42
- package/es-modules/Core/Renderer/SVG/SVGCuboid.d.ts +1 -42
- package/es-modules/Core/Renderer/SVG/SVGElement.d.ts +459 -0
- package/es-modules/Core/Renderer/SVG/SVGElement3D.d.ts +1 -0
- package/es-modules/Core/Renderer/SVG/SVGElementBase.d.ts +0 -23
- package/es-modules/Core/Renderer/SVG/SVGLabel.d.ts +14 -0
- package/es-modules/Core/Renderer/SVG/SVGPath.d.ts +18 -56
- package/es-modules/Core/Renderer/SVG/SVGPath3D.d.ts +0 -30
- package/es-modules/Core/Renderer/SVG/SVGRenderer.d.ts +652 -0
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.d.ts +1 -0
- package/es-modules/Core/Renderer/SVG/SVGRendererBase.d.ts +0 -24
- package/es-modules/Core/Renderer/SVG/SymbolOptions.d.ts +3 -26
- package/es-modules/Core/Renderer/SVG/SymbolType.d.ts +1 -41
- package/es-modules/Core/Renderer/SVG/Symbols.d.ts +146 -0
- package/es-modules/Core/Renderer/SVG/TextBuilder.d.ts +1 -0
- package/es-modules/Core/Renderer/ShadowOptionsObject.d.ts +21 -30
- package/es-modules/Core/Renderer/ShadowOptionsObject.js +11 -0
- package/es-modules/Core/Renderer/SizeObject.d.ts +0 -23
- package/es-modules/Core/Renderer/SizeObject.js +11 -0
- package/es-modules/Core/Responsive.d.ts +91 -28
- package/es-modules/Core/Responsive.js +7 -8
- package/es-modules/Core/Templating.d.ts +16 -0
- package/es-modules/Core/Templating.js +9 -4
- package/es-modules/Core/Time.d.ts +10 -1
- package/es-modules/Core/Time.js +4 -3
- package/es-modules/Core/Tooltip.d.ts +63 -115
- package/es-modules/Core/Tooltip.js +61 -27
- package/es-modules/Core/TooltipOptions.d.ts +681 -0
- package/es-modules/Core/TooltipOptions.js +10 -0
- package/es-modules/Core/Utilities.d.ts +75 -106
- package/es-modules/Core/Utilities.js +19 -53
- package/es-modules/Data/ColumnUtils.js +3 -3
- package/es-modules/Data/Connectors/CSVConnector.js +3 -3
- package/es-modules/Data/Connectors/CSVConnectorOptions.d.ts +3 -3
- package/es-modules/Data/Connectors/DataConnector.d.ts +12 -1
- package/es-modules/Data/Connectors/DataConnector.js +34 -4
- package/es-modules/Data/Connectors/DataConnectorOptions.d.ts +3 -3
- package/es-modules/Data/Connectors/DataConnectorType.d.ts +3 -3
- package/es-modules/Data/Connectors/GoogleSheetsConnector.js +3 -3
- package/es-modules/Data/Connectors/GoogleSheetsConnectorOptions.d.ts +3 -3
- package/es-modules/Data/Connectors/HTMLTableConnector.js +3 -3
- package/es-modules/Data/Connectors/HTMLTableConnectorOptions.d.ts +3 -3
- package/es-modules/Data/Connectors/JSONConnector.js +3 -3
- package/es-modules/Data/Connectors/JSONConnectorOptions.d.ts +3 -3
- package/es-modules/Data/Converters/CSVConverter.js +3 -3
- package/es-modules/Data/Converters/CSVConverterOptions.d.ts +3 -3
- package/es-modules/Data/Converters/DataConverter.js +3 -3
- package/es-modules/Data/Converters/DataConverterType.d.ts +3 -3
- package/es-modules/Data/Converters/DataConverterUtils.js +3 -3
- package/es-modules/Data/Converters/GoogleSheetsConverter.js +3 -3
- package/es-modules/Data/Converters/GoogleSheetsConverterOptions.d.ts +3 -3
- package/es-modules/Data/Converters/HTMLTableConverter.js +3 -3
- package/es-modules/Data/Converters/HTMLTableConverterOptions.d.ts +3 -3
- package/es-modules/Data/Converters/JSONConverter.js +3 -3
- package/es-modules/Data/Converters/JSONConverterOptions.d.ts +3 -3
- package/es-modules/Data/DataCursor.js +3 -3
- package/es-modules/Data/DataEvent.js +3 -3
- package/es-modules/Data/DataPool.js +3 -3
- package/es-modules/Data/DataPoolOptions.d.ts +3 -3
- package/es-modules/Data/DataTable.d.ts +6 -6
- package/es-modules/Data/DataTable.js +64 -30
- package/es-modules/Data/DataTableCore.d.ts +2 -2
- package/es-modules/Data/DataTableCore.js +5 -5
- package/es-modules/Data/DataTableOptions.js +3 -3
- package/es-modules/Data/Formula/Formula.js +3 -3
- package/es-modules/Data/Formula/FormulaParser.js +3 -3
- package/es-modules/Data/Formula/FormulaProcessor.js +3 -3
- package/es-modules/Data/Formula/FormulaTypes.js +3 -3
- package/es-modules/Data/Formula/Functions/ABS.js +3 -3
- package/es-modules/Data/Formula/Functions/AND.js +3 -3
- package/es-modules/Data/Formula/Functions/AVERAGE.js +3 -3
- package/es-modules/Data/Formula/Functions/AVERAGEA.js +3 -3
- package/es-modules/Data/Formula/Functions/COUNT.js +3 -3
- package/es-modules/Data/Formula/Functions/COUNTA.js +3 -3
- package/es-modules/Data/Formula/Functions/IF.js +3 -3
- package/es-modules/Data/Formula/Functions/ISNA.js +3 -3
- package/es-modules/Data/Formula/Functions/MAX.js +3 -3
- package/es-modules/Data/Formula/Functions/MEDIAN.js +3 -3
- package/es-modules/Data/Formula/Functions/MIN.js +3 -3
- package/es-modules/Data/Formula/Functions/MOD.js +3 -3
- package/es-modules/Data/Formula/Functions/MODE.js +3 -3
- package/es-modules/Data/Formula/Functions/NOT.js +3 -3
- package/es-modules/Data/Formula/Functions/OR.js +3 -3
- package/es-modules/Data/Formula/Functions/PRODUCT.js +3 -3
- package/es-modules/Data/Formula/Functions/SUM.js +3 -3
- package/es-modules/Data/Formula/Functions/XOR.js +3 -3
- package/es-modules/Data/Modifiers/ChainModifier.js +3 -3
- package/es-modules/Data/Modifiers/ChainModifierOptions.js +3 -3
- package/es-modules/Data/Modifiers/DataModifier.js +3 -3
- package/es-modules/Data/Modifiers/DataModifierEvent.js +3 -3
- package/es-modules/Data/Modifiers/DataModifierOptions.js +3 -3
- package/es-modules/Data/Modifiers/DataModifierType.d.ts +3 -3
- package/es-modules/Data/Modifiers/FilterModifier.js +3 -3
- package/es-modules/Data/Modifiers/FilterModifierOptions.js +3 -3
- package/es-modules/Data/Modifiers/InvertModifier.js +3 -3
- package/es-modules/Data/Modifiers/InvertModifierOptions.js +3 -3
- package/es-modules/Data/Modifiers/MathModifier.js +3 -3
- package/es-modules/Data/Modifiers/MathModifierOptions.js +3 -3
- package/es-modules/Data/Modifiers/RangeModifier.js +3 -3
- package/es-modules/Data/Modifiers/RangeModifierOptions.js +3 -3
- package/es-modules/Data/Modifiers/SortModifier.js +32 -6
- package/es-modules/Data/Modifiers/SortModifierOptions.d.ts +41 -4
- package/es-modules/Data/Modifiers/SortModifierOptions.js +3 -3
- package/es-modules/Grid/Core/Accessibility/A11yOptions.d.ts +77 -0
- package/es-modules/Grid/Core/Accessibility/A11yOptions.js +4 -3
- package/es-modules/Grid/Core/Accessibility/Accessibility.d.ts +67 -0
- package/es-modules/Grid/Core/Accessibility/Accessibility.js +176 -3
- package/es-modules/Grid/Core/Credits.js +3 -3
- package/es-modules/Grid/Core/Defaults.js +17 -5
- package/es-modules/Grid/Core/Globals.d.ts +4 -4
- package/es-modules/Grid/Core/Globals.js +5 -5
- package/es-modules/Grid/Core/Grid.d.ts +12 -1
- package/es-modules/Grid/Core/Grid.js +110 -8
- package/es-modules/Grid/Core/GridUtils.js +3 -3
- package/es-modules/Grid/Core/Options.d.ts +17 -1
- package/es-modules/Grid/Core/Options.js +3 -3
- package/es-modules/Grid/Core/Pagination/Pagination.js +3 -3
- package/es-modules/Grid/Core/Pagination/PaginationOptions.d.ts +0 -40
- package/es-modules/Grid/Core/Pagination/PaginationOptions.js +11 -0
- package/es-modules/Grid/Core/Querying/FilteringController.js +3 -3
- package/es-modules/Grid/Core/Querying/PaginationController.js +3 -3
- package/es-modules/Grid/Core/Querying/QueryingController.js +3 -3
- package/es-modules/Grid/Core/Querying/SortingController.d.ts +15 -0
- package/es-modules/Grid/Core/Querying/SortingController.js +89 -51
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/ColumnFiltering.js +3 -3
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterCell.d.ts +2 -2
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterCell.js +3 -3
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterRow.js +3 -3
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilteringTypes.js +3 -3
- package/es-modules/Grid/Core/Table/Actions/ColumnSorting.d.ts +12 -2
- package/es-modules/Grid/Core/Table/Actions/ColumnSorting.js +85 -18
- package/es-modules/Grid/Core/Table/Actions/ColumnsResizer.js +3 -3
- package/es-modules/Grid/Core/Table/Actions/RowsVirtualizer.d.ts +37 -0
- package/es-modules/Grid/Core/Table/Actions/RowsVirtualizer.js +137 -26
- package/es-modules/Grid/Core/Table/Body/TableCell.d.ts +9 -2
- package/es-modules/Grid/Core/Table/Body/TableCell.js +15 -8
- package/es-modules/Grid/Core/Table/Body/TableRow.d.ts +18 -0
- package/es-modules/Grid/Core/Table/Body/TableRow.js +56 -10
- package/es-modules/Grid/Core/Table/Cell.d.ts +0 -7
- package/es-modules/Grid/Core/Table/Cell.js +5 -3
- package/es-modules/Grid/Core/Table/CellContent/CellContent.js +3 -3
- package/es-modules/Grid/Core/Table/CellContent/TextContent.js +4 -4
- package/es-modules/Grid/Core/Table/Column.d.ts +1 -1
- package/es-modules/Grid/Core/Table/Column.js +3 -3
- package/es-modules/Grid/Core/Table/ColumnResizing/AdjacentResizingMode.js +3 -3
- package/es-modules/Grid/Core/Table/ColumnResizing/ColumnResizing.js +3 -3
- package/es-modules/Grid/Core/Table/ColumnResizing/DistributedResizingMode.js +3 -3
- package/es-modules/Grid/Core/Table/ColumnResizing/IndependentResizingMode.js +3 -3
- package/es-modules/Grid/Core/Table/ColumnResizing/ResizingMode.js +3 -3
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ColumnToolbar.js +14 -5
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/FilterPopup.js +3 -3
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuButtons/FilterMenuButton.js +3 -3
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuButtons/SortMenuButton.d.ts +9 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuButtons/SortMenuButton.js +35 -6
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuPopup.js +5 -4
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/StateHelpers.js +11 -7
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/FilterToolbarButton.js +3 -3
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/MenuToolbarButton.js +3 -3
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/SortToolbarButton.d.ts +5 -1
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/SortToolbarButton.js +92 -9
- package/es-modules/Grid/Core/Table/Header/HeaderCell.d.ts +2 -2
- package/es-modules/Grid/Core/Table/Header/HeaderCell.js +8 -7
- package/es-modules/Grid/Core/Table/Header/HeaderRow.js +3 -3
- package/es-modules/Grid/Core/Table/Header/TableHeader.js +3 -3
- package/es-modules/Grid/Core/Table/Row.js +3 -3
- package/es-modules/Grid/Core/Table/Table.d.ts +30 -0
- package/es-modules/Grid/Core/Table/Table.js +118 -7
- package/es-modules/Grid/Core/UI/Button.js +3 -3
- package/es-modules/Grid/Core/UI/ContextMenu.js +3 -3
- package/es-modules/Grid/Core/UI/ContextMenuButton.js +3 -3
- package/es-modules/Grid/Core/UI/Popup.js +3 -3
- package/es-modules/Grid/Core/UI/SvgIcons.js +3 -3
- package/es-modules/Grid/Core/UI/Toolbar.js +3 -3
- package/es-modules/Grid/Core/UI/ToolbarButton.js +3 -3
- package/es-modules/Grid/Pro/CellEditing/CellEditMode.d.ts +3 -44
- package/es-modules/Grid/Pro/CellEditing/CellEditMode.js +16 -0
- package/es-modules/Grid/Pro/CellEditing/CellEditing.js +3 -3
- package/es-modules/Grid/Pro/CellEditing/CellEditingComposition.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/CellContentPro.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/CellRenderer.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/CellRendererRegistry.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/CellRendererType.d.ts +1 -34
- package/es-modules/Grid/Pro/CellRendering/CellRendererType.js +15 -0
- package/es-modules/Grid/Pro/CellRendering/CellRenderersComposition.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/CheckboxContent.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateInputContent.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateInputContentBase.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateTimeInputContent.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/NumberInputContent.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/SelectContent.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/SparklineContent.d.ts +7 -5
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/SparklineContent.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/TextInputContent.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/TimeInputContent.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/Renderers/CheckboxRenderer.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/Renderers/DateInputRenderer.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/Renderers/DateInputRendererBase.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/Renderers/DateTimeInputRenderer.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/Renderers/NumberInputRenderer.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/Renderers/SelectRenderer.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/Renderers/SparklineRenderer.d.ts +3 -3
- package/es-modules/Grid/Pro/CellRendering/Renderers/SparklineRenderer.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/Renderers/TextInputRenderer.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/Renderers/TextRenderer.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/Renderers/TimeInputRenderer.js +3 -3
- package/es-modules/Grid/Pro/ColumnTypes/Validator.d.ts +10 -1
- package/es-modules/Grid/Pro/ColumnTypes/Validator.js +50 -8
- package/es-modules/Grid/Pro/ColumnTypes/ValidatorComposition.js +3 -3
- package/es-modules/Grid/Pro/Credits/CreditsPro.js +3 -3
- package/es-modules/Grid/Pro/Credits/CreditsProComposition.js +3 -3
- package/es-modules/Grid/Pro/Export/Exporting.js +4 -5
- package/es-modules/Grid/Pro/Export/ExportingComposition.js +3 -3
- package/es-modules/Grid/Pro/GridEvents.d.ts +1 -0
- package/es-modules/Grid/Pro/GridEvents.js +3 -3
- package/es-modules/Grid/Pro/Pagination/PaginationComposition.js +3 -3
- package/es-modules/Grid/index.js +3 -3
- package/es-modules/Shared/BaseForm.js +3 -3
- package/es-modules/Shared/DownloadURL.d.ts +1 -85
- package/es-modules/Shared/DownloadURL.js +14 -11
- package/es-modules/Shared/LangOptionsCore.d.ts +4 -3
- package/es-modules/Shared/TimeBase.d.ts +1 -46
- package/es-modules/Shared/TimeBase.js +8 -7
- package/es-modules/Shared/Types.d.ts +4 -3
- package/es-modules/masters/grid-pro.src.d.ts +8 -13
- package/es-modules/masters/grid-pro.src.js +15 -7
- package/grid-pro.d.ts +8 -13
- package/grid-pro.js +6 -5
- package/grid-pro.js.map +1 -1
- package/grid-pro.src.d.ts +8 -13
- package/grid-pro.src.js +1923 -721
- package/package.json +1 -9
- package/es-modules/Grid/Pro/highcharts.d.ts +0 -7
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import type { HTMLDOMElement } from '../Renderer/DOMElementType';
|
|
2
1
|
import type Options from '../Options';
|
|
3
2
|
import Chart from './Chart.js';
|
|
4
3
|
declare module '../Options' {
|
|
5
4
|
interface Options {
|
|
6
|
-
isGantt?: boolean;
|
|
7
5
|
}
|
|
8
6
|
}
|
|
9
7
|
/**
|
|
@@ -35,40 +33,4 @@ declare class GanttChart extends Chart {
|
|
|
35
33
|
*/
|
|
36
34
|
init(userOptions: Partial<Options>, callback?: Chart.CallbackFunction): void;
|
|
37
35
|
}
|
|
38
|
-
declare namespace GanttChart {
|
|
39
|
-
/**
|
|
40
|
-
* The factory function for creating new gantt charts. Creates a new {@link
|
|
41
|
-
* Highcharts.GanttChart|GanttChart} object with different default options
|
|
42
|
-
* than the basic Chart.
|
|
43
|
-
*
|
|
44
|
-
* @example
|
|
45
|
-
* // Render a chart in to div#container
|
|
46
|
-
* let chart = Highcharts.ganttChart('container', {
|
|
47
|
-
* title: {
|
|
48
|
-
* text: 'My chart'
|
|
49
|
-
* },
|
|
50
|
-
* series: [{
|
|
51
|
-
* data: ...
|
|
52
|
-
* }]
|
|
53
|
-
* });
|
|
54
|
-
*
|
|
55
|
-
* @function Highcharts.ganttChart
|
|
56
|
-
*
|
|
57
|
-
* @param {string|Highcharts.HTMLDOMElement} renderTo
|
|
58
|
-
* The DOM element to render to, or its id.
|
|
59
|
-
*
|
|
60
|
-
* @param {Highcharts.Options} options
|
|
61
|
-
* The chart options structure.
|
|
62
|
-
*
|
|
63
|
-
* @param {Highcharts.ChartCallbackFunction} [callback]
|
|
64
|
-
* Function to run when the chart has loaded and all external
|
|
65
|
-
* images are loaded. Defining a
|
|
66
|
-
* [chart.events.load](https://api.highcharts.com/highcharts/chart.events.load)
|
|
67
|
-
* handler is equivalent.
|
|
68
|
-
*
|
|
69
|
-
* @return {Highcharts.GanttChart}
|
|
70
|
-
* Returns the Chart object.
|
|
71
|
-
*/
|
|
72
|
-
function ganttChart(a: (string | HTMLDOMElement | Options), b?: (Chart.CallbackFunction | Options), c?: Chart.CallbackFunction): GanttChart;
|
|
73
|
-
}
|
|
74
36
|
export default GanttChart;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* *
|
|
2
2
|
*
|
|
3
|
-
* (c) 2016-
|
|
3
|
+
* (c) 2016-2026 Highsoft AS
|
|
4
4
|
*
|
|
5
5
|
* Author: Lars A. V. Cabrera
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* A commercial license may be required depending on use.
|
|
8
|
+
* See www.highcharts.com/license
|
|
8
9
|
*
|
|
9
|
-
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
@@ -135,6 +135,7 @@ class GanttChart extends Chart {
|
|
|
135
135
|
* Class Namespace
|
|
136
136
|
*
|
|
137
137
|
* */
|
|
138
|
+
/** @internal */
|
|
138
139
|
(function (GanttChart) {
|
|
139
140
|
/* *
|
|
140
141
|
*
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import type { HTMLDOMElement } from '../Renderer/DOMElementType';
|
|
2
|
-
import type MapPoint from '../../Series/Map/MapPoint';
|
|
3
|
-
import type MapPointer from '../../Maps/MapPointer';
|
|
4
2
|
import type MapView from '../../Maps/MapView';
|
|
5
3
|
import type Options from '../Options';
|
|
6
4
|
import type SVGPath from '../Renderer/SVG/SVGPath';
|
|
@@ -71,11 +69,18 @@ declare class MapChart extends Chart {
|
|
|
71
69
|
* Keep this chart position stationary if possible.
|
|
72
70
|
*/
|
|
73
71
|
mapZoom(howMuch?: number, xProjected?: number, yProjected?: number, chartX?: number, chartY?: number): void;
|
|
72
|
+
/**
|
|
73
|
+
* A wrapper for the chart's update function that will additionally run
|
|
74
|
+
* recommendMapView on chart.map change.
|
|
75
|
+
*
|
|
76
|
+
* @function Highcharts.MapChart#update
|
|
77
|
+
*
|
|
78
|
+
* @param {Highcharts.Options} options
|
|
79
|
+
* The chart options.
|
|
80
|
+
*/
|
|
74
81
|
update(options: Partial<Options>): void;
|
|
75
82
|
}
|
|
76
83
|
interface MapChart extends Chart {
|
|
77
|
-
hoverPoint?: MapPoint;
|
|
78
|
-
pointer: MapPointer;
|
|
79
84
|
}
|
|
80
85
|
declare namespace MapChart {
|
|
81
86
|
/**
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/* *
|
|
2
2
|
*
|
|
3
|
-
* (c) 2010-
|
|
3
|
+
* (c) 2010-2026 Highsoft AS
|
|
4
|
+
* Author: Torstein Honsi
|
|
4
5
|
*
|
|
5
|
-
*
|
|
6
|
+
* A commercial license may be required depending on use.
|
|
7
|
+
* See www.highcharts.com/license
|
|
6
8
|
*
|
|
7
|
-
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
8
9
|
*
|
|
9
10
|
* */
|
|
10
11
|
'use strict';
|
|
@@ -119,6 +120,15 @@ class MapChart extends Chart {
|
|
|
119
120
|
void 0);
|
|
120
121
|
}
|
|
121
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
* A wrapper for the chart's update function that will additionally run
|
|
125
|
+
* recommendMapView on chart.map change.
|
|
126
|
+
*
|
|
127
|
+
* @function Highcharts.MapChart#update
|
|
128
|
+
*
|
|
129
|
+
* @param {Highcharts.Options} options
|
|
130
|
+
* The chart options.
|
|
131
|
+
*/
|
|
122
132
|
update(options) {
|
|
123
133
|
// Calculate and set the recommended map view if map option is set
|
|
124
134
|
if (options.chart && 'map' in options.chart) {
|
|
@@ -1,41 +1,5 @@
|
|
|
1
|
-
import type Axis from '../Axis/Axis';
|
|
2
|
-
import type { AxisCollectionKey } from '../Axis/AxisOptions';
|
|
3
|
-
import type BBoxObject from '../Renderer/BBoxObject';
|
|
4
|
-
import type { HTMLDOMElement } from '../Renderer/DOMElementType';
|
|
5
1
|
import type Options from '../Options';
|
|
6
|
-
import type Series from '../Series/Series';
|
|
7
|
-
import type SVGElement from '../Renderer/SVG/SVGElement';
|
|
8
|
-
import type SVGPath from '../Renderer/SVG/SVGPath';
|
|
9
|
-
import type SVGRenderer from '../Renderer/SVG/SVGRenderer';
|
|
10
2
|
import Chart from '../Chart/Chart.js';
|
|
11
|
-
declare module '../Axis/AxisBase' {
|
|
12
|
-
interface AxisBase {
|
|
13
|
-
crossLabel?: SVGElement;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
declare module './ChartBase' {
|
|
17
|
-
interface ChartBase {
|
|
18
|
-
_labelPanes?: Record<string, Axis>;
|
|
19
|
-
fixedRange?: number;
|
|
20
|
-
setFixedRange(range: number | undefined): void;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
declare module '../Options' {
|
|
24
|
-
interface Options {
|
|
25
|
-
isStock?: boolean;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
declare module '../Series/SeriesBase' {
|
|
29
|
-
interface SeriesBase {
|
|
30
|
-
clipBox?: BBoxObject;
|
|
31
|
-
forceCropping(): boolean | undefined;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
declare module '../Renderer/SVG/SVGRendererBase' {
|
|
35
|
-
interface SVGRendererBase {
|
|
36
|
-
crispPolyLine(points: SVGPath, width: number): SVGPath;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
3
|
/**
|
|
40
4
|
* Stock-optimized chart. Use {@link Highcharts.Chart|Chart} for common charts.
|
|
41
5
|
*
|
|
@@ -64,54 +28,5 @@ declare class StockChart extends Chart {
|
|
|
64
28
|
* @emits Highcharts.StockChart#event:afterInit
|
|
65
29
|
*/
|
|
66
30
|
init(userOptions: Partial<Options>, callback?: Chart.CallbackFunction): void;
|
|
67
|
-
/**
|
|
68
|
-
* Factory for creating different axis types.
|
|
69
|
-
* Extended to add stock defaults.
|
|
70
|
-
*
|
|
71
|
-
* @private
|
|
72
|
-
* @function Highcharts.StockChart#createAxis
|
|
73
|
-
* @param {string} coll
|
|
74
|
-
* An axis type.
|
|
75
|
-
* @param {Chart.CreateAxisOptionsObject} options
|
|
76
|
-
* The axis creation options.
|
|
77
|
-
*/
|
|
78
|
-
createAxis(coll: AxisCollectionKey, options: Chart.CreateAxisOptionsObject): Axis;
|
|
79
|
-
}
|
|
80
|
-
declare namespace StockChart {
|
|
81
|
-
/** @private */
|
|
82
|
-
function compose(ChartClass: typeof Chart, AxisClass: typeof Axis, SeriesClass: typeof Series, SVGRendererClass: typeof SVGRenderer): void;
|
|
83
|
-
/**
|
|
84
|
-
* Factory function for creating new stock charts. Creates a new
|
|
85
|
-
* {@link Highcharts.StockChart|StockChart} object with different default
|
|
86
|
-
* options than the basic Chart.
|
|
87
|
-
*
|
|
88
|
-
* @example
|
|
89
|
-
* let chart = Highcharts.stockChart('container', {
|
|
90
|
-
* series: [{
|
|
91
|
-
* data: [1, 2, 3, 4, 5, 6, 7, 8, 9],
|
|
92
|
-
* pointInterval: 24 * 60 * 60 * 1000
|
|
93
|
-
* }]
|
|
94
|
-
* });
|
|
95
|
-
*
|
|
96
|
-
* @function Highcharts.stockChart
|
|
97
|
-
*
|
|
98
|
-
* @param {string|Highcharts.HTMLDOMElement} [renderTo]
|
|
99
|
-
* The DOM element to render to, or its id.
|
|
100
|
-
*
|
|
101
|
-
* @param {Highcharts.Options} options
|
|
102
|
-
* The chart options structure as described in the
|
|
103
|
-
* [options reference](https://api.highcharts.com/highstock).
|
|
104
|
-
*
|
|
105
|
-
* @param {Highcharts.ChartCallbackFunction} [callback]
|
|
106
|
-
* A function to execute when the chart object is finished
|
|
107
|
-
* rendering and all external image files (`chart.backgroundImage`,
|
|
108
|
-
* `chart.plotBackgroundImage` etc) are loaded. Defining a
|
|
109
|
-
* [chart.events.load](https://api.highcharts.com/highstock/chart.events.load)
|
|
110
|
-
* handler is equivalent.
|
|
111
|
-
*
|
|
112
|
-
* @return {Highcharts.StockChart}
|
|
113
|
-
* The chart object.
|
|
114
|
-
*/
|
|
115
|
-
function stockChart(a: (string | HTMLDOMElement | Options), b?: (Chart.CallbackFunction | Options), c?: Chart.CallbackFunction): StockChart;
|
|
116
31
|
}
|
|
117
32
|
export default StockChart;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/* *
|
|
2
2
|
*
|
|
3
|
-
* (c) 2010-
|
|
3
|
+
* (c) 2010-2026 Highsoft AS
|
|
4
|
+
* Author: Torstein Honsi
|
|
4
5
|
*
|
|
5
|
-
*
|
|
6
|
+
* A commercial license may be required depending on use.
|
|
7
|
+
* See www.highcharts.com/license
|
|
6
8
|
*
|
|
7
|
-
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
8
9
|
*
|
|
9
10
|
* */
|
|
10
11
|
'use strict';
|
|
@@ -28,7 +29,7 @@ const { addEvent, clamp, crisp, defined, extend, find, isNumber, isString, merge
|
|
|
28
29
|
/**
|
|
29
30
|
* Get stock-specific default axis options.
|
|
30
31
|
*
|
|
31
|
-
* @
|
|
32
|
+
* @internal
|
|
32
33
|
* @function getDefaultAxisOptions
|
|
33
34
|
*/
|
|
34
35
|
function getDefaultAxisOptions(coll, options, defaultOptions) {
|
|
@@ -60,7 +61,7 @@ function getDefaultAxisOptions(coll, options, defaultOptions) {
|
|
|
60
61
|
/**
|
|
61
62
|
* Get stock-specific forced axis options.
|
|
62
63
|
*
|
|
63
|
-
* @
|
|
64
|
+
* @internal
|
|
64
65
|
* @function getForcedAxisOptions
|
|
65
66
|
*/
|
|
66
67
|
function getForcedAxisOptions(type, chartOptions) {
|
|
@@ -180,7 +181,7 @@ class StockChart extends Chart {
|
|
|
180
181
|
* Factory for creating different axis types.
|
|
181
182
|
* Extended to add stock defaults.
|
|
182
183
|
*
|
|
183
|
-
* @
|
|
184
|
+
* @internal
|
|
184
185
|
* @function Highcharts.StockChart#createAxis
|
|
185
186
|
* @param {string} coll
|
|
186
187
|
* An axis type.
|
|
@@ -208,13 +209,30 @@ addEvent(Chart, 'update', function (e) {
|
|
|
208
209
|
* Composition
|
|
209
210
|
*
|
|
210
211
|
* */
|
|
212
|
+
/** @internal */
|
|
211
213
|
(function (StockChart) {
|
|
212
214
|
/* *
|
|
213
215
|
*
|
|
214
216
|
* Functions
|
|
215
217
|
*
|
|
216
218
|
* */
|
|
217
|
-
/**
|
|
219
|
+
/**
|
|
220
|
+
* Composes the chart with the stock-specific functionality.
|
|
221
|
+
*
|
|
222
|
+
* @internal
|
|
223
|
+
*
|
|
224
|
+
* @param {Highcharts.Class<Highcharts.Chart>} ChartClass
|
|
225
|
+
* The chart class to compose.
|
|
226
|
+
*
|
|
227
|
+
* @param {Highcharts.Class<Highcharts.Axis>} AxisClass
|
|
228
|
+
* The axis class to compose.
|
|
229
|
+
*
|
|
230
|
+
* @param {Highcharts.Class<Highcharts.Series>} SeriesClass
|
|
231
|
+
* The series class to compose.
|
|
232
|
+
*
|
|
233
|
+
* @param {Highcharts.Class<Highcharts.SVGRenderer>} SVGRendererClass
|
|
234
|
+
* The SVG renderer class to compose.
|
|
235
|
+
*/
|
|
218
236
|
function compose(ChartClass, AxisClass, SeriesClass, SVGRendererClass) {
|
|
219
237
|
const seriesProto = SeriesClass.prototype;
|
|
220
238
|
if (!seriesProto.forceCropping) {
|
|
@@ -232,7 +250,7 @@ addEvent(Chart, 'update', function (e) {
|
|
|
232
250
|
StockChart.compose = compose;
|
|
233
251
|
/**
|
|
234
252
|
* Extend crosshairs to also draw the label.
|
|
235
|
-
* @
|
|
253
|
+
* @internal
|
|
236
254
|
*/
|
|
237
255
|
function onAxisAfterDrawCrosshair(event) {
|
|
238
256
|
const axis = this;
|
|
@@ -384,7 +402,7 @@ addEvent(Chart, 'update', function (e) {
|
|
|
384
402
|
}
|
|
385
403
|
/**
|
|
386
404
|
* Wrapper to hide the label.
|
|
387
|
-
* @
|
|
405
|
+
* @internal
|
|
388
406
|
*/
|
|
389
407
|
function onAxisAfterHideCrosshair() {
|
|
390
408
|
const axis = this;
|
|
@@ -395,7 +413,7 @@ addEvent(Chart, 'update', function (e) {
|
|
|
395
413
|
/**
|
|
396
414
|
* Override the automatic label alignment so that the first Y axis' labels
|
|
397
415
|
* are drawn on top of the grid line, and subsequent axes are drawn outside.
|
|
398
|
-
* @
|
|
416
|
+
* @internal
|
|
399
417
|
*/
|
|
400
418
|
function onAxisAutoLabelAlign(e) {
|
|
401
419
|
const axis = this, chart = axis.chart, options = axis.options, panes = chart._labelPanes = chart._labelPanes || {}, labelOptions = options.labels;
|
|
@@ -418,7 +436,7 @@ addEvent(Chart, 'update', function (e) {
|
|
|
418
436
|
}
|
|
419
437
|
/**
|
|
420
438
|
* Clear axis from label panes. (#6071)
|
|
421
|
-
* @
|
|
439
|
+
* @internal
|
|
422
440
|
*/
|
|
423
441
|
function onAxisDestroy() {
|
|
424
442
|
const axis = this, chart = axis.chart, key = (axis.options &&
|
|
@@ -429,7 +447,7 @@ addEvent(Chart, 'update', function (e) {
|
|
|
429
447
|
}
|
|
430
448
|
/**
|
|
431
449
|
* Override getPlotLinePath to allow for multipane charts.
|
|
432
|
-
* @
|
|
450
|
+
* @internal
|
|
433
451
|
*/
|
|
434
452
|
function onAxisGetPlotLinePath(e) {
|
|
435
453
|
const axis = this, series = (axis.isLinked && !axis.series && axis.linkedParent ?
|
|
@@ -438,7 +456,7 @@ addEvent(Chart, 'update', function (e) {
|
|
|
438
456
|
/**
|
|
439
457
|
* Return the other axis based on either the axis option or on
|
|
440
458
|
* related series.
|
|
441
|
-
* @
|
|
459
|
+
* @internal
|
|
442
460
|
*/
|
|
443
461
|
getAxis = (coll) => {
|
|
444
462
|
const otherColl = coll === 'xAxis' ? 'yAxis' : 'xAxis', opt = axis.options[otherColl];
|
|
@@ -536,7 +554,7 @@ addEvent(Chart, 'update', function (e) {
|
|
|
536
554
|
/**
|
|
537
555
|
* Handle som Stock-specific series defaults, override the plotOptions
|
|
538
556
|
* before series options are handled.
|
|
539
|
-
* @
|
|
557
|
+
* @internal
|
|
540
558
|
*/
|
|
541
559
|
function onSeriesSetOptions(e) {
|
|
542
560
|
const series = this;
|
|
@@ -615,7 +633,7 @@ addEvent(Chart, 'update', function (e) {
|
|
|
615
633
|
/**
|
|
616
634
|
* Function to crisp a line with multiple segments
|
|
617
635
|
*
|
|
618
|
-
* @
|
|
636
|
+
* @internal
|
|
619
637
|
* @function Highcharts.SVGRenderer#crispPolyLine
|
|
620
638
|
*/
|
|
621
639
|
function svgRendererCrispPolyLine(points, width) {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type ColorString from './ColorString';
|
|
2
1
|
import type { ColorBase, ColorType } from './ColorType';
|
|
3
2
|
/**
|
|
4
3
|
* Handle color operations. Some object methods are chainable.
|
|
@@ -10,28 +9,6 @@ import type { ColorBase, ColorType } from './ColorType';
|
|
|
10
9
|
* The input color.
|
|
11
10
|
*/
|
|
12
11
|
declare class Color implements ColorBase {
|
|
13
|
-
/**
|
|
14
|
-
* Collection of named colors. Can be extended from the outside by adding
|
|
15
|
-
* colors to Highcharts.Color.names.
|
|
16
|
-
* @private
|
|
17
|
-
*/
|
|
18
|
-
static names: Record<string, ColorString>;
|
|
19
|
-
/**
|
|
20
|
-
* Collection of parsers. This can be extended from the outside by pushing
|
|
21
|
-
* parsers to `Color.parsers`.
|
|
22
|
-
* @private
|
|
23
|
-
*/
|
|
24
|
-
static parsers: {
|
|
25
|
-
regex: RegExp;
|
|
26
|
-
parse: (result: RegExpExecArray) => Color.RGBA;
|
|
27
|
-
}[];
|
|
28
|
-
/**
|
|
29
|
-
* Whether to use CSS `color-mix` for color handling (brightening,
|
|
30
|
-
* tweening). This can be disabled from the outside.
|
|
31
|
-
* @private
|
|
32
|
-
*/
|
|
33
|
-
static useColorMix: boolean;
|
|
34
|
-
static readonly None: Color;
|
|
35
12
|
/**
|
|
36
13
|
* Creates a color instance out of a color string or object.
|
|
37
14
|
*
|
|
@@ -45,9 +22,24 @@ declare class Color implements ColorBase {
|
|
|
45
22
|
*/
|
|
46
23
|
static parse(input?: ColorType): Color;
|
|
47
24
|
constructor(input: ColorType);
|
|
25
|
+
/**
|
|
26
|
+
* The original input color. This can be a color string, a gradient object,
|
|
27
|
+
* or a pattern object.
|
|
28
|
+
* @name Highcharts.Color#input
|
|
29
|
+
* @type {Highcharts.ColorType}
|
|
30
|
+
*/
|
|
48
31
|
input: ColorType;
|
|
49
|
-
|
|
32
|
+
/**
|
|
33
|
+
* The RGBA color components, if the color is a solid color.
|
|
34
|
+
* @name Highcharts.Color#rgba
|
|
35
|
+
* @type {Highcharts.RGBA}
|
|
36
|
+
*/
|
|
50
37
|
rgba: Color.RGBA;
|
|
38
|
+
/**
|
|
39
|
+
* The gradient stops, if the color is a gradient.
|
|
40
|
+
* @name Highcharts.Color#stops
|
|
41
|
+
* @type {Array<Highcharts.Color>|undefined}
|
|
42
|
+
*/
|
|
51
43
|
stops?: Array<Color>;
|
|
52
44
|
/**
|
|
53
45
|
* Return the color or gradient stops in the specified format
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/* *
|
|
2
2
|
*
|
|
3
|
-
* (c) 2010-
|
|
3
|
+
* (c) 2010-2026 Highsoft AS
|
|
4
|
+
* Author: Torstein Honsi
|
|
4
5
|
*
|
|
5
|
-
*
|
|
6
|
+
* A commercial license may be required depending on use.
|
|
7
|
+
* See www.highcharts.com/license
|
|
6
8
|
*
|
|
7
|
-
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
8
9
|
*
|
|
9
10
|
* */
|
|
10
11
|
'use strict';
|
|
@@ -60,6 +61,11 @@ class Color {
|
|
|
60
61
|
*
|
|
61
62
|
* */
|
|
62
63
|
constructor(input) {
|
|
64
|
+
/**
|
|
65
|
+
* The RGBA color components, if the color is a solid color.
|
|
66
|
+
* @name Highcharts.Color#rgba
|
|
67
|
+
* @type {Highcharts.RGBA}
|
|
68
|
+
*/
|
|
63
69
|
this.rgba = [NaN, NaN, NaN, NaN];
|
|
64
70
|
this.input = input;
|
|
65
71
|
const GlobalColor = H.Color;
|
|
@@ -229,7 +235,7 @@ class Color {
|
|
|
229
235
|
/**
|
|
230
236
|
* Collection of named colors. Can be extended from the outside by adding
|
|
231
237
|
* colors to Highcharts.Color.names.
|
|
232
|
-
* @
|
|
238
|
+
* @internal
|
|
233
239
|
*/
|
|
234
240
|
Color.names = {
|
|
235
241
|
white: '#ffffff',
|
|
@@ -238,7 +244,7 @@ Color.names = {
|
|
|
238
244
|
/**
|
|
239
245
|
* Collection of parsers. This can be extended from the outside by pushing
|
|
240
246
|
* parsers to `Color.parsers`.
|
|
241
|
-
* @
|
|
247
|
+
* @internal
|
|
242
248
|
*/
|
|
243
249
|
Color.parsers = [{
|
|
244
250
|
// RGBA color
|
|
@@ -289,11 +295,16 @@ Color.parsers = [{
|
|
|
289
295
|
/**
|
|
290
296
|
* Whether to use CSS `color-mix` for color handling (brightening,
|
|
291
297
|
* tweening). This can be disabled from the outside.
|
|
292
|
-
* @
|
|
298
|
+
* @internal
|
|
293
299
|
*/
|
|
294
300
|
Color.useColorMix = win.CSS?.supports('color', 'color-mix(in srgb,red,blue 9%)');
|
|
295
|
-
|
|
296
|
-
Color
|
|
301
|
+
/**
|
|
302
|
+
* A static Color instance representing no color.
|
|
303
|
+
* @name Highcharts.Color.None
|
|
304
|
+
* @type {Highcharts.Color}
|
|
305
|
+
* @internal
|
|
306
|
+
*/
|
|
307
|
+
Color.None = new Color(''); // Must be last static for init
|
|
297
308
|
/* *
|
|
298
309
|
*
|
|
299
310
|
* Default Export
|
|
@@ -404,6 +415,13 @@ export default Color;
|
|
|
404
415
|
* @name Highcharts.RadialGradientColorObject#r
|
|
405
416
|
* @type {number}
|
|
406
417
|
*/
|
|
418
|
+
/**
|
|
419
|
+
* @interface Highcharts.RGBA
|
|
420
|
+
* @extends Array<number>
|
|
421
|
+
*/ /**
|
|
422
|
+
* @name Highcharts.RGBA#length
|
|
423
|
+
* @type {4}
|
|
424
|
+
*/
|
|
407
425
|
/**
|
|
408
426
|
* Creates a color instance out of a color string.
|
|
409
427
|
*
|
|
@@ -1,25 +1,2 @@
|
|
|
1
|
-
/* *
|
|
2
|
-
*
|
|
3
|
-
* (c) 2010-2025 Torstein Honsi
|
|
4
|
-
*
|
|
5
|
-
* License: www.highcharts.com/license
|
|
6
|
-
*
|
|
7
|
-
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
8
|
-
*
|
|
9
|
-
* */
|
|
10
|
-
|
|
11
|
-
/* *
|
|
12
|
-
*
|
|
13
|
-
* Declarations
|
|
14
|
-
*
|
|
15
|
-
* */
|
|
16
|
-
|
|
17
1
|
export type ColorString = string;
|
|
18
|
-
|
|
19
|
-
/* *
|
|
20
|
-
*
|
|
21
|
-
* Export
|
|
22
|
-
*
|
|
23
|
-
* */
|
|
24
|
-
|
|
25
2
|
export default ColorString;
|
|
@@ -1,43 +1,10 @@
|
|
|
1
|
-
/* *
|
|
2
|
-
*
|
|
3
|
-
* (c) 2010-2025 Torstein Honsi
|
|
4
|
-
*
|
|
5
|
-
* License: www.highcharts.com/license
|
|
6
|
-
*
|
|
7
|
-
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
8
|
-
*
|
|
9
|
-
* */
|
|
10
|
-
|
|
11
|
-
/* *
|
|
12
|
-
*
|
|
13
|
-
* Imports
|
|
14
|
-
*
|
|
15
|
-
* */
|
|
16
|
-
|
|
17
1
|
import type ColorString from './ColorString';
|
|
18
2
|
import type GradientColor from './GradientColor';
|
|
19
|
-
|
|
20
|
-
/* *
|
|
21
|
-
*
|
|
22
|
-
* Declarations
|
|
23
|
-
*
|
|
24
|
-
* */
|
|
25
|
-
|
|
26
3
|
export interface ColorBase {
|
|
27
|
-
// Nothing here yet
|
|
28
4
|
}
|
|
29
|
-
|
|
30
5
|
export type ColorType = ColorTypeRegistry[keyof ColorTypeRegistry];
|
|
31
|
-
|
|
32
6
|
export interface ColorTypeRegistry {
|
|
33
7
|
ColorString: ColorString;
|
|
34
8
|
GradientColor: GradientColor;
|
|
35
9
|
}
|
|
36
|
-
|
|
37
|
-
/* *
|
|
38
|
-
*
|
|
39
|
-
* Export
|
|
40
|
-
*
|
|
41
|
-
* */
|
|
42
|
-
|
|
43
10
|
export default ColorType;
|
|
@@ -1,57 +1,24 @@
|
|
|
1
|
-
/* *
|
|
2
|
-
*
|
|
3
|
-
* (c) 2010-2025 Torstein Honsi
|
|
4
|
-
*
|
|
5
|
-
* License: www.highcharts.com/license
|
|
6
|
-
*
|
|
7
|
-
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
8
|
-
*
|
|
9
|
-
* */
|
|
10
|
-
|
|
11
|
-
/* *
|
|
12
|
-
*
|
|
13
|
-
* Imports
|
|
14
|
-
*
|
|
15
|
-
* */
|
|
16
|
-
|
|
17
1
|
import type Color from './Color';
|
|
18
2
|
import type ColorType from './ColorType';
|
|
19
|
-
|
|
20
|
-
/* *
|
|
21
|
-
*
|
|
22
|
-
* Declarations
|
|
23
|
-
*
|
|
24
|
-
* */
|
|
25
|
-
|
|
26
3
|
export interface GradientColor {
|
|
27
4
|
linearGradient?: LinearGradientColor;
|
|
28
5
|
radialGradient?: RadialGradientColor;
|
|
29
6
|
stops: Array<GradientColorStop>;
|
|
30
7
|
}
|
|
31
|
-
|
|
32
8
|
export interface GradientColorStop {
|
|
33
9
|
0: number;
|
|
34
10
|
1: ColorType;
|
|
35
11
|
color?: Color;
|
|
36
12
|
}
|
|
37
|
-
|
|
38
13
|
export interface LinearGradientColor {
|
|
39
14
|
x1: number;
|
|
40
15
|
x2: number;
|
|
41
16
|
y1: number;
|
|
42
17
|
y2: number;
|
|
43
18
|
}
|
|
44
|
-
|
|
45
19
|
export interface RadialGradientColor {
|
|
46
20
|
cx: number;
|
|
47
21
|
cy: number;
|
|
48
22
|
r: number;
|
|
49
23
|
}
|
|
50
|
-
|
|
51
|
-
/* *
|
|
52
|
-
*
|
|
53
|
-
* Export
|
|
54
|
-
*
|
|
55
|
-
* */
|
|
56
|
-
|
|
57
24
|
export default GradientColor;
|