@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
@@ -26,5 +26,6 @@ import { AreaChartProps } from './props';
26
26
  * <img src="media://area-chart-example-1.png" width="800"/>
27
27
  * @param props - Area chart properties
28
28
  * @returns Area Chart component
29
+ * @group Charts
29
30
  */
30
31
  export declare const AreaChart: import("react").FunctionComponent<AreaChartProps>;
@@ -20,6 +20,7 @@ import { AreamapChartProps } from './props';
20
20
  * ```
21
21
  * @param props - Areamap chart properties
22
22
  * @returns Areamap Chart component
23
+ * @group Charts
23
24
  * @beta
24
25
  */
25
26
  export declare const AreamapChart: import("react").FunctionComponent<AreamapChartProps>;
@@ -3,6 +3,8 @@ import { BarChartProps } from './props';
3
3
  /**
4
4
  * A React component representing categorical data with horizontal rectangular bars,
5
5
  * whose lengths are proportional to the values that they represent.
6
+ * You can also break up the values by another category or groups.
7
+ *
6
8
  * See [Bar Chart](https://docs.sisense.com/main/SisenseLinux/bar-chart.htm) for more information.
7
9
  *
8
10
  * @example
@@ -25,5 +27,6 @@ import { BarChartProps } from './props';
25
27
  * <img src="media://bar-chart-example-1.png" width="800"/>
26
28
  * @param props - Bar chart properties
27
29
  * @returns Bar Chart component
30
+ * @group Charts
28
31
  */
29
32
  export declare const BarChart: import("react").FunctionComponent<BarChartProps>;
@@ -31,6 +31,7 @@ import { BoxplotChartProps } from './props';
31
31
  * <img src="media://boxplot-chart-example-1.png" width="600px" />
32
32
  * @param props - Boxplot chart properties
33
33
  * @returns Boxplot Chart component
34
+ * @group Charts
34
35
  * @beta
35
36
  */
36
37
  export declare const BoxplotChart: import("react").FunctionComponent<BoxplotChartProps>;
@@ -17,12 +17,13 @@ export declare const boxWhiskerProcessResultInternal: (boxWhiskerData: QueryResu
17
17
  * @param {QueryResultData} outliersData - The data for the outliers.
18
18
  * @param {BoxplotChartCustomDataOptions} [dataOptions] - Optional data options for customizing data processing.
19
19
  * @returns {QueryResultData} The combined data with outliers included in the box whisker plot.
20
+ * @group Chart Utilities
20
21
  */
21
22
  export declare function boxWhiskerProcessResult(boxWhiskerData: QueryResultData, outliersData: QueryResultData, dataOptions?: BoxplotChartCustomDataOptions): QueryResultData;
22
23
  export declare const executeBoxplotQuery: ({ app, chartDataOptions, dataSource, attributes, measures, filters, highlights, }: {
23
24
  app: ClientApplication;
24
25
  chartDataOptions: BoxplotChartDataOptionsInternal;
25
- dataSource?: string | undefined;
26
+ dataSource?: DataSource | undefined;
26
27
  attributes: Attribute[];
27
28
  measures: Measure[];
28
29
  filters?: Filter[] | undefined;
@@ -76,5 +76,6 @@ export declare const shouldSkipSisenseContextWaiting: (props: ChartProps) => boo
76
76
  * <img src="media://chart-local-data-example-1.png" width="800px" />
77
77
  * @param props - Chart properties
78
78
  * @returns Chart component representing a chart type as specified in `ChartProps.`{@link ChartProps.chartType | chartType}
79
+ * @group Charts
79
80
  */
80
81
  export declare const Chart: import("react").FunctionComponent<ChartProps>;
@@ -245,7 +245,7 @@ export interface CategoricalChartDataOptions {
245
245
  category: (Column | StyledColumn)[];
246
246
  /**
247
247
  * Optional mapping of each of the series to colors.
248
- * ({@link MultiColumnValueToColorMap} used only for {@link SunburstChart})
248
+ * ({@link MultiColumnValueToColorMap} used only for the Sunburst Chart component)
249
249
  */
250
250
  seriesToColorMap?: ValueToColorMap | MultiColumnValueToColorMap;
251
251
  }
@@ -336,7 +336,7 @@ export interface AreamapChartDataOptions {
336
336
  */
337
337
  export declare function isMeasureColumn(arg: AnyColumn): arg is MeasureColumn | CalculatedMeasureColumn | StyledMeasureColumn;
338
338
  /**
339
- * Configuration for how to query data and assign data to {@link Table}.
339
+ * Configuration for how to query data and assign data to Table.
340
340
  *
341
341
  */
342
342
  export interface TableDataOptions {
@@ -347,7 +347,7 @@ export interface TableDataOptions {
347
347
  columns: (Column | StyledColumn | MeasureColumn | CalculatedMeasureColumn | StyledMeasureColumn)[];
348
348
  }
349
349
  /**
350
- * Configuration for how to query data and assign data to {@link PivotTable}.
350
+ * Configuration for how to query data and assign data to PivotTable.
351
351
  *
352
352
  */
353
353
  export interface PivotTableDataOptions {
@@ -4,7 +4,7 @@ import { AreamapType } from '../types';
4
4
  /**
5
5
  * Property of {@link LineStyleOptions}
6
6
  *
7
- * Subtype of {@link LineChart}
7
+ * Subtype of LineChart
8
8
  *
9
9
  * **Values**
10
10
  *
@@ -16,7 +16,7 @@ export type LineSubtype = 'line/spline' | 'line/basic';
16
16
  /**
17
17
  * Property of {@link AreaStyleOptions}
18
18
  *
19
- * Subtype of {@link AreaChart}
19
+ * Subtype of AreaChart
20
20
  *
21
21
  * **Values**
22
22
  *
@@ -32,7 +32,7 @@ export type AreaSubtype = 'area/basic' | 'area/stacked' | 'area/stacked100' | 'a
32
32
  /**
33
33
  * Property of {@link StackableSubtype}
34
34
  *
35
- * Subtype of {@link BarChart}
35
+ * Subtype of BarChart
36
36
  *
37
37
  * **Values**
38
38
  * - `bar/classic` - y axis values displayed vertically.
@@ -47,7 +47,7 @@ export type StackableSubtype = 'bar/classic' | 'bar/stacked' | 'bar/stacked100'
47
47
  /**
48
48
  * Property of {@link PieStyleOptions}
49
49
  *
50
- * Subtype of {@link PieChart}
50
+ * Subtype of PieChart
51
51
  *
52
52
  * **Values**
53
53
  *
@@ -60,7 +60,7 @@ export type PieSubtype = 'pie/classic' | 'pie/donut' | 'pie/ring';
60
60
  /**
61
61
  * Property of {@link PolarStyleOptions}
62
62
  *
63
- * Subtype of {@link PolarChart}
63
+ * Subtype of PolarChart
64
64
  *
65
65
  * **Values**
66
66
  *
@@ -71,7 +71,7 @@ export type PieSubtype = 'pie/classic' | 'pie/donut' | 'pie/ring';
71
71
  export type PolarSubtype = 'polar/column' | 'polar/area' | 'polar/line';
72
72
  /**
73
73
  *
74
- * Subtype of {@link IndicatorChart}
74
+ * Subtype of IndicatorChart
75
75
  *
76
76
  * **Values**
77
77
  *
@@ -2,6 +2,7 @@ import { Category, Value } from '../../chart-data-options/types.js';
2
2
  export declare const isXValueNumeric: (dataOptionX: Value | Category | undefined) => boolean | "";
3
3
  export declare const formatTooltipValue: (dataOption: Value | Category | undefined, value: number | undefined, displayValue: string) => string;
4
4
  export declare const formatTooltipXValue: (dataOption: Value | Category | undefined, value: number | string | undefined, displayValue: string) => string;
5
+ export declare function isTooltipPercentValueSupported(options: Value | undefined): boolean;
5
6
  export type TooltipSettings = {
6
7
  enabled?: boolean;
7
8
  animation?: boolean;
@@ -1,4 +1,4 @@
1
1
  import { DataTable } from '../../../chart-data-processor/table-processor';
2
- export declare const calcColumnWidths: (dataTable: DataTable, isLoading: boolean, columnsOptions: {
2
+ export declare const calcColumnWidths: (dataTable: DataTable, isLoading: boolean, isShowFieldTypeIcon: boolean, columnsOptions: {
3
3
  isHtml: boolean;
4
4
  }[], fontFamily?: string) => number[];
@@ -1,8 +1,8 @@
1
1
  export declare const HEADER_HEIGHT = 26;
2
2
  export declare const ROW_HEIGHT = 26;
3
- export declare const HEADER_PADDING = 60;
3
+ export declare const HEADER_PADDING = 36;
4
+ export declare const HEADER_TYPE_ICON_SPACING = 29;
4
5
  export declare const DATA_PADDING = 24;
5
- export declare const EXTRA_PIXELS = 8;
6
6
  export declare const MAX_WIDTH = 350;
7
7
  export declare const MIN_WIDTH = 126;
8
8
  export declare const HEADER_ELLIPSIZED_LENGTH = 38;
@@ -3,6 +3,9 @@ import { ColumnChartProps } from './props';
3
3
  /**
4
4
  * A React component representing categorical data with vertical rectangular bars
5
5
  * whose heights are proportional to the values that they represent.
6
+ *
7
+ * The chart can include multiple values on both the X and Y-axis, as well as a break down by categories displayed on the Y-axis.
8
+ *
6
9
  * See [Column Chart](https://docs.sisense.com/main/SisenseLinux/column-chart.htm) for more information.
7
10
  *
8
11
  * @example
@@ -25,5 +28,6 @@ import { ColumnChartProps } from './props';
25
28
  * <img src="media://column-chart-example-1.png" width="800"/>
26
29
  * @param props - Column chart properties
27
30
  * @returns Column Chart component
31
+ * @group Charts
28
32
  */
29
33
  export declare const ColumnChart: import("react").FunctionComponent<ColumnChartProps>;
@@ -3,8 +3,10 @@ import { CompleteThemeSettings } from '../../types';
3
3
  /**
4
4
  * Component that displays a loading indicator.
5
5
  *
6
+ * @param themeSettings - Theme settings to use for the loading indicator.
6
7
  * @param onCancel - Function to call when cancel is clicked.
7
8
  * @returns A loading indicator with optional cancel.
9
+ * @internal
8
10
  */
9
11
  export declare const LoadingIndicator: ({ themeSettings, onCancel, }: {
10
12
  themeSettings?: {
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * Centered, animated spinner.
4
+ */
5
+ export default function LoadingSpinner(): JSX.Element;
@@ -2,7 +2,10 @@ import { type FunctionComponent } from 'react';
2
2
  import { DashboardWidgetProps } from '../props';
3
3
  /**
4
4
  * The Dashboard Widget component, which is a thin wrapper on the {@link ChartWidget} component,
5
- * used to render a widget created in the Sisense instance.
5
+ * is used to render a widget created in a Sisense Fusion instance.
6
+ *
7
+ * To learn more about using Sisense Fusion Widgets in Compose SDK,
8
+ * see [Sisense Fusion Widgets](/guides/sdk/guides/charts/guide-fusion-widgets.html).
6
9
  *
7
10
  * @example
8
11
  * The example below renders a dashboard widget with the specified widget and dashboard OIDs.
@@ -12,5 +15,6 @@ import { DashboardWidgetProps } from '../props';
12
15
  * dashboardOid={'6441e728dac1920034bce737'}
13
16
  * />
14
17
  * ```
