@sisense/sdk-ui 1.18.0 → 1.19.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.
Files changed (47) hide show
  1. package/dist/ai.cjs +1 -1
  2. package/dist/ai.js +32 -32
  3. package/dist/analytics-composer.cjs +1 -1
  4. package/dist/analytics-composer.js +1 -1
  5. package/dist/app/settings/settings.d.ts +1 -1
  6. package/dist/chart-data/cartesian-data.d.ts +6 -0
  7. package/dist/chart-data-options/utils.d.ts +3 -0
  8. package/dist/chart-options-processor/apply-event-handlers.d.ts +2 -1
  9. package/dist/chart-options-processor/data-points.d.ts +10 -0
  10. package/dist/charts/map-charts/areamap/areamap-utils.d.ts +11 -0
  11. package/dist/charts/map-charts/scattermap/utils/location.d.ts +2 -2
  12. package/dist/common/components/loading-indicator.d.ts +1 -150
  13. package/dist/common-filters/selection-utils.d.ts +3 -3
  14. package/dist/dashboard/utils.d.ts +0 -1
  15. package/dist/dashboard-widget/translate-dashboard-filters.d.ts +446 -450
  16. package/dist/dashboard-widget/translate-widget-filters.d.ts +53 -53
  17. package/dist/dashboard-widget/translate-widget-style-options.d.ts +3 -3
  18. package/dist/dashboard-widget/types.d.ts +55 -5
  19. package/dist/dashboard-widget/utils.d.ts +3 -1
  20. package/dist/{get-widget-options-DJexR5_Z.js → get-widget-options-ClnEbAD8.js} +3700 -3685
  21. package/dist/{get-widget-options-CDWzHX-s.cjs → get-widget-options-CzFDw_pX.cjs} +76 -76
  22. package/dist/index.cjs +184 -172
  23. package/dist/index.d.ts +4 -1
  24. package/dist/index.js +12484 -11919
  25. package/dist/models/widget/widget-model.d.ts +18 -2
  26. package/dist/plugins-provider/custom-plugins-provider.d.ts +24 -0
  27. package/dist/plugins-provider/index.d.ts +2 -0
  28. package/dist/plugins-provider/plugins-context.d.ts +9 -0
  29. package/dist/plugins-provider/plugins-provider.d.ts +15 -0
  30. package/dist/plugins-provider/types.d.ts +8 -0
  31. package/dist/props.d.ts +10 -1
  32. package/dist/sisense-chart/types.d.ts +1 -2
  33. package/dist/theme-provider/fonts-loader/fonts-loader.d.ts +5 -0
  34. package/dist/theme-provider/fonts-loader/use-fonts-loader.d.ts +2 -0
  35. package/dist/themes/legacy-design-settings.d.ts +1 -1
  36. package/dist/themes/theme-loader.d.ts +1 -1
  37. package/dist/translation/resources/en.d.ts +2 -1
  38. package/dist/translation/resources/index.d.ts +4 -2
  39. package/dist/types.d.ts +145 -13
  40. package/dist/{useQuery-Bkuiz8XK.js → useQuery-CHAg2bkd.js} +10626 -10286
  41. package/dist/useQuery-CV4-tm99.cjs +440 -0
  42. package/dist/utils/filters.d.ts +1 -3
  43. package/dist/utils/utility-types.d.ts +4 -0
  44. package/dist/widgets/text-widget.d.ts +4 -0
  45. package/package.json +9 -7
  46. package/dist/dashboard/components/plugin-service.d.ts +0 -21
  47. package/dist/useQuery-CZAKQmD7.cjs +0 -433
@@ -1,14 +1,15 @@
1
1
  import { Filter } from '@sisense/sdk-data';
2
2
  import { ChartDataOptions, PivotTableDataOptions } from '../../chart-data-options/types';
3
3
  import { Panel, WidgetDto, WidgetType } from '../../dashboard-widget/types';
4
- import { ChartProps, ChartWidgetProps, PivotTableProps, TableProps, TableWidgetProps, PivotTableWidgetProps } from '../../props';
4
+ import { ChartProps, ChartWidgetProps, PivotTableProps, TableProps, TableWidgetProps, PivotTableWidgetProps, TextWidgetProps } from '../../props';
5
5
  import { ExecutePivotQueryParams, ExecuteQueryParams } from '../../query-execution';
