@sisense/sdk-ui 1.4.1 → 1.6.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 (97) hide show
  1. package/dist/ai/ai-context-provider.d.ts +1 -0
  2. package/dist/ai/api/chat-rest-api.d.ts +3 -0
  3. package/dist/ai/api/errors.d.ts +2 -1
  4. package/dist/ai/api/types.d.ts +10 -11
  5. package/dist/ai/chat-config.d.ts +10 -3
  6. package/dist/ai/chat-intro-blurb.d.ts +4 -0
  7. package/dist/ai/chatbot.d.ts +3 -2
  8. package/dist/ai/common/collapsible.d.ts +11 -0
  9. package/dist/ai/get-nlg-query-result.d.ts +12 -52
  10. package/dist/ai/icons/loading-dots-gif-base64.d.ts +2 -0
  11. package/dist/ai/index.d.ts +4 -2
  12. package/dist/ai/messages/feedback-wrapper.d.ts +2 -1
  13. package/dist/ai/messages/insights-message.d.ts +6 -4
  14. package/dist/ai/messages/message-list-resolver.d.ts +1 -2
  15. package/dist/ai/messages/message-resolver.d.ts +1 -3
  16. package/dist/ai/messages/nlq-message-group.d.ts +10 -0
  17. package/dist/ai/suggestions/index.d.ts +1 -1
  18. package/dist/ai/suggestions/suggestion-list.d.ts +1 -1
  19. package/dist/ai/suggestions/suggestions-with-intro.d.ts +2 -2
  20. package/dist/ai/translators/code-templates.d.ts +11 -0
  21. package/dist/ai/translators/generate-code.d.ts +9 -0
  22. package/dist/ai/translators/index.d.ts +4 -0
  23. package/dist/ai/translators/model-translator.d.ts +50 -0
  24. package/dist/ai/translators/query-translator.d.ts +122 -0
  25. package/dist/ai/translators/translate-props-to-code.d.ts +8 -0
  26. package/dist/ai/translators/types.d.ts +105 -0
  27. package/dist/ai/translators/use-get-data-source.d.ts +12 -0
  28. package/dist/ai/translators/utils.d.ts +2 -0
  29. package/dist/ai/use-chat-session.d.ts +9 -3
  30. package/dist/ai/use-get-nlg-query-result.d.ts +42 -66
  31. package/dist/ai/use-get-query-recommendations.d.ts +32 -34
  32. package/dist/ai.js +7101 -1729
  33. package/dist/area-chart.d.ts +1 -0
  34. package/dist/areamap-chart.d.ts +1 -0
  35. package/dist/bar-chart.d.ts +3 -0
  36. package/dist/boxplot-chart.d.ts +1 -0
  37. package/dist/boxplot-utils.d.ts +2 -1
  38. package/dist/chart/chart.d.ts +1 -0
  39. package/dist/chart-data-options/types.d.ts +3 -3
  40. package/dist/chart-options-processor/subtype-to-design-options.d.ts +6 -6
  41. package/dist/chart-options-processor/translations/tooltip-utils.d.ts +1 -0
  42. package/dist/charts/table/helpers/calc-column-widths.d.ts +1 -1
  43. package/dist/charts/table/styles/style-constants.d.ts +2 -2
  44. package/dist/column-chart.d.ts +4 -0
  45. package/dist/common/components/loading-indicator.d.ts +2 -0
  46. package/dist/common/components/loading-spinner.d.ts +5 -0
  47. package/dist/dashboard-widget/dashboard-widget.d.ts +5 -1
  48. package/dist/dashboard-widget/translate-widget-data-options.d.ts +5 -0
  49. package/dist/dashboard-widget/translate-widget-filters.d.ts +1 -0
  50. package/dist/dashboard-widget/types.d.ts +4 -3
  51. package/dist/filters/components/criteria-filter-tile/criteria-filter-tile.d.ts +1 -0
  52. package/dist/filters/components/date-filter/date-range-filter-tile/date-range-filter-tile.d.ts +1 -0
  53. package/dist/filters/components/date-filter/relative-date-filter-tile/relative-date-filter-tile.d.ts +1 -0
  54. package/dist/filters/components/member-filter-tile/member-filter-tile.d.ts +1 -0
  55. package/dist/formulas/fetch-formula.d.ts +2 -2
  56. package/dist/formulas/use-get-shared-formula.d.ts +1 -0
  57. package/dist/funnel-chart.d.ts +1 -0
  58. package/dist/index.d.ts +4 -0
  59. package/dist/index.js +6728 -37696
  60. package/dist/indicator-chart.d.ts +1 -0
  61. package/dist/line-chart.d.ts +1 -0
  62. package/dist/models/dashboard/get-dashboard-models.d.ts +1 -3
  63. package/dist/models/dashboard/translate-dashboard.d.ts +1 -1
  64. package/dist/models/dashboard/types.d.ts +17 -0
  65. package/dist/models/dashboard/use-get-dashboard-model.d.ts +1 -0
  66. package/dist/models/dashboard/use-get-dashboard-models.d.ts +1 -0
  67. package/dist/models/widget/use-get-widget-model.d.ts +1 -0
  68. package/dist/models/widget/widget-model.d.ts +10 -1
  69. package/dist/pie-chart.d.ts +1 -0
  70. package/dist/pivot-table/pivot-table.d.ts +1 -0
  71. package/dist/polar-chart.d.ts +1 -0
  72. package/dist/props.d.ts +197 -120
  73. package/dist/query-execution/execute-query-by-widget-id.d.ts +1 -0
  74. package/dist/query-execution/execute-query.d.ts +1 -0
  75. package/dist/query-execution/types.d.ts +46 -16
  76. package/dist/query-execution/use-execute-csv-query.d.ts +1 -0
  77. package/dist/query-execution/use-execute-pivot-query.d.ts +1 -0
  78. package/dist/query-execution/use-execute-query-by-widget-id.d.ts +1 -0
  79. package/dist/query-execution/use-execute-query.d.ts +1 -0
  80. package/dist/scatter-chart.d.ts +1 -0
  81. package/dist/scattermap-chart.d.ts +1 -0
  82. package/dist/sisense-context/sisense-context-provider.d.ts +1 -0
  83. package/dist/sisense-context/sisense-context.d.ts +4 -1
  84. package/dist/sunburst-chart.d.ts +1 -0
  85. package/dist/table/table.d.ts +1 -0
  86. package/dist/theme-provider/theme-provider.d.ts +8 -1
  87. package/dist/treemap-chart.d.ts +1 -0
  88. package/dist/types.d.ts +32 -32
  89. package/dist/widgets/chart-widget.d.ts +1 -0
  90. package/dist/widgets/common/context-menu.d.ts +5 -0
  91. package/dist/widgets/common/drilldown-breadcrumbs/drilldown-breadcrumbs.d.ts +5 -0
  92. package/dist/widgets/drilldown-widget.d.ts +1 -0
  93. package/dist/widgets/table-widget.d.ts +1 -1
  94. package/dist/with-tracking-e2a077f9.js +109112 -0
  95. package/package.json +19 -14
  96. package/dist/ai/loading-page.d.ts +0 -2
  97. package/dist/with-tracking-d12a4632.js +0 -78010
