@highcharts/grid-pro 2.1.1 → 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 -1
- package/es-modules/Grid/Pro/highcharts.d.ts +0 -7
|
@@ -0,0 +1,459 @@
|
|
|
1
|
+
import type AlignObject from '../AlignObject';
|
|
2
|
+
import type AnimationOptions from '../../Animation/AnimationOptions';
|
|
3
|
+
import type BBoxObject from '../BBoxObject';
|
|
4
|
+
import type CSSObject from '../CSSObject';
|
|
5
|
+
import type { DeepPartial } from '../../../Shared/Types';
|
|
6
|
+
import type { DOMElementType } from '../DOMElementType';
|
|
7
|
+
import type RectangleObject from '../RectangleObject';
|
|
8
|
+
import type ShadowOptionsObject from '../ShadowOptionsObject';
|
|
9
|
+
import type SVGAttributes from './SVGAttributes';
|
|
10
|
+
import type SVGElementBase from './SVGElementBase';
|
|
11
|
+
import type SVGRenderer from './SVGRenderer';
|
|
12
|
+
declare module '../CSSObject' {
|
|
13
|
+
interface CSSObject {
|
|
14
|
+
strokeWidth?: (number | string);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The SVGElement prototype is a JavaScript wrapper for SVG elements used in the
|
|
19
|
+
* rendering layer of Highcharts. Combined with the
|
|
20
|
+
* {@link Highcharts.SVGRenderer}
|
|
21
|
+
* object, these prototypes allow freeform annotation in the charts or even in
|
|
22
|
+
* HTML pages without instanciating a chart. The SVGElement can also wrap HTML
|
|
23
|
+
* labels, when `text` or `label` elements are created with the `useHTML`
|
|
24
|
+
* parameter.
|
|
25
|
+
*
|
|
26
|
+
* The SVGElement instances are created through factory functions on the
|
|
27
|
+
* {@link Highcharts.SVGRenderer}
|
|
28
|
+
* object, like
|
|
29
|
+
* {@link Highcharts.SVGRenderer#rect|rect},
|
|
30
|
+
* {@link Highcharts.SVGRenderer#path|path},
|
|
31
|
+
* {@link Highcharts.SVGRenderer#text|text},
|
|
32
|
+
* {@link Highcharts.SVGRenderer#label|label},
|
|
33
|
+
* {@link Highcharts.SVGRenderer#g|g}
|
|
34
|
+
* and more.
|
|
35
|
+
*
|
|
36
|
+
* See [How to use the SVG Renderer](
|
|
37
|
+
* https://www.highcharts.com/docs/advanced-chart-features/renderer) for a
|
|
38
|
+
* comprehensive tutorial on how to draw SVG elements on a chart.
|
|
39
|
+
*
|
|
40
|
+
* @class
|
|
41
|
+
* @name Highcharts.SVGElement
|
|
42
|
+
*/
|
|
43
|
+
declare class SVGElement implements SVGElementBase {
|
|
44
|
+
element: DOMElementType;
|
|
45
|
+
renderer: SVGRenderer;
|
|
46
|
+
/**
|
|
47
|
+
* Add the element to the DOM. All elements must be added this way.
|
|
48
|
+
*
|
|
49
|
+
* @sample highcharts/members/renderer-g
|
|
50
|
+
* Elements added to a group
|
|
51
|
+
*
|
|
52
|
+
* @function Highcharts.SVGElement#add
|
|
53
|
+
*
|
|
54
|
+
* @param {Highcharts.SVGElement} [parent]
|
|
55
|
+
* The parent item to add it to. If undefined, the element is added to the
|
|
56
|
+
* {@link Highcharts.SVGRenderer.box}.
|
|
57
|
+
*
|
|
58
|
+
* @return {Highcharts.SVGElement}
|
|
59
|
+
* Returns the SVGElement for chaining.
|
|
60
|
+
*/
|
|
61
|
+
add(parent?: SVGElement): this;
|
|
62
|
+
/**
|
|
63
|
+
* Add a class name to an element.
|
|
64
|
+
*
|
|
65
|
+
* @function Highcharts.SVGElement#addClass
|
|
66
|
+
*
|
|
67
|
+
* @param {string} className
|
|
68
|
+
* The new class name to add.
|
|
69
|
+
*
|
|
70
|
+
* @param {boolean} [replace=false]
|
|
71
|
+
* When true, the existing class name(s) will be overwritten with the new
|
|
72
|
+
* one. When false, the new one is added.
|
|
73
|
+
*
|
|
74
|
+
* @return {Highcharts.SVGElement}
|
|
75
|
+
* Return the SVG element for chainability.
|
|
76
|
+
*/
|
|
77
|
+
addClass(className: string, replace?: boolean): this;
|
|
78
|
+
/**
|
|
79
|
+
* Align the element relative to the chart or another box.
|
|
80
|
+
*
|
|
81
|
+
* @function Highcharts.SVGElement#align
|
|
82
|
+
*
|
|
83
|
+
* @param {Highcharts.AlignObject} [alignOptions]
|
|
84
|
+
* The alignment options. The function can be called without this parameter
|
|
85
|
+
* in order to re-align an element after the box has been updated.
|
|
86
|
+
*
|
|
87
|
+
* @param {boolean} [alignByTranslate]
|
|
88
|
+
* Align element by translation.
|
|
89
|
+
*
|
|
90
|
+
* @param {string|Highcharts.BBoxObject} [alignTo]
|
|
91
|
+
* The box to align to, needs a width and height. When the box is a string,
|
|
92
|
+
* it refers to an object in the Renderer. For example, when box is
|
|
93
|
+
* `spacingBox`, it refers to `Renderer.spacingBox` which holds `width`,
|
|
94
|
+
* `height`, `x` and `y` properties.
|
|
95
|
+
*
|
|
96
|
+
* @param {boolean} [redraw]
|
|
97
|
+
* Decide if SVGElement should be redrawn with new alignment or just change
|
|
98
|
+
* its attributes.
|
|
99
|
+
*
|
|
100
|
+
* @return {Highcharts.SVGElement}
|
|
101
|
+
* Returns the SVGElement for chaining.
|
|
102
|
+
*/
|
|
103
|
+
align(alignOptions?: AlignObject, alignByTranslate?: boolean, alignTo?: (string | BBoxObject), redraw?: boolean): this;
|
|
104
|
+
/**
|
|
105
|
+
* Animate to given attributes or CSS properties.
|
|
106
|
+
*
|
|
107
|
+
* @sample highcharts/members/element-on/
|
|
108
|
+
* Setting some attributes by animation
|
|
109
|
+
*
|
|
110
|
+
* @function Highcharts.SVGElement#animate
|
|
111
|
+
*
|
|
112
|
+
* @param {Highcharts.SVGAttributes} params
|
|
113
|
+
* SVG attributes or CSS to animate.
|
|
114
|
+
*
|
|
115
|
+
* @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [options]
|
|
116
|
+
* Animation options.
|
|
117
|
+
*
|
|
118
|
+
* @param {Function} [complete]
|
|
119
|
+
* Function to perform at the end of animation.
|
|
120
|
+
*
|
|
121
|
+
* @return {Highcharts.SVGElement}
|
|
122
|
+
* Returns the SVGElement for chaining.
|
|
123
|
+
*/
|
|
124
|
+
animate(params: SVGAttributes, options?: (boolean | DeepPartial<AnimationOptions>), complete?: Function): this;
|
|
125
|
+
attr(key: string): (number | string);
|
|
126
|
+
/**
|
|
127
|
+
* Apply native and custom attributes to the SVG elements.
|
|
128
|
+
*
|
|
129
|
+
* In order to set the rotation center for rotation, set x and y to 0 and
|
|
130
|
+
* use `translateX` and `translateY` attributes to position the element
|
|
131
|
+
* instead.
|
|
132
|
+
*
|
|
133
|
+
* Attributes frequently used in Highcharts are `fill`, `stroke`,
|
|
134
|
+
* `stroke-width`.
|
|
135
|
+
*
|
|
136
|
+
* @sample highcharts/members/renderer-rect/
|
|
137
|
+
* Setting some attributes
|
|
138
|
+
*
|
|
139
|
+
* @example
|
|
140
|
+
* // Set multiple attributes
|
|
141
|
+
* element.attr({
|
|
142
|
+
* stroke: 'red',
|
|
143
|
+
* fill: 'blue',
|
|
144
|
+
* x: 10,
|
|
145
|
+
* y: 10
|
|
146
|
+
* });
|
|
147
|
+
*
|
|
148
|
+
* // Set a single attribute
|
|
149
|
+
* element.attr('stroke', 'red');
|
|
150
|
+
*
|
|
151
|
+
* // Get an attribute
|
|
152
|
+
* element.attr('stroke'); // => 'red'
|
|
153
|
+
*
|
|
154
|
+
* @param hash
|
|
155
|
+
* The native and custom SVG attributes.
|
|
156
|
+
*
|
|
157
|
+
* @param val
|
|
158
|
+
* If the type of the first argument is `string`, the second can be a
|
|
159
|
+
* value, which will serve as a single attribute setter. If the first
|
|
160
|
+
* argument is a string and the second is undefined, the function
|
|
161
|
+
* serves as a getter and the current value of the property is
|
|
162
|
+
* returned.
|
|
163
|
+
*
|
|
164
|
+
* @param complete
|
|
165
|
+
* A callback function to execute after setting the attributes. This
|
|
166
|
+
* makes the function compliant and interchangeable with the
|
|
167
|
+
* {@link SVGElement#animate} function.
|
|
168
|
+
*
|
|
169
|
+
* @param continueAnimation
|
|
170
|
+
* Used internally when `.attr` is called as part of an animation
|
|
171
|
+
* step. Otherwise, calling `.attr` for an attribute will stop
|
|
172
|
+
* animation for that attribute.
|
|
173
|
+
*
|
|
174
|
+
* @return
|
|
175
|
+
* If used as a setter, it returns the current
|
|
176
|
+
* {@link Highcharts.SVGElement} so the calls can be chained. If
|
|
177
|
+
* used as a getter, the current value of the attribute is returned.
|
|
178
|
+
*/
|
|
179
|
+
attr(hash?: SVGAttributes, val?: undefined, complete?: Function, continueAnimation?: boolean): this;
|
|
180
|
+
/**
|
|
181
|
+
* Apply a clipping shape to this element.
|
|
182
|
+
*
|
|
183
|
+
* @function Highcharts.SVGElement#clip
|
|
184
|
+
*
|
|
185
|
+
* @param {SVGElement} [clipElem]
|
|
186
|
+
* The clipping shape. If skipped, the current clip is removed.
|
|
187
|
+
*
|
|
188
|
+
* @return {Highcharts.SVGElement}
|
|
189
|
+
* Returns the SVG element to allow chaining.
|
|
190
|
+
*/
|
|
191
|
+
clip(clipElem?: SVGElement): this;
|
|
192
|
+
/**
|
|
193
|
+
* Calculate the coordinates needed for drawing a rectangle crisply and
|
|
194
|
+
* return the calculated attributes.
|
|
195
|
+
*
|
|
196
|
+
* @function Highcharts.SVGElement#crisp
|
|
197
|
+
*
|
|
198
|
+
* @param {Highcharts.RectangleObject} rect
|
|
199
|
+
* Rectangle to crisp.
|
|
200
|
+
*
|
|
201
|
+
* @param {number} [strokeWidth]
|
|
202
|
+
* The stroke width to consider when computing crisp positioning. It can
|
|
203
|
+
* also be set directly on the rect parameter.
|
|
204
|
+
*
|
|
205
|
+
* @return {Highcharts.RectangleObject}
|
|
206
|
+
* The modified rectangle arguments.
|
|
207
|
+
*/
|
|
208
|
+
crisp(rect: RectangleObject, strokeWidth?: number): RectangleObject;
|
|
209
|
+
/**
|
|
210
|
+
* Set styles for the element. In addition to CSS styles supported by
|
|
211
|
+
* native SVG and HTML elements, there are also some custom made for
|
|
212
|
+
* Highcharts, like `width`, `ellipsis` and `textOverflow` for SVG text
|
|
213
|
+
* elements.
|
|
214
|
+
*
|
|
215
|
+
* @sample highcharts/members/renderer-text-on-chart/
|
|
216
|
+
* Styled text
|
|
217
|
+
*
|
|
218
|
+
* @function Highcharts.SVGElement#css
|
|
219
|
+
*
|
|
220
|
+
* @param {Highcharts.CSSObject} styles
|
|
221
|
+
* The new CSS styles.
|
|
222
|
+
*
|
|
223
|
+
* @return {Highcharts.SVGElement}
|
|
224
|
+
* Return the SVG element for chaining.
|
|
225
|
+
*/
|
|
226
|
+
css(styles: CSSObject): this;
|
|
227
|
+
/**
|
|
228
|
+
* Destroy the element and element wrapper and clear up the DOM and event
|
|
229
|
+
* hooks.
|
|
230
|
+
*
|
|
231
|
+
* @function Highcharts.SVGElement#destroy
|
|
232
|
+
*/
|
|
233
|
+
destroy(): undefined;
|
|
234
|
+
/**
|
|
235
|
+
* Get the bounding box (width, height, x and y) for the element. Generally
|
|
236
|
+
* used to get rendered text size. Since this is called a lot in charts,
|
|
237
|
+
* the results are cached based on text properties, in order to save DOM
|
|
238
|
+
* traffic. The returned bounding box includes the rotation, so for example
|
|
239
|
+
* a single text line of rotation 90 will report a greater height, and a
|
|
240
|
+
* width corresponding to the line-height.
|
|
241
|
+
*
|
|
242
|
+
* @sample highcharts/members/renderer-on-chart/
|
|
243
|
+
* Draw a rectangle based on a text's bounding box
|
|
244
|
+
*
|
|
245
|
+
* @function Highcharts.SVGElement#getBBox
|
|
246
|
+
*
|
|
247
|
+
* @param {boolean} [reload]
|
|
248
|
+
* Skip the cache and get the updated DOM bounding box.
|
|
249
|
+
*
|
|
250
|
+
* @param {number} [rot]
|
|
251
|
+
* Override the element's rotation. This is internally used on axis
|
|
252
|
+
* labels with a value of 0 to find out what the bounding box would
|
|
253
|
+
* be have been if it were not rotated.
|
|
254
|
+
*
|
|
255
|
+
* @return {Highcharts.BBoxObject}
|
|
256
|
+
* The bounding box with `x`, `y`, `width` and `height` properties.
|
|
257
|
+
*/
|
|
258
|
+
getBBox(reload?: boolean, rot?: number): BBoxObject;
|
|
259
|
+
/**
|
|
260
|
+
* Overridable method to get a cache key for the bounding box of this
|
|
261
|
+
* element.
|
|
262
|
+
*
|
|
263
|
+
* @example
|
|
264
|
+
* // Plugin to let the getBBox function respond to font family changes
|
|
265
|
+
* (({ SVGElement }) => {
|
|
266
|
+
* const getBBoxCacheKey = SVGElement.prototype.getBBoxCacheKey;
|
|
267
|
+
* SVGElement.prototype.getBBoxCacheKey = function (keys) {
|
|
268
|
+
* const key = getBBoxCacheKey.call(this, keys);
|
|
269
|
+
* const fontFamily = this.styles.fontFamily;
|
|
270
|
+
* return key + (fontFamily ? `,${fontFamily}` : '');
|
|
271
|
+
* };
|
|
272
|
+
* })(Highcharts);
|
|
273
|
+
*
|
|
274
|
+
* @function Highcharts.SVGElement#getBBoxCacheKey
|
|
275
|
+
*
|
|
276
|
+
* @return {string|void} The cache key based on the text properties.
|
|
277
|
+
*/
|
|
278
|
+
getBBoxCacheKey(keys: Array<any>): string | void;
|
|
279
|
+
/**
|
|
280
|
+
* Get the computed style. Only in styled mode.
|
|
281
|
+
*
|
|
282
|
+
* @example
|
|
283
|
+
* chart.series[0].points[0].graphic.getStyle('stroke-width'); // => '1px'
|
|
284
|
+
*
|
|
285
|
+
* @function Highcharts.SVGElement#getStyle
|
|
286
|
+
*
|
|
287
|
+
* @param {string} prop
|
|
288
|
+
* The property name to check for.
|
|
289
|
+
*
|
|
290
|
+
* @return {string}
|
|
291
|
+
* The current computed value.
|
|
292
|
+
*/
|
|
293
|
+
getStyle(prop: string): string;
|
|
294
|
+
/**
|
|
295
|
+
* Check if an element has the given class name.
|
|
296
|
+
*
|
|
297
|
+
* @function Highcharts.SVGElement#hasClass
|
|
298
|
+
*
|
|
299
|
+
* @param {string} className
|
|
300
|
+
* The class name to check for.
|
|
301
|
+
*
|
|
302
|
+
* @return {boolean}
|
|
303
|
+
* Whether the class name is found.
|
|
304
|
+
*/
|
|
305
|
+
hasClass(className: string): boolean;
|
|
306
|
+
/**
|
|
307
|
+
* Hide the element, similar to setting the `visibility` attribute to
|
|
308
|
+
* `hidden`.
|
|
309
|
+
*
|
|
310
|
+
* @function Highcharts.SVGElement#hide
|
|
311
|
+
*
|
|
312
|
+
* @return {Highcharts.SVGElement}
|
|
313
|
+
* Returns the SVGElement for chaining.
|
|
314
|
+
*/
|
|
315
|
+
hide(): this;
|
|
316
|
+
/**
|
|
317
|
+
* Initialize the SVG element. This function only exists to make the
|
|
318
|
+
* initialization process overridable. It should not be called directly.
|
|
319
|
+
*
|
|
320
|
+
* @function Highcharts.SVGElement#init
|
|
321
|
+
*
|
|
322
|
+
* @param {Highcharts.SVGRenderer} renderer
|
|
323
|
+
* The SVGRenderer instance to initialize to.
|
|
324
|
+
*
|
|
325
|
+
* @param {string} nodeName
|
|
326
|
+
* The SVG node name.
|
|
327
|
+
*/
|
|
328
|
+
constructor(renderer: SVGRenderer, nodeName: string);
|
|
329
|
+
/**
|
|
330
|
+
* Add an event listener. This is a simple setter that replaces the
|
|
331
|
+
* previous event of the same type added by this function, as opposed to
|
|
332
|
+
* the {@link Highcharts#addEvent} function.
|
|
333
|
+
*
|
|
334
|
+
* @sample highcharts/members/element-on/
|
|
335
|
+
* A clickable rectangle
|
|
336
|
+
*
|
|
337
|
+
* @function Highcharts.SVGElement#on
|
|
338
|
+
*
|
|
339
|
+
* @param {string} eventType
|
|
340
|
+
* The event type.
|
|
341
|
+
*
|
|
342
|
+
* @param {Function} handler
|
|
343
|
+
* The handler callback.
|
|
344
|
+
*
|
|
345
|
+
* @return {Highcharts.SVGElement}
|
|
346
|
+
* The SVGElement for chaining.
|
|
347
|
+
*/
|
|
348
|
+
on(eventType: string, handler: Function): this;
|
|
349
|
+
/**
|
|
350
|
+
* Remove a class name from the element.
|
|
351
|
+
*
|
|
352
|
+
* @function Highcharts.SVGElement#removeClass
|
|
353
|
+
*
|
|
354
|
+
* @param {string|RegExp} className
|
|
355
|
+
* The class name to remove.
|
|
356
|
+
*
|
|
357
|
+
* @return {Highcharts.SVGElement} Returns the SVG element for chainability.
|
|
358
|
+
*/
|
|
359
|
+
removeClass(className: (string | RegExp)): this;
|
|
360
|
+
/**
|
|
361
|
+
* Set the coordinates needed to draw a consistent radial gradient across
|
|
362
|
+
* a shape regardless of positioning inside the chart. Used on pie slices
|
|
363
|
+
* to make all the slices have the same radial reference point.
|
|
364
|
+
*
|
|
365
|
+
* @function Highcharts.SVGElement#setRadialReference
|
|
366
|
+
*
|
|
367
|
+
* @param {Array<number>} coordinates
|
|
368
|
+
* The center reference. The format is `[centerX, centerY, diameter]` in
|
|
369
|
+
* pixels.
|
|
370
|
+
*
|
|
371
|
+
* @return {Highcharts.SVGElement}
|
|
372
|
+
* Returns the SVGElement for chaining.
|
|
373
|
+
*/
|
|
374
|
+
setRadialReference(coordinates: Array<number>): this;
|
|
375
|
+
/**
|
|
376
|
+
* Add a shadow to the element. In styled mode, this method is not used,
|
|
377
|
+
* instead use `defs` and filters.
|
|
378
|
+
*
|
|
379
|
+
* @example
|
|
380
|
+
* renderer.rect(10, 100, 100, 100)
|
|
381
|
+
* .attr({ fill: 'red' })
|
|
382
|
+
* .shadow(true);
|
|
383
|
+
*
|
|
384
|
+
* @function Highcharts.SVGElement#shadow
|
|
385
|
+
*
|
|
386
|
+
* @param {boolean|Highcharts.ShadowOptionsObject} [shadowOptions] The
|
|
387
|
+
* shadow options. If `true`, the default options are applied. If
|
|
388
|
+
* `false`, the current shadow will be removed.
|
|
389
|
+
*
|
|
390
|
+
* @return {Highcharts.SVGElement} Returns the SVGElement for chaining.
|
|
391
|
+
*/
|
|
392
|
+
shadow(shadowOptions?: (boolean | Partial<ShadowOptionsObject>)): this;
|
|
393
|
+
/**
|
|
394
|
+
* Show the element after it has been hidden.
|
|
395
|
+
*
|
|
396
|
+
* @function Highcharts.SVGElement#show
|
|
397
|
+
*
|
|
398
|
+
* @param {boolean} [inherit=true]
|
|
399
|
+
* Set the visibility attribute to `inherit` rather than `visible`.
|
|
400
|
+
* The difference is that an element with `visibility="visible"`
|
|
401
|
+
* will be visible even if the parent is hidden.
|
|
402
|
+
*
|
|
403
|
+
* @return {Highcharts.SVGElement}
|
|
404
|
+
* Returns the SVGElement for chaining.
|
|
405
|
+
*/
|
|
406
|
+
show(inherit?: boolean): this;
|
|
407
|
+
/**
|
|
408
|
+
* Get the computed stroke width in pixel values. This is used extensively
|
|
409
|
+
* when drawing shapes to ensure the shapes are rendered crisp and
|
|
410
|
+
* positioned correctly relative to each other. Using
|
|
411
|
+
* `shape-rendering: crispEdges` leaves us less control over positioning,
|
|
412
|
+
* for example when we want to stack columns next to each other, or position
|
|
413
|
+
* things pixel-perfectly within the plot box.
|
|
414
|
+
*
|
|
415
|
+
* The common pattern when placing a shape is:
|
|
416
|
+
* - Create the SVGElement and add it to the DOM. In styled mode, it will
|
|
417
|
+
* now receive a stroke width from the style sheet. In classic mode we
|
|
418
|
+
* will add the `stroke-width` attribute.
|
|
419
|
+
* - Read the computed `elem.strokeWidth()`.
|
|
420
|
+
* - Place it based on the stroke width.
|
|
421
|
+
*
|
|
422
|
+
* @function Highcharts.SVGElement#strokeWidth
|
|
423
|
+
*
|
|
424
|
+
* @return {number}
|
|
425
|
+
* The stroke width in pixels. Even if the given stroke width (in CSS or by
|
|
426
|
+
* attributes) is based on `em` or other units, the pixel size is returned.
|
|
427
|
+
*/
|
|
428
|
+
strokeWidth(): number;
|
|
429
|
+
/**
|
|
430
|
+
* Bring the element to the front. Alternatively, a new zIndex can be set.
|
|
431
|
+
*
|
|
432
|
+
* @sample highcharts/members/element-tofront/
|
|
433
|
+
* Click an element to bring it to front
|
|
434
|
+
*
|
|
435
|
+
* @function Highcharts.SVGElement#toFront
|
|
436
|
+
*
|
|
437
|
+
* @return {Highcharts.SVGElement}
|
|
438
|
+
* Returns the SVGElement for chaining.
|
|
439
|
+
*/
|
|
440
|
+
toFront(): this;
|
|
441
|
+
/**
|
|
442
|
+
* Move an object and its children by x and y values.
|
|
443
|
+
*
|
|
444
|
+
* @function Highcharts.SVGElement#translate
|
|
445
|
+
*
|
|
446
|
+
* @param {number} x
|
|
447
|
+
* The x value.
|
|
448
|
+
*
|
|
449
|
+
* @param {number} y
|
|
450
|
+
* The y value.
|
|
451
|
+
*
|
|
452
|
+
* @return {Highcharts.SVGElement}
|
|
453
|
+
* Translated element.
|
|
454
|
+
*/
|
|
455
|
+
translate(x: number, y: number): this;
|
|
456
|
+
}
|
|
457
|
+
interface SVGElement extends SVGElementBase {
|
|
458
|
+
}
|
|
459
|
+
export default SVGElement;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,19 +1,3 @@
|
|
|
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
|
/**
|
|
18
2
|
* Optional properties for the SVGElement class. Should be defined outside of
|
|
19
3
|
* this file by `declare module` pattern.
|
|
@@ -21,11 +5,4 @@
|
|
|
21
5
|
export interface SVGElementBase {
|
|
22
6
|
[key: string]: any;
|
|
23
7
|
}
|
|
24
|
-
|
|
25
|
-
/* *
|
|
26
|
-
*
|
|
27
|
-
* Default Export
|
|
28
|
-
*
|
|
29
|
-
* */
|
|
30
|
-
|
|
31
8
|
export default SVGElementBase;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type SVGRenderer from './SVGRenderer';
|
|
2
|
+
import SVGElement from './SVGElement.js';
|
|
3
|
+
/**
|
|
4
|
+
* SVG label to render text.
|
|
5
|
+
*
|
|
6
|
+
* @class
|
|
7
|
+
* @name Highcharts.SVGLabel
|
|
8
|
+
* @augments Highcharts.SVGElement
|
|
9
|
+
*/
|
|
10
|
+
declare class SVGLabel extends SVGElement {
|
|
11
|
+
constructor(renderer: SVGRenderer, str: string, x: number, y?: number, shape?: string, // @todo (SymbolKey|string),
|
|
12
|
+
anchorX?: number, anchorY?: number, useHTML?: boolean, baseline?: boolean, className?: string);
|
|
13
|
+
}
|
|
14
|
+
export default SVGLabel;
|
|
@@ -1,47 +1,18 @@
|
|
|
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 interface SVGPath extends globalThis.Array<SVGPath.Segment> {
|
|
18
2
|
isFlat?: boolean;
|
|
19
3
|
xBounds?: Array<number>;
|
|
20
4
|
yBounds?: Array<number>;
|
|
21
|
-
xMap?: Array<number|null>;
|
|
5
|
+
xMap?: Array<number | null>;
|
|
22
6
|
}
|
|
23
|
-
|
|
24
|
-
/* *
|
|
25
|
-
*
|
|
26
|
-
* Namespace
|
|
27
|
-
*
|
|
28
|
-
* */
|
|
29
|
-
|
|
30
|
-
export namespace SVGPath {
|
|
31
|
-
|
|
32
|
-
/* *
|
|
33
|
-
*
|
|
34
|
-
* Declarations
|
|
35
|
-
*
|
|
36
|
-
* */
|
|
7
|
+
export declare namespace SVGPath {
|
|
37
8
|
type ArcParams = {
|
|
38
|
-
cx: number
|
|
39
|
-
cy: number
|
|
40
|
-
start: number
|
|
41
|
-
end: number
|
|
9
|
+
cx: number;
|
|
10
|
+
cy: number;
|
|
11
|
+
start: number;
|
|
12
|
+
end: number;
|
|
42
13
|
};
|
|
43
14
|
type ArcArray = [
|
|
44
|
-
'A'|'a',
|
|
15
|
+
'A' | 'a',
|
|
45
16
|
number,
|
|
46
17
|
number,
|
|
47
18
|
number,
|
|
@@ -51,12 +22,11 @@ export namespace SVGPath {
|
|
|
51
22
|
number
|
|
52
23
|
];
|
|
53
24
|
export interface Arc extends ArcArray {
|
|
54
|
-
params?: ArcParams
|
|
25
|
+
params?: ArcParams;
|
|
55
26
|
}
|
|
56
|
-
|
|
57
|
-
export type Close = ['Z'|'z'];
|
|
27
|
+
export type Close = ['Z' | 'z'];
|
|
58
28
|
export type CurveTo = [
|
|
59
|
-
'C'|'c',
|
|
29
|
+
'C' | 'c',
|
|
60
30
|
number,
|
|
61
31
|
number,
|
|
62
32
|
number,
|
|
@@ -64,14 +34,13 @@ export namespace SVGPath {
|
|
|
64
34
|
number,
|
|
65
35
|
number
|
|
66
36
|
];
|
|
67
|
-
export type HorizontalLineTo = ['H'|'h', number];
|
|
68
|
-
export type LineTo = ['L'|'l', number, number];
|
|
69
|
-
export type MoveTo = ['M'|'m', number, number];
|
|
70
|
-
export type QuadTo = ['Q'|'q', number, number, number, number];
|
|
71
|
-
export type CurveSmoothTo = ['S'|'s', number, number, number, number];
|
|
72
|
-
export type QuadSmoothTo = ['T'|'t', number, number];
|
|
73
|
-
export type VerticalLineTo = ['V'|'v', number];
|
|
74
|
-
|
|
37
|
+
export type HorizontalLineTo = ['H' | 'h', number];
|
|
38
|
+
export type LineTo = ['L' | 'l', number, number];
|
|
39
|
+
export type MoveTo = ['M' | 'm', number, number];
|
|
40
|
+
export type QuadTo = ['Q' | 'q', number, number, number, number];
|
|
41
|
+
export type CurveSmoothTo = ['S' | 's', number, number, number, number];
|
|
42
|
+
export type QuadSmoothTo = ['T' | 't', number, number];
|
|
43
|
+
export type VerticalLineTo = ['V' | 'v', number];
|
|
75
44
|
export type Segment = SegmentRegistry[keyof SegmentRegistry];
|
|
76
45
|
export interface SegmentRegistry {
|
|
77
46
|
Arc: Arc;
|
|
@@ -85,13 +54,6 @@ export namespace SVGPath {
|
|
|
85
54
|
QuadTo: QuadTo;
|
|
86
55
|
VerticalLineTo: VerticalLineTo;
|
|
87
56
|
}
|
|
88
|
-
|
|
57
|
+
export {};
|
|
89
58
|
}
|
|
90
|
-
|
|
91
|
-
/* *
|
|
92
|
-
*
|
|
93
|
-
* Default Export
|
|
94
|
-
*
|
|
95
|
-
* */
|
|
96
|
-
|
|
97
59
|
export default SVGPath;
|
|
@@ -1,27 +1,4 @@
|
|
|
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 SVGPath from './SVGPath';
|
|
18
|
-
|
|
19
|
-
/* *
|
|
20
|
-
*
|
|
21
|
-
* Declarations
|
|
22
|
-
*
|
|
23
|
-
* */
|
|
24
|
-
|
|
25
2
|
export interface SVGPath3D {
|
|
26
3
|
back?: SVGPath;
|
|
27
4
|
bottom?: SVGPath;
|
|
@@ -30,11 +7,4 @@ export interface SVGPath3D {
|
|
|
30
7
|
top?: SVGPath;
|
|
31
8
|
zIndexes?: Record<string, number>;
|
|
32
9
|
}
|
|
33
|
-
|
|
34
|
-
/* *
|
|
35
|
-
*
|
|
36
|
-
* Default Export
|
|
37
|
-
*
|
|
38
|
-
* */
|
|
39
|
-
|
|
40
10
|
export default SVGPath3D;
|