6
6
  import { ChartType, DrilldownOptions, CompleteThemeSettings, RenderToolbarHandler, WidgetStyleOptions } from '../../types';
7
7
  import { AppSettings } from '../../app/settings/settings';
8
+ import { EmptyObject } from '../../utils/utility-types';
8
9
  /**
9
10
  * Widget data options.
10
11
  */
11
- export type WidgetDataOptions = ChartDataOptions | PivotTableDataOptions;
12
+ export type WidgetDataOptions = ChartDataOptions | PivotTableDataOptions | EmptyObject;
12
13
  /**
13
14
  * Model of Sisense widget defined in the abstractions of Compose SDK.
14
15
  *
@@ -188,6 +189,21 @@ export declare class WidgetModel {
188
189
  * @internal
189
190
  */
190
191
  getPivotTableWidgetProps(): PivotTableWidgetProps;
192
+ /**
193
+ * Returns the props to be used for rendering a text widget.
194
+ *
195
+ * @example
196
+ * ```tsx
197
+ * <TextWidget {...widget.getTextWidgetProps()} />
198
+ * ```
199
+ *
200
+ * Note: this method is not supported for chart, table, or pivot widgets.
201
+ * Use {@link getChartWidgetProps} instead for getting props for the <ChartWidget> component.
202
+ * Use {@link getTableWidgetProps} instead for getting props for the <TableWidget> component.
203
+ * Use {@link getPivotTableWidgetProps} instead for getting props for the <PivotTableWidget> component.
204
+ *
205
+ */
206
+ getTextWidgetProps(): TextWidgetProps;
191
207
  /**
192
208
  * Registers new "onDataPointClick" handler for the constructed component
193
209
  *
@@ -0,0 +1,24 @@
1
+ import { ReactNode } from 'react';
2
+ import { WidgetPlugin } from './types';
3
+ /** @internal */
4
+ export type CustomPluginsProviderProps = {
5
+ context: CustomPluginsContext;
6
+ error?: Error;
7
+ };
8
+ /** @internal */
9
+ export type CustomPluginsContext = {
10
+ pluginMap: Map<string, WidgetPlugin>;
11
+ registerPlugin: (pluginType: string, plugin: WidgetPlugin) => void;
12
+ getPlugin: (pluginType: string) => WidgetPlugin | undefined;
13
+ };
14
+ /**
15
+ * Custom Plugin Provider component that allows passing external plugins context.
16
+ *
17
+ * Note: it is designed to serve as a bridge for passing pre-initialized plugin data between an external wrapper and child React components.
18
+ *
19
+ * @internal
20
+ */
21
+ export declare const CustomPluginsProvider: React.FC<{
22
+ context: CustomPluginsContext;
23
+ children: ReactNode;
24
+ }>;
@@ -0,0 +1,2 @@
1
+ export * from './plugins-provider';
2
+ export * from './plugins-context';
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { WidgetPlugin } from './types';
3
+ type PluginsContextType = {
4
+ plugins: Map<string, WidgetPlugin>;
5
+ registerPlugin: (pluginType: string, plugin: WidgetPlugin) => void;
6
+ getPlugin: (pluginType: string) => WidgetPlugin | undefined;
7
+ };
8
+ export declare const PluginsContext: import("react").Context<PluginsContextType>;
9
+ export {};
@@ -0,0 +1,15 @@
1
+ import { ReactNode } from 'react';
2
+ import { WidgetPlugin } from './types';
3
+ /**
4
+ * Plugin Provider component that allows registering and accessing plugins.
5
+ *
6
+ * @internal
7
+ */
8
+ export declare const PluginsProvider: React.FC<{
9
+ children: ReactNode;
10
+ }>;
11
+ export declare const usePlugins: () => {
12
+ plugins: Map<string, WidgetPlugin>;
13
+ registerPlugin: (pluginType: string, plugin: WidgetPlugin) => void;
14
+ getPlugin: (pluginType: string) => WidgetPlugin | undefined;
15
+ };
@@ -0,0 +1,8 @@
1
+ import { WidgetModel } from '../models';
2
+ import { CompleteThemeSettings } from '../types';
3
+ /** @internal */
4
+ export type WidgetPlugin<P = {}> = {
5
+ name: string;
6
+ component: (props: any) => any;
7
+ createChartProps(w: WidgetModel, themeSettings: CompleteThemeSettings): P;
8
+ };
package/dist/props.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Attribute, Filter, Measure, DataSource, Data, QueryResultData, FilterRelations } from '@sisense/sdk-data';
2
- import { ChartDataOptions, CartesianChartDataOptions, CategoricalChartDataOptions, ThemeSettings, PolarStyleOptions, PieStyleOptions, StackableStyleOptions, LineStyleOptions, AreaStyleOptions, FunnelStyleOptions, ScatterStyleOptions, ChartStyleOptions, ChartType, IndicatorStyleOptions, DrilldownOptions, ThemeOid, TreemapStyleOptions, CustomDrilldownResult, MenuPosition, MenuItemSection, SunburstStyleOptions, ChartWidgetStyleOptions, TableWidgetStyleOptions, DashboardWidgetStyleOptions, BoxplotStyleOptions, ScattermapStyleOptions, AreamapStyleOptions, DataPoint, ScatterDataPoint, AreamapDataPoint, BoxplotDataPoint, ChartDataPoints, ScattermapDataPoint, PivotTableStyleOptions, PivotTableWidgetStyleOptions, RegularChartType, RegularChartStyleOptions, TabularChartStyleOptions, TableStyleOptions, AreaRangeStyleOptions, DrilldownSelection } from './types';
2
+ import { ChartDataOptions, CartesianChartDataOptions, CategoricalChartDataOptions, ThemeSettings, PolarStyleOptions, PieStyleOptions, StackableStyleOptions, LineStyleOptions, AreaStyleOptions, FunnelStyleOptions, ScatterStyleOptions, ChartStyleOptions, ChartType, IndicatorStyleOptions, DrilldownOptions, ThemeOid, TreemapStyleOptions, CustomDrilldownResult, MenuPosition, MenuItemSection, SunburstStyleOptions, ChartWidgetStyleOptions, TableWidgetStyleOptions, DashboardWidgetStyleOptions, BoxplotStyleOptions, ScattermapStyleOptions, AreamapStyleOptions, DataPoint, ScatterDataPoint, AreamapDataPoint, BoxplotDataPoint, ChartDataPoints, ScattermapDataPoint, PivotTableStyleOptions, PivotTableWidgetStyleOptions, RegularChartType, RegularChartStyleOptions, TabularChartStyleOptions, TableStyleOptions, AreaRangeStyleOptions, DrilldownSelection, TextWidgetStyleOptions } from './types';
3
3
  import { HighchartsOptions } from './chart-options-processor/chart-options-service';
