@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
|
@@ -4,7 +4,6 @@ import type Pointer from './Pointer';
|
|
|
4
4
|
import type PointerEvent from './PointerEvent';
|
|
5
5
|
import type PositionObject from './Renderer/PositionObject';
|
|
6
6
|
import type Series from './Series/Series';
|
|
7
|
-
import type SizeObject from './Renderer/SizeObject';
|
|
8
7
|
import type SVGElement from './Renderer/SVG/SVGElement';
|
|
9
8
|
import type SVGRenderer from './Renderer/SVG/SVGRenderer';
|
|
10
9
|
import type TooltipOptions from './TooltipOptions';
|
|
@@ -47,44 +46,87 @@ declare module './Series/SeriesOptions' {
|
|
|
47
46
|
declare class Tooltip {
|
|
48
47
|
constructor(chart: Chart, options: TooltipOptions, pointer: Pointer);
|
|
49
48
|
allowShared: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Chart of the tooltip.
|
|
51
|
+
*
|
|
52
|
+
* @readonly
|
|
53
|
+
* @name Highcharts.Tooltip#chart
|
|
54
|
+
* @type {Highcharts.Chart}
|
|
55
|
+
*/
|
|
50
56
|
chart: Chart;
|
|
57
|
+
/**
|
|
58
|
+
* Reference to the tooltip's container, when
|
|
59
|
+
* [Highcharts.Tooltip#outside] is set to true, otherwise it's undefined.
|
|
60
|
+
*
|
|
61
|
+
* @name Highcharts.Tooltip#container
|
|
62
|
+
* @type {Highcharts.HTMLDOMElement|undefined}
|
|
63
|
+
*/
|
|
51
64
|
container?: globalThis.HTMLElement;
|
|
52
|
-
crosshairs: Array<null>;
|
|
53
65
|
distance: number;
|
|
54
66
|
followPointer?: boolean;
|
|
55
67
|
hideTimer?: number;
|
|
56
|
-
isHidden: boolean;
|
|
57
68
|
isSticky: boolean;
|
|
58
69
|
label?: SVGElement;
|
|
59
70
|
len?: number;
|
|
71
|
+
/**
|
|
72
|
+
* Used tooltip options.
|
|
73
|
+
*
|
|
74
|
+
* @readonly
|
|
75
|
+
* @name Highcharts.Tooltip#options
|
|
76
|
+
* @type {Highcharts.TooltipOptions}
|
|
77
|
+
*/
|
|
60
78
|
options: TooltipOptions;
|
|
79
|
+
/**
|
|
80
|
+
* Whether to allow the tooltip to render outside the chart's SVG
|
|
81
|
+
* element box. By default (false), the tooltip is rendered within the
|
|
82
|
+
* chart's SVG element, which results in the tooltip being aligned
|
|
83
|
+
* inside the chart area.
|
|
84
|
+
*
|
|
85
|
+
* @readonly
|
|
86
|
+
* @name Highcharts.Tooltip#outside
|
|
87
|
+
* @type {boolean}
|
|
88
|
+
*
|
|
89
|
+
* @todo
|
|
90
|
+
* Split tooltip does not support outside in the first iteration. Should
|
|
91
|
+
* not be too complicated to implement.
|
|
92
|
+
*/
|
|
61
93
|
outside: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* The pointer instance.
|
|
96
|
+
*
|
|
97
|
+
* @readonly
|
|
98
|
+
* @name Highcharts.Tooltip#pointer
|
|
99
|
+
* @type {Highcharts.Pointer}
|
|
100
|
+
*/
|
|
62
101
|
pointer: Pointer;
|
|
63
|
-
renderer?: SVGRenderer;
|
|
64
|
-
shared?: boolean;
|
|
65
|
-
split?: boolean;
|
|
66
|
-
tracker?: SVGElement;
|
|
67
|
-
tt?: SVGElement;
|
|
68
102
|
/**
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
* to easily overwrite and extend it.
|
|
103
|
+
* Reference to the tooltip's renderer, when
|
|
104
|
+
* [Highcharts.Tooltip#outside] is set to true, otherwise it's undefined.
|
|
72
105
|
*
|
|
73
|
-
* @
|
|
74
|
-
* @
|
|
106
|
+
* @name Highcharts.Tooltip#renderer
|
|
107
|
+
* @type {Highcharts.SVGRenderer|undefined}
|
|
75
108
|
*/
|
|
76
|
-
|
|
109
|
+
renderer?: SVGRenderer;
|
|
77
110
|
/**
|
|
78
|
-
*
|
|
79
|
-
*
|
|
111
|
+
* When the tooltip is shared, the entire plot area will capture mouse
|
|
112
|
+
* movement or touch events.
|
|
80
113
|
*
|
|
81
|
-
* @
|
|
82
|
-
* @
|
|
114
|
+
* @readonly
|
|
115
|
+
* @name Highcharts.Tooltip#shared
|
|
116
|
+
* @type {boolean|undefined}
|
|
117
|
+
*/
|
|
118
|
+
shared?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* True, if the tooltip is split into one label per series, with the
|
|
121
|
+
* header close to the axis.
|
|
83
122
|
*
|
|
84
|
-
* @
|
|
85
|
-
*
|
|
123
|
+
* @readonly
|
|
124
|
+
* @name Highcharts.Tooltip#split
|
|
125
|
+
* @type {boolean|undefined}
|
|
86
126
|
*/
|
|
87
|
-
|
|
127
|
+
split?: boolean;
|
|
128
|
+
tracker?: SVGElement;
|
|
129
|
+
tt?: SVGElement;
|
|
88
130
|
/**
|
|
89
131
|
* In case no user defined formatter is given, this will be used. Note that
|
|
90
132
|
* the context here is an object holding point, series, x, y etc.
|
|
@@ -104,14 +146,6 @@ declare class Tooltip {
|
|
|
104
146
|
* @function Highcharts.Tooltip#destroy
|
|
105
147
|
*/
|
|
106
148
|
destroy(): void;
|
|
107
|
-
/**
|
|
108
|
-
* Extendable method to get the anchor position of the tooltip
|
|
109
|
-
* from a point or set of points
|
|
110
|
-
*
|
|
111
|
-
* @private
|
|
112
|
-
* @function Highcharts.Tooltip#getAnchor
|
|
113
|
-
*/
|
|
114
|
-
getAnchor(points: (Point | Array<Point>), mouseEvent?: PointerEvent): Array<number>;
|
|
115
149
|
/**
|
|
116
150
|
* Get the CSS class names for the tooltip's label. Styles the label
|
|
117
151
|
* by `colorIndex` or user-defined CSS.
|
|
@@ -131,12 +165,6 @@ declare class Tooltip {
|
|
|
131
165
|
* Tooltip label
|
|
132
166
|
*/
|
|
133
167
|
getLabel({ anchorX, anchorY }?: Partial<SVGElement>): SVGElement;
|
|
134
|
-
/**
|
|
135
|
-
* Get the total area available area to place the tooltip
|
|
136
|
-
*
|
|
137
|
-
* @private
|
|
138
|
-
*/
|
|
139
|
-
getPlayingField(): SizeObject;
|
|
140
168
|
/**
|
|
141
169
|
* Place the tooltip in a chart without spilling over and not covering the
|
|
142
170
|
* point itself.
|
|
@@ -156,13 +184,6 @@ declare class Tooltip {
|
|
|
156
184
|
* Recommended position of the tooltip.
|
|
157
185
|
*/
|
|
158
186
|
getPosition(boxWidth: number, boxHeight: number, point: Tooltip.PositionerPointObject | Point): PositionObject;
|
|
159
|
-
/**
|
|
160
|
-
* Place the tooltip when `position.fixed` is true. This is called both for
|
|
161
|
-
* single tooltips, and for partial tooltips when `split`.
|
|
162
|
-
*
|
|
163
|
-
* @private
|
|
164
|
-
*/
|
|
165
|
-
getFixedPosition(boxWidth: number, boxHeight: number, point: Point | Tooltip.PositionerPointObject): PositionObject;
|
|
166
187
|
/**
|
|
167
188
|
* Hides the tooltip with a fade out animation.
|
|
168
189
|
*
|
|
@@ -174,35 +195,7 @@ declare class Tooltip {
|
|
|
174
195
|
* the fade out animation.
|
|
175
196
|
*/
|
|
176
197
|
hide(delay?: number): void;
|
|
177
|
-
/**
|
|
178
|
-
* Initialize tooltip.
|
|
179
|
-
*
|
|
180
|
-
* @private
|
|
181
|
-
* @function Highcharts.Tooltip#init
|
|
182
|
-
*
|
|
183
|
-
* @param {Highcharts.Chart} chart
|
|
184
|
-
* The chart instance.
|
|
185
|
-
*
|
|
186
|
-
* @param {Highcharts.TooltipOptions} options
|
|
187
|
-
* Tooltip options.
|
|
188
|
-
*/
|
|
189
|
-
init(chart: Chart, options: TooltipOptions): void;
|
|
190
198
|
shouldStickOnContact(pointerEvent?: PointerEvent): boolean;
|
|
191
|
-
/**
|
|
192
|
-
* Moves the tooltip with a soft animation to a new position.
|
|
193
|
-
*
|
|
194
|
-
* @private
|
|
195
|
-
* @function Highcharts.Tooltip#move
|
|
196
|
-
*
|
|
197
|
-
* @param {number} x
|
|
198
|
-
*
|
|
199
|
-
* @param {number} y
|
|
200
|
-
*
|
|
201
|
-
* @param {number} anchorX
|
|
202
|
-
*
|
|
203
|
-
* @param {number} anchorY
|
|
204
|
-
*/
|
|
205
|
-
move(x: number, y: number, anchorX: number, anchorY: number): void;
|
|
206
199
|
/**
|
|
207
200
|
* Refresh the tooltip's text and position.
|
|
208
201
|
*
|
|
@@ -216,38 +209,6 @@ declare class Tooltip {
|
|
|
216
209
|
* used for the tooltip update.
|
|
217
210
|
*/
|
|
218
211
|
refresh(pointOrPoints: (Point | Array<Point>), mouseEvent?: PointerEvent): void;
|
|
219
|
-
/**
|
|
220
|
-
* Render the split tooltip. Loops over each point's text and adds
|
|
221
|
-
* a label next to the point, then uses the distribute function to
|
|
222
|
-
* find best non-overlapping positions.
|
|
223
|
-
*
|
|
224
|
-
* @private
|
|
225
|
-
* @function Highcharts.Tooltip#renderSplit
|
|
226
|
-
*
|
|
227
|
-
* @param {string|Array<(boolean|string)>} labels
|
|
228
|
-
*
|
|
229
|
-
* @param {Array<Highcharts.Point>} points
|
|
230
|
-
*/
|
|
231
|
-
renderSplit(labels: (string | Array<(boolean | string)>), points: Array<Point>): void;
|
|
232
|
-
/**
|
|
233
|
-
* If the `stickOnContact` option is active, this will add a tracker shape.
|
|
234
|
-
*
|
|
235
|
-
* @private
|
|
236
|
-
* @function Highcharts.Tooltip#drawTracker
|
|
237
|
-
*/
|
|
238
|
-
private drawTracker;
|
|
239
|
-
/**
|
|
240
|
-
* @private
|
|
241
|
-
*/
|
|
242
|
-
styledModeFormat(formatString: string): string;
|
|
243
|
-
/**
|
|
244
|
-
* Format the footer/header of the tooltip
|
|
245
|
-
* #3397: abstraction to enable formatting of footer and header
|
|
246
|
-
*
|
|
247
|
-
* @private
|
|
248
|
-
* @function Highcharts.Tooltip#headerFooterFormatter
|
|
249
|
-
*/
|
|
250
|
-
headerFooterFormatter(point: Point, isFooter?: boolean): string;
|
|
251
212
|
/**
|
|
252
213
|
* Updates the tooltip with the provided tooltip options.
|
|
253
214
|
*
|
|
@@ -257,15 +218,6 @@ declare class Tooltip {
|
|
|
257
218
|
* The tooltip options to update.
|
|
258
219
|
*/
|
|
259
220
|
update(options: TooltipOptions): void;
|
|
260
|
-
/**
|
|
261
|
-
* Find the new position and perform the move
|
|
262
|
-
*
|
|
263
|
-
* @private
|
|
264
|
-
* @function Highcharts.Tooltip#updatePosition
|
|
265
|
-
*
|
|
266
|
-
* @param {Highcharts.Point} point
|
|
267
|
-
*/
|
|
268
|
-
updatePosition(point: Tooltip.PositionerPointObject): void;
|
|
269
221
|
}
|
|
270
222
|
declare namespace Tooltip {
|
|
271
223
|
interface FormatterCallbackFunction {
|
|
@@ -289,9 +241,5 @@ declare namespace Tooltip {
|
|
|
289
241
|
ttBelow?: boolean;
|
|
290
242
|
}
|
|
291
243
|
type ShapeValue = ('callout' | 'circle' | 'rect');
|
|
292
|
-
/**
|
|
293
|
-
* @private
|
|
294
|
-
*/
|
|
295
|
-
function compose(PointerClass: typeof Pointer): void;
|
|
296
244
|
}
|
|
297
245
|
export default Tooltip;
|
|
@@ -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';
|
|
@@ -53,11 +54,48 @@ class Tooltip {
|
|
|
53
54
|
*
|
|
54
55
|
* */
|
|
55
56
|
this.allowShared = true;
|
|
57
|
+
/**
|
|
58
|
+
* List of crosshairs.
|
|
59
|
+
*
|
|
60
|
+
* @internal
|
|
61
|
+
* @readonly
|
|
62
|
+
* @name Highcharts.Tooltip#crosshairs
|
|
63
|
+
* @type {Array<null>}
|
|
64
|
+
*/
|
|
56
65
|
this.crosshairs = [];
|
|
57
66
|
this.distance = 0;
|
|
67
|
+
/**
|
|
68
|
+
* Tooltips are initially hidden.
|
|
69
|
+
*
|
|
70
|
+
* @internal
|
|
71
|
+
* @readonly
|
|
72
|
+
* @name Highcharts.Tooltip#isHidden
|
|
73
|
+
* @type {boolean}
|
|
74
|
+
*/
|
|
58
75
|
this.isHidden = true;
|
|
59
76
|
this.isSticky = false;
|
|
77
|
+
/**
|
|
78
|
+
* Used tooltip options.
|
|
79
|
+
*
|
|
80
|
+
* @readonly
|
|
81
|
+
* @name Highcharts.Tooltip#options
|
|
82
|
+
* @type {Highcharts.TooltipOptions}
|
|
83
|
+
*/
|
|
60
84
|
this.options = {};
|
|
85
|
+
/**
|
|
86
|
+
* Whether to allow the tooltip to render outside the chart's SVG
|
|
87
|
+
* element box. By default (false), the tooltip is rendered within the
|
|
88
|
+
* chart's SVG element, which results in the tooltip being aligned
|
|
89
|
+
* inside the chart area.
|
|
90
|
+
*
|
|
91
|
+
* @readonly
|
|
92
|
+
* @name Highcharts.Tooltip#outside
|
|
93
|
+
* @type {boolean}
|
|
94
|
+
*
|
|
95
|
+
* @todo
|
|
96
|
+
* Split tooltip does not support outside in the first iteration. Should
|
|
97
|
+
* not be too complicated to implement.
|
|
98
|
+
*/
|
|
61
99
|
this.outside = false;
|
|
62
100
|
this.chart = chart;
|
|
63
101
|
this.init(chart, options);
|
|
@@ -73,7 +111,7 @@ class Tooltip {
|
|
|
73
111
|
* returning one entry for each item, abstracting this functionality allows
|
|
74
112
|
* to easily overwrite and extend it.
|
|
75
113
|
*
|
|
76
|
-
* @
|
|
114
|
+
* @internal
|
|
77
115
|
* @function Highcharts.Tooltip#bodyFormatter
|
|
78
116
|
*/
|
|
79
117
|
bodyFormatter(points) {
|
|
@@ -87,7 +125,7 @@ class Tooltip {
|
|
|
87
125
|
* Destroy the single tooltips in a split tooltip.
|
|
88
126
|
* If the tooltip is active then it is not destroyed, unless forced to.
|
|
89
127
|
*
|
|
90
|
-
* @
|
|
128
|
+
* @internal
|
|
91
129
|
* @function Highcharts.Tooltip#cleanSplit
|
|
92
130
|
*
|
|
93
131
|
* @param {boolean} [force]
|
|
@@ -155,7 +193,7 @@ class Tooltip {
|
|
|
155
193
|
* Extendable method to get the anchor position of the tooltip
|
|
156
194
|
* from a point or set of points
|
|
157
195
|
*
|
|
158
|
-
* @
|
|
196
|
+
* @internal
|
|
159
197
|
* @function Highcharts.Tooltip#getAnchor
|
|
160
198
|
*/
|
|
161
199
|
getAnchor(points, mouseEvent) {
|
|
@@ -335,7 +373,7 @@ class Tooltip {
|
|
|
335
373
|
/**
|
|
336
374
|
* Get the total area available area to place the tooltip
|
|
337
375
|
*
|
|
338
|
-
* @
|
|
376
|
+
* @internal
|
|
339
377
|
*/
|
|
340
378
|
getPlayingField() {
|
|
341
379
|
const { body, documentElement } = doc, { chart, distance, outside } = this;
|
|
@@ -414,7 +452,7 @@ class Tooltip {
|
|
|
414
452
|
* tooltip on top or bottom of the point, it will look for space
|
|
415
453
|
* there.
|
|
416
454
|
*
|
|
417
|
-
* @
|
|
455
|
+
* @internal
|
|
418
456
|
*/
|
|
419
457
|
firstDimension = function (dim, outerSize, innerSize, scaledInnerSize, // #11329
|
|
420
458
|
point, min, max) {
|
|
@@ -446,7 +484,7 @@ class Tooltip {
|
|
|
446
484
|
* align the tooltip above the point, trying to align center but
|
|
447
485
|
* allowing left or right align within the chart box.
|
|
448
486
|
*
|
|
449
|
-
* @
|
|
487
|
+
* @internal
|
|
450
488
|
*/
|
|
451
489
|
secondDimension = function (dim, outerSize, innerSize, scaledInnerSize, // #11329
|
|
452
490
|
point) {
|
|
@@ -500,7 +538,7 @@ class Tooltip {
|
|
|
500
538
|
* Place the tooltip when `position.fixed` is true. This is called both for
|
|
501
539
|
* single tooltips, and for partial tooltips when `split`.
|
|
502
540
|
*
|
|
503
|
-
* @
|
|
541
|
+
* @internal
|
|
504
542
|
*/
|
|
505
543
|
getFixedPosition(boxWidth, boxHeight, point) {
|
|
506
544
|
const series = point.series, { chart, options, split } = this, position = options.position, relativeToOption = position.relativeTo, noPane = options.shared || series?.yAxis?.isRadial &&
|
|
@@ -558,7 +596,7 @@ class Tooltip {
|
|
|
558
596
|
/**
|
|
559
597
|
* Initialize tooltip.
|
|
560
598
|
*
|
|
561
|
-
* @
|
|
599
|
+
* @internal
|
|
562
600
|
* @function Highcharts.Tooltip#init
|
|
563
601
|
*
|
|
564
602
|
* @param {Highcharts.Chart} chart
|
|
@@ -587,7 +625,7 @@ class Tooltip {
|
|
|
587
625
|
/**
|
|
588
626
|
* List of crosshairs.
|
|
589
627
|
*
|
|
590
|
-
* @
|
|
628
|
+
* @internal
|
|
591
629
|
* @readonly
|
|
592
630
|
* @name Highcharts.Tooltip#crosshairs
|
|
593
631
|
* @type {Array<null>}
|
|
@@ -596,7 +634,7 @@ class Tooltip {
|
|
|
596
634
|
/**
|
|
597
635
|
* Tooltips are initially hidden.
|
|
598
636
|
*
|
|
599
|
-
* @
|
|
637
|
+
* @internal
|
|
600
638
|
* @readonly
|
|
601
639
|
* @name Highcharts.Tooltip#isHidden
|
|
602
640
|
* @type {boolean}
|
|
@@ -644,7 +682,7 @@ class Tooltip {
|
|
|
644
682
|
/**
|
|
645
683
|
* Moves the tooltip with a soft animation to a new position.
|
|
646
684
|
*
|
|
647
|
-
* @
|
|
685
|
+
* @internal
|
|
648
686
|
* @function Highcharts.Tooltip#move
|
|
649
687
|
*
|
|
650
688
|
* @param {number} x
|
|
@@ -801,7 +839,7 @@ class Tooltip {
|
|
|
801
839
|
* a label next to the point, then uses the distribute function to
|
|
802
840
|
* find best non-overlapping positions.
|
|
803
841
|
*
|
|
804
|
-
* @
|
|
842
|
+
* @internal
|
|
805
843
|
* @function Highcharts.Tooltip#renderSplit
|
|
806
844
|
*
|
|
807
845
|
* @param {string|Array<(boolean|string)>} labels
|
|
@@ -834,7 +872,7 @@ class Tooltip {
|
|
|
834
872
|
/**
|
|
835
873
|
* Calculates the anchor position for the partial tooltip
|
|
836
874
|
*
|
|
837
|
-
* @
|
|
875
|
+
* @internal
|
|
838
876
|
* @param {Highcharts.Point} point The point related to the tooltip
|
|
839
877
|
* @return {Object} Returns an object with anchorX and anchorY
|
|
840
878
|
*/
|
|
@@ -865,7 +903,7 @@ class Tooltip {
|
|
|
865
903
|
}
|
|
866
904
|
/**
|
|
867
905
|
* Calculate the position of the partial tooltip
|
|
868
|
-
* @
|
|
906
|
+
* @internal
|
|
869
907
|
*/
|
|
870
908
|
const defaultPositioner = function (boxWidth, boxHeight, point, anchor = [0, 0], alignedLeft = true) {
|
|
871
909
|
let x, y;
|
|
@@ -892,7 +930,7 @@ class Tooltip {
|
|
|
892
930
|
* Updates the attributes and styling of the partial tooltip. Creates a
|
|
893
931
|
* new partial tooltip if it does not exists.
|
|
894
932
|
*
|
|
895
|
-
* @
|
|
933
|
+
* @internal
|
|
896
934
|
* @param {Highcharts.SVGElement|undefined} partialTooltip
|
|
897
935
|
* The partial tooltip to update
|
|
898
936
|
* @param {Highcharts.Point} point
|
|
@@ -1094,7 +1132,7 @@ class Tooltip {
|
|
|
1094
1132
|
/**
|
|
1095
1133
|
* If the `stickOnContact` option is active, this will add a tracker shape.
|
|
1096
1134
|
*
|
|
1097
|
-
* @
|
|
1135
|
+
* @internal
|
|
1098
1136
|
* @function Highcharts.Tooltip#drawTracker
|
|
1099
1137
|
*/
|
|
1100
1138
|
drawTracker() {
|
|
@@ -1152,9 +1190,7 @@ class Tooltip {
|
|
|
1152
1190
|
}
|
|
1153
1191
|
}
|
|
1154
1192
|
}
|
|
1155
|
-
/**
|
|
1156
|
-
* @private
|
|
1157
|
-
*/
|
|
1193
|
+
/** @internal */
|
|
1158
1194
|
styledModeFormat(formatString) {
|
|
1159
1195
|
return formatString
|
|
1160
1196
|
.replace('style="font-size: 0.8em"', 'class="highcharts-header"')
|
|
@@ -1166,7 +1202,7 @@ class Tooltip {
|
|
|
1166
1202
|
* Format the footer/header of the tooltip
|
|
1167
1203
|
* #3397: abstraction to enable formatting of footer and header
|
|
1168
1204
|
*
|
|
1169
|
-
* @
|
|
1205
|
+
* @internal
|
|
1170
1206
|
* @function Highcharts.Tooltip#headerFooterFormatter
|
|
1171
1207
|
*/
|
|
1172
1208
|
headerFooterFormatter(point, isFooter) {
|
|
@@ -1215,7 +1251,7 @@ class Tooltip {
|
|
|
1215
1251
|
/**
|
|
1216
1252
|
* Find the new position and perform the move
|
|
1217
1253
|
*
|
|
1218
|
-
* @
|
|
1254
|
+
* @internal
|
|
1219
1255
|
* @function Highcharts.Tooltip#updatePosition
|
|
1220
1256
|
*
|
|
1221
1257
|
* @param {Highcharts.Point} point
|
|
@@ -1277,9 +1313,7 @@ class Tooltip {
|
|
|
1277
1313
|
* Functions
|
|
1278
1314
|
*
|
|
1279
1315
|
* */
|
|
1280
|
-
/**
|
|
1281
|
-
* @private
|
|
1282
|
-
*/
|
|
1316
|
+
/** @internal */
|
|
1283
1317
|
function compose(PointerClass) {
|
|
1284
1318
|
if (pushUnique(composed, 'Core.Tooltip')) {
|
|
1285
1319
|
addEvent(PointerClass, 'afterInit', function () {
|