@@ -117,29 +117,41 @@ export type QueryAction = DataLoadAction<QueryResultData>;
117
117
  * Parameters for {@link useExecuteQueryByWidgetId} hook.
118
118
  */
119
119
  export interface ExecuteQueryByWidgetIdParams {
120
- /** {@inheritDoc ExecuteQueryByWidgetIdProps.widgetOid} */
120
+ /** Identifier of the widget */
121
121
  widgetOid: string;
122
- /** {@inheritDoc ExecuteQueryByWidgetIdProps.dashboardOid} */
122
+ /** Identifier of the dashboard that contains the widget */
123
123
  dashboardOid: string;
124
- /** {@inheritDoc ExecuteQueryByWidgetIdProps.filters} */
124
+ /**
125
+ * Filters that will slice query results.
126
+ *
127
+ * The provided filters will be merged with the existing widget filters based on `filtersMergeStrategy`
128
+ */
125
129
  filters?: Filter[];
126
- /** {@inheritDoc ExecuteQueryByWidgetIdProps.highlights} */
130
+ /** Highlight filters that will highlight results that pass filter criteria */
127
131
  highlights?: Filter[];
128
- /** {@inheritDoc ExecuteQueryProps.count} */
132
+ /** {@inheritDoc ExecuteQueryParams.count} */
129
133
  count?: number;
130
- /** {@inheritDoc ExecuteQueryProps.offset} */
134
+ /** {@inheritDoc ExecuteQueryParams.offset} */
131
135
  offset?: number;
132
- /** {@inheritDoc ExecuteQueryByWidgetIdProps.filtersMergeStrategy} */
136
+ /**
137
+ * Strategy for merging the existing widget filters (including highlights) with the filters provided via the `filters` and `highlights` props:
138
+ *
139
+ * - `widgetFirst` - prioritizes the widget filters over the provided filters in case of filter conflicts by certain attributes.
140
+ * - `codeFirst` - prioritizes the provided filters over the widget filters in case of filter conflicts by certain attributes.
141
+ * - `codeOnly` - applies only the provided filters and completely ignores the widget filters.
142
+ *
143
+ * If not specified, the default strategy is `codeFirst`.
144
+ */
133
145
  filtersMergeStrategy?: FiltersMergeStrategy;
134
- /** {@inheritDoc ExecuteQueryByWidgetIdProps.includeDashboardFilters} */
135
- includeDashboardFilters?: boolean;
136
- /** {@inheritDoc ExecuteQueryByWidgetIdProps.onBeforeQuery} */
137
- onBeforeQuery?: (jaql: any) => any | Promise<any>;
138
146
  /**
139
- * Boolean flag to control if query is executed
147
+ * Boolean flag whether to include dashboard filters in the widget's `filters` and `highlights`
140
148
  *
141
- * If not specified, the default value is `true`
149
+ * If not specified, the default value is `false`.
142
150
  */
151
+ includeDashboardFilters?: boolean;
152
+ /** {@inheritDoc ExecuteQueryParams.onBeforeQuery} */
153
+ onBeforeQuery?: (jaql: any) => any | Promise<any>;
154
+ /** {@inheritDoc ExecuteQueryParams.enabled} */
143
155
  enabled?: boolean;
144
156
  }