4
4
  import { ComponentType, PropsWithChildren, ReactNode } from 'react';
5
5
  import { IndicatorChartDataOptions, BoxplotChartCustomDataOptions, BoxplotChartDataOptions, ScatterChartDataOptions, TableDataOptions, ScattermapChartDataOptions, AreamapChartDataOptions, PivotTableDataOptions, RegularChartDataOptions, TabularChartDataOptions, RangeChartDataOptions } from './chart-data-options/types';
@@ -1361,3 +1361,12 @@ export interface UseGetSharedFormulaParams extends HookEnableParam {
1361
1361
  */
1362
1362
  dataSource?: DataSource;
1363
1363
  }
1364
+ /**
1365
+ * Props for the TextWidget component.
1366
+ */
1367
+ export type TextWidgetProps = {
1368
+ /**
1369
+ * Style options for the text widget.
1370
+ */
1371
+ styleOptions: TextWidgetStyleOptions;
1372
+ };
@@ -1,5 +1,4 @@
1
- import { DataPointsEventHandler, ScatterDataPointsEventHandler } from '../props.js';
2
1
  import { BoxplotDataPoint, DataPoint, ScatterDataPoint } from '../types.js';
3
- export type SisenseChartDataPointsEventHandler = DataPointsEventHandler | ScatterDataPointsEventHandler;
2
+ export type SisenseChartDataPointsEventHandler = (points: SisenseChartDataPoint[], nativeEvent: MouseEvent) => void;
4
3
  export type SisenseChartDataPoint = DataPoint | ScatterDataPoint | BoxplotDataPoint;
5
4
  export type SisenseChartDataPointEventHandler = (point: SisenseChartDataPoint, nativeEvent: PointerEvent) => void;
