@highcharts/grid-pro 2.1.1 → 2.3.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/LICENSE.txt +6 -0
- package/README.md +15 -9
- package/css/grid-pro.css +1289 -1153
- package/css/modules/grid-base-variables.css +131 -0
- package/css/modules/grid-button-variables.css +140 -0
- package/css/modules/grid-caption-variables.css +11 -0
- package/css/modules/grid-description-variables.css +11 -0
- package/css/modules/grid-input-variables.css +114 -0
- package/css/modules/grid-link-variables.css +18 -0
- package/css/modules/grid-menu-variables.css +50 -0
- package/css/modules/grid-pagination-variables.css +12 -0
- package/css/modules/grid-popup-variables.css +24 -0
- package/css/modules/grid-pro.css +234 -0
- package/css/modules/grid-table-variables.css +385 -0
- package/css/modules/grid-theme-default.css +55 -0
- package/es-modules/Accessibility/A11yI18n.js +4 -5
- package/es-modules/Accessibility/Accessibility.js +5 -5
- package/es-modules/Accessibility/AccessibilityComponent.d.ts +3 -3
- 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 +9 -9
- package/es-modules/Accessibility/Components/LegendComponent.js +5 -5
- package/es-modules/Accessibility/Components/MenuComponent.js +5 -5
- package/es-modules/Accessibility/Components/NavigatorComponent.js +6 -7
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +5 -5
- package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +15 -5
- package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +7 -7
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +4 -3
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +7 -7
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +5 -5
- package/es-modules/Accessibility/Components/ZoomComponent.js +5 -5
- package/es-modules/Accessibility/FocusBorder.js +5 -5
- package/es-modules/Accessibility/HighContrastMode.js +4 -3
- package/es-modules/Accessibility/HighContrastTheme.js +4 -3
- package/es-modules/Accessibility/KeyboardNavigation.js +5 -5
- package/es-modules/Accessibility/KeyboardNavigationHandler.js +5 -5
- package/es-modules/Accessibility/Options/A11yDefaults.d.ts +11 -0
- package/es-modules/Accessibility/Options/A11yDefaults.js +15 -3
- package/es-modules/Accessibility/Options/DeprecatedOptions.d.ts +58 -0
- package/es-modules/Accessibility/Options/DeprecatedOptions.js +11 -5
- package/es-modules/Accessibility/Options/LangDefaults.js +13 -3
- package/es-modules/Accessibility/ProxyElement.js +6 -8
- package/es-modules/Accessibility/ProxyProvider.js +5 -5
- package/es-modules/Accessibility/Utils/Announcer.js +6 -6
- package/es-modules/Accessibility/Utils/ChartUtilities.js +5 -5
- package/es-modules/Accessibility/Utils/DOMElementProvider.js +4 -3
- package/es-modules/Accessibility/Utils/EventProvider.d.ts +3 -3
- package/es-modules/Accessibility/Utils/EventProvider.js +10 -5
- package/es-modules/Accessibility/Utils/HTMLUtilities.js +5 -5
- 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 +40 -5
- package/es-modules/Core/Animation/Fx.d.ts +1 -130
- package/es-modules/Core/Animation/Fx.js +14 -8
- 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 +56 -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 +112 -95
- package/es-modules/Core/Chart/Chart3D.d.ts +123 -233
- package/es-modules/Core/Chart/Chart3D.js +23 -37
- 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 +18 -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 +1225 -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 +5 -5
- package/es-modules/Core/Chart/MapChart.d.ts +9 -4
- package/es-modules/Core/Chart/MapChart.js +14 -5
- package/es-modules/Core/Chart/StockChart.d.ts +0 -85
- package/es-modules/Core/Chart/StockChart.js +35 -18
- package/es-modules/Core/Color/Color.d.ts +16 -24
- package/es-modules/Core/Color/Color.js +27 -10
- 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 +66 -75
- package/es-modules/Core/Delaunay.d.ts +52 -0
- package/es-modules/Core/Delaunay.js +310 -0
- package/es-modules/Core/Foundation.d.ts +1 -19
- package/es-modules/Core/Foundation.js +8 -6
- 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 +18 -17
- 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 +16 -16
- 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 +24 -15
- package/es-modules/Core/Math3D.d.ts +1 -117
- package/es-modules/Core/Math3D.js +14 -12
- package/es-modules/Core/Options.d.ts +338 -0
- package/es-modules/Core/Options.js +10 -0
- package/es-modules/Core/Pointer.d.ts +71 -445
- package/es-modules/Core/Pointer.js +74 -69
- package/es-modules/Core/PointerEvent.d.ts +20 -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 +24 -15
- 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 +28 -24
- 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 +41 -23
- 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 +94 -29
- package/es-modules/Core/Responsive.js +17 -12
- package/es-modules/Core/Templating.d.ts +17 -1
- package/es-modules/Core/Templating.js +12 -8
- package/es-modules/Core/Time.d.ts +18 -1
- package/es-modules/Core/Time.js +6 -5
- package/es-modules/Core/Tooltip.d.ts +67 -123
- package/es-modules/Core/Tooltip.js +161 -108
- package/es-modules/Core/TooltipOptions.d.ts +724 -0
- package/es-modules/Core/TooltipOptions.js +10 -0
- package/es-modules/Core/Utilities.d.ts +32 -703
- package/es-modules/Core/Utilities.js +28 -1443
- package/es-modules/Data/ColumnUtils.d.ts +83 -80
- package/es-modules/Data/ColumnUtils.js +106 -116
- package/es-modules/Data/Connectors/CSVConnector.d.ts +9 -14
- package/es-modules/Data/Connectors/CSVConnector.js +6 -7
- package/es-modules/Data/Connectors/CSVConnectorOptions.d.ts +3 -3
- package/es-modules/Data/Connectors/DataConnector.d.ts +63 -54
- package/es-modules/Data/Connectors/DataConnector.js +67 -56
- 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.d.ts +40 -42
- package/es-modules/Data/Connectors/GoogleSheetsConnector.js +76 -91
- package/es-modules/Data/Connectors/GoogleSheetsConnectorOptions.d.ts +7 -5
- package/es-modules/Data/Connectors/HTMLTableConnector.d.ts +23 -28
- package/es-modules/Data/Connectors/HTMLTableConnector.js +6 -7
- package/es-modules/Data/Connectors/HTMLTableConnectorOptions.d.ts +3 -3
- package/es-modules/Data/Connectors/JSONConnector.d.ts +9 -14
- package/es-modules/Data/Connectors/JSONConnector.js +6 -7
- package/es-modules/Data/Connectors/JSONConnectorOptions.d.ts +3 -3
- package/es-modules/Data/Converters/CSVConverter.d.ts +5 -5
- package/es-modules/Data/Converters/CSVConverter.js +6 -7
- package/es-modules/Data/Converters/CSVConverterOptions.d.ts +5 -5
- package/es-modules/Data/Converters/DataConverter.d.ts +76 -78
- package/es-modules/Data/Converters/DataConverter.js +29 -56
- package/es-modules/Data/Converters/DataConverterType.d.ts +3 -3
- package/es-modules/Data/Converters/DataConverterUtils.d.ts +88 -81
- package/es-modules/Data/Converters/DataConverterUtils.js +172 -184
- package/es-modules/Data/Converters/GoogleSheetsConverter.d.ts +4 -4
- package/es-modules/Data/Converters/GoogleSheetsConverter.js +6 -6
- package/es-modules/Data/Converters/GoogleSheetsConverterOptions.d.ts +5 -5
- package/es-modules/Data/Converters/HTMLTableConverter.d.ts +4 -4
- package/es-modules/Data/Converters/HTMLTableConverter.js +5 -6
- package/es-modules/Data/Converters/HTMLTableConverterOptions.d.ts +5 -5
- package/es-modules/Data/Converters/JSONConverter.d.ts +7 -7
- package/es-modules/Data/Converters/JSONConverter.js +9 -9
- package/es-modules/Data/Converters/JSONConverterOptions.d.ts +5 -5
- package/es-modules/Data/DataCursor.d.ts +65 -70
- package/es-modules/Data/DataCursor.js +122 -142
- package/es-modules/Data/DataEvent.d.ts +55 -57
- package/es-modules/Data/DataEvent.js +3 -3
- package/es-modules/Data/DataPool.d.ts +10 -17
- package/es-modules/Data/DataPool.js +23 -12
- package/es-modules/Data/DataPoolOptions.d.ts +3 -3
- package/es-modules/Data/DataTable.d.ts +115 -117
- package/es-modules/Data/DataTable.js +67 -33
- package/es-modules/Data/DataTableCore.d.ts +11 -11
- package/es-modules/Data/DataTableCore.js +7 -7
- package/es-modules/Data/DataTableOptions.js +3 -3
- package/es-modules/Data/Formula/Formula.js +3 -3
- package/es-modules/Data/Formula/FormulaParser.js +4 -5
- package/es-modules/Data/Formula/FormulaProcessor.js +4 -5
- 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.d.ts +29 -34
- package/es-modules/Data/Modifiers/ChainModifier.js +10 -11
- package/es-modules/Data/Modifiers/ChainModifierOptions.js +3 -3
- package/es-modules/Data/Modifiers/DataModifier.d.ts +36 -41
- package/es-modules/Data/Modifiers/DataModifier.js +34 -56
- 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.d.ts +4 -4
- package/es-modules/Data/Modifiers/FilterModifier.js +6 -7
- package/es-modules/Data/Modifiers/FilterModifierOptions.d.ts +3 -2
- package/es-modules/Data/Modifiers/FilterModifierOptions.js +3 -3
- package/es-modules/Data/Modifiers/InvertModifier.d.ts +4 -4
- package/es-modules/Data/Modifiers/InvertModifier.js +6 -7
- package/es-modules/Data/Modifiers/InvertModifierOptions.js +3 -3
- package/es-modules/Data/Modifiers/MathModifier.d.ts +5 -4
- package/es-modules/Data/Modifiers/MathModifier.js +3 -3
- package/es-modules/Data/Modifiers/MathModifierOptions.js +3 -3
- package/es-modules/Data/Modifiers/RangeModifier.d.ts +4 -4
- package/es-modules/Data/Modifiers/RangeModifier.js +6 -7
- package/es-modules/Data/Modifiers/RangeModifierOptions.js +3 -3
- package/es-modules/Data/Modifiers/SortModifier.d.ts +6 -11
- package/es-modules/Data/Modifiers/SortModifier.js +35 -10
- package/es-modules/Data/Modifiers/SortModifierOptions.d.ts +43 -6
- 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 +68 -1
- package/es-modules/Grid/Core/Accessibility/Accessibility.js +179 -7
- package/es-modules/Grid/Core/Credits.js +3 -3
- package/es-modules/Grid/Core/Data/DataProvider.d.ts +97 -0
- package/es-modules/Grid/Core/Data/DataProvider.js +89 -0
- package/es-modules/Grid/Core/Data/DataProviderRegistry.d.ts +20 -0
- package/es-modules/Grid/Core/Data/DataProviderRegistry.js +52 -0
- package/es-modules/Grid/Core/Data/DataProviderType.d.ts +19 -0
- package/es-modules/Grid/Core/Data/DataProviderType.js +15 -0
- package/es-modules/Grid/Core/Data/LocalDataProvider.d.ts +165 -0
- package/es-modules/Grid/Core/Data/LocalDataProvider.js +341 -0
- package/es-modules/Grid/Core/Defaults.js +21 -7
- package/es-modules/Grid/Core/Globals.d.ts +20 -16
- package/es-modules/Grid/Core/Globals.js +13 -11
- package/es-modules/Grid/Core/Grid.d.ts +43 -23
- package/es-modules/Grid/Core/Grid.js +316 -136
- package/es-modules/Grid/Core/GridUtils.d.ts +33 -0
- package/es-modules/Grid/Core/GridUtils.js +53 -6
- package/es-modules/Grid/Core/Options.d.ts +162 -5
- package/es-modules/Grid/Core/Options.js +3 -3
- package/es-modules/Grid/Core/Pagination/Pagination.d.ts +3 -0
- package/es-modules/Grid/Core/Pagination/Pagination.js +66 -26
- package/es-modules/Grid/Core/Pagination/PaginationOptions.d.ts +4 -40
- package/es-modules/Grid/Core/Pagination/PaginationOptions.js +11 -0
- package/es-modules/Grid/Core/Querying/FilteringController.js +4 -5
- package/es-modules/Grid/Core/Querying/PaginationController.d.ts +2 -2
- package/es-modules/Grid/Core/Querying/PaginationController.js +6 -6
- package/es-modules/Grid/Core/Querying/QueryingController.d.ts +1 -1
- package/es-modules/Grid/Core/Querying/QueryingController.js +5 -29
- 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/Responsive/ResponsiveComposition.d.ts +53 -0
- package/es-modules/Grid/Core/Responsive/ResponsiveComposition.js +229 -0
- package/es-modules/Grid/Core/Responsive/ResponsiveOptions.d.ts +58 -0
- package/es-modules/Grid/Core/Responsive/ResponsiveOptions.js +15 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/ColumnFiltering.js +5 -6
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterCell.d.ts +3 -3
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterCell.js +6 -7
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterRow.d.ts +1 -1
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterRow.js +5 -5
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilteringTypes.js +3 -3
- package/es-modules/Grid/Core/Table/Actions/ColumnSorting.d.ts +29 -3
- package/es-modules/Grid/Core/Table/Actions/ColumnSorting.js +136 -26
- package/es-modules/Grid/Core/Table/Actions/ColumnsResizer.js +4 -6
- package/es-modules/Grid/Core/Table/Actions/RowsVirtualizer.d.ts +94 -3
- package/es-modules/Grid/Core/Table/Actions/RowsVirtualizer.js +481 -91
- package/es-modules/Grid/Core/Table/Body/CellContextMenu.d.ts +11 -0
- package/es-modules/Grid/Core/Table/Body/CellContextMenu.js +84 -0
- package/es-modules/Grid/Core/Table/Body/TableCell.d.ts +36 -15
- package/es-modules/Grid/Core/Table/Body/TableCell.js +89 -33
- package/es-modules/Grid/Core/Table/Body/TableRow.d.ts +15 -5
- package/es-modules/Grid/Core/Table/Body/TableRow.js +70 -19
- package/es-modules/Grid/Core/Table/Cell.d.ts +16 -10
- package/es-modules/Grid/Core/Table/Cell.js +41 -6
- package/es-modules/Grid/Core/Table/CellContent/CellContent.js +3 -3
- package/es-modules/Grid/Core/Table/CellContent/TextContent.js +7 -12
- package/es-modules/Grid/Core/Table/Column.d.ts +11 -5
- package/es-modules/Grid/Core/Table/Column.js +26 -37
- 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 +12 -11
- package/es-modules/Grid/Core/Table/ColumnResizing/ResizingMode.js +7 -6
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ColumnToolbar.d.ts +5 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ColumnToolbar.js +21 -7
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/FilterPopup.js +4 -5
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuButtons/FilterMenuButton.js +4 -5
- 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 +37 -9
- 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 +4 -5
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/MenuToolbarButton.js +4 -5
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/SortToolbarButton.d.ts +4 -1
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/SortToolbarButton.js +88 -15
- package/es-modules/Grid/Core/Table/Header/HeaderCell.d.ts +8 -3
- package/es-modules/Grid/Core/Table/Header/HeaderCell.js +36 -15
- package/es-modules/Grid/Core/Table/Header/HeaderRow.js +7 -8
- package/es-modules/Grid/Core/Table/Header/TableHeader.d.ts +1 -1
- package/es-modules/Grid/Core/Table/Header/TableHeader.js +6 -6
- package/es-modules/Grid/Core/Table/Row.d.ts +1 -1
- package/es-modules/Grid/Core/Table/Row.js +5 -5
- package/es-modules/Grid/Core/Table/Table.d.ts +68 -12
- package/es-modules/Grid/Core/Table/Table.js +296 -92
- 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.d.ts +6 -7
- package/es-modules/Grid/Core/UI/ContextMenuButton.js +8 -6
- package/es-modules/Grid/Core/UI/Popup.js +10 -12
- package/es-modules/Grid/Core/UI/SvgIcons.d.ts +42 -7
- package/es-modules/Grid/Core/UI/SvgIcons.js +209 -36
- package/es-modules/Grid/Core/UI/Toolbar.d.ts +5 -0
- package/es-modules/Grid/Core/UI/Toolbar.js +3 -3
- package/es-modules/Grid/Core/UI/ToolbarButton.d.ts +4 -12
- package/es-modules/Grid/Core/UI/ToolbarButton.js +11 -29
- package/es-modules/Grid/Pro/CellEditing/CellEditMode.d.ts +4 -45
- package/es-modules/Grid/Pro/CellEditing/CellEditMode.js +16 -0
- package/es-modules/Grid/Pro/CellEditing/CellEditing.js +13 -13
- package/es-modules/Grid/Pro/CellEditing/CellEditingComposition.js +4 -5
- 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.d.ts +1 -1
- package/es-modules/Grid/Pro/CellRendering/CellRenderersComposition.js +7 -5
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/CheckboxContent.d.ts +2 -2
- 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 +4 -5
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/SelectContent.d.ts +2 -2
- 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 +4 -5
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/TextInputContent.d.ts +2 -2
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/TextInputContent.js +4 -5
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/TimeInputContent.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/Renderers/CheckboxRenderer.js +4 -5
- package/es-modules/Grid/Pro/CellRendering/Renderers/DateInputRenderer.js +4 -5
- package/es-modules/Grid/Pro/CellRendering/Renderers/DateInputRendererBase.js +3 -3
- package/es-modules/Grid/Pro/CellRendering/Renderers/DateTimeInputRenderer.js +4 -5
- package/es-modules/Grid/Pro/CellRendering/Renderers/NumberInputRenderer.js +4 -5
- package/es-modules/Grid/Pro/CellRendering/Renderers/SelectRenderer.js +4 -5
- package/es-modules/Grid/Pro/CellRendering/Renderers/SparklineRenderer.d.ts +4 -4
- package/es-modules/Grid/Pro/CellRendering/Renderers/SparklineRenderer.js +4 -5
- package/es-modules/Grid/Pro/CellRendering/Renderers/TextInputRenderer.js +4 -5
- package/es-modules/Grid/Pro/CellRendering/Renderers/TextRenderer.js +4 -5
- package/es-modules/Grid/Pro/CellRendering/Renderers/TimeInputRenderer.js +4 -5
- package/es-modules/Grid/Pro/ColumnTypes/Validator.d.ts +10 -1
- package/es-modules/Grid/Pro/ColumnTypes/Validator.js +56 -12
- package/es-modules/Grid/Pro/ColumnTypes/ValidatorComposition.d.ts +1 -1
- package/es-modules/Grid/Pro/ColumnTypes/ValidatorComposition.js +6 -7
- package/es-modules/Grid/Pro/Credits/CreditsPro.js +3 -3
- package/es-modules/Grid/Pro/Credits/CreditsProComposition.js +4 -6
- package/es-modules/Grid/Pro/Data/DataSourceHelper.d.ts +74 -0
- package/es-modules/Grid/Pro/Data/DataSourceHelper.js +246 -0
- package/es-modules/Grid/Pro/Data/QuerySerializer.d.ts +46 -0
- package/es-modules/Grid/Pro/Data/QuerySerializer.js +169 -0
- package/es-modules/Grid/Pro/Data/RemoteDataProvider.d.ts +187 -0
- package/es-modules/Grid/Pro/Data/RemoteDataProvider.js +500 -0
- package/es-modules/Grid/Pro/Export/Exporting.js +5 -7
- package/es-modules/Grid/Pro/Export/ExportingComposition.js +4 -5
- package/es-modules/Grid/Pro/GridEvents.d.ts +1 -0
- package/es-modules/Grid/Pro/GridEvents.js +4 -5
- package/es-modules/Grid/Pro/Pagination/PaginationComposition.d.ts +0 -1
- package/es-modules/Grid/Pro/Pagination/PaginationComposition.js +4 -5
- package/es-modules/Grid/index.js +3 -3
- package/es-modules/Shared/BaseForm.js +4 -5
- package/es-modules/Shared/DownloadURL.d.ts +1 -85
- package/es-modules/Shared/DownloadURL.js +15 -13
- package/es-modules/Shared/LangOptionsCore.d.ts +4 -3
- package/es-modules/Shared/TimeBase.d.ts +1 -46
- package/es-modules/Shared/TimeBase.js +11 -10
- package/es-modules/Shared/Types.d.ts +11 -3
- package/es-modules/Shared/Utilities.d.ts +576 -0
- package/es-modules/Shared/Utilities.js +1368 -0
- package/es-modules/masters/grid-pro.src.d.ts +18 -19
- package/es-modules/masters/grid-pro.src.js +24 -9
- package/grid-pro.d.ts +18 -19
- package/grid-pro.js +6 -5
- package/grid-pro.js.map +1 -1
- package/grid-pro.src.d.ts +18 -19
- package/grid-pro.src.js +8132 -4531
- package/package.json +1 -1
- package/es-modules/Grid/Core/Pagination/Icons.d.ts +0 -7
- package/es-modules/Grid/Core/Pagination/Icons.js +0 -7
- package/es-modules/Grid/Pro/highcharts.d.ts +0 -7
|
@@ -1,57 +1,24 @@
|
|
|
1
|
-
/* *
|
|
2
|
-
*
|
|
3
|
-
* (c) 2010-2025 Torstein Honsi
|
|
4
|
-
*
|
|
5
|
-
* License: www.highcharts.com/license
|
|
6
|
-
*
|
|
7
|
-
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
8
|
-
*
|
|
9
|
-
* */
|
|
10
|
-
|
|
11
|
-
/* *
|
|
12
|
-
*
|
|
13
|
-
* Imports
|
|
14
|
-
*
|
|
15
|
-
* */
|
|
16
|
-
|
|
17
1
|
import type Color from './Color';
|
|
18
2
|
import type ColorType from './ColorType';
|
|
19
|
-
|
|
20
|
-
/* *
|
|
21
|
-
*
|
|
22
|
-
* Declarations
|
|
23
|
-
*
|
|
24
|
-
* */
|
|
25
|
-
|
|
26
3
|
export interface GradientColor {
|
|
27
4
|
linearGradient?: LinearGradientColor;
|
|
28
5
|
radialGradient?: RadialGradientColor;
|
|
29
6
|
stops: Array<GradientColorStop>;
|
|
30
7
|
}
|
|
31
|
-
|
|
32
8
|
export interface GradientColorStop {
|
|
33
9
|
0: number;
|
|
34
10
|
1: ColorType;
|
|
35
11
|
color?: Color;
|
|
36
12
|
}
|
|
37
|
-
|
|
38
13
|
export interface LinearGradientColor {
|
|
39
14
|
x1: number;
|
|
40
15
|
x2: number;
|
|
41
16
|
y1: number;
|
|
42
17
|
y2: number;
|
|
43
18
|
}
|
|
44
|
-
|
|
45
19
|
export interface RadialGradientColor {
|
|
46
20
|
cx: number;
|
|
47
21
|
cy: number;
|
|
48
22
|
r: number;
|
|
49
23
|
}
|
|
50
|
-
|
|
51
|
-
/* *
|
|
52
|
-
*
|
|
53
|
-
* Export
|
|
54
|
-
*
|
|
55
|
-
* */
|
|
56
|
-
|
|
57
24
|
export default GradientColor;
|
|
@@ -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';
|
|
@@ -13,8 +14,7 @@ import H from './Globals.js';
|
|
|
13
14
|
const { isTouchDevice } = H;
|
|
14
15
|
import Palettes from './Color/Palettes.js';
|
|
15
16
|
import Time from './Time.js';
|
|
16
|
-
import
|
|
17
|
-
const { fireEvent, merge } = U;
|
|
17
|
+
import { fireEvent, merge } from '../Shared/Utilities.js';
|
|
18
18
|
/* *
|
|
19
19
|
*
|
|
20
20
|
* API Options
|
|
@@ -27,7 +27,7 @@ const { fireEvent, merge } = U;
|
|
|
27
27
|
* @type {Highcharts.Options}
|
|
28
28
|
*/ /**
|
|
29
29
|
* @optionparent
|
|
30
|
-
* @
|
|
30
|
+
* @internal
|
|
31
31
|
*/
|
|
32
32
|
const defaultOptions = {
|
|
33
33
|
/**
|
|
@@ -262,17 +262,17 @@ const defaultOptions = {
|
|
|
262
262
|
* @since 1.2.4
|
|
263
263
|
*/
|
|
264
264
|
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
265
|
/**
|
|
271
266
|
* The default title of the Y axis
|
|
272
267
|
*
|
|
273
268
|
* @since 12.2.0
|
|
274
269
|
*/
|
|
275
270
|
yAxisTitle: 'Values',
|
|
271
|
+
/**
|
|
272
|
+
* The tooltip title for the label appearing when a chart is zoomed.
|
|
273
|
+
*
|
|
274
|
+
* @since 1.2.4
|
|
275
|
+
*/
|
|
276
276
|
resetZoomTitle: 'Reset zoom level 1:1'
|
|
277
277
|
},
|
|
278
278
|
/**
|
|
@@ -484,7 +484,7 @@ const defaultOptions = {
|
|
|
484
484
|
* `"UTC"`. Setting `useUTC` to false is equivalent to setting
|
|
485
485
|
* `time.timezone` to `undefined`.
|
|
486
486
|
*
|
|
487
|
-
* @see [
|
|
487
|
+
* @see [timezone](#time.timezone)
|
|
488
488
|
*
|
|
489
489
|
* @sample {highcharts} highcharts/time/useutc-true/
|
|
490
490
|
* True by default
|
|
@@ -712,27 +712,6 @@ const defaultOptions = {
|
|
|
712
712
|
* @since 2.1
|
|
713
713
|
* @apioption subtitle.floating
|
|
714
714
|
*/
|
|
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
715
|
/**
|
|
737
716
|
* Whether to
|
|
738
717
|
* [use HTML](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#html)
|
|
@@ -1010,6 +989,9 @@ const defaultOptions = {
|
|
|
1010
989
|
* columns. Setting this to `false` makes room for more items, but will
|
|
1011
990
|
* look more messy.
|
|
1012
991
|
*
|
|
992
|
+
* @sample highcharts/legend/aligncolumns
|
|
993
|
+
* Align columns
|
|
994
|
+
*
|
|
1013
995
|
* @since 6.1.0
|
|
1014
996
|
*/
|
|
1015
997
|
alignColumns: true,
|
|
@@ -1024,7 +1006,7 @@ const defaultOptions = {
|
|
|
1024
1006
|
*
|
|
1025
1007
|
* @declare Highcharts.LegendEventsOptionsObject
|
|
1026
1008
|
*
|
|
1027
|
-
* @
|
|
1009
|
+
* @internal
|
|
1028
1010
|
*/
|
|
1029
1011
|
events: {},
|
|
1030
1012
|
/**
|
|
@@ -1140,6 +1122,9 @@ const defaultOptions = {
|
|
|
1140
1122
|
* for each legend label. Available variables relates to properties on
|
|
1141
1123
|
* the series, or the point in case of pies.
|
|
1142
1124
|
*
|
|
1125
|
+
* @sample {highcharts} highcharts/legend/labelformat/
|
|
1126
|
+
* Add text
|
|
1127
|
+
*
|
|
1143
1128
|
* @type {string}
|
|
1144
1129
|
* @default {name}
|
|
1145
1130
|
* @since 1.3
|
|
@@ -1149,7 +1134,10 @@ const defaultOptions = {
|
|
|
1149
1134
|
/**
|
|
1150
1135
|
* Callback function to format each of the series' labels. The `this`
|
|
1151
1136
|
* keyword refers to the series object, or the point object in case of
|
|
1152
|
-
* pie charts. By default the series or point name is printed.
|
|
1137
|
+
* pie charts. By default the series or point name is printed. Since
|
|
1138
|
+
* v12.5.0, the callback also receives `ctx` as the first argument, so
|
|
1139
|
+
* that arrow functions can access the same context as regular
|
|
1140
|
+
* functions using `this`.
|
|
1153
1141
|
*
|
|
1154
1142
|
* @productdesc {highmaps}
|
|
1155
1143
|
* In Highmaps the context can also be a data class in case of a
|
|
@@ -1876,8 +1864,17 @@ const defaultOptions = {
|
|
|
1876
1864
|
* @apioption tooltip.borderColor
|
|
1877
1865
|
*/
|
|
1878
1866
|
/**
|
|
1879
|
-
* A CSS class name to apply to the tooltip
|
|
1880
|
-
*
|
|
1867
|
+
* A CSS class name to apply to the tooltip, allowing unique CSS
|
|
1868
|
+
* styling for each chart.
|
|
1869
|
+
*
|
|
1870
|
+
* **Note:** The class is applied to the SVG element of the tooltip
|
|
1871
|
+
* (the tooltip label group), not to a container div. This allows you
|
|
1872
|
+
* to style the tooltip using CSS applicable to SVG elements.
|
|
1873
|
+
*
|
|
1874
|
+
* When [tooltip.outside](#tooltip.outside) is `true`, a separate
|
|
1875
|
+
* container div with class `highcharts-tooltip-container` is created
|
|
1876
|
+
* as the parent to the SVG tooltip element, but the `className` option
|
|
1877
|
+
* is still applied to the SVG element itself, not to the container.
|
|
1881
1878
|
*
|
|
1882
1879
|
* @type {string}
|
|
1883
1880
|
* @apioption tooltip.className
|
|
@@ -2036,13 +2033,18 @@ const defaultOptions = {
|
|
|
2036
2033
|
* @sample {highmaps} maps/tooltip/formatter/
|
|
2037
2034
|
* String formatting
|
|
2038
2035
|
*
|
|
2036
|
+
* Since v12.5.0, the callback also receives `ctx` as the second
|
|
2037
|
+
* argument, so that arrow functions can access the same context as
|
|
2038
|
+
* regular functions using `this`.
|
|
2039
|
+
*
|
|
2039
2040
|
* @type {Highcharts.TooltipFormatterCallbackFunction}
|
|
2040
2041
|
* @apioption tooltip.formatter
|
|
2041
2042
|
*/
|
|
2042
2043
|
/**
|
|
2043
2044
|
* Callback function to format the text of the tooltip for
|
|
2044
2045
|
* visible null points.
|
|
2045
|
-
* Works analogously to [formatter](#tooltip.formatter)
|
|
2046
|
+
* Works analogously to [formatter](#tooltip.formatter), including the
|
|
2047
|
+
* `ctx` callback argument added in v12.5.0.
|
|
2046
2048
|
*
|
|
2047
2049
|
* @sample highcharts/plotoptions/series-nullformat
|
|
2048
2050
|
* Format data label and tooltip for null point.
|
|
@@ -2076,7 +2078,9 @@ const defaultOptions = {
|
|
|
2076
2078
|
/**
|
|
2077
2079
|
* A callback function for formatting the HTML output for a single point
|
|
2078
2080
|
* in the tooltip. Like the `pointFormat` string, but with more
|
|
2079
|
-
* flexibility.
|
|
2081
|
+
* flexibility. Since v12.5.0, the callback also receives `ctx` as the
|
|
2082
|
+
* first argument, so that arrow functions can access the same context
|
|
2083
|
+
* as regular functions using `this`.
|
|
2080
2084
|
*
|
|
2081
2085
|
* @type {Highcharts.FormatterCallbackFunction<Highcharts.Point>}
|
|
2082
2086
|
* @since 4.1.0
|
|
@@ -2085,10 +2089,13 @@ const defaultOptions = {
|
|
|
2085
2089
|
*/
|
|
2086
2090
|
/**
|
|
2087
2091
|
* A callback function to place the tooltip in a custom position. The
|
|
2088
|
-
* callback receives
|
|
2089
|
-
* `point`, where point contains values for `plotX` and
|
|
2090
|
-
* where the reference point is in the plot area
|
|
2091
|
-
*
|
|
2092
|
+
* callback receives four parameters: `labelWidth`, `labelHeight`,
|
|
2093
|
+
* `point`, and `ctx`, where point contains values for `plotX` and
|
|
2094
|
+
* `plotY` telling where the reference point is in the plot area, and
|
|
2095
|
+
* `ctx` is the tooltip context (so that arrow-functions can access the
|
|
2096
|
+
* same context as a normal function using `this`). Add
|
|
2097
|
+
* `chart.plotLeft` and `chart.plotTop` to get the full coordinates.
|
|
2098
|
+
* Since v12.5.0, the callback receives `ctx`.
|
|
2092
2099
|
*
|
|
2093
2100
|
* To find the actual hovered `Point` instance, use
|
|
2094
2101
|
* `this.chart.hoverPoint`. For shared or split tooltips, all the hover
|
|
@@ -2150,35 +2157,6 @@ const defaultOptions = {
|
|
|
2150
2157
|
* @product highcharts highstock
|
|
2151
2158
|
* @apioption tooltip.split
|
|
2152
2159
|
*/
|
|
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
2160
|
/**
|
|
2183
2161
|
* How many decimals to show in each series' y value. This is
|
|
2184
2162
|
* overridable in each series' tooltip options object. The default is to
|
|
@@ -2341,6 +2319,15 @@ const defaultOptions = {
|
|
|
2341
2319
|
* @since 3.0
|
|
2342
2320
|
*/
|
|
2343
2321
|
hideDelay: 500,
|
|
2322
|
+
/**
|
|
2323
|
+
* The number of milliseconds to wait until the tooltip is shown when
|
|
2324
|
+
* mouse over a point. Works on initial hover.
|
|
2325
|
+
*
|
|
2326
|
+
* @sample {highcharts|highstock} highcharts/tooltip/showdelay/
|
|
2327
|
+
*
|
|
2328
|
+
* @since next
|
|
2329
|
+
*/
|
|
2330
|
+
showDelay: 0,
|
|
2344
2331
|
/**
|
|
2345
2332
|
* Padding inside the tooltip, in pixels.
|
|
2346
2333
|
*
|
|
@@ -2501,6 +2488,9 @@ const defaultOptions = {
|
|
|
2501
2488
|
* contains the category name, x value or datetime string depending on
|
|
2502
2489
|
* the type of axis. For datetime axes, the `point.key` date format can
|
|
2503
2490
|
* be set using `tooltip.xDateFormat`.
|
|
2491
|
+
* In v12+, locale-aware date names follow the browser's casing and can
|
|
2492
|
+
* be lower-case, so use the `ucfirst` helper (for example
|
|
2493
|
+
* `{ucfirst point.key}`) if you want a capitalized header.
|
|
2504
2494
|
*
|
|
2505
2495
|
* @sample {highcharts} highcharts/tooltip/footerformat/
|
|
2506
2496
|
* An HTML table in the tooltip
|
|
@@ -2615,13 +2605,14 @@ const defaultOptions = {
|
|
|
2615
2605
|
* @apioption tooltip.shadow
|
|
2616
2606
|
*/
|
|
2617
2607
|
/**
|
|
2618
|
-
* Prevents the tooltip from switching or closing when touched or
|
|
2608
|
+
* Prevents the tooltip from switching or closing, when touched or
|
|
2619
2609
|
* pointed.
|
|
2620
2610
|
*
|
|
2621
2611
|
* @sample highcharts/tooltip/stickoncontact/
|
|
2622
2612
|
* Tooltip sticks on pointer contact
|
|
2623
2613
|
*
|
|
2624
|
-
* @
|
|
2614
|
+
* @type {boolean}
|
|
2615
|
+
* @since 8.0.1
|
|
2625
2616
|
*/
|
|
2626
2617
|
stickOnContact: false,
|
|
2627
2618
|
/**
|
|
@@ -2660,7 +2651,7 @@ const defaultOptions = {
|
|
|
2660
2651
|
* @sample {highmaps} maps/tooltip/usehtml/
|
|
2661
2652
|
* Pure HTML tooltip
|
|
2662
2653
|
*
|
|
2663
|
-
* @since
|
|
2654
|
+
* @since 2.2
|
|
2664
2655
|
*/
|
|
2665
2656
|
useHTML: false
|
|
2666
2657
|
},
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delaunay triangulation of a 2D point set.
|
|
3
|
+
*/
|
|
4
|
+
declare class Delaunay<T extends Float32Array | Float64Array = Float32Array> {
|
|
5
|
+
/**
|
|
6
|
+
* The resulting triangulation as a flat array of triangle vertex indices.
|
|
7
|
+
*/
|
|
8
|
+
readonly triangles: Uint32Array;
|
|
9
|
+
/**
|
|
10
|
+
* The input points array.
|
|
11
|
+
*/
|
|
12
|
+
readonly points: T;
|
|
13
|
+
/**
|
|
14
|
+
* Sorted and deduplicated point indices used for triangulation.
|
|
15
|
+
*/
|
|
16
|
+
private readonly ids;
|
|
17
|
+
/**
|
|
18
|
+
* Numerical tolerance for geometric predicates.
|
|
19
|
+
*/
|
|
20
|
+
private readonly epsilon;
|
|
21
|
+
/**
|
|
22
|
+
* Minimum X value used for normalization.
|
|
23
|
+
*/
|
|
24
|
+
private readonly minX;
|
|
25
|
+
/**
|
|
26
|
+
* Minimum Y value used for normalization.
|
|
27
|
+
*/
|
|
28
|
+
private readonly minY;
|
|
29
|
+
/**
|
|
30
|
+
* Inverse X scale factor used for normalization.
|
|
31
|
+
*/
|
|
32
|
+
private readonly invScaleX;
|
|
33
|
+
/**
|
|
34
|
+
* Inverse Y scale factor used for normalization.
|
|
35
|
+
*/
|
|
36
|
+
private readonly invScaleY;
|
|
37
|
+
/**
|
|
38
|
+
* Create a new Delaunay triangulation.
|
|
39
|
+
*
|
|
40
|
+
* @param {Float32Array|Float64Array} points
|
|
41
|
+
* A 1D array of points in the format [x0, y0, x1, y1, ...].
|
|
42
|
+
*/
|
|
43
|
+
constructor(points: T);
|
|
44
|
+
/**
|
|
45
|
+
* Triangulate the points.
|
|
46
|
+
*
|
|
47
|
+
* @return {Uint32Array}
|
|
48
|
+
* A 1D array of triangle vertex indices.
|
|
49
|
+
*/
|
|
50
|
+
private triangulate;
|
|
51
|
+
}
|
|
52
|
+
export default Delaunay;
|