@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
|
@@ -1,84 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* Palette for Highcharts. Palette colors are defined in highcharts.css.
|
|
4
|
-
* **Do not edit this file!** This file is generated using the 'gulp palette' task.
|
|
5
|
-
* @private
|
|
6
|
-
*/
|
|
7
|
-
export declare const enum Palette {
|
|
8
|
-
/**
|
|
9
|
-
* Chart background, point stroke for markers and columns etc
|
|
10
|
-
*/
|
|
11
|
-
backgroundColor = "#ffffff",
|
|
12
|
-
/**
|
|
13
|
-
* Strong text.
|
|
14
|
-
*/
|
|
15
|
-
neutralColor100 = "#000000",
|
|
16
|
-
/**
|
|
17
|
-
* Main text, axis labels and some strokes.
|
|
18
|
-
*/
|
|
19
|
-
neutralColor80 = "#333333",
|
|
20
|
-
/**
|
|
21
|
-
* Axis title, connector fallback.
|
|
22
|
-
*/
|
|
23
|
-
neutralColor60 = "#666666",
|
|
24
|
-
/**
|
|
25
|
-
* Credits text, export menu stroke.
|
|
26
|
-
*/
|
|
27
|
-
neutralColor40 = "#999999",
|
|
28
|
-
/**
|
|
29
|
-
* Disabled texts, button strokes, crosshair etc.
|
|
30
|
-
*/
|
|
31
|
-
neutralColor20 = "#cccccc",
|
|
32
|
-
/**
|
|
33
|
-
* Grid lines etc.
|
|
34
|
-
*/
|
|
35
|
-
neutralColor10 = "#e6e6e6",
|
|
36
|
-
/**
|
|
37
|
-
* Minor grid lines etc.
|
|
38
|
-
*/
|
|
39
|
-
neutralColor5 = "#f2f2f2",
|
|
40
|
-
/**
|
|
41
|
-
* Tooltip background, button fills, map null points.
|
|
42
|
-
*/
|
|
43
|
-
neutralColor3 = "#f7f7f7",
|
|
44
|
-
/**
|
|
45
|
-
* Drilldown clickable labels, color axis max color.
|
|
46
|
-
*/
|
|
47
|
-
highlightColor100 = "#0022ff",
|
|
48
|
-
/**
|
|
49
|
-
* Selection marker, menu hover, button hover, chart border, navigator series.
|
|
50
|
-
*/
|
|
51
|
-
highlightColor80 = "#334eff",
|
|
52
|
-
/**
|
|
53
|
-
* Navigator mask fill.
|
|
54
|
-
*/
|
|
55
|
-
highlightColor60 = "#667aff",
|
|
56
|
-
/**
|
|
57
|
-
* Ticks and axis line.
|
|
58
|
-
*/
|
|
59
|
-
highlightColor20 = "#ccd3ff",
|
|
60
|
-
/**
|
|
61
|
-
* Pressed button, color axis min color.
|
|
62
|
-
*/
|
|
63
|
-
highlightColor10 = "#e6e9ff",
|
|
64
|
-
/**
|
|
65
|
-
* Indicators
|
|
66
|
-
*/
|
|
67
|
-
positiveColor = "#06b535",
|
|
68
|
-
/**
|
|
69
|
-
* Indicators
|
|
70
|
-
*/
|
|
71
|
-
negativeColor = "#f21313"
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Series palettes for Highcharts. Series colors are defined in highcharts.css.
|
|
75
|
-
* **Do not edit this file!** This file is generated using the 'gulp palette' task.
|
|
76
|
-
* @private
|
|
77
|
-
*/
|
|
78
|
-
declare const SeriesPalettes: {
|
|
79
|
-
/**
|
|
80
|
-
* Colors for data series and points
|
|
81
|
-
*/
|
|
82
|
-
colors: Array<ColorString>;
|
|
83
|
-
};
|
|
84
|
-
export default SeriesPalettes;
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Series palettes for Highcharts. Series colors are defined in highcharts.css.
|
|
3
3
|
* **Do not edit this file!** This file is generated using the 'gulp palette' task.
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
*/
|
|
6
6
|
const SeriesPalettes = {
|
|
7
7
|
/**
|
|
@@ -20,4 +20,5 @@ const SeriesPalettes = {
|
|
|
20
20
|
'#91e8e1'
|
|
21
21
|
],
|
|
22
22
|
};
|
|
23
|
+
/** @internal */
|
|
23
24
|
export default SeriesPalettes;
|
|
@@ -3,6 +3,12 @@ import type { DefaultOptions, Options } from './Options';
|
|
|
3
3
|
import Time from './Time.js';
|
|
4
4
|
declare module './GlobalsBase' {
|
|
5
5
|
interface GlobalsBase {
|
|
6
|
+
/**
|
|
7
|
+
* Global default settings.
|
|
8
|
+
*
|
|
9
|
+
* @name Highcharts.defaultOptions
|
|
10
|
+
* @type {Highcharts.Options}
|
|
11
|
+
*/
|
|
6
12
|
defaultOptions: DefaultOptions;
|
|
7
13
|
time: Time;
|
|
8
14
|
}
|
|
@@ -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';
|
|
@@ -27,7 +28,7 @@ const { fireEvent, merge } = U;
|
|
|
27
28
|
* @type {Highcharts.Options}
|
|
28
29
|
*/ /**
|
|
29
30
|
* @optionparent
|
|
30
|
-
* @
|
|
31
|
+
* @internal
|
|
31
32
|
*/
|
|
32
33
|
const defaultOptions = {
|
|
33
34
|
/**
|
|
@@ -262,17 +263,17 @@ const defaultOptions = {
|
|
|
262
263
|
* @since 1.2.4
|
|
263
264
|
*/
|
|
264
265
|
resetZoom: 'Reset zoom',
|
|
265
|
-
/**
|
|
266
|
-
* The tooltip title for the label appearing when a chart is zoomed.
|
|
267
|
-
*
|
|
268
|
-
* @since 1.2.4
|
|
269
|
-
*/
|
|
270
266
|
/**
|
|
271
267
|
* The default title of the Y axis
|
|
272
268
|
*
|
|
273
269
|
* @since 12.2.0
|
|
274
270
|
*/
|
|
275
271
|
yAxisTitle: 'Values',
|
|
272
|
+
/**
|
|
273
|
+
* The tooltip title for the label appearing when a chart is zoomed.
|
|
274
|
+
*
|
|
275
|
+
* @since 1.2.4
|
|
276
|
+
*/
|
|
276
277
|
resetZoomTitle: 'Reset zoom level 1:1'
|
|
277
278
|
},
|
|
278
279
|
/**
|
|
@@ -484,7 +485,7 @@ const defaultOptions = {
|
|
|
484
485
|
* `"UTC"`. Setting `useUTC` to false is equivalent to setting
|
|
485
486
|
* `time.timezone` to `undefined`.
|
|
486
487
|
*
|
|
487
|
-
* @see [
|
|
488
|
+
* @see [timezone](#time.timezone)
|
|
488
489
|
*
|
|
489
490
|
* @sample {highcharts} highcharts/time/useutc-true/
|
|
490
491
|
* True by default
|
|
@@ -712,27 +713,6 @@ const defaultOptions = {
|
|
|
712
713
|
* @since 2.1
|
|
713
714
|
* @apioption subtitle.floating
|
|
714
715
|
*/
|
|
715
|
-
/**
|
|
716
|
-
* CSS styles for the title.
|
|
717
|
-
*
|
|
718
|
-
* In styled mode, the subtitle style is given in the
|
|
719
|
-
* `.highcharts-subtitle` class.
|
|
720
|
-
*
|
|
721
|
-
* @sample {highcharts} highcharts/subtitle/style/
|
|
722
|
-
* Custom color and weight
|
|
723
|
-
* @sample {highcharts} highcharts/css/titles/
|
|
724
|
-
* Styled mode
|
|
725
|
-
* @sample {highstock} stock/chart/subtitle-style
|
|
726
|
-
* Custom color and weight
|
|
727
|
-
* @sample {highstock} highcharts/css/titles/
|
|
728
|
-
* Styled mode
|
|
729
|
-
* @sample {highmaps} highcharts/css/titles/
|
|
730
|
-
* Styled mode
|
|
731
|
-
*
|
|
732
|
-
* @type {Highcharts.CSSObject}
|
|
733
|
-
* @default {"color": "#666666"}
|
|
734
|
-
* @apioption subtitle.style
|
|
735
|
-
*/
|
|
736
716
|
/**
|
|
737
717
|
* Whether to
|
|
738
718
|
* [use HTML](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#html)
|
|
@@ -1024,7 +1004,7 @@ const defaultOptions = {
|
|
|
1024
1004
|
*
|
|
1025
1005
|
* @declare Highcharts.LegendEventsOptionsObject
|
|
1026
1006
|
*
|
|
1027
|
-
* @
|
|
1007
|
+
* @internal
|
|
1028
1008
|
*/
|
|
1029
1009
|
events: {},
|
|
1030
1010
|
/**
|
|
@@ -1876,8 +1856,17 @@ const defaultOptions = {
|
|
|
1876
1856
|
* @apioption tooltip.borderColor
|
|
1877
1857
|
*/
|
|
1878
1858
|
/**
|
|
1879
|
-
* A CSS class name to apply to the tooltip
|
|
1880
|
-
*
|
|
1859
|
+
* A CSS class name to apply to the tooltip, allowing unique CSS
|
|
1860
|
+
* styling for each chart.
|
|
1861
|
+
*
|
|
1862
|
+
* **Note:** The class is applied to the SVG element of the tooltip
|
|
1863
|
+
* (the tooltip label group), not to a container div. This allows you
|
|
1864
|
+
* to style the tooltip using CSS applicable to SVG elements.
|
|
1865
|
+
*
|
|
1866
|
+
* When [tooltip.outside](#tooltip.outside) is `true`, a separate
|
|
1867
|
+
* container div with class `highcharts-tooltip-container` is created
|
|
1868
|
+
* as the parent to the SVG tooltip element, but the `className` option
|
|
1869
|
+
* is still applied to the SVG element itself, not to the container.
|
|
1881
1870
|
*
|
|
1882
1871
|
* @type {string}
|
|
1883
1872
|
* @apioption tooltip.className
|
|
@@ -2150,35 +2139,6 @@ const defaultOptions = {
|
|
|
2150
2139
|
* @product highcharts highstock
|
|
2151
2140
|
* @apioption tooltip.split
|
|
2152
2141
|
*/
|
|
2153
|
-
/**
|
|
2154
|
-
* Prevents the tooltip from switching or closing, when touched or
|
|
2155
|
-
* pointed.
|
|
2156
|
-
*
|
|
2157
|
-
* @sample highcharts/tooltip/stickoncontact/
|
|
2158
|
-
* Tooltip sticks on pointer contact
|
|
2159
|
-
*
|
|
2160
|
-
* @type {boolean}
|
|
2161
|
-
* @since 8.0.1
|
|
2162
|
-
* @apioption tooltip.stickOnContact
|
|
2163
|
-
*/
|
|
2164
|
-
/**
|
|
2165
|
-
* Use HTML to render the contents of the tooltip instead of SVG. Using
|
|
2166
|
-
* HTML allows advanced formatting like tables and images in the
|
|
2167
|
-
* tooltip. It is also recommended for rtl languages as it works around
|
|
2168
|
-
* rtl bugs in early Firefox.
|
|
2169
|
-
*
|
|
2170
|
-
* @sample {highcharts|highstock} highcharts/tooltip/footerformat/
|
|
2171
|
-
* A table for value alignment
|
|
2172
|
-
* @sample {highcharts|highstock} highcharts/tooltip/fullhtml/
|
|
2173
|
-
* Full HTML tooltip
|
|
2174
|
-
* @sample {highmaps} maps/tooltip/usehtml/
|
|
2175
|
-
* Pure HTML tooltip
|
|
2176
|
-
*
|
|
2177
|
-
* @type {boolean}
|
|
2178
|
-
* @default false
|
|
2179
|
-
* @since 2.2
|
|
2180
|
-
* @apioption tooltip.useHTML
|
|
2181
|
-
*/
|
|
2182
2142
|
/**
|
|
2183
2143
|
* How many decimals to show in each series' y value. This is
|
|
2184
2144
|
* overridable in each series' tooltip options object. The default is to
|
|
@@ -2501,6 +2461,9 @@ const defaultOptions = {
|
|
|
2501
2461
|
* contains the category name, x value or datetime string depending on
|
|
2502
2462
|
* the type of axis. For datetime axes, the `point.key` date format can
|
|
2503
2463
|
* be set using `tooltip.xDateFormat`.
|
|
2464
|
+
* In v12+, locale-aware date names follow the browser's casing and can
|
|
2465
|
+
* be lower-case, so use the `ucfirst` helper (for example
|
|
2466
|
+
* `{ucfirst point.key}`) if you want a capitalized header.
|
|
2504
2467
|
*
|
|
2505
2468
|
* @sample {highcharts} highcharts/tooltip/footerformat/
|
|
2506
2469
|
* An HTML table in the tooltip
|
|
@@ -2615,13 +2578,14 @@ const defaultOptions = {
|
|
|
2615
2578
|
* @apioption tooltip.shadow
|
|
2616
2579
|
*/
|
|
2617
2580
|
/**
|
|
2618
|
-
* Prevents the tooltip from switching or closing when touched or
|
|
2581
|
+
* Prevents the tooltip from switching or closing, when touched or
|
|
2619
2582
|
* pointed.
|
|
2620
2583
|
*
|
|
2621
2584
|
* @sample highcharts/tooltip/stickoncontact/
|
|
2622
2585
|
* Tooltip sticks on pointer contact
|
|
2623
2586
|
*
|
|
2624
|
-
* @
|
|
2587
|
+
* @type {boolean}
|
|
2588
|
+
* @since 8.0.1
|
|
2625
2589
|
*/
|
|
2626
2590
|
stickOnContact: false,
|
|
2627
2591
|
/**
|
|
@@ -2660,7 +2624,7 @@ const defaultOptions = {
|
|
|
2660
2624
|
* @sample {highmaps} maps/tooltip/usehtml/
|
|
2661
2625
|
* Pure HTML tooltip
|
|
2662
2626
|
*
|
|
2663
|
-
* @since
|
|
2627
|
+
* @since 2.2
|
|
2664
2628
|
*/
|
|
2665
2629
|
useHTML: false
|
|
2666
2630
|
},
|
|
@@ -1,19 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import type { ChartOptions } from './Chart/ChartOptions';
|
|
3
|
-
import type { SeriesOptions } from './Series/SeriesOptions';
|
|
4
|
-
import type { LegendOptions } from './Legend/LegendOptions';
|
|
5
|
-
import Axis from './Axis/Axis.js';
|
|
6
|
-
import Chart from './Chart/Chart.js';
|
|
7
|
-
import Legend from './Legend/Legend.js';
|
|
8
|
-
import Series from './Series/Series.js';
|
|
9
|
-
declare namespace Foundation {
|
|
10
|
-
/**
|
|
11
|
-
* Register event options. If an event handler is set on the options, it
|
|
12
|
-
* should be subject to Chart.update, Axis.update and Series.update. This is
|
|
13
|
-
* contrary to general handlers that are set directly using addEvent either
|
|
14
|
-
* on the class or on the instance. #6538, #6943, #10861.
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
|
-
function registerEventOptions(component: Axis | Chart | Legend | Series, options: XAxisOptions | ChartOptions | LegendOptions | SeriesOptions): void;
|
|
18
|
-
}
|
|
19
|
-
export default Foundation;
|
|
1
|
+
export {};
|
|
@@ -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';
|
|
@@ -15,6 +16,7 @@ const { addEvent, isFunction, objectEach, removeEvent } = U;
|
|
|
15
16
|
* Class Namespace
|
|
16
17
|
*
|
|
17
18
|
* */
|
|
19
|
+
/** @internal */
|
|
18
20
|
var Foundation;
|
|
19
21
|
(function (Foundation) {
|
|
20
22
|
/* *
|
|
@@ -28,7 +30,7 @@ var Foundation;
|
|
|
28
30
|
* should be subject to Chart.update, Axis.update and Series.update. This is
|
|
29
31
|
* contrary to general handlers that are set directly using addEvent either
|
|
30
32
|
* on the class or on the instance. #6538, #6943, #10861.
|
|
31
|
-
* @
|
|
33
|
+
* @internal
|
|
32
34
|
*/
|
|
33
35
|
function registerEventOptions(component, options) {
|
|
34
36
|
// A lookup over those events that are added by _options_ (not
|
|
@@ -60,4 +62,5 @@ var Foundation;
|
|
|
60
62
|
* Default Export
|
|
61
63
|
*
|
|
62
64
|
* */
|
|
65
|
+
/** @internal */
|
|
63
66
|
export default Foundation;
|
|
@@ -1,189 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import type GeometryObject from './GeometryObject';
|
|
3
|
-
import type IntersectionObject from './IntersectionObject';
|
|
4
|
-
import type PositionObject from '../Renderer/PositionObject';
|
|
5
|
-
declare namespace CircleUtilities {
|
|
6
|
-
/**
|
|
7
|
-
* @private
|
|
8
|
-
*
|
|
9
|
-
* @param {number} x
|
|
10
|
-
* Number to round
|
|
11
|
-
*
|
|
12
|
-
* @param {number} decimals
|
|
13
|
-
* Number of decimals to round to
|
|
14
|
-
*
|
|
15
|
-
* @return {number}
|
|
16
|
-
* Rounded number
|
|
17
|
-
*/
|
|
18
|
-
function round(x: number, decimals: number): number;
|
|
19
|
-
/**
|
|
20
|
-
* Calculates the area of a circle based on its radius.
|
|
21
|
-
*
|
|
22
|
-
* @private
|
|
23
|
-
*
|
|
24
|
-
* @param {number} r
|
|
25
|
-
* The radius of the circle.
|
|
26
|
-
*
|
|
27
|
-
* @return {number}
|
|
28
|
-
* Returns the area of the circle.
|
|
29
|
-
*/
|
|
30
|
-
function getAreaOfCircle(r: number): number;
|
|
31
|
-
/**
|
|
32
|
-
* Calculates the area of a circular segment based on the radius of the
|
|
33
|
-
* circle and the height of the segment.
|
|
34
|
-
*
|
|
35
|
-
* @see http://mathworld.wolfram.com/CircularSegment.html
|
|
36
|
-
*
|
|
37
|
-
* @private
|
|
38
|
-
*
|
|
39
|
-
* @param {number} r
|
|
40
|
-
* The radius of the circle.
|
|
41
|
-
*
|
|
42
|
-
* @param {number} h
|
|
43
|
-
* The height of the circular segment.
|
|
44
|
-
*
|
|
45
|
-
* @return {number}
|
|
46
|
-
* Returns the area of the circular segment.
|
|
47
|
-
*/
|
|
48
|
-
function getCircularSegmentArea(r: number, h: number): number;
|
|
49
|
-
/**
|
|
50
|
-
* Calculates the area of overlap between two circles based on their
|
|
51
|
-
* radiuses and the distance between them.
|
|
52
|
-
*
|
|
53
|
-
* @see http://mathworld.wolfram.com/Circle-CircleIntersection.html
|
|
54
|
-
*
|
|
55
|
-
* @private
|
|
56
|
-
*
|
|
57
|
-
* @param {number} r1
|
|
58
|
-
* Radius of the first circle.
|
|
59
|
-
*
|
|
60
|
-
* @param {number} r2
|
|
61
|
-
* Radius of the second circle.
|
|
62
|
-
*
|
|
63
|
-
* @param {number} d
|
|
64
|
-
* The distance between the two circles.
|
|
65
|
-
*
|
|
66
|
-
* @return {number}
|
|
67
|
-
* Returns the area of overlap between the two circles.
|
|
68
|
-
*/
|
|
69
|
-
function getOverlapBetweenCircles(r1: number, r2: number, d: number): number;
|
|
70
|
-
/**
|
|
71
|
-
* Calculates the intersection points of two circles.
|
|
72
|
-
*
|
|
73
|
-
* NOTE: does not handle floating errors well.
|
|
74
|
-
*
|
|
75
|
-
* @private
|
|
76
|
-
*
|
|
77
|
-
* @param {Highcharts.CircleObject} c1
|
|
78
|
-
* The first circle.
|
|
79
|
-
*
|
|
80
|
-
* @param {Highcharts.CircleObject} c2
|
|
81
|
-
* The second circle.
|
|
82
|
-
*
|
|
83
|
-
* @return {Array<Highcharts.PositionObject>}
|
|
84
|
-
* Returns the resulting intersection points.
|
|
85
|
-
*/
|
|
86
|
-
function getCircleCircleIntersection(c1: CircleObject, c2: CircleObject): Array<PositionObject>;
|
|
87
|
-
/**
|
|
88
|
-
* Calculates all the intersection points for between a list of circles.
|
|
89
|
-
*
|
|
90
|
-
* @private
|
|
91
|
-
*
|
|
92
|
-
* @param {Array<Highcharts.CircleObject>} circles
|
|
93
|
-
* The circles to calculate the points from.
|
|
94
|
-
*
|
|
95
|
-
* @return {Array<Highcharts.GeometryObject>}
|
|
96
|
-
* Returns a list of intersection points.
|
|
97
|
-
*/
|
|
98
|
-
function getCirclesIntersectionPoints(circles: Array<CircleObject>): Array<GeometryObject>;
|
|
99
|
-
/**
|
|
100
|
-
* Tests whether the first circle is completely overlapping the second
|
|
101
|
-
* circle.
|
|
102
|
-
*
|
|
103
|
-
* @private
|
|
104
|
-
*
|
|
105
|
-
* @param {Highcharts.CircleObject} circle1
|
|
106
|
-
* The first circle.
|
|
107
|
-
*
|
|
108
|
-
* @param {Highcharts.CircleObject} circle2
|
|
109
|
-
* The second circle.
|
|
110
|
-
*
|
|
111
|
-
* @return {boolean}
|
|
112
|
-
* Returns true if circle1 is completely overlapping circle2, false if not.
|
|
113
|
-
*/
|
|
114
|
-
function isCircle1CompletelyOverlappingCircle2(circle1: CircleObject, circle2: CircleObject): boolean;
|
|
115
|
-
/**
|
|
116
|
-
* Tests whether a point lies within a given circle.
|
|
117
|
-
* @private
|
|
118
|
-
* @param {Highcharts.PositionObject} point
|
|
119
|
-
* The point to test for.
|
|
120
|
-
*
|
|
121
|
-
* @param {Highcharts.CircleObject} circle
|
|
122
|
-
* The circle to test if the point is within.
|
|
123
|
-
*
|
|
124
|
-
* @return {boolean}
|
|
125
|
-
* Returns true if the point is inside, false if outside.
|
|
126
|
-
*/
|
|
127
|
-
function isPointInsideCircle(point: PositionObject, circle: CircleObject): boolean;
|
|
128
|
-
/**
|
|
129
|
-
* Tests whether a point lies within a set of circles.
|
|
130
|
-
*
|
|
131
|
-
* @private
|
|
132
|
-
*
|
|
133
|
-
* @param {Highcharts.PositionObject} point
|
|
134
|
-
* The point to test.
|
|
135
|
-
*
|
|
136
|
-
* @param {Array<Highcharts.CircleObject>} circles
|
|
137
|
-
* The list of circles to test against.
|
|
138
|
-
*
|
|
139
|
-
* @return {boolean}
|
|
140
|
-
* Returns true if the point is inside all the circles, false if not.
|
|
141
|
-
*/
|
|
142
|
-
function isPointInsideAllCircles(point: PositionObject, circles: Array<CircleObject>): boolean;
|
|
143
|
-
/**
|
|
144
|
-
* Tests whether a point lies outside a set of circles.
|
|
145
|
-
*
|
|
146
|
-
* TODO: add unit tests.
|
|
147
|
-
*
|
|
148
|
-
* @private
|
|
149
|
-
*
|
|
150
|
-
* @param {Highcharts.PositionObject} point
|
|
151
|
-
* The point to test.
|
|
152
|
-
*
|
|
153
|
-
* @param {Array<Highcharts.CircleObject>} circles
|
|
154
|
-
* The list of circles to test against.
|
|
155
|
-
*
|
|
156
|
-
* @return {boolean}
|
|
157
|
-
* Returns true if the point is outside all the circles, false if not.
|
|
158
|
-
*/
|
|
159
|
-
function isPointOutsideAllCircles(point: PositionObject, circles: Array<CircleObject>): boolean;
|
|
160
|
-
/**
|
|
161
|
-
* Calculates the points for the polygon of the intersection area between
|
|
162
|
-
* a set of circles.
|
|
163
|
-
*
|
|
164
|
-
* @private
|
|
165
|
-
*
|
|
166
|
-
* @param {Array<Highcharts.CircleObject>} circles
|
|
167
|
-
* List of circles to calculate polygon of.
|
|
168
|
-
*
|
|
169
|
-
* @return {Array<Highcharts.GeometryObject>}
|
|
170
|
-
* Return list of points in the intersection polygon.
|
|
171
|
-
*/
|
|
172
|
-
function getCirclesIntersectionPolygon(circles: Array<CircleObject>): Array<GeometryObject>;
|
|
173
|
-
/**
|
|
174
|
-
* Calculate the path for the area of overlap between a set of circles.
|
|
175
|
-
*
|
|
176
|
-
* @todo handle cases with only 1 or 0 arcs.
|
|
177
|
-
*
|
|
178
|
-
* @private
|
|
179
|
-
*
|
|
180
|
-
* @param {Array<Highcharts.CircleObject>} circles
|
|
181
|
-
* List of circles to calculate area of.
|
|
182
|
-
*
|
|
183
|
-
* @return {Highcharts.GeometryIntersectionObject|undefined}
|
|
184
|
-
* Returns the path for the area of overlap. Returns an empty string if
|
|
185
|
-
* there are no intersection between all the circles.
|
|
186
|
-
*/
|
|
187
|
-
function getAreaOfIntersectionBetweenCircles(circles: Array<CircleObject>): (IntersectionObject | undefined);
|
|
188
|
-
}
|
|
189
|
-
export default CircleUtilities;
|
|
1
|
+
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *
|
|
2
2
|
*
|
|
3
|
-
* (c) 2010-
|
|
3
|
+
* (c) 2010-2026 Highsoft AS
|
|
4
4
|
*
|
|
5
|
-
*
|
|
5
|
+
* A commercial license may be required depending on use.
|
|
6
|
+
* See www.highcharts.com/license
|
|
6
7
|
*
|
|
7
|
-
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
8
8
|
*
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
@@ -17,6 +17,7 @@ const { correctFloat } = Utilities;
|
|
|
17
17
|
* Namespace
|
|
18
18
|
*
|
|
19
19
|
* */
|
|
20
|
+
/** @internal */
|
|
20
21
|
var CircleUtilities;
|
|
21
22
|
(function (CircleUtilities) {
|
|
22
23
|
/* *
|
|
@@ -25,7 +26,7 @@ var CircleUtilities;
|
|
|
25
26
|
*
|
|
26
27
|
* */
|
|
27
28
|
/**
|
|
28
|
-
* @
|
|
29
|
+
* @internal
|
|
29
30
|
*
|
|
30
31
|
* @param {number} x
|
|
31
32
|
* Number to round
|
|
@@ -44,7 +45,7 @@ var CircleUtilities;
|
|
|
44
45
|
/**
|
|
45
46
|
* Calculates the area of a circle based on its radius.
|
|
46
47
|
*
|
|
47
|
-
* @
|
|
48
|
+
* @internal
|
|
48
49
|
*
|
|
49
50
|
* @param {number} r
|
|
50
51
|
* The radius of the circle.
|
|
@@ -65,7 +66,7 @@ var CircleUtilities;
|
|
|
65
66
|
*
|
|
66
67
|
* @see http://mathworld.wolfram.com/CircularSegment.html
|
|
67
68
|
*
|
|
68
|
-
* @
|
|
69
|
+
* @internal
|
|
69
70
|
*
|
|
70
71
|
* @param {number} r
|
|
71
72
|
* The radius of the circle.
|
|
@@ -87,7 +88,7 @@ var CircleUtilities;
|
|
|
87
88
|
*
|
|
88
89
|
* @see http://mathworld.wolfram.com/Circle-CircleIntersection.html
|
|
89
90
|
*
|
|
90
|
-
* @
|
|
91
|
+
* @internal
|
|
91
92
|
*
|
|
92
93
|
* @param {number} r1
|
|
93
94
|
* Radius of the first circle.
|
|
@@ -130,7 +131,7 @@ var CircleUtilities;
|
|
|
130
131
|
*
|
|
131
132
|
* NOTE: does not handle floating errors well.
|
|
132
133
|
*
|
|
133
|
-
* @
|
|
134
|
+
* @internal
|
|
134
135
|
*
|
|
135
136
|
* @param {Highcharts.CircleObject} c1
|
|
136
137
|
* The first circle.
|
|
@@ -163,7 +164,7 @@ var CircleUtilities;
|
|
|
163
164
|
/**
|
|
164
165
|
* Calculates all the intersection points for between a list of circles.
|
|
165
166
|
*
|
|
166
|
-
* @
|
|
167
|
+
* @internal
|
|
167
168
|
*
|
|
168
169
|
* @param {Array<Highcharts.CircleObject>} circles
|
|
169
170
|
* The circles to calculate the points from.
|
|
@@ -190,7 +191,7 @@ var CircleUtilities;
|
|
|
190
191
|
* Tests whether the first circle is completely overlapping the second
|
|
191
192
|
* circle.
|
|
192
193
|
*
|
|
193
|
-
* @
|
|
194
|
+
* @internal
|
|
194
195
|
*
|
|
195
196
|
* @param {Highcharts.CircleObject} circle1
|
|
196
197
|
* The first circle.
|
|
@@ -207,7 +208,7 @@ var CircleUtilities;
|
|
|
207
208
|
CircleUtilities.isCircle1CompletelyOverlappingCircle2 = isCircle1CompletelyOverlappingCircle2;
|
|
208
209
|
/**
|
|
209
210
|
* Tests whether a point lies within a given circle.
|
|
210
|
-
* @
|
|
211
|
+
* @internal
|
|
211
212
|
* @param {Highcharts.PositionObject} point
|
|
212
213
|
* The point to test for.
|
|
213
214
|
*
|
|
@@ -224,7 +225,7 @@ var CircleUtilities;
|
|
|
224
225
|
/**
|
|
225
226
|
* Tests whether a point lies within a set of circles.
|
|
226
227
|
*
|
|
227
|
-
* @
|
|
228
|
+
* @internal
|
|
228
229
|
*
|
|
229
230
|
* @param {Highcharts.PositionObject} point
|
|
230
231
|
* The point to test.
|
|
@@ -246,7 +247,7 @@ var CircleUtilities;
|
|
|
246
247
|
*
|
|
247
248
|
* TODO: add unit tests.
|
|
248
249
|
*
|
|
249
|
-
* @
|
|
250
|
+
* @internal
|
|
250
251
|
*
|
|
251
252
|
* @param {Highcharts.PositionObject} point
|
|
252
253
|
* The point to test.
|
|
@@ -267,7 +268,7 @@ var CircleUtilities;
|
|
|
267
268
|
* Calculates the points for the polygon of the intersection area between
|
|
268
269
|
* a set of circles.
|
|
269
270
|
*
|
|
270
|
-
* @
|
|
271
|
+
* @internal
|
|
271
272
|
*
|
|
272
273
|
* @param {Array<Highcharts.CircleObject>} circles
|
|
273
274
|
* List of circles to calculate polygon of.
|
|
@@ -287,7 +288,7 @@ var CircleUtilities;
|
|
|
287
288
|
*
|
|
288
289
|
* @todo handle cases with only 1 or 0 arcs.
|
|
289
290
|
*
|
|
290
|
-
* @
|
|
291
|
+
* @internal
|
|
291
292
|
*
|
|
292
293
|
* @param {Array<Highcharts.CircleObject>} circles
|
|
293
294
|
* List of circles to calculate area of.
|
|
@@ -385,4 +386,5 @@ var CircleUtilities;
|
|
|
385
386
|
* Default Export
|
|
386
387
|
*
|
|
387
388
|
* */
|
|
389
|
+
/** @internal */
|
|
388
390
|
export default CircleUtilities;
|