18
+ * @group Fusion Assets
15
19
  */
16
20
  export declare const DashboardWidget: FunctionComponent<DashboardWidgetProps>;
@@ -4,5 +4,10 @@ import { Panel, PanelItem, WidgetType, WidgetStyle, BoxplotWidgetStyle } from '.
4
4
  import { WidgetDataOptions } from '../models';
5
5
  export declare function createDimensionalElementFromJaql(jaql: Jaql, format?: PanelItem['format']): import("@sisense/sdk-data").Filter | DimensionalCalculatedMeasure | DimensionalBaseMeasure | DimensionalAttribute;
6
6
  export declare function createDataColumn(item: PanelItem, customPaletteColors?: Color[]): StyledMeasureColumn | StyledColumn;
7
+ /** @internal */
8
+ export declare const createDataOptionsFromPanels: (panels: Panel[], variantColors: Color[]) => {
9
+ [key: string]: any[];
10
+ };
11
+ export declare function createColumnsFromPanelItems(panels: Panel[], panelName: string, customPaletteColors?: Color[]): (StyledMeasureColumn | StyledColumn)[];
7
12
  export declare function extractBoxplotBoxType(style: BoxplotWidgetStyle): "iqr" | "extremums" | "standardDeviation";
8
13
  export declare function extractDataOptions(widgetType: WidgetType, panels: Panel[], style: WidgetStyle, customPaletteColors?: Color[]): WidgetDataOptions;