@@ -0,0 +1,5 @@
1
+ import { ThemeSettingsFont } from '../../types';
2
+ export declare const FontsLoader: ({ fonts, children, }: {
3
+ fonts?: ThemeSettingsFont[] | undefined;
4
+ children?: any;
5
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { ThemeSettingsFont } from '../../types';
2
+ export declare const useFontsLoader: (fonts: ThemeSettingsFont[], prevLoadedFonts: string[]) => string[];
@@ -94,5 +94,5 @@ export declare const LEGACY_DESIGN_TYPES: {
94
94
  * @param legacyPalette - legacy palette object.
95
95
  * @returns
96
96
  */
97
- export declare function convertToThemeSettings(legacyDesignSettings: LegacyDesignSettings, legacyPalette: LegacyPalette): CompleteThemeSettings;
97
+ export declare function convertToThemeSettings(legacyDesignSettings: LegacyDesignSettings, legacyPalette: LegacyPalette, domainUrl: string): CompleteThemeSettings;
98
98
  export declare function getPaletteName(legacyDesignSettings: LegacyDesignSettings): string;
@@ -9,5 +9,5 @@ import { type LegacyPalette } from './legacy-design-settings';
9
9
  * @returns CompleteThemeSettings from server.
10
10
  * @internal
11
11
  */
12
- export declare function getThemeSettingsByOid(themeOid: ThemeOid, httpClient: Pick<HttpClient, 'get'>): Promise<CompleteThemeSettings>;
12
+ export declare function getThemeSettingsByOid(themeOid: ThemeOid, httpClient: Pick<HttpClient, 'get' | 'url'>): Promise<CompleteThemeSettings>;
13
13
  export declare function getLegacyPalette(paletteName: string, httpClient: Pick<HttpClient, 'get'>): Promise<LegacyPalette>;
@@ -10,7 +10,6 @@ export declare const translation: {
10
10
  executeQueryNoSisenseContext: string;
11
11
  executeQueryNoDataSource: string;
12
12
  dataOptions: {
13
- emptyValueArray: string;
14
13
  noDimensionsAndMeasures: string;
15
14
  attributeNotFound: string;
16
15
  measureNotFound: string;
@@ -30,8 +29,10 @@ export declare const translation: {
30
29
  };
31
30
  widgetModel: {
32
31
  pivotWidgetNotSupported: string;
32
+ textWidgetNotSupported: string;
33
33
  onlyTableWidgetSupported: string;
34
34
  onlyPivotWidgetSupported: string;
35
+ onlyTextWidgetSupported: string;
35
36
  };
36
37
  unknownFilterInFilterRelations: string;
37
38
  filterRelationsNotSupported: string;
@@ -14,7 +14,6 @@ export declare const resources: {
14
14
  executeQueryNoSisenseContext: string;
15
15
  executeQueryNoDataSource: string;
16
16
  dataOptions: {
17
- emptyValueArray: string;
18
17
  noDimensionsAndMeasures: string;
19
18
  attributeNotFound: string;
20
19
  measureNotFound: string;
@@ -34,8 +33,10 @@ export declare const resources: {
34
33
  };
35
34
  widgetModel: {
36
35
  pivotWidgetNotSupported: string;
36
+ textWidgetNotSupported: string;
37
37
  onlyTableWidgetSupported: string;
38
38
  onlyPivotWidgetSupported: string;
39
+ onlyTextWidgetSupported: string;
39
40
  };
40
41
  unknownFilterInFilterRelations: string;
41
42
  filterRelationsNotSupported: string;
@@ -137,7 +138,6 @@ export declare const resources: {
137
138
  executeQueryNoSisenseContext: string;
138
139
  executeQueryNoDataSource: string;
139
140
  dataOptions: {
140
- emptyValueArray: string;
141
141
  noDimensionsAndMeasures: string;
142
142
  attributeNotFound: string;
143
143
  measureNotFound: string;
@@ -157,8 +157,10 @@ export declare const resources: {
157
157
  };
158
158
  widgetModel: {
159
159
  pivotWidgetNotSupported: string;
160
+ textWidgetNotSupported: string;
160
161
  onlyTableWidgetSupported: string;
161
162
  onlyPivotWidgetSupported: string;
163
+ onlyTextWidgetSupported: string;
162
164
  };
163
165
  unknownFilterInFilterRelations: string;
164
166
  filterRelationsNotSupported: string;
package/dist/types.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { AutoZoomNavigatorScrollerLocation } from './dashboard-widget/types';
3
- import type { Attribute, MembersFilter } from '@sisense/sdk-data';
2
+ import type { Attribute, CalculatedMeasureColumn, Column, Measure, MeasureColumn, MembersFilter } from '@sisense/sdk-data';
4
3
  import { DeepRequired } from 'ts-essentials';
5
4
  import { AreaSubtype, BoxplotSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, AreaRangeSubtype } from './chart-options-processor/subtype-to-design-options';
6
5
  import { IndicatorComponents, TableColorOptions } from './chart-options-processor/translations/design-options';
@@ -11,6 +10,8 @@ import { DataPointsEventHandler } from './props';
11
10
  import { LegendPosition } from './chart-options-processor/translations/legend-section';
12
11
  import { GeoDataElement, RawGeoDataElement } from './chart-data/types';
13
12
  import { Coordinates } from './charts/map-charts/scattermap/types';
13
+ import { StyledColumn, StyledMeasureColumn } from '.';
14
+ import { HighchartsOptionsInternal } from './chart-options-processor/chart-options-service';
14
15
  export type { SortDirection, PivotRowsSort } from '@sisense/sdk-data';
15
16
  export type { AppConfig } from './app/client-application';
16
17
  export type { DateConfig } from './query/date-formats';
@@ -30,7 +31,11 @@ export type Components = {
30
31
  export type Navigator = {
31
32
  /** Boolean flag that defines if navigator should be shown on the chart */
32
33
  enabled: boolean;
33
- scrollerLocation?: AutoZoomNavigatorScrollerLocation;
34
+ /** The scroll location of the navigator scroller / auto zoom feature */
35
+ scrollerLocation?: {
36
+ min: number;
37
+ max: number;
38
+ };
34
39
  };
35
40
  /** Configuration that defines line width */
36
41
  export type LineWidth = {
@@ -830,6 +835,26 @@ export interface AiChatThemeSettings {
830
835
  boxShadow?: string;
831
836
  };
832
837
  }
838
+ export type ThemeSettingsFontSource = {
839
+ local: string;
840
+ } | {
841
+ url: string;
842
+ } | {
843
+ format: string;
844
+ url: string;
845
+ };
846
+ /** Loading font details */
847
+ export interface ThemeSettingsFont {
848
+ fontFamily: string;
849
+ fontWeight: string | number;
850
+ fontStyle: string;
851
+ src: ThemeSettingsFontSource[];
852
+ }
853
+ /** Settings for fonts loading */
854
+ export interface FontsLoaderSettings {
855
+ /** List of fonts */
856
+ fonts: ThemeSettingsFont[];
857
+ }
833
858
  /** Text theme settings */
834
859
  export interface TypographyThemeSettings {
835
860
  /** Font family name to style component text */
@@ -838,6 +863,8 @@ export interface TypographyThemeSettings {
838
863
  primaryTextColor?: string;
839
864
  /** Secondary text color */
840
865
  secondaryTextColor?: string;
866
+ /** Settings for font loading */
867
+ fontsLoader?: FontsLoaderSettings;
841
868
  }
842
869
  /** General theme settings */
843
870
  export interface GeneralThemeSettings {
@@ -942,9 +969,13 @@ export interface ThemeSettings {
942
969
  *
943
970
  * @internal
944
971
  */
945
- export type CompleteThemeSettings = DeepRequired<ThemeSettings>;
972
+ export type CompleteThemeSettings = DeepRequired<Omit<ThemeSettings, 'typography'>> & {
973
+ typography: DeepRequired<Omit<TypographyThemeSettings, 'fontsLoader'>> & {
974
+ fontsLoader?: FontsLoaderSettings;
975
+ };
976
+ };
946
977
  /** Complete set of configuration options that define functional style of the various elements of the charts as well as the look and feel of widget itself and widget header. */
947
- export type WidgetStyleOptions = (ChartStyleOptions | TableStyleOptions) & WidgetContainerStyleOptions;
978
+ export type WidgetStyleOptions = (ChartStyleOptions | TableStyleOptions | TextWidgetStyleOptions) & WidgetContainerStyleOptions;
948
979
  /** Style settings defining the look and feel of widget itself and widget header */
949
980
  export interface WidgetContainerStyleOptions {
950
981
  /** Space between widget container edge and the chart */
@@ -1025,6 +1056,14 @@ export type TableWidgetStyleOptions = TableStyleOptions & WidgetContainerStyleOp
1025
1056
  * @internal
1026
1057
  */
1027
1058
  export type PivotTableWidgetStyleOptions = PivotTableStyleOptions & WidgetContainerStyleOptions;
1059
+ /**
1060
+ * Style settings defining the look and feel of TextWidget
1061
+ */
1062
+ export type TextWidgetStyleOptions = {
1063
+ html: string;
1064
+ vAlign: `valign-${'middle' | 'top' | 'bottom'}`;
1065
+ bgColor: string;
1066
+ };
1028
1067
  /**
1029
1068
  * Runs type guard check for ThemeOid.
1030
1069
  *
@@ -1055,11 +1094,11 @@ export type DrilldownSelection = {
1055
1094
  /**
1056
1095
  * Data points in a chart. Array of data points of the same data point type.
1057
1096
  */
1058
- export type ChartDataPoints = DataPoint[] | ScatterDataPoint[] | BoxplotDataPoint[] | AreamapDataPoint[];
1097
+ export type ChartDataPoints = DataPoint[] | ScatterDataPoint[] | BoxplotDataPoint[] | AreamapDataPoint[] | ScattermapDataPoint[];
1059
1098
  /**
1060
1099
  * Abstract data point in a chart - union of all types of data points.
1061
1100
  */
1062
- export type ChartDataPoint = DataPoint | ScatterDataPoint | BoxplotDataPoint | AreamapDataPoint;
1101
+ export type ChartDataPoint = DataPoint | ScatterDataPoint | BoxplotDataPoint | AreamapDataPoint | ScattermapDataPoint;
1063
1102
  /**
1064
1103
  * Abstract data point in a chart that based on Highcharts.
1065
1104
  *
@@ -1082,6 +1121,38 @@ export type DataPoint = {
1082
1121
  categoryDisplayValue?: string;
1083
1122
  /** Series associated with the data point */
1084
1123
  seriesValue?: string | number;
1124
+ /**
1125
+ * A collection of data point entries that represents values for all related `dataOptions`.
1126
+ *
1127
+ * @internal
1128
+ */
1129
+ entries?: {
1130
+ category: DataPointEntry[];
1131
+ value: DataPointEntry[];
1132
+ breakBy?: DataPointEntry[];
1133
+ };
1134
+ };
1135
+ /**
1136
+ * A data point entry that represents a single dimension within a multi-dimensional data point.
1137
+ *
1138
+ * @internal
1139
+ */
1140
+ export type DataPointEntry = {
1141
+ /**
1142
+ * The unique identifier of the data point entry.
1143
+ * It represents the path within the `dataOptions` object that identifies the related option.
1144
+ */
1145
+ readonly id: string;
1146
+ /** The data option associated with this entry */
1147
+ dataOption: Column | StyledColumn | MeasureColumn | CalculatedMeasureColumn | StyledMeasureColumn;
1148
+ /** The attribute associated with this data point entry */
1149
+ attribute?: Attribute;
1150
+ /** The measure associated with this data point entry */
1151
+ measure?: Measure;
1152
+ /** The raw value of the data point */
1153
+ value: string | number;
1154
+ /** The formated value of the data point */
1155
+ displayValue?: string;
1085
1156
  };
1086
1157
  /** Data point in a Scatter chart. */
1087
1158
  export type ScatterDataPoint = {
@@ -1090,28 +1161,62 @@ export type ScatterDataPoint = {
1090
1161
  size?: number;
1091
1162
  breakByPoint?: string;
1092
1163
  breakByColor?: string;
1164
+ /**
1165
+ * A collection of data point entries that represents values for all related `dataOptions`.
1166
+ *
1167
+ * @internal
1168
+ */
1169
+ entries?: {
1170
+ x?: DataPointEntry;
1171
+ y?: DataPointEntry;
1172
+ size?: DataPointEntry;
1173
+ breakByPoint?: DataPointEntry;
1174
+ breakByColor?: DataPointEntry;
1175
+ };
1093
1176
  };
1094
1177
  /** Data point in a Boxplot chart. */
1095
1178
  export type BoxplotDataPoint = {
1096
1179
  /** Value of the box minimum */
1097
- boxMin: number;
1180
+ boxMin?: number;
1098
1181
  /** Value of the box median */
1099
- boxMedian: number;
1182
+ boxMedian?: number;
1100
1183
  /** Value of the box maximum */
1101
- boxMax: number;
1184
+ boxMax?: number;
1102
1185
  /** Value of the box minimal whisker */
1103
- whiskerMin: number;
1186
+ whiskerMin?: number;
1104
1187
  /** Value of the box maximal whisker */
1105
- whiskerMax: number;
1188
+ whiskerMax?: number;
1106
1189
  /** Value of the category for the data point */
1107
1190
  categoryValue?: string | number;
1108
1191
  /** Display value of category of the data point */
1109
1192
  categoryDisplayValue?: string;
1193
+ /** Value of the outlier */
1194
+ outlier?: number;
1195
+ /**
1196
+ * A collection of data point entries that represents values for all related `dataOptions`.
1197
+ *
1198
+ * @internal
1199
+ */
1200
+ entries?: {
1201
+ category: DataPointEntry[];
1202
+ value: DataPointEntry[];
1203
+ outliers: DataPointEntry[];
1204
+ };
1110
1205
  };
1111
1206
  /**
1112
1207
  * Data point in an Areamap chart.
1113
1208
  */
1114
- export type AreamapDataPoint = GeoDataElement;
1209
+ export type AreamapDataPoint = GeoDataElement & {
1210
+ /**
1211
+ * A collection of data point entries that represents values for all related `dataOptions`.
1212
+ *
1213
+ * @internal
1214
+ */
1215
+ entries?: {
1216
+ geo: DataPointEntry[];
1217
+ color: DataPointEntry[];
1218
+ };
1219
+ };
1115
1220
  /**
1116
1221
  * Data point in an Scattermap chart.
1117
1222
  */
@@ -1124,6 +1229,17 @@ export type ScattermapDataPoint = {
1124
1229
  value: number;
1125
1230
  /** Location coordinates */
1126
1231
  coordinates: Coordinates;
1232
+ /**
1233
+ * A collection of data point entries that represents values for all related `dataOptions`.
1234
+ *
1235
+ * @internal
1236
+ */
1237
+ entries?: {
1238
+ geo: DataPointEntry[];
1239
+ size?: DataPointEntry;
1240
+ colorBy?: DataPointEntry;
1241
+ details?: DataPointEntry;
1242
+ };
1127
1243
  };
1128
1244
  /**
1129
1245
  * This is the minimum definition of Highcharts
@@ -1173,18 +1289,27 @@ export type HighchartsPoint = {
1173
1289
  name: string;
1174
1290
  custom: {
1175
1291
  number1?: number;
1292
+ level?: number;
1293
+ levelsCount?: number;
1176
1294
  };
1177
1295
  q1?: number;
1178
1296
  median?: number;
1179
1297
  q3?: number;
1180
1298
  low?: number;
1181
1299
  high?: number;
1300
+ y?: number;
1182
1301
  };
1183
1302
  custom: {
1303
+ maskedX?: string;
1304
+ maskedY?: string;
1184
1305
  maskedBreakByPoint?: string;
1185
1306
  maskedBreakByColor?: string;
1307
+ maskedSize?: string;
1186
1308
  rawValue?: string | number;
1187
1309
  xValue?: (string | number)[];
1310
+ xDisplayValue?: string[];
1311
+ rawValues?: (string | number)[];
1312
+ xValues?: string[];
1188
1313
  };
1189
1314
  series: {
1190
1315
  initialType: string;
@@ -1194,6 +1319,11 @@ export type HighchartsPoint = {
1194
1319
  rawValue?: string | number[];
1195
1320
  };
1196
1321
  };
1322
+ index: number;
1323
+ chart: {
1324
+ options: HighchartsOptionsInternal;
1325
+ };
1326
+ name: string;
1197
1327
  };
1198
1328
  graphic?: {
1199
1329
  on: (eventType: string, callback: (event: PointerEvent) => void) => HighchartsPoint['graphic'];
@@ -1201,6 +1331,8 @@ export type HighchartsPoint = {
1201
1331
  x: number;
1202
1332
  y: number;
1203
1333
  z: number;
1334
+ index: number;
1335
+ value?: number;
1204
1336
  };
1205
1337
  /**
1206
1338
  * @internal