145
157
  export type QueryByWidgetIdState = QueryState & {
@@ -164,9 +176,17 @@ export interface ExecuteQueryParams {
164
176
  filters?: Filter[] | FilterRelations;
165
177
  /** Highlight filters that will highlight results that pass filter criteria */
166
178
  highlights?: Filter[];
167
- /** {@inheritDoc ExecuteQueryProps.count} */
179
+ /**
180
+ * Number of rows to return in the query result
181
+ *
182
+ * If not specified, the default value is `20000`
183
+ */
168
184
  count?: number;
169
- /** {@inheritDoc ExecuteQueryProps.offset} */
185
+ /**
186
+ * Offset of the first row to return
187
+ *
188
+ * If not specified, the default value is `0`
189
+ */
170
190
  offset?: number;
171
191
  /**
172
192
  * Boolean flag to control if query is executed
@@ -174,7 +194,17 @@ export interface ExecuteQueryParams {
174
194
  * If not specified, the default value is `true`
175
195
  */
176
196
  enabled?: boolean;
177
- /** {@inheritDoc ExecuteQueryProps.onBeforeQuery} */
197
+ /**
198
+ * Sync or async callback that allows to modify the JAQL payload before it is sent to the server.
199
+ *
200
+ * **Note:** In React, wrap this function in `useCallback` hook to avoid triggering query execution on each render.
201
+ * ```tsx
202
+ * const onBeforeQuery = useCallback((jaql) => {
203
+ * // modify jaql here
204
+ * return jaql;
205
+ * }, []);
206
+ * ```
207
+ */
178
208
  onBeforeQuery?: (jaql: any) => any | Promise<any>;
179
209
  }
180
210
  /** Configuration for {@link useExecuteCsvQuery} hook. */
@@ -70,6 +70,7 @@ import { CsvQueryState, ExecuteCsvQueryParams } from './types.js';
70
70
  ```
71
71
  * @param params - Parameters of the query
72
72
  * @returns Query state that contains the status of the query execution, the result data, or the error if any occurred
73
+ * @group Queries
73
74
  */
74
75
  export declare const useExecuteCsvQuery: (params: ExecuteCsvQueryParams) => CsvQueryState;
75
76
  /**
@@ -34,6 +34,7 @@ import { ExecutePivotQueryParams, PivotQueryState } from './types';
34
34
  * See also hook {@link useExecuteQuery}, which execute a generic data query.
35
35
  * @param params - Parameters of the query
36
36
  * @returns Query state that contains the status of the query execution, the result data, or the error if any occurred
37
+ * @group Queries
37
38
  * @alpha
38
39
  */
39
40
  export declare const useExecutePivotQuery: (params: ExecutePivotQueryParams) => PivotQueryState;
@@ -28,6 +28,7 @@ import { ExecuteQueryByWidgetIdParams, QueryByWidgetIdState } from './types';
28
28
  * See also hook {@link useExecuteQuery}, which execute a query specified in code.
29
29
  * @param params - Parameters to identify the target widget
30
30
  * @returns Query state that contains the status of the query execution, the result data, the constructed query parameters, or the error if any occurred
31
+ * @group Fusion Assets
31
32
  */
32
33
  export declare const useExecuteQueryByWidgetId: (params: ExecuteQueryByWidgetIdParams) => QueryByWidgetIdState;
33
34
  /**
@@ -29,6 +29,7 @@ import { ExecuteQueryParams, QueryState } from './types';
29
29
  * of using the hook to fetch data from Sisense for third-party charts.
30
30
  * @param params - Parameters of the query
31
31
  * @returns Query state that contains the status of the query execution, the result data, or the error if any occurred
32
+ * @group Queries
32
33
  */
33
34
  export declare const useExecuteQuery: (params: ExecuteQueryParams) => QueryState;
34
35
  /**
@@ -64,5 +64,6 @@ import { ScatterChartProps } from './props';
64
64
  * <img src="media://scatter-chart-example-1.png" width="800px" />
65
65
  * @param props - Scatter chart properties
66
66
  * @returns Scatter Chart component
67
+ * @group Charts
67
68
  */
68
69
  export declare const ScatterChart: import("react").FunctionComponent<ScatterChartProps>;
@@ -29,6 +29,7 @@ import { ScattermapChartProps } from './props';
29
29
  * <img src="media://scattermap-chart-example-1.png" width="600px" />
30
30
  * @param props - Scattermap chart properties
31
31
  * @returns Scattermap Chart component
32
+ * @group Charts
32
33
  * @beta
33
34
  */
34
35
  export declare const ScattermapChart: import("react").FunctionComponent<ScattermapChartProps>;
@@ -32,5 +32,6 @@ import { SisenseContextProviderProps } from '../props';
32
32
  * ```
33
33
  * @param props - Sisense context provider props
34
34
  * @returns A Sisense Context Provider Component
35
+ * @group Contexts
35
36
  */
36
37
  export declare const SisenseContextProvider: FunctionComponent<PropsWithChildren<SisenseContextProviderProps>>;
@@ -3,7 +3,10 @@ import { ClientApplication } from '../app/client-application';
3
3
  export type SisenseContextPayload = {
4
4
  isInitialized: boolean;
5
5
  app?: ClientApplication;
6
- enableTracking: boolean;
6
+ tracking: {
7
+ enabled: boolean;
8
+ packageName: string;
9
+ };
7
10
  };
8
11
  export declare const SisenseContext: import("react").Context<SisenseContextPayload>;
9
12
  export declare const useSisenseContext: () => SisenseContextPayload;
@@ -23,5 +23,6 @@ import { SunburstChartProps } from './props';
23
23
  * <img src="media://sunburst-chart-example-1.png" width="600px" />
24
24
  * @param props - Sunburst chart properties
25
25
  * @returns Sunburst Chart component
26
+ * @group Charts
26
27
  */
27
28
  export declare const SunburstChart: import("react").FunctionComponent<SunburstChartProps>;
@@ -46,6 +46,7 @@ import { TableProps } from '../props';
46
46
  * <img src="media://table-example-2.png" width="800px" />
47
47
  * @param props - Table properties
48
48
  * @returns Table component
49
+ * @group Data Grids
49
50
  */
50
51
  export declare const Table: React.FunctionComponent<TableProps>;
51
52
  export declare const DEFAULT_TABLE_ROWS_PER_PAGE: 25;
@@ -4,6 +4,12 @@ import { CompleteThemeSettings } from '../types';
4
4
  export declare const ThemeContext: import("react").Context<{
5
5
  themeSettings: CompleteThemeSettings;
6
6
  }>;
7
+ /**
8
+ * Hook to get the current theme settings.
9
+ *
10
+ * @returns The current theme settings
11
+ * @internal
12
+ */
7
13
  export declare const useThemeContext: () => {
8
14
  themeSettings: CompleteThemeSettings;
9
15
  };
@@ -38,8 +44,9 @@ export declare const useThemeContext: () => {
38
44
  * For comparison, indicator chart with default theme settings:
39
45
  *
40
46
  * <img src="media://indicator-chart-example-1.png" width="400px" />
41
- * @see {@link ThemeSettings} and {@link IndicatorChart}
47
+ * @see {@link ThemeSettings} and IndicatorChart
42
48
  * @param props - Theme provider props
43
49
  * @returns A Theme Provider component
50
+ * @group Contexts
44
51
  */
45
52
  export declare const ThemeProvider: import("react").FunctionComponent<ThemeProviderProps>;
@@ -29,5 +29,6 @@ import { TreemapChartProps } from './props';
29
29
  * <img src="media://treemap-chart-example-1.png" width="600px" />
30
30
  * @param props - Treemap chart properties
31
31
  * @returns Treemap Chart component
32
+ * @group Charts
32
33
  */
33
34
  export declare const TreemapChart: import("react").FunctionComponent<TreemapChartProps>;
package/dist/types.d.ts CHANGED
@@ -14,7 +14,7 @@ export type { AppConfig } from './app/client-application';
14
14
  export type { DateConfig } from './query/date-formats';
15
15
  export type { CartesianChartDataOptions, CategoricalChartDataOptions, ChartDataOptions, ScatterChartDataOptions, IndicatorChartDataOptions, StyledColumn, StyledMeasureColumn, } from './chart-data-options/types';
16
16
  export type { DataColorCondition, ConditionalDataColorOptions, DataColorOptions, RangeDataColorOptions, UniformDataColorOptions, } from './chart-data/data-coloring/types';
17
- export type { CartesianChartType, CategoricalChartType, ScatterChartType, IndicatorChartType, BoxplotChartType, ScattermapChartType, AreamapChartType, TableType, AreaSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, BoxplotSubtype, IndicatorComponents, ScatterMarkerSize, LegendPosition, GeoDataElement, RawGeoDataElement, };
17
+ export type { CartesianChartType, CategoricalChartType, ScatterChartType, IndicatorChartType, BoxplotChartType, ScattermapChartType, AreamapChartType, TableType, AreaSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, BoxplotSubtype, IndicatorComponents, ScatterMarkerSize, LegendPosition, GeoDataElement, RawGeoDataElement, Coordinates, };
18
18
  export type { MonthOfYear, DayOfWeek, DateLevel } from './query/date-formats/apply-date-format';
19
19
  /**
20
20
  * @internal
@@ -205,18 +205,18 @@ export interface BaseAxisStyleOptions {
205
205
  /** Configuration for second Y axis */
206
206
  y2Axis?: AxisLabel;
207
207
  }
208
- /** Configuration options that define functional style of the various elements of {@link LineChart} */
208
+ /** Configuration options that define functional style of the various elements of LineChart */
209
209
  export interface LineStyleOptions extends BaseStyleOptions, BaseAxisStyleOptions {
210
210
  /** Configuration that defines line width */
211
211
  lineWidth?: LineWidth;
212
- /** Subtype of {@link LineChart}*/
212
+ /** Subtype of LineChart */
213
213
  subtype?: LineSubtype;
214
214
  }
215
- /** Configuration options that define functional style of the various elements of {@link AreaChart} */
215
+ /** Configuration options that define functional style of the various elements of AreaChart */
216
216
  export interface AreaStyleOptions extends BaseStyleOptions, BaseAxisStyleOptions {
217
217
  /** Configuration that defines line width */
218
218
  lineWidth?: LineWidth;
219
- /** Subtype of {@link AreaChart}*/
219
+ /** Subtype of AreaChart*/
220
220
  subtype?: AreaSubtype;
221
221
  }
222
222
  /** Configuration options that define functional style of the various elements of stackable charts, like Column or Bar */
@@ -236,25 +236,25 @@ export interface PieStyleOptions extends BaseStyleOptions {
236
236
  /** Subtype of Pie chart*/
237
237
  subtype?: PieSubtype;
238
238
  }
239
- /** Configuration options that define functional style of the various elements of {@link FunnelChart} */
239
+ /** Configuration options that define functional style of the various elements of FunnelChart */
240
240
  export interface FunnelStyleOptions extends BaseStyleOptions {
241
241
  /** Visual size of the lowest slice (degree of funnel narrowing from highest to lowest slices)*/
242
242
  funnelSize?: FunnelSize;
243
- /** Visual type of the lowest slice of {@link FunnelChart} */
243
+ /** Visual type of the lowest slice of FunnelChart */
244
244
  funnelType?: FunnelType;
245
- /** Direction of {@link FunnelChart} narrowing */
245
+ /** Direction of FunnelChart narrowing */
246
246
  funnelDirection?: FunnelDirection;
247
- /** Configuration that defines behavior of data labels on {@link FunnelChart} */
247
+ /** Configuration that defines behavior of data labels on FunnelChart */
248
248
  labels?: Labels;
249
- /** Subtype of {@link FunnelChart}*/
249
+ /** Subtype of FunnelChart*/
250
250
  subtype?: never;
251
251
  }
252
- /** Configuration options that define functional style of the various elements of {@link PolarChart} */
252
+ /** Configuration options that define functional style of the various elements of PolarChart */
253
253
  export interface PolarStyleOptions extends BaseStyleOptions, BaseAxisStyleOptions {
254
- /** Subtype of {@link PolarChart}*/
254
+ /** Subtype of PolarChart*/
255
255
  subtype?: PolarSubtype;
256
256
  }
257
- /** Configuration options that define functional style of the various elements of {@link IndicatorChart} */
257
+ /** Configuration options that define functional style of the various elements of IndicatorChart */
258
258
  export type IndicatorStyleOptions = (NumericSimpleIndicatorStyleOptions | NumericBarIndicatorStyleOptions | GaugeIndicatorStyleOptions) & {
259
259
  /**
260
260
  * Total width of the component, which is considered in the following order of priority:
@@ -274,7 +274,7 @@ export type IndicatorStyleOptions = (NumericSimpleIndicatorStyleOptions | Numeri
274
274
  */
275
275
  height?: number;
276
276
  };
277
- /** Configuration options that define functional style of the various elements of {@link Table} */
277
+ /** Configuration options that define functional style of the various elements of the Table Component */
278
278
  export interface TableStyleOptions {
279
279
  /**
280
280
  * Boolean flag whether to fill header cells with background color
@@ -313,7 +313,7 @@ export interface TableStyleOptions {
313
313
  */
314
314
  height?: number;
315
315
  }
316
- /** Configuration options that define functional style of the various elements of {@link PivotTable} */
316
+ /** Configuration options that define functional style of the various elements of the PivotTable component */
317
317
  export interface PivotTableStyleOptions {
318
318
  /**
319
319
  * Boolean flag whether to fill header cells with background color
@@ -366,31 +366,31 @@ export interface BaseIndicatorStyleOptions {
366
366
  /** Boolean flag to force render indicator in ticker mode regardless of display size */
367
367
  forceTickerView?: boolean;
368
368
  }
369
- /** Configuration options that define functional style of the various elements of Numeric Simple {@link IndicatorChart} */
369
+ /** Configuration options that define functional style of the various elements of Numeric Simple IndicatorChart */
370
370
  export interface NumericSimpleIndicatorStyleOptions extends BaseIndicatorStyleOptions {
371
371
  subtype: 'indicator/numeric';
372
372
  numericSubtype: 'numericSimple';
373
373
  skin: 'vertical' | 'horizontal';
374
374
  }
375
- /** Configuration options that define functional style of the various elements of Numeric Bar {@link IndicatorChart} */
375
+ /** Configuration options that define functional style of the various elements of Numeric Bar IndicatorChart */
376
376
  export interface NumericBarIndicatorStyleOptions extends BaseIndicatorStyleOptions {
377
377
  subtype: 'indicator/numeric';
378
378
  numericSubtype: 'numericBar';
379
379
  }
380
- /** Configuration options that define functional style of the various elements of Gauge {@link IndicatorChart} */
380
+ /** Configuration options that define functional style of the various elements of Gauge IndicatorChart */
381
381
  export interface GaugeIndicatorStyleOptions extends BaseIndicatorStyleOptions {
382
382
  subtype: 'indicator/gauge';
383
383
  skin: 1 | 2;
384
384
  /** Bar height for gauge indicator in ticker mode */
385
385
  tickerBarHeight?: number;
386
386
  }
387
- /** Configuration options that define functional style of the various elements of {@link ScatterChart} */
387
+ /** Configuration options that define functional style of the various elements of ScatterChart */
388
388
  export interface ScatterStyleOptions extends BaseStyleOptions, BaseAxisStyleOptions {
389
- /** Subtype of {@link ScatterChart}*/
389
+ /** Subtype of ScatterChart*/
390
390
  subtype?: never;
391
391
  markerSize?: ScatterMarkerSize;
392
392
  }
393
- /** Configuration options that define functional style of the various elements of {@link TreemapChart} */
393
+ /** Configuration options that define functional style of the various elements of TreemapChart */
394
394
  export interface TreemapStyleOptions extends BaseStyleOptions {
395
395
  /** Labels options object */
396
396
  labels?: {
@@ -406,7 +406,7 @@ export interface TreemapStyleOptions extends BaseStyleOptions {
406
406
  mode?: 'value' | 'contribution';
407
407
  };
408
408
  }
409
- /** Configuration options that define functional style of the various elements of {@link SunburstChart} */
409
+ /** Configuration options that define functional style of the various elements of the SunburstChart component */
410
410
  export interface SunburstStyleOptions extends BaseStyleOptions {
411
411
  /** Labels options object */
412
412
  labels?: {
@@ -422,20 +422,20 @@ export interface SunburstStyleOptions extends BaseStyleOptions {
422
422
  mode?: 'value' | 'contribution';
423
423
  };
424
424
  }
425
- /** Configuration options that define functional style of the various elements of {@link BoxplotChart} */
425
+ /** Configuration options that define functional style of the various elements of the BoxplotChart component */
426
426
  export interface BoxplotStyleOptions extends BaseStyleOptions, BaseAxisStyleOptions {
427
- /** Subtype of {@link BoxplotChart}*/
427
+ /** Subtype of the BoxplotChart component*/
428
428
  subtype?: BoxplotSubtype;
429
429
  }
430
430
  /**
431
- * Type of map to display on {@link AreamapChart}
431
+ * Type of map to display on the AreamapChart component
432
432
  */
433
433
  export type AreamapType = 'world' | 'usa';
434
434
  /**
435
- * Configuration options that define functional style of the various elements of {@link AreamapChart}
435
+ * Configuration options that define functional style of the various elements of the AreamapChart component
436
436
  */
437
437
  export interface AreamapStyleOptions extends Pick<BaseStyleOptions, 'width' | 'height'> {
438
- /** Type of map to display on {@link AreamapChart} */
438
+ /** Type of map to display on the AreamapChart component */
439
439
  mapType?: AreamapType;
440
440
  }
441
441
  /**
@@ -454,7 +454,7 @@ export type ScattermapMarkers = {
454
454
  maxSize?: number;
455
455
  };
456
456
  };
457
- /** Configuration options that define functional style of the various elements of {@link ScattermapChart} */
457
+ /** Configuration options that define functional style of the various elements of ScattermapChart */
458
458
  export interface ScattermapStyleOptions extends Pick<BaseStyleOptions, 'width' | 'height'> {
459
459
  subtype?: never;
460
460
  markers?: ScattermapMarkers;
@@ -627,7 +627,7 @@ export interface WidgetStyleOptions {
627
627
  renderToolbar?: (onRefresh: () => void) => JSX.Element;
628
628
  };
629
629
  }
630
- /** Style settings defining the look and feel of {@link DashboardWidget} */
630
+ /** Style settings defining the look and feel of DashboardWidget */
631
631
  export interface DashboardWidgetStyleOptions extends WidgetStyleOptions {
632
632
  /**
633
633
  * Total width of the component, which is considered in the following order of priority:
@@ -647,7 +647,7 @@ export interface DashboardWidgetStyleOptions extends WidgetStyleOptions {
647
647
  */
648
648
  height?: number;
649
649
  }
650
- /** Style settings defining the look and feel of {@link ChartWidget} */
650
+ /** Style settings defining the look and feel of ChartWidget */
651
651
  export type ChartWidgetStyleOptions = ChartStyleOptions & WidgetStyleOptions;
652
652
  /**
653
653
  * Style settings defining the look and feel of TableWidget}
@@ -847,7 +847,7 @@ export type SeriesWithAlerts<T> = {
847
847
  };
848
848
  /**
849
849
  * Context menu position coordinates
850
- * Used in {@link ContextMenu} component
850
+ * Used in {@link ContextMenuProps}
851
851
  */
852
852
  export type MenuPosition = {
853
853
  /** Horizontal position */
@@ -857,7 +857,7 @@ export type MenuPosition = {
857
857
  };
858
858
  /**
859
859
  * Context menu section
860
- * Used in {@link ContextMenu} component
860
+ * Used in {@link ContextMenuProps}
861
861
  */
862
862
  export type MenuItemSection = {
863
863
  /** Optional section title */
@@ -22,5 +22,6 @@ import { ChartWidgetProps } from '../props';
22
22
  * <img src="media://chart-widget-with-drilldown-example-1.png" width="800px" />
23
23
  * @param props - ChartWidget properties
24
24
  * @returns ChartWidget component representing a chart type as specified in `ChartWidgetProps.`{@link ChartWidgetProps.chartType | chartType}
25
+ * @group Chart Utilities
25
26
  */
26
27
  export declare const ChartWidget: FunctionComponent<ChartWidgetProps>;
@@ -1,3 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { ContextMenuProps } from '../../props';
3
+ /**
4
+ * Context menu of a Drilldown Widget
5
+ *
6
+ * @group Drilldown
7
+ */
3
8
  export declare const ContextMenu: ({ position, closeContextMenu, itemSections, children, }: ContextMenuProps) => JSX.Element;
@@ -1,4 +1,9 @@
1
1
  import React from 'react';
2
2
  import { DrilldownBreadcrumbsProps } from '../../../props';
3
3
  export declare const BREADCRUMBS_BORDER_COLOR = "#F2F2F2";
4
+ /**
5
+ * Drilldown breadcrumbs component
6
+ *
7
+ * @group Drilldown
8
+ */
4
9
  export declare const DrilldownBreadcrumbs: React.FC<DrilldownBreadcrumbsProps>;
@@ -45,5 +45,6 @@ import { DrilldownWidgetProps } from '../props';
45
45
  * ```
46
46
  * @param props - DrilldownWidget properties
47
47
  * @returns DrilldownWidget wrapper component
48
+ * @group Drilldown
48
49
  */
49
50
  export declare const DrilldownWidget: ({ drilldownDimensions, initialDimension, config, children, }: DrilldownWidgetProps) => JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { type FunctionComponent } from 'react';
2
2
  import { TableWidgetProps } from '../props';
3
3
  /**
4
- * The TableWidget component extending the {@link Table} component to support widget style options.
4
+ * The TableWidget component extending the Table component to support widget style options.
5
5
  *
6
6
  * @example
7
7
  * Example of using the `Widget` component to