@@ -24,6 +24,7 @@ export declare function extractFilterModelFromJaql(jaql: FilterJaql): {
24
24
  *
25
25
  * @param jaql - The filter JAQL object.
26
26
  * @returns - The created Filter object.
27
+ * @internal
27
28
  */
28
29
  export declare function createFilterFromJaql(jaql: FilterJaql, instanceid?: string): Filter;
29
30
  /**
@@ -10,11 +10,11 @@ export type CategoricalWidgetType = 'chart/pie' | 'chart/funnel' | 'treemap' | '
10
10
  /**
11
11
  * The type of a widget on a dashboard that is a variant of tabular widget.
12
12
  */
13
- export type TabularWidgetType = 'tablewidget' | 'tablewidgetagg';
13
+ export type TabularWidgetType = 'tablewidget' | 'tablewidgetagg' | 'pivot2';
14
14
  /**
15
15
  * The type of a widget on a dashboard.
16
16
  */
17
- export type WidgetType = CartesianWidgetType | CategoricalWidgetType | 'chart/scatter' | 'indicator' | TabularWidgetType | 'chart/boxplot' | 'map/scatter' | 'map/area';
17
+ export type WidgetType = CartesianWidgetType | CategoricalWidgetType | 'chart/scatter' | 'indicator' | TabularWidgetType | 'chart/boxplot' | 'map/scatter' | 'map/area' | 'plugin';
18
18
  export type WidgetSubtype = 'area/basic' | 'area/stacked' | 'area/stacked100' | 'area/spline' | 'area/stackedspline' | 'area/stackedspline100' | 'bar/classic' | 'bar/stacked' | 'bar/stacked100' | 'column/classic' | 'column/stackedcolumn' | 'column/stackedcolumn100' | 'line/basic' | 'line/spline' | 'pie/classic' | 'pie/donut' | 'pie/ring' | 'column/polar' | 'area/polar' | 'line/polar' | 'indicator/numeric' | 'indicator/gauge' | 'bubble/scatter' | 'treemap' | 'sunburst' | 'boxplot/full' | 'boxplot/hollow' | 'map/scatter' | 'areamap/world' | 'areamap/usa';
19
19
  export declare enum WidgetDashboardFilterMode {
20
20
  FILTER = "filter",
@@ -73,7 +73,7 @@ export declare enum CurrencyPosition {
73
73
  export type NumericMask = {
74
74
  isdefault?: boolean;
75
75
  abbreviations?: DecimalAbbreviations;
76
- decimals?: 'auto' | number;
76
+ decimals?: 'auto' | number | string;
77
77
  currency?: {
78
78
  symbol: string;
79
79
  position: CurrencyPosition;
@@ -220,6 +220,7 @@ export type FunnelWidgetStyle = BaseWidgetStyle & {
220
220
  decimals: boolean;
221
221
  };
222
222
  };
223
+ export type PluginStyle = any;
223
224
  export type TableWidgetStyle = {
224
225
  'colors/columns': boolean;
225
226
  'colors/headers': boolean;
@@ -40,5 +40,6 @@ export type CriteriaFilterType = NumericFilter | TextFilter | RankingFilter | Ex
40
40
  * <img src="media://criteria-filter-tile-example-1.png" width="300px" />
41
41
  * @param props - Criteria filter tile props
42
42
  * @returns Criteria filter tile component
43
+ * @group Filter Tiles
43
44
  */
44
45
  export declare const CriteriaFilterTile: import("react").FunctionComponent<CriteriaFilterTileProps>;
@@ -67,5 +67,6 @@ export interface DateRangeFilterTileProps {
67
67
  * <img src="media://date-filter-example-1.png" width="800px" />
68
68
  * @param props - Date Range Filter Tile Props
69
69
  * @returns Date Range Filter Tile component
70
+ * @group Filter Tiles
70
71
  */
71
72
  export declare const DateRangeFilterTile: import("react").FunctionComponent<DateRangeFilterTileProps>;
@@ -32,5 +32,6 @@ export interface RelativeDateFilterTileProps {
32
32
  *
33
33
  * @param props - Relative date filter tile props
34
34
  * @returns Relative date filter tile component
35
+ * @group Filter Tiles
35
36
  */
36
37
  export declare const RelativeDateFilterTile: import("react").FunctionComponent<RelativeDateFilterTileProps>;
@@ -44,5 +44,6 @@ export interface MemberFilterTileProps {
44
44
  * <img src="media://member-filter-tile-example-1.png" width="300px" />
45
45
  * @param props - Member filter tile props
46
46
  * @returns Member filter tile component
47
+ * @group Filter Tiles
47
48
  */
48
49
  export declare const MemberFilterTile: FunctionComponent<MemberFilterTileProps>;
@@ -1,5 +1,5 @@
1
1
  import { ClientApplication } from '../app/client-application.js';
2
- import { DimensionalCalculatedMeasure } from '@sisense/sdk-data';
2
+ import { DataSource, DimensionalCalculatedMeasure } from '@sisense/sdk-data';
3
3
  /**
4
4
  * Fetch a formula by oid from the default Sisense instance
5
5
  *
@@ -15,4 +15,4 @@ export declare function fetchFormulaByOid(oid: string, app: ClientApplication):
15
15
  * @param name - Formula name/title in Sisense instance
16
16
  * @param dataSource - Data source in Sisense instance
17
17
  */
18
- export declare function fetchFormula(name: string, dataSource: string, app: ClientApplication): Promise<DimensionalCalculatedMeasure | null>;
18
+ export declare function fetchFormula(name: string, dataSource: DataSource, app: ClientApplication): Promise<DimensionalCalculatedMeasure | null>;
@@ -86,6 +86,7 @@ export type SharedFormulaSuccessState = {
86
86
  * @param params - {@link UseGetSharedFormulaParams}
87
87
  * @param dataSource - Data source in Sisense instance
88
88
  * @returns Formula load state that contains the status of the execution, the result formula, or the error if any
89
+ * @group Fusion Assets
89
90
  */
90
91
  export declare const useGetSharedFormula: (params: UseGetSharedFormulaParams) => SharedFormulaState;
91
92
  /**
@@ -43,5 +43,6 @@ import { FunnelChartProps } from './props';
43
43
  * Note that the chart sorts the measure, `Unique Users`, in descending order by default.
44
44
  * @param props - Funnel chart properties
45
45
  * @returns Funnel Chart component
46
+ * @group Charts
46
47
  */
47
48
  export declare const FunnelChart: import("react").FunctionComponent<FunnelChartProps>;
package/dist/index.d.ts CHANGED
@@ -42,3 +42,7 @@ export * from './filters';
42
42
  export * from './formulas';
43
43
  export { trackHook } from './decorators/hook-decorators';
44
44
  export * from './common/hooks/data-load-state-reducer';
45
+ export { createDataOptionsFromPanels } from './dashboard-widget/translate-widget-data-options';
46
+ export { createFilterFromJaql } from './dashboard-widget/translate-widget-filters';
47
+ export { useThemeContext } from './theme-provider/theme-provider';
48
+ export { LoadingIndicator } from './common/components/loading-indicator';