@sisense/sdk-ui 1.20.0 → 1.21.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/dist/ai.cjs +66 -66
- package/dist/ai.js +596 -680
- package/dist/analytics-composer.cjs +1 -1
- package/dist/analytics-composer.js +1 -1
- package/dist/{get-widget-options-CQuHmkuX.cjs → get-widget-options-BmZF5Ztf.cjs} +78 -78
- package/dist/{get-widget-options-B9VkQy30.js → get-widget-options-NhNoIBS9.js} +10832 -10839
- package/dist/index.cjs +113 -54
- package/dist/index.js +5046 -4954
- package/dist/packages/sdk-ui/src/ai/use-get-nlg-query-result.d.ts +3 -1
- package/dist/packages/sdk-ui/src/ai/use-get-query-recommendations.d.ts +4 -1
- package/dist/packages/sdk-ui/src/boxplot-utils.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-data/advanced-analytics-data.d.ts +6 -42
- package/dist/packages/sdk-ui/src/chart-data/areamap-data.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-data/boxplot-data.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-data/cartesian-data.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart-data/categorical-data.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-data/filter-and-aggregate-chart-data.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-data/indicator-data.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-data/range-data.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-data/scatter-data.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-data/scattermap-data.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-data/table-data.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-data-options/translate-boxplot-data-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-data-options/types.d.ts +37 -60
- package/dist/packages/sdk-ui/src/chart-data-options/utils.d.ts +34 -19
- package/dist/packages/sdk-ui/src/chart-data-options/validate-data-options/validate-data-options.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/data-points.d.ts +5 -4
- package/dist/packages/sdk-ui/src/chart-options-processor/plot-bands.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/axis-section.d.ts +5 -5
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/boxplot/boxplot-axis.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/scatter-axis.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/tooltip-utils.d.ts +5 -5
- package/dist/packages/sdk-ui/src/charts/indicator/indicator-legacy-chart-data-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/common/hooks/use-fetch.d.ts +1 -4
- package/dist/packages/sdk-ui/src/dashboard/components/HorizontalCollapse.d.ts +5 -0
- package/dist/packages/sdk-ui/src/dashboard/components/dashboard-header.d.ts +1 -0
- package/dist/packages/sdk-ui/src/dashboard/dashboard-by-id.d.ts +4 -0
- package/dist/packages/sdk-ui/src/dashboard/dashboard-helpers.d.ts +14 -0
- package/dist/packages/sdk-ui/src/dashboard/dashboard.d.ts +5 -1
- package/dist/packages/sdk-ui/src/dashboard/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/dashboard-widget/translate-widget-data-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/dashboard-widget/types.d.ts +1 -1
- package/dist/packages/sdk-ui/src/decorators/hook-decorators/with-tracking.d.ts +2 -2
- package/dist/packages/sdk-ui/src/filters/components/criteria-filter-tile/criteria-filter-tile.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/unsupported-filter-tile.d.ts +12 -0
- package/dist/packages/sdk-ui/src/formulas/use-get-shared-formula.d.ts +1 -2
- package/dist/packages/sdk-ui/src/models/dashboard/get-dashboard-model.d.ts +0 -2
- package/dist/packages/sdk-ui/src/models/dashboard/use-get-dashboard-model.d.ts +2 -1
- package/dist/packages/sdk-ui/src/models/dashboard/use-get-dashboard-models.d.ts +1 -1
- package/dist/packages/sdk-ui/src/models/hierarchy/use-get-hierarchy-models.d.ts +1 -1
- package/dist/packages/sdk-ui/src/models/widget/use-get-widget-model.d.ts +1 -1
- package/dist/packages/sdk-ui/src/models/widget/widget-model-translator.d.ts +0 -1
- package/dist/packages/sdk-ui/src/models/widget/widget-model.d.ts +0 -2
- package/dist/packages/sdk-ui/src/plugins-provider/types.d.ts +4 -4
- package/dist/packages/sdk-ui/src/plugins-provider/use-execute-plugin-query.d.ts +2 -2
- package/dist/packages/sdk-ui/src/props.d.ts +3 -3
- package/dist/packages/sdk-ui/src/query-execution/use-execute-csv-query.d.ts +1 -1
- package/dist/packages/sdk-ui/src/query-execution/use-execute-pivot-query.d.ts +1 -1
- package/dist/packages/sdk-ui/src/query-execution/use-execute-query-by-widget-id.d.ts +1 -1
- package/dist/packages/sdk-ui/src/query-execution/use-execute-query.d.ts +1 -1
- package/dist/packages/sdk-ui/src/translation/resources/en.d.ts +1 -4
- package/dist/packages/sdk-ui/src/translation/resources/index.d.ts +2 -8
- package/dist/packages/sdk-ui/src/widgets/chart-widget.d.ts +1 -1
- package/dist/packages/sdk-ui/src/widgets/pivot-table-widget.d.ts +1 -1
- package/dist/{table-widget-D9gDMRyX.js → table-widget-BPmucihM.js} +10744 -10678
- package/dist/{table-widget-DXNtx9V_.cjs → table-widget-BikAZUJv.cjs} +142 -142
- package/package.json +7 -7
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Filter } from '@sisense/sdk-data';
|
|
2
|
+
import { DashboardProps } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Utility functions to manipulate DashboardProps.
|
|
5
|
+
*
|
|
6
|
+
* @group Dashboards
|
|
7
|
+
*/
|
|
8
|
+
export declare const DashboardHelpers: {
|
|
9
|
+
replaceFilters: (dashboard: DashboardProps, newFilters: Filter[]) => DashboardProps;
|
|
10
|
+
modifyFilter: (dashboard: DashboardProps, filterToModify: Filter, newFilter: Filter) => DashboardProps;
|
|
11
|
+
removeFilter: (dashboard: DashboardProps, filter: Filter) => DashboardProps;
|
|
12
|
+
addFilter: (dashboard: DashboardProps, newFilter: Filter) => DashboardProps;
|
|
13
|
+
addFilters: (dashboard: DashboardProps, newFilters: Filter[]) => DashboardProps;
|
|
14
|
+
};
|
|
@@ -30,7 +30,11 @@ const CodeExample = () => {
|
|
|
30
30
|
|
|
31
31
|
export default CodeExample;
|
|
32
32
|
* ```
|
|
33
|
-
*
|
|
33
|
+
*
|
|
34
|
+
* To learn more about this and related dashboard components,
|
|
35
|
+
* see [Embedded Dashboards](/guides/sdk/guides/dashboards/index.html).
|
|
36
|
+
*
|
|
37
|
+
* @group Dashboards
|
|
34
38
|
* @beta
|
|
35
39
|
*/
|
|
36
40
|
export declare const Dashboard: import("react").FunctionComponent<DashboardProps>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { DashboardById } from './dashboard-by-id';
|
|
2
2
|
export { Dashboard } from './dashboard';
|
|
3
3
|
export type { DashboardByIdProps, DashboardProps, DashboardLayoutOptions, DashboardStyleOptions, DashboardConfig, } from './types';
|
|
4
|
+
export { DashboardHelpers } from './dashboard-helpers';
|
|
@@ -17,7 +17,7 @@ export declare function applyStatisticalModels(dataOption: StyledMeasureColumn,
|
|
|
17
17
|
trendType: string;
|
|
18
18
|
};
|
|
19
19
|
}): StyledMeasureColumn;
|
|
20
|
-
export declare function createDataColumn(item: PanelItem, customPaletteColors?: Color[]):
|
|
20
|
+
export declare function createDataColumn(item: PanelItem, customPaletteColors?: Color[]): StyledColumn | StyledMeasureColumn;
|
|
21
21
|
/** @internal */
|
|
22
22
|
export declare const createDataOptionsFromPanels: (panels: Panel[], variantColors: Color[]) => {
|
|
23
23
|
[key: string]: any[];
|
|
@@ -95,7 +95,7 @@ export interface HierarchyDto {
|
|
|
95
95
|
levels: BaseJaql[];
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
* The scroll location of the navigator scroller / auto zoom feature
|
|
99
99
|
*/
|
|
100
100
|
export type AutoZoomNavigatorScrollerLocation = {
|
|
101
101
|
min: number;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ClientApplication } from '../../app/client-application';
|
|
2
2
|
export type HookDecorator<DecoratorConfig> = (decoratorConfig: DecoratorConfig) => <HookArgs extends any[], HookResult>(hook: (...args: HookArgs) => HookResult) => (...args: HookArgs) => HookResult;
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* @description This is a function that tracks the hook event and sends it to the server.
|
|
4
|
+
* Tracks the hook event and sends it to the server.
|
|
6
5
|
* @param hookName - The name of the hook
|
|
7
6
|
* @param packageName - The name of the package
|
|
8
7
|
* @param app - The client application
|
|
9
8
|
* @param onFinally - The function to call after the tracking is done
|
|
9
|
+
* @internal
|
|
10
10
|
*/
|
|
11
11
|
export declare const trackHook: (hookName: string, packageName: string, app: ClientApplication, onFinally: () => void) => void;
|
|
12
12
|
export declare const withTracking: HookDecorator<string>;
|
package/dist/packages/sdk-ui/src/filters/components/criteria-filter-tile/criteria-filter-tile.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export interface CriteriaFilterTileProps {
|
|
|
26
26
|
export type CriteriaFilterType = NumericFilter | TextFilter | RankingFilter | ExcludeFilter;
|
|
27
27
|
/**
|
|
28
28
|
* UI component that allows the user to filter numeric or text attributes according to
|
|
29
|
-
* a number of built-in operations defined in the
|
|
29
|
+
* a number of built-in operations defined in the numeric filter, text filter, or ranking filter.
|
|
30
30
|
*
|
|
31
31
|
* The arrangement prop determines whether the filter is rendered vertically or horizontally, with the latter intended for toolbar use and omitting title, enable/disable, and collapse/expand functionality.
|
|
32
32
|
*
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FilterTileDesignOptions } from '../../filters/components/filter-tile';
|
|
2
|
+
import { Filter } from '@sisense/sdk-data';
|
|
3
|
+
export type UnsupportedFilterTileProps = {
|
|
4
|
+
filter: Filter;
|
|
5
|
+
design?: FilterTileDesignOptions;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Filter tile component that renders an unsupported filter (which is not recognized by the JAQL to Filter translation)
|
|
9
|
+
*
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export declare const UnsupportedFilterTile: ({ filter, design }: UnsupportedFilterTileProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -83,8 +83,6 @@ export type SharedFormulaSuccessState = {
|
|
|
83
83
|
```tsx
|
|
84
84
|
const { formula, isLoading, isError } = useGetSharedFormula({ name: 'My Shared Formula', datasource: DM.DataSource })
|
|
85
85
|
```
|
|
86
|
-
* @param params - {@link UseGetSharedFormulaParams}
|
|
87
|
-
* @param dataSource - Data source in Sisense instance
|
|
88
86
|
* @returns Formula load state that contains the status of the execution, the result formula, or the error if any
|
|
89
87
|
* @group Fusion Embed
|
|
90
88
|
* @fusionEmbed
|
|
@@ -93,6 +91,7 @@ export declare const useGetSharedFormula: (params: UseGetSharedFormulaParams) =>
|
|
|
93
91
|
/**
|
|
94
92
|
* {@link useGetSharedFormula} without tracking to be used inside other hooks or components in Compose SDK.
|
|
95
93
|
*
|
|
94
|
+
* @param params - {@link UseGetSharedFormulaParams}
|
|
96
95
|
* @internal
|
|
97
96
|
*/
|
|
98
97
|
export declare function useGetSharedFormulaInternal(params: UseGetSharedFormulaParams): SharedFormulaState;
|
|
@@ -96,7 +96,6 @@ export type DashboardModelSuccessState = {
|
|
|
96
96
|
}
|
|
97
97
|
return null;
|
|
98
98
|
```
|
|
99
|
-
* @param params - Parameters of the dashboard to be retrieved
|
|
100
99
|
* @returns Dashboard load state that contains the status of the execution, the result dashboard model, or the error if any
|
|
101
100
|
* @group Fusion Embed
|
|
102
101
|
* @fusionEmbed
|
|
@@ -105,6 +104,8 @@ export declare const useGetDashboardModel: (params: GetDashboardModelParams) =>
|
|
|
105
104
|
/**
|
|
106
105
|
* {@link useGetDashboardModel} without tracking to be used inside other hooks or components in Compose SDK.
|
|
107
106
|
*
|
|
107
|
+
* @param params - Parameters of the dashboard to be retrieved
|
|
108
|
+
*
|
|
108
109
|
* @internal
|
|
109
110
|
*/
|
|
110
111
|
export declare function useGetDashboardModelInternal(params: GetDashboardModelParams): DashboardModelState;
|
|
@@ -81,7 +81,6 @@ export type DashboardModelsSuccessState = {
|
|
|
81
81
|
}
|
|
82
82
|
return null;
|
|
83
83
|
```
|
|
84
|
-
* @param params - Parameters of the dashboards to be retrieved
|
|
85
84
|
* @returns Load state that contains the status of the execution, the result dashboards, or the error if any
|
|
86
85
|
* @group Fusion Embed
|
|
87
86
|
* @fusionEmbed
|
|
@@ -90,6 +89,7 @@ export declare const useGetDashboardModels: (params?: GetDashboardModelsParams |
|
|
|
90
89
|
/**
|
|
91
90
|
* {@link useGetDashboardModels} without tracking to be used inside other hooks or components in Compose SDK.
|
|
92
91
|
*
|
|
92
|
+
* @param params - Parameters of the dashboards to be retrieved
|
|
93
93
|
* @internal
|
|
94
94
|
*/
|
|
95
95
|
export declare function useGetDashboardModelsInternal(params?: GetDashboardModelsParams): DashboardModelsState;
|
|
@@ -83,7 +83,6 @@ export type HierarchyModelsSuccessState = {
|
|
|
83
83
|
}
|
|
84
84
|
return null;
|
|
85
85
|
```
|
|
86
|
-
* @param params - Parameters of the hierarchies to be retrieved
|
|
87
86
|
* @returns Load state that contains the status of the execution, the result hierarchy models, or the error if one has occurred
|
|
88
87
|
* @group Fusion Embed
|
|
89
88
|
* @fusionEmbed
|
|
@@ -92,6 +91,7 @@ export declare const useGetHierarchyModels: (params: GetHierarchiesParams) => Hi
|
|
|
92
91
|
/**
|
|
93
92
|
* {@link useGetHierarchyModels} without tracking to be used inside other hooks or components in Compose SDK.
|
|
94
93
|
*
|
|
94
|
+
* @param params - Parameters of the hierarchies to be retrieved
|
|
95
95
|
* @internal
|
|
96
96
|
*/
|
|
97
97
|
export declare function useGetHierarchyModelsInternal(params: GetHierarchiesParams): HierarchyModelsState;
|
|
@@ -88,7 +88,6 @@ export type WidgetModelSuccessState = {
|
|
|
88
88
|
*
|
|
89
89
|
* - [Modify Chart Type](https://www.sisense.com/platform/compose-sdk/playground/?example=fusion-assets%2Fuse-get-widget-model-change-chart-type)
|
|
90
90
|
*
|
|
91
|
-
* @param params - Parameters of the widget to be retrieved
|
|
92
91
|
* @returns Widget load state that contains the status of the execution, the result widget model, or the error if one has occurred
|
|
93
92
|
* @group Fusion Embed
|
|
94
93
|
* @fusionEmbed
|
|
@@ -97,6 +96,7 @@ export declare const useGetWidgetModel: (params: GetWidgetModelParams) => Widget
|
|
|
97
96
|
/**
|
|
98
97
|
* {@link useGetWidgetModel} without tracking to be used inside other hooks or components in Compose SDK.
|
|
99
98
|
*
|
|
99
|
+
* @param params - Parameters of the widget to be retrieved
|
|
100
100
|
* @internal
|
|
101
101
|
*/
|
|
102
102
|
export declare function useGetWidgetModelInternal(params: GetWidgetModelParams): WidgetModelState;
|
|
@@ -100,7 +100,6 @@ export declare function toTableWidgetProps(widgetModel: WidgetModel): TableWidge
|
|
|
100
100
|
|
|
101
101
|
* Note: this method is not supported for chart or table widgets.
|
|
102
102
|
* Use {@link toChartWidgetProps} instead for getting props for the <ChartWidget> component.
|
|
103
|
-
* Use {@link toTableWidgetProps} instead for getting props for the <TableWidget> component.
|
|
104
103
|
*/
|
|
105
104
|
export declare function toPivotTableWidgetProps(widgetModel: WidgetModel): PivotTableWidgetProps;
|
|
106
105
|
/**
|
|
@@ -171,9 +171,7 @@ export interface WidgetModel {
|
|
|
171
171
|
|
|
172
172
|
* Note: this method is not supported for chart or table widgets.
|
|
173
173
|
* Use {@link getChartWidgetProps} instead for getting props for the <ChartWidget> component.
|
|
174
|
-
* Use {@link getTableWidgetProps} instead for getting props for the <TableWidget> component.
|
|
175
174
|
* @deprecated Use {@link widgetModelTranslator.toPivotTableWidgetProps} instead
|
|
176
|
-
* @internal
|
|
177
175
|
*/
|
|
178
176
|
getPivotTableWidgetProps(): PivotTableWidgetProps;
|
|
179
177
|
/**
|
|
@@ -6,10 +6,10 @@ import { GenericDataOptions } from '../types';
|
|
|
6
6
|
*
|
|
7
7
|
* @alpha
|
|
8
8
|
*/
|
|
9
|
-
export interface PluginComponentProps {
|
|
9
|
+
export interface PluginComponentProps<DataOptions = GenericDataOptions, StyleOptions = any> {
|
|
10
10
|
dataSource?: DataSource;
|
|
11
|
-
dataOptions:
|
|
12
|
-
styleOptions:
|
|
11
|
+
dataOptions: DataOptions;
|
|
12
|
+
styleOptions: StyleOptions;
|
|
13
13
|
filters?: Filter[];
|
|
14
14
|
highlights?: Filter[];
|
|
15
15
|
}
|
|
@@ -19,4 +19,4 @@ export interface PluginComponentProps {
|
|
|
19
19
|
*
|
|
20
20
|
* @alpha
|
|
21
21
|
*/
|
|
22
|
-
export type PluginComponent = (props: PluginComponentProps) => ReactNode;
|
|
22
|
+
export type PluginComponent<DataOptions = GenericDataOptions, StyleOptions = any> = (props: PluginComponentProps<DataOptions, StyleOptions>) => ReactNode;
|
|
@@ -4,7 +4,7 @@ import { PluginComponentProps } from './types';
|
|
|
4
4
|
/**
|
|
5
5
|
* Utility function for converting data options to parameters for executing a query.
|
|
6
6
|
*
|
|
7
|
-
* @group
|
|
7
|
+
* @group Dashboards
|
|
8
8
|
* @alpha
|
|
9
9
|
*/
|
|
10
10
|
export declare function extractDimensionsAndMeasures(dataOptions: GenericDataOptions): {
|
|
@@ -14,7 +14,7 @@ export declare function extractDimensionsAndMeasures(dataOptions: GenericDataOpt
|
|
|
14
14
|
/**
|
|
15
15
|
* React hook that takes a plugin component's props and executes a data query.
|
|
16
16
|
*
|
|
17
|
-
* @group
|
|
17
|
+
* @group Dashboards
|
|
18
18
|
* @alpha
|
|
19
19
|
*/
|
|
20
20
|
export declare function useExecutePluginQuery({ dataSource, dataOptions, filters, highlights, }: PluginComponentProps): {
|
|
@@ -378,7 +378,7 @@ interface BoxplotChartEventProps extends HighchartsBasedChartEventProps {
|
|
|
378
378
|
export interface BaseChartProps {
|
|
379
379
|
/**
|
|
380
380
|
* Data set for a chart using one of the following options. If neither option is specified, the chart
|
|
381
|
-
* will use the `defaultDataSource` specified in the parent
|
|
381
|
+
* will use the `defaultDataSource` specified in the parent `SisenseContextProvider`
|
|
382
382
|
* component.
|
|
383
383
|
*
|
|
384
384
|
*
|
|
@@ -386,7 +386,7 @@ export interface BaseChartProps {
|
|
|
386
386
|
* retrieve the data source name from a data model you create using the `get-data-model`
|
|
387
387
|
* {@link https://sisense.dev/guides/sdk/guides/cli.html | command} of the Compose SDK CLI. Under the hood, the chart
|
|
388
388
|
* connects to the data source, executes a query, and loads the data as specified in
|
|
389
|
-
*
|
|
389
|
+
* `dataOptions`, `filters`, and `highlights`.
|
|
390
390
|
*
|
|
391
391
|
* To learn more about using data from a Sisense data source, see the
|
|
392
392
|
* [Compose SDK Charts Guide](/guides/sdk/guides/charts/guide-compose-sdk-charts.html#sisense-data).
|
|
@@ -446,7 +446,7 @@ export interface BaseChartProps {
|
|
|
446
446
|
* Highlights based on filter criteria to apply to a chart using one of the following options.
|
|
447
447
|
*
|
|
448
448
|
* NOTE that the filter dimensions used in highlights must match those defined in the
|
|
449
|
-
*
|
|
449
|
+
* `dataOptions` of the chart. Otherwise, the filters will be applied as regular slice filters.
|
|
450
450
|
*
|
|
451
451
|
* (1) Array of {@link Filter} returned from filter factory functions, such as
|
|
452
452
|
* {@link @sisense/sdk-data!filterFactory.greaterThan | `greaterThan()`} and {@link @sisense/sdk-data!filterFactory.members | `members()`}.
|
|
@@ -68,7 +68,6 @@ import { CsvQueryState, ExecuteCsvQueryParams } from './types.js';
|
|
|
68
68
|
}
|
|
69
69
|
return null;
|
|
70
70
|
```
|
|
71
|
-
* @param params - Parameters of the query
|
|
72
71
|
* @returns Query state that contains the status of the query execution, the result data, or the error if any occurred
|
|
73
72
|
* @group Queries
|
|
74
73
|
*/
|
|
@@ -76,6 +75,7 @@ export declare const useExecuteCsvQuery: (params: ExecuteCsvQueryParams) => CsvQ
|
|
|
76
75
|
/**
|
|
77
76
|
* {@link useExecuteQuery} without tracking to be used inside other hooks or components in Compose SDK.
|
|
78
77
|
*
|
|
78
|
+
* @param params - Parameters of the query
|
|
79
79
|
* @internal
|
|
80
80
|
*/
|
|
81
81
|
export declare function useExecuteCsvQueryInternal(params: ExecuteCsvQueryParams): CsvQueryState;
|
|
@@ -14,7 +14,6 @@ import { ExecutePivotQueryParams, PivotQueryState } from './types';
|
|
|
14
14
|
* style='border:none;'
|
|
15
15
|
* />
|
|
16
16
|
*
|
|
17
|
-
* @param params - Parameters of the query
|
|
18
17
|
* @returns Query state that contains the status of the query execution, the result data, or the error if any occurred
|
|
19
18
|
* @group Queries
|
|
20
19
|
* @beta
|
|
@@ -23,6 +22,7 @@ export declare const useExecutePivotQuery: (params: ExecutePivotQueryParams) =>
|
|
|
23
22
|
/**
|
|
24
23
|
* {@link useExecutePivotQuery} without tracking to be used inside other hooks or components in Compose SDK.
|
|
25
24
|
*
|
|
25
|
+
* @param params - Parameters of the query
|
|
26
26
|
* @internal
|
|
27
27
|
*/
|
|
28
28
|
export declare function useExecutePivotQueryInternal(params: ExecutePivotQueryParams): PivotQueryState;
|
|
@@ -27,7 +27,6 @@ import { QueryResultData } from '@sisense/sdk-data';
|
|
|
27
27
|
return null;
|
|
28
28
|
```
|
|
29
29
|
* See also hook {@link useExecuteQuery}, which execute a query specified in code.
|
|
30
|
-
* @param params - Parameters to identify the target widget
|
|
31
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
|
|
32
31
|
* @group Fusion Embed
|
|
33
32
|
* @fusionEmbed
|
|
@@ -36,6 +35,7 @@ export declare const useExecuteQueryByWidgetId: (params: ExecuteQueryByWidgetIdP
|
|
|
36
35
|
/**
|
|
37
36
|
* {@link useExecuteQueryByWidgetId} without tracking to be used inside other hooks or components in Compose SDK.
|
|
38
37
|
*
|
|
38
|
+
* @param params - Parameters to identify the target widget
|
|
39
39
|
* @internal
|
|
40
40
|
*/
|
|
41
41
|
export declare function useExecuteQueryByWidgetIdInternal(params: ExecuteQueryByWidgetIdParams): QueryByWidgetIdState;
|
|
@@ -20,7 +20,6 @@ import { ExecuteQueryParams, ExecuteQueryResult } from './types';
|
|
|
20
20
|
* - [Query with Sorting](https://www.sisense.com/platform/compose-sdk/playground/?example=queries%2Fuse-execute-query-sorting)
|
|
21
21
|
* - [Take Control of Your Data Visualizations]( https://www.sisense.com/blog/take-control-of-your-data-visualizations/) blog post with examples of using the hook to fetch data to display in third-party charts.
|
|
22
22
|
*
|
|
23
|
-
* @param params - Parameters of the query
|
|
24
23
|
* @returns Query state that contains the status of the query execution, the result data, or the error if any occurred
|
|
25
24
|
* @group Queries
|
|
26
25
|
*/
|
|
@@ -28,6 +27,7 @@ export declare const useExecuteQuery: (params: ExecuteQueryParams) => ExecuteQue
|
|
|
28
27
|
/**
|
|
29
28
|
* {@link useExecuteQuery} without tracking to be used inside other hooks or components in Compose SDK.
|
|
30
29
|
*
|
|
30
|
+
* @param params - Parameters of the query
|
|
31
31
|
* @internal
|
|
32
32
|
*/
|
|
33
33
|
export declare function useExecuteQueryInternal(params: ExecuteQueryParams): ExecuteQueryResult;
|
|
@@ -117,10 +117,7 @@ export declare const translation: {
|
|
|
117
117
|
max: string;
|
|
118
118
|
};
|
|
119
119
|
};
|
|
120
|
-
|
|
121
|
-
title: string;
|
|
122
|
-
message: string;
|
|
123
|
-
};
|
|
120
|
+
unsupportedFilterMessage: string;
|
|
124
121
|
commonFilter: {
|
|
125
122
|
clearSelectionButton: string;
|
|
126
123
|
selectMenuItem: string;
|
|
@@ -121,10 +121,7 @@ export declare const resources: {
|
|
|
121
121
|
max: string;
|
|
122
122
|
};
|
|
123
123
|
};
|
|
124
|
-
|
|
125
|
-
title: string;
|
|
126
|
-
message: string;
|
|
127
|
-
};
|
|
124
|
+
unsupportedFilterMessage: string;
|
|
128
125
|
commonFilter: {
|
|
129
126
|
clearSelectionButton: string;
|
|
130
127
|
selectMenuItem: string;
|
|
@@ -255,10 +252,7 @@ export declare const resources: {
|
|
|
255
252
|
max: string;
|
|
256
253
|
};
|
|
257
254
|
};
|
|
258
|
-
|
|
259
|
-
title: string;
|
|
260
|
-
message: string;
|
|
261
|
-
};
|
|
255
|
+
unsupportedFilterMessage: string;
|
|
262
256
|
commonFilter: {
|
|
263
257
|
clearSelectionButton: string;
|
|
264
258
|
selectMenuItem: string;
|
|
@@ -22,6 +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
|
|
25
|
+
* @group Dashboards
|
|
26
26
|
*/
|
|
27
27
|
export declare const ChartWidget: FunctionComponent<ChartWidgetProps>;
|
|
@@ -17,7 +17,7 @@ import { PivotTableWidgetProps } from '../props';
|
|
|
17
17
|
* ```
|
|
18
18
|
* @param props - Pivot Table Widget properties
|
|
19
19
|
* @returns Widget component representing a pivot table
|
|
20
|
-
* @group
|
|
20
|
+
* @group Dashboards
|
|
21
21
|
* @beta
|
|
22
22
|
*/
|
|
23
23
|
export declare const PivotTableWidget: FunctionComponent<PivotTableWidgetProps>;
|