@sisense/sdk-ui-vue 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +88381 -83531
- package/dist/src/components/charts/area-chart.d.ts +6 -1
- package/dist/src/components/charts/areamap-chart.d.ts +8 -1
- package/dist/src/components/charts/bar-chart.d.ts +8 -3
- package/dist/src/components/charts/boxplot-chart.d.ts +8 -3
- package/dist/src/components/charts/chart.d.ts +27 -11
- package/dist/src/components/charts/column-chart.d.ts +7 -1
- package/dist/src/components/charts/funnel-chart.d.ts +8 -2
- package/dist/src/components/charts/index.d.ts +0 -3
- package/dist/src/components/charts/indicator-chart.d.ts +13 -8
- package/dist/src/components/charts/line-chart.d.ts +16 -11
- package/dist/src/components/charts/pie-chart.d.ts +14 -9
- package/dist/src/components/charts/pivot-table.d.ts +24 -11
- package/dist/src/components/charts/polar-chart.d.ts +15 -10
- package/dist/src/components/charts/scatter-chart.d.ts +14 -9
- package/dist/src/components/charts/scattermap-chart.d.ts +14 -9
- package/dist/src/components/charts/sunburst-chart.d.ts +17 -8
- package/dist/src/components/charts/table.d.ts +21 -6
- package/dist/src/components/charts/treemap-chart.d.ts +15 -10
- package/dist/src/components/context-menu.d.ts +1 -0
- package/dist/src/components/drilldown-breadcrumbs.d.ts +1 -0
- package/dist/src/components/drilldown-widget.d.ts +90 -0
- package/dist/src/components/filters/criteria-filter-tile.d.ts +2 -1
- package/dist/src/components/filters/date-range-filter-tile.d.ts +22 -13
- package/dist/src/components/filters/member-filter-tile.d.ts +21 -12
- package/dist/src/components/{charts → widgets}/chart-widget.d.ts +6 -2
- package/dist/src/components/{charts → widgets}/dashboard-widget.d.ts +5 -0
- package/dist/src/components/widgets/index.d.ts +3 -0
- package/dist/src/components/{charts → widgets}/table-widget.d.ts +1 -0
- package/dist/src/composables/use-execute-query-by-widget-id.d.ts +2 -0
- package/dist/src/composables/use-execute-query.d.ts +1 -0
- package/dist/src/composables/use-get-dashboard-model.d.ts +1 -0
- package/dist/src/composables/use-get-dashboard-models.d.ts +1 -0
- package/dist/src/composables/use-get-shared-formula.d.ts +1 -0
- package/dist/src/composables/use-get-widget-model.d.ts +1 -0
- package/dist/src/lib.d.ts +1 -0
- package/dist/src/providers/sisense-context-provider.d.ts +1 -0
- package/dist/src/providers/theme-provider.d.ts +2 -0
- package/dist/src/sdk-ui-core-exports.d.ts +1 -1
- package/package.json +2 -1
@@ -39,6 +39,7 @@ import type { PropType } from 'vue';
|
|
39
39
|
* @prop {Object} currentDimension - Object representing the current dimension in the drilldown path.
|
40
40
|
* @prop {Function} sliceDrilldownSelections - Function to slice the drilldown selections up to a certain index, allowing the user to navigate back in the drilldown path.
|
41
41
|
* @prop {Object} filtersDisplayValues - Object mapping the internal filter values to human-readable display values, enhancing the usability of the breadcrumbs.
|
42
|
+
* @group Drilldown
|
42
43
|
*/
|
43
44
|
export declare const DrilldownBreadcrumbs: import("vue").DefineComponent<{
|
44
45
|
clearDrilldownSelections: PropType<() => void>;
|
@@ -5,6 +5,96 @@ export type DrilldownWidgetConfig = {
|
|
5
5
|
breadcrumbsComponent?: Component;
|
6
6
|
contextMenuComponent?: (props: ContextMenuProps) => Component;
|
7
7
|
};
|
8
|
+
/**
|
9
|
+
* Vue component designed to add drilldown functionality to any type of chart
|
10
|
+
*
|
11
|
+
* It acts as a wrapper around a given chart component, enhancing it with drilldown capabilities
|
12
|
+
*
|
13
|
+
* The widget offers several features including:
|
14
|
+
* - A context menu for initiating drilldown actions (can be provided as a custom component)
|
15
|
+
* - Breadcrumbs that not only allow for drilldown selection slicing but also
|
16
|
+
* provide an option to clear the selection (can be provided as a custom component)
|
17
|
+
* - Filters specifically created for drilldown operation
|
18
|
+
* - An option to navigate to the next drilldown dimension
|
19
|
+
*
|
20
|
+
* When an `initialDimension` is specified, the `drilldownDimension` will automatically inherit its value,
|
21
|
+
* even before any points on the chart are selected.
|
22
|
+
* This allows for complete control over the chart's dimensions to be handed over to the DrilldownWidget
|
23
|
+
* @example
|
24
|
+
* Here's how to use the `DrilldownWidget` component:
|
25
|
+
* ```vue
|
26
|
+
* <template>
|
27
|
+
<DrilldownWidget
|
28
|
+
:drilldownDimensions="drilldownDimensions"
|
29
|
+
:initialDimension="dimProductName"
|
30
|
+
>
|
31
|
+
<template
|
32
|
+
#chart="{ drilldownFilters, drilldownDimension, onDataPointsSelected, onContextMenu }"
|
33
|
+
>
|
34
|
+
<ChartWidget
|
35
|
+
chart-type="bar"
|
36
|
+
v-bind:filters="drilldownFilters"
|
37
|
+
:dataOptions="{
|
38
|
+
...chartProps.dataOptions,
|
39
|
+
category: [drilldownDimension],
|
40
|
+
}"
|
41
|
+
:highlight-selection-disabled="true"
|
42
|
+
:dataSet="chartProps.dataSet"
|
43
|
+
:style="chartProps.styleOptions"
|
44
|
+
:on-data-points-selected="(dataPoints: any, event: any) => {
|
45
|
+
onDataPointsSelected(dataPoints);
|
46
|
+
onContextMenu({ left: event.clientX, top: event.clientY });
|
47
|
+
}"
|
48
|
+
:on-data-point-click="(dataPoint: any, event: any) => {
|
49
|
+
onDataPointsSelected([dataPoint]);
|
50
|
+
onContextMenu({ left: event.clientX, top: event.clientY });
|
51
|
+
}"
|
52
|
+
:on-data-point-context-menu="(dataPoint: any, event: any) => {
|
53
|
+
onDataPointsSelected([dataPoint]);
|
54
|
+
onContextMenu({ left: event.clientX, top: event.clientY });
|
55
|
+
}"
|
56
|
+
/>
|
57
|
+
</template>
|
58
|
+
</DrilldownWidget>
|
59
|
+
* </template>
|
60
|
+
*
|
61
|
+
* <script>
|
62
|
+
* import { ref } from 'vue';
|
63
|
+
* import { DrilldownWidget } from '@sisense/sdk-ui-vue';
|
64
|
+
*
|
65
|
+
* const chartProps = ref<ChartProps>({
|
66
|
+
chartType: 'bar',
|
67
|
+
dataSet: DM.DataSource,
|
68
|
+
dataOptions: {
|
69
|
+
category: [dimProductName],
|
70
|
+
value: [{ column: measureTotalRevenue, sortType: 'sortDesc' }],
|
71
|
+
breakBy: [],
|
72
|
+
},
|
73
|
+
filters: [filterFactory.topRanking(dimProductName, measureTotalRevenue, 10)],
|
74
|
+
styleOptions: {
|
75
|
+
xAxis: {
|
76
|
+
title: {
|
77
|
+
text: 'Product Name',
|
78
|
+
enabled: true,
|
79
|
+
},
|
80
|
+
},
|
81
|
+
yAxis: {
|
82
|
+
title: {
|
83
|
+
text: 'Total Revenue',
|
84
|
+
enabled: true,
|
85
|
+
},
|
86
|
+
},
|
87
|
+
},
|
88
|
+
});
|
89
|
+
* const drilldownDimensions = [DM.DimCountries.CountryName, DM.DimProducts.ProductName];
|
90
|
+
* const dimProductName = DM.DimProducts.ProductName;
|
91
|
+
* </script>
|
92
|
+
* ```
|
93
|
+
* <img src="media://vue-drilldown-widget-example.png" width="800px" />
|
94
|
+
* @param props - DrilldownWidget properties
|
95
|
+
* @returns DrilldownWidget wrapper component
|
96
|
+
* @group Drilldown
|
97
|
+
*/
|
8
98
|
export declare const DrilldownWidgetTs: import("vue").DefineComponent<{
|
9
99
|
config: {
|
10
100
|
type: PropType<DrilldownWidgetConfig>;
|
@@ -31,9 +31,10 @@ import type { PropType } from 'vue';
|
|
31
31
|
* }
|
32
32
|
* </script>
|
33
33
|
* ```
|
34
|
-
* <img src="media://criteria-filter-tile-example
|
34
|
+
* <img src="media://vue-criteria-filter-tile-example.png" width="300px" />
|
35
35
|
* @param props - Criteria filter tile props
|
36
36
|
* @returns Criteria filter tile component
|
37
|
+
* @group Filter Tiles
|
37
38
|
*/
|
38
39
|
export declare const CriteriaFilterTile: import("vue").DefineComponent<{
|
39
40
|
arrangement: PropType<import("@sisense/sdk-ui-preact").FilterVariant | undefined>;
|
@@ -6,28 +6,37 @@ import type { PropType } from 'vue';
|
|
6
6
|
* Vue example of configuring the date min max values and handling onChange event.
|
7
7
|
* ```vue
|
8
8
|
* <template>
|
9
|
-
*
|
10
|
-
*
|
11
|
-
*
|
12
|
-
*
|
13
|
-
*
|
9
|
+
* <DateRangeFilterTile
|
10
|
+
* :title="dateRangeFilter.title"
|
11
|
+
* :datasource="dateRangeFilter.dataSource"
|
12
|
+
* :attribute="dateRangeFilter.attribute"
|
13
|
+
* :filter="dateRangeFilter.filter"
|
14
|
+
* :onChange="dateRangeFilter.onChange"
|
15
|
+
* />
|
14
16
|
* </template>
|
15
17
|
*
|
16
18
|
* <script setup lang="ts">
|
17
19
|
* import { ref } from 'vue';
|
18
|
-
* import {CriteriaFilterTile} from '@sisense/sdk-ui-vue';
|
20
|
+
* import {CriteriaFilterTile, type DateRangeFilterTileProps} from '@sisense/sdk-ui-vue';
|
21
|
+
* import { filterFactory } from '@sisense/sdk-data';
|
22
|
+
* import * as DM from '../assets/sample-retail-model';
|
19
23
|
*
|
20
|
-
* const
|
24
|
+
* const dateRangeFilterValue = ref<Filter | null>(filterFactory.dateRange(DM.DimDate.Date.Years));
|
25
|
+
*
|
26
|
+
* const dateRangeFilter = ref<DateRangeFilterTileProps>({
|
21
27
|
* title: 'Date Range',
|
22
|
-
* attribute: DM.
|
23
|
-
* filter:
|
28
|
+
* attribute: DM.DimDate.Date.Years,
|
29
|
+
* filter: dateRangeFilterValue.value!,
|
30
|
+
* onChange(filter) {
|
31
|
+
* dateRangeFilterValue.value = filter;
|
32
|
+
* },
|
24
33
|
* });
|
25
|
-
*
|
26
|
-
* const onChange = (filter: Filter) => {
|
27
|
-
* ...
|
28
|
-
* }
|
29
34
|
* </script>
|
30
35
|
* ```
|
36
|
+
* <img src="media://vue-date-range-filter-tile-example.png" width="800px" />
|
37
|
+
* @param props - MemberFilterTile props
|
38
|
+
* @returns MemberFilterTile component
|
39
|
+
* @group Filter Tiles
|
31
40
|
*/
|
32
41
|
export declare const DateRangeFilterTile: import("vue").DefineComponent<{
|
33
42
|
attribute: PropType<import("@sisense/sdk-data").LevelAttribute>;
|
@@ -8,28 +8,37 @@ import type { PropType } from 'vue';
|
|
8
8
|
* Below is an example for filtering countries in the `Country` dimension of the `Sample ECommerce` data model.
|
9
9
|
* ```vue
|
10
10
|
* <template>
|
11
|
-
*
|
12
|
-
*
|
13
|
-
*
|
14
|
-
*
|
15
|
-
*
|
16
|
-
*
|
11
|
+
* <MemberFilterTile
|
12
|
+
* :attribute="memberFilter.attribute"
|
13
|
+
* :onChange="memberFilter.onChange"
|
14
|
+
* :dataSource="memberFilter.dataSource"
|
15
|
+
* :title="memberFilter.title"
|
16
|
+
* />
|
17
17
|
* </template>
|
18
18
|
*
|
19
19
|
* <script setup lang="ts">
|
20
20
|
* import { ref } from 'vue';
|
21
|
-
* import MemberFilterTile from '@sisense/sdk-ui-vue
|
21
|
+
* import {MemberFilterTile, type MemberFilterTileProps} from '@sisense/sdk-ui-vue';
|
22
22
|
*
|
23
|
-
* const
|
24
|
-
*
|
25
|
-
*
|
26
|
-
*
|
23
|
+
* const memberFilterValue = ref<Filter | null>(null);
|
24
|
+
*
|
25
|
+
* const memberFilter = ref<MemberFilterTileProps>({
|
26
|
+
* dataSource: DM.DataSource,
|
27
|
+
* title: 'Member Filter',
|
28
|
+
* attribute: DM.DimProducts.ProductName,
|
29
|
+
* filter: memberFilterValue.value,
|
30
|
+
* onChange(filter) {
|
31
|
+
* memberFilterValue.value = filter;
|
32
|
+
* },
|
27
33
|
* });
|
28
34
|
*
|
29
|
-
* const setCountryFilter = (filter: Filter | null) => {...}
|
30
35
|
*
|
31
36
|
* </script>
|
32
37
|
* ```
|
38
|
+
* <img src="media://vue-member-filter-tile-example.png" width="300px" />
|
39
|
+
* @param props - MemberFilterTile props
|
40
|
+
* @returns MemberFilterTile component
|
41
|
+
* @group Filter Tiles
|
33
42
|
*/
|
34
43
|
export declare const MemberFilterTile: import("vue").DefineComponent<{
|
35
44
|
attribute: PropType<import("@sisense/sdk-data").Attribute>;
|
@@ -40,8 +40,12 @@ import type { PropType } from 'vue';
|
|
40
40
|
*
|
41
41
|
* <script setup lang="ts">
|
42
42
|
* import { ref } from 'vue';
|
43
|
+
* import { measureFactory, filterFactory } from '@sisense/sdk-data';
|
44
|
+
* import * as DM from '../assets/sample-retail-model';
|
43
45
|
* import {ChartWidget} from '@sisense/sdk-ui-vue';
|
44
|
-
|
46
|
+
|
47
|
+
* const dimProductName = DM.DimProducts.ProductName;
|
48
|
+
* const measureTotalRevenue = measureFactory.sum(DM.Fact_Sale_orders.OrderRevenue, 'Total Revenue');
|
45
49
|
* const chartWidgetProps = ref({
|
46
50
|
* // Configure your ChartWidgetProps here
|
47
51
|
* });
|
@@ -50,7 +54,7 @@ import type { PropType } from 'vue';
|
|
50
54
|
* <img src="media://chart-widget-with-drilldown-example-1.png" width="800px" />
|
51
55
|
* @param props - ChartWidget properties
|
52
56
|
* @returns ChartWidget component representing a chart type as specified in `ChartWidgetProps.`{@link ChartWidgetProps.chartType | chartType}
|
53
|
-
|
57
|
+
* @group Chart Utilities
|
54
58
|
*/
|
55
59
|
export declare const ChartWidget: import("vue").DefineComponent<{
|
56
60
|
bottomSlot: PropType<import("react").ReactNode>;
|
@@ -20,6 +20,7 @@ import type { PropType } from 'vue';
|
|
20
20
|
*
|
21
21
|
* </script>
|
22
22
|
* ```
|
23
|
+
* @group Fusion Assets
|
23
24
|
*/
|
24
25
|
export declare const DashboardWidget: import("vue").DefineComponent<{
|
25
26
|
bottomSlot: PropType<import("react").ReactNode>;
|
@@ -28,9 +29,11 @@ export declare const DashboardWidget: import("vue").DefineComponent<{
|
|
28
29
|
description: PropType<string | undefined>;
|
29
30
|
drilldownOptions: PropType<import("@sisense/sdk-ui-preact").DrilldownOptions | undefined>;
|
30
31
|
filters: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
|
32
|
+
/** {@inheritDoc ExecuteQueryByWidgetIdParams.filtersMergeStrategy} */
|
31
33
|
filtersMergeStrategy: PropType<"widgetFirst" | "codeFirst" | "codeOnly" | undefined>;
|
32
34
|
highlightSelectionDisabled: PropType<boolean | undefined>;
|
33
35
|
highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
|
36
|
+
/** {@inheritDoc ExecuteQueryByWidgetIdParams.includeDashboardFilters} */
|
34
37
|
includeDashboardFilters: PropType<boolean | undefined>;
|
35
38
|
onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
|
36
39
|
onContextMenuClose: PropType<(() => void) | undefined>;
|
@@ -51,9 +54,11 @@ export declare const DashboardWidget: import("vue").DefineComponent<{
|
|
51
54
|
description: PropType<string | undefined>;
|
52
55
|
drilldownOptions: PropType<import("@sisense/sdk-ui-preact").DrilldownOptions | undefined>;
|
53
56
|
filters: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
|
57
|
+
/** {@inheritDoc ExecuteQueryByWidgetIdParams.filtersMergeStrategy} */
|
54
58
|
filtersMergeStrategy: PropType<"widgetFirst" | "codeFirst" | "codeOnly" | undefined>;
|
55
59
|
highlightSelectionDisabled: PropType<boolean | undefined>;
|
56
60
|
highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
|
61
|
+
/** {@inheritDoc ExecuteQueryByWidgetIdParams.includeDashboardFilters} */
|
57
62
|
includeDashboardFilters: PropType<boolean | undefined>;
|
58
63
|
onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
|
59
64
|
onContextMenuClose: PropType<(() => void) | undefined>;
|
@@ -38,5 +38,7 @@ import type { MaybeWithRefs } from '../types';
|
|
38
38
|
*
|
39
39
|
* Utilizing this composable allows for declarative and reactive handling of widget-specific queries within Vue applications,
|
40
40
|
* facilitating easier data fetching and state management with the Sisense SDK.
|
41
|
+
*
|
42
|
+
* @group Fusion Assets
|
41
43
|
*/
|
42
44
|
export declare const useExecuteQueryByWidgetId: (params: MaybeWithRefs<ExecuteQueryByWidgetIdParams>) => ToRefs<QueryByWidgetIdState>;
|
@@ -40,5 +40,6 @@ import type { MaybeWithRefs } from '../types';
|
|
40
40
|
*
|
41
41
|
* This composable facilitates integrating Sisense data fetching into Vue applications, enabling developers
|
42
42
|
* to easily manage query states and dynamically adjust query parameters based on application needs.
|
43
|
+
* @group Queries
|
43
44
|
*/
|
44
45
|
export declare const useExecuteQuery: (params: MaybeWithRefs<ExecuteQueryParams>) => import("vue").ToRefs<import("@sisense/sdk-ui-preact").QueryState>;
|
@@ -37,5 +37,6 @@ import type { GetDashboardModelParams } from '@sisense/sdk-ui-preact';
|
|
37
37
|
*
|
38
38
|
* Utilizing this composable enables developers to declaratively integrate Sisense dashboard analytics into their Vue applications,
|
39
39
|
* managing data fetching and state with minimal boilerplate code.
|
40
|
+
* @group Fusion Assets
|
40
41
|
*/
|
41
42
|
export declare const useGetDashboardModel: (params: MaybeWithRefs<GetDashboardModelParams>) => import("vue").ToRefs<import("@sisense/sdk-ui-preact").DashboardModelState>;
|
@@ -34,5 +34,6 @@ import type { MaybeWithRefs } from '../types';
|
|
34
34
|
*
|
35
35
|
* This composable is ideal for Vue applications requiring a list of Sisense dashboards, providing a streamlined, reactive
|
36
36
|
* way to fetch and manage the state of multiple dashboard models.
|
37
|
+
* @group Fusion Assets
|
37
38
|
*/
|
38
39
|
export declare const useGetDashboardModels: (params: MaybeWithRefs<GetDashboardModelsParams>) => import("vue").ToRefs<import("@sisense/sdk-ui-preact").DashboardModelsState>;
|
@@ -41,5 +41,6 @@ import type { MaybeWithRefs } from '../types';
|
|
41
41
|
* - `error`: Contains the error object if an error occurred during the fetch.
|
42
42
|
*
|
43
43
|
* This composable provides a streamlined, reactive approach to fetching shared formulas from Sisense, facilitating their integration into Vue applications for enhanced data analytics capabilities.
|
44
|
+
* @group Fusion Assets
|
44
45
|
*/
|
45
46
|
export declare const useGetSharedFormula: (params: MaybeWithRefs<UseGetSharedFormulaParams>) => import("vue").ToRefs<import("@sisense/sdk-ui-preact").SharedFormulaState>;
|
@@ -37,5 +37,6 @@ import type { MaybeWithRefs } from '../types';
|
|
37
37
|
*
|
38
38
|
* This composable streamlines the process of fetching and managing Sisense widget models within Vue applications, providing
|
39
39
|
* developers with a reactive and efficient way to integrate Sisense data visualizations and analytics.
|
40
|
+
* @group Fusion Assets
|
40
41
|
*/
|
41
42
|
export declare const useGetWidgetModel: (params: MaybeWithRefs<GetWidgetModelParams>) => import("vue").ToRefs<import("@sisense/sdk-ui-preact").DataState<WidgetModel>>;
|
package/dist/src/lib.d.ts
CHANGED
@@ -59,6 +59,7 @@ export declare const createSisenseContextConnector: (context: CustomSisenseConte
|
|
59
59
|
*
|
60
60
|
* @param props - Sisense context provider props
|
61
61
|
* @returns A Sisense Context Provider Component
|
62
|
+
* @group Contexts
|
62
63
|
*/
|
63
64
|
export declare const SisenseContextProvider: import("vue").DefineComponent<{
|
64
65
|
defaultDataSource: PropType<import("@sisense/sdk-data").DataSource | undefined>;
|
@@ -27,6 +27,7 @@ export declare const getThemeContext: () => Ref<{
|
|
27
27
|
}> | undefined;
|
28
28
|
/**
|
29
29
|
* Creates theme context connector
|
30
|
+
* @internal
|
30
31
|
*/
|
31
32
|
export declare const createThemeContextConnector: (themeSettings?: CompleteThemeSettings) => {
|
32
33
|
prepareContext(): Promise<{
|
@@ -136,6 +137,7 @@ export declare const createThemeContextConnector: (themeSettings?: CompleteTheme
|
|
136
137
|
* @param props - Theme provider props
|
137
138
|
* @returns A Theme Provider component * @prop {Object | String} theme - Theme settings object for custom themes or a string identifier to fetch theme settings. When provided as an object, it merges with the default theme settings. When provided as a string, it attempts to fetch theme settings using the provided ID.
|
138
139
|
* @prop {Boolean} skipTracking [internal] - Specifies whether to skip tracking of theme usage. Intended for internal use and debugging purposes.
|
140
|
+
* @group Contexts
|
139
141
|
*/
|
140
142
|
export declare const ThemeProvider: import("vue").DefineComponent<{
|
141
143
|
theme: PropType<string | import("@sisense/sdk-ui-preact").ThemeSettings | undefined>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
export { boxWhiskerProcessResult } from '@sisense/sdk-ui-preact';
|
2
|
-
export type { ChartType, CartesianChartType, CategoricalChartType, ScatterChartType, IndicatorChartType, BoxplotChartType, ScattermapChartType, AreamapChartType, TableType, AreaSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, BoxplotSubtype, WidgetType, CartesianWidgetType, CategoricalWidgetType, TabularWidgetType, AreaChartProps, BarChartProps, ChartProps, LineChartProps, ColumnChartProps, FunnelChartProps, PolarChartProps, ScatterChartProps, PieChartProps, TreemapChartProps, SunburstChartProps, IndicatorChartProps, MemberFilterTileProps, CriteriaFilterTileProps, DateRangeFilterTileProps, ChartWidgetProps, TableWidgetProps, TableProps, PivotTableProps, DrilldownBreadcrumbsProps, BoxplotChartProps, AreamapChartProps, ScattermapChartProps, SisenseContextProviderProps, ExecuteQueryByWidgetIdParams, ExecuteQueryParams, GetWidgetModelParams, GetSharedFormulaParams, GetDashboardModelParams, UseGetSharedFormulaParams, GetDashboardModelsParams, ChartDataOptions, CartesianChartDataOptions, CategoricalChartDataOptions, ScatterChartDataOptions, IndicatorChartDataOptions, BoxplotChartDataOptions, BoxplotChartCustomDataOptions, ScattermapChartDataOptions, AreamapChartDataOptions, TableDataOptions, PivotTableDataOptions, WidgetDataOptions, NumberFormatConfig, DecimalScale, DataColorCondition, ConditionalDataColorOptions, DataColorOptions, RangeDataColorOptions, UniformDataColorOptions, ValueToColorMap, MultiColumnValueToColorMap, SortDirection, BoxWhiskerType, ScattermapLocationLevel, StyledColumn, StyledMeasureColumn, ChartStyleOptions, LineStyleOptions, AreaStyleOptions, StackableStyleOptions, PieStyleOptions, FunnelStyleOptions, PolarStyleOptions, IndicatorStyleOptions, NumericSimpleIndicatorStyleOptions, NumericBarIndicatorStyleOptions, GaugeIndicatorStyleOptions, ScatterStyleOptions, TreemapStyleOptions, SunburstStyleOptions, BoxplotStyleOptions, ScattermapStyleOptions, AreamapStyleOptions, ChartWidgetStyleOptions, WidgetStyleOptions, DashboardWidgetStyleOptions, TableStyleOptions, PivotTableStyleOptions, DataLimits, Legend, Markers, Labels, IndicatorComponents, ScatterMarkerSize, LineWidth, AxisLabel, Convolution, SeriesLabels, X2Title, ScattermapMarkers, WidgetModel, DashboardModel, BeforeRenderHandler, DataPoint, ScatterDataPoint, HighchartsOptions, BoxplotDataPoint, AppConfig, DateConfig, MenuItemSection, MonthOfYear, DayOfWeek, DateLevel, ThemeOid, GetDashboardModelOptions, GetDashboardModelsOptions, SeriesChartType, MenuPosition, ThemeSettings, Color, ColorPaletteTheme, Navigator, DrilldownOptions, DrilldownSelection, CriteriaFilterType, Member, FilterVariant, } from '@sisense/sdk-ui-preact';
|
2
|
+
export type { ChartType, CartesianChartType, CategoricalChartType, ScatterChartType, IndicatorChartType, BoxplotChartType, ScattermapChartType, AreamapChartType, TableType, AreaSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, BoxplotSubtype, WidgetType, CartesianWidgetType, CategoricalWidgetType, TabularWidgetType, AreaChartProps, BarChartProps, ChartProps, LineChartProps, ColumnChartProps, FunnelChartProps, PolarChartProps, ScatterChartProps, PieChartProps, TreemapChartProps, SunburstChartProps, IndicatorChartProps, MemberFilterTileProps, CriteriaFilterTileProps, DateRangeFilterTileProps, ChartWidgetProps, TableWidgetProps, TableProps, PivotTableProps, DrilldownBreadcrumbsProps, BoxplotChartProps, AreamapChartProps, ScattermapChartProps, SisenseContextProviderProps, DashboardWidgetProps, ExecuteQueryByWidgetIdParams, ExecuteQueryParams, GetWidgetModelParams, GetSharedFormulaParams, GetDashboardModelParams, UseGetSharedFormulaParams, GetDashboardModelsParams, ChartDataOptions, CartesianChartDataOptions, CategoricalChartDataOptions, ScatterChartDataOptions, IndicatorChartDataOptions, BoxplotChartDataOptions, BoxplotChartCustomDataOptions, ScattermapChartDataOptions, AreamapChartDataOptions, TableDataOptions, PivotTableDataOptions, WidgetDataOptions, NumberFormatConfig, DecimalScale, DataColorCondition, ConditionalDataColorOptions, DataColorOptions, RangeDataColorOptions, UniformDataColorOptions, ValueToColorMap, MultiColumnValueToColorMap, SortDirection, BoxWhiskerType, ScattermapLocationLevel, StyledColumn, StyledMeasureColumn, ChartStyleOptions, LineStyleOptions, AreaStyleOptions, StackableStyleOptions, PieStyleOptions, FunnelStyleOptions, PolarStyleOptions, IndicatorStyleOptions, NumericSimpleIndicatorStyleOptions, NumericBarIndicatorStyleOptions, GaugeIndicatorStyleOptions, ScatterStyleOptions, TreemapStyleOptions, SunburstStyleOptions, BoxplotStyleOptions, ScattermapStyleOptions, AreamapStyleOptions, ChartWidgetStyleOptions, WidgetStyleOptions, DashboardWidgetStyleOptions, TableStyleOptions, PivotTableStyleOptions, DataLimits, Legend, Markers, Labels, IndicatorComponents, ScatterMarkerSize, LineWidth, AxisLabel, Convolution, SeriesLabels, X2Title, ScattermapMarkers, WidgetModel, DashboardModel, BeforeRenderHandler, DataPoint, ScatterDataPoint, HighchartsOptions, BoxplotDataPoint, AppConfig, DateConfig, MenuItemSection, MonthOfYear, DayOfWeek, DateLevel, ThemeOid, GetDashboardModelOptions, GetDashboardModelsOptions, SeriesChartType, MenuPosition, ThemeSettings, Color, ColorPaletteTheme, Navigator, DrilldownOptions, DrilldownSelection, CriteriaFilterType, Member, FilterVariant, } from '@sisense/sdk-ui-preact';
|
3
3
|
import type { ContextMenuProps as ContextMenuPropsPreact, ThemeProviderProps as ThemeProviderPropsPreact } from '@sisense/sdk-ui-preact';
|
4
4
|
export type ContextMenuProps = Omit<ContextMenuPropsPreact, 'children'>;
|
5
5
|
export type ThemeProviderProps = Omit<ThemeProviderPropsPreact, 'children'>;
|
package/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"Sisense",
|
12
12
|
"Compose SDK"
|
13
13
|
],
|
14
|
-
"version": "1.
|
14
|
+
"version": "1.6.0",
|
15
15
|
"type": "module",
|
16
16
|
"main": "./dist/index.js",
|
17
17
|
"module": "./dist/index.js",
|
@@ -34,6 +34,7 @@
|
|
34
34
|
"format:check": "prettier --check ."
|
35
35
|
},
|
36
36
|
"dependencies": {
|
37
|
+
"@sisense/sdk-ui-preact": "^1.6.0",
|
37
38
|
"deepmerge": "^4.3.1",
|
38
39
|
"lodash": "^4.17.21",
|
39
40
|
"vue": "^3.3.2"
|