@sisense/sdk-ui-vue 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. package/LICENSE.md +35 -0
  2. package/README.md +2 -0
  3. package/dist/favicon.ico +0 -0
  4. package/dist/index.d.ts +1 -0
  5. package/dist/index.js +67815 -0
  6. package/dist/src/components/charts/area-chart.d.ts +45 -0
  7. package/dist/src/components/charts/bar-chart.d.ts +53 -0
  8. package/dist/src/components/charts/chart-widget.d.ts +66 -0
  9. package/dist/src/components/charts/chart.d.ts +82 -0
  10. package/dist/src/components/charts/column-chart.d.ts +45 -0
  11. package/dist/src/components/charts/dashboard-widget.d.ts +68 -0
  12. package/dist/src/components/charts/funnel-chart.d.ts +45 -0
  13. package/dist/src/components/charts/index.d.ts +16 -0
  14. package/dist/src/components/charts/indicator-chart.d.ts +37 -0
  15. package/dist/src/components/charts/line-chart.d.ts +45 -0
  16. package/dist/src/components/charts/pie-chart.d.ts +45 -0
  17. package/dist/src/components/charts/polar-chart.d.ts +45 -0
  18. package/dist/src/components/charts/scatter-chart.d.ts +45 -0
  19. package/dist/src/components/charts/sunburst-chart.d.ts +45 -0
  20. package/dist/src/components/charts/table-widget.d.ts +46 -0
  21. package/dist/src/components/charts/table.d.ts +38 -0
  22. package/dist/src/components/charts/treemap-chart.d.ts +45 -0
  23. package/dist/src/components/filters/basic-member-filter-tile.d.ts +41 -0
  24. package/dist/src/components/filters/criteria-filter-tile.d.ts +37 -0
  25. package/dist/src/components/filters/date-range-filter-tile.d.ts +43 -0
  26. package/dist/src/components/filters/index.d.ts +4 -0
  27. package/dist/src/components/filters/member-filter-tile.d.ts +39 -0
  28. package/dist/src/hooks/index.d.ts +1 -0
  29. package/dist/src/hooks/use-execute-query.d.ts +11 -0
  30. package/dist/src/lib.d.ts +5 -0
  31. package/dist/src/providers/index.d.ts +2 -0
  32. package/dist/src/providers/sisense-context-provider.d.ts +58 -0
  33. package/dist/src/providers/theme-provider.d.ts +99 -0
  34. package/dist/src/setup-helper.d.ts +6 -0
  35. package/package.json +58 -0
@@ -0,0 +1,45 @@
1
+ import type { PropType } from 'vue';
2
+ /**
3
+ * A Vue component that wraps the AreaChart Preact component for use in Vue applications.
4
+ * It maintains compatibility with Vue's reactivity system while preserving the functionality of the AreaChart.
5
+ *
6
+ * @example
7
+ * Here's how you can use the AreaChart component in a Vue application:
8
+ * ```vue
9
+ * <template>
10
+ * <AreaChart :props="areaChartProps" />
11
+ * </template>
12
+ *
13
+ * <script setup lang="ts">
14
+ * import { ref } from 'vue';
15
+ * import AreaChart from '@sisense/sdk-ui-vue/AreaChart';
16
+ *
17
+ * const areaChartProps = ref({
18
+ * // Configure your AreaChartProps here
19
+ * });
20
+ * </script>
21
+ * ```
22
+ */
23
+ export declare const AreaChart: import("vue").DefineComponent<{
24
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").CartesianChartDataOptions>;
25
+ dataSet: PropType<string | import("@sisense/sdk-data").Data | undefined>;
26
+ filters: PropType<import("@sisense/sdk-data").Filter[] | import("@sisense/sdk-data").FilterRelation | undefined>;
27
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
28
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
29
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
30
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
31
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | undefined>;
32
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").AreaStyleOptions | undefined>;
33
+ }, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
34
+ [key: string]: any;
35
+ }>) | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").CartesianChartDataOptions>;
37
+ dataSet: PropType<string | import("@sisense/sdk-data").Data | undefined>;
38
+ filters: PropType<import("@sisense/sdk-data").Filter[] | import("@sisense/sdk-data").FilterRelation | undefined>;
39
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
40
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
41
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
42
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
43
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | undefined>;
44
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").AreaStyleOptions | undefined>;
45
+ }>>, {}, {}>;
@@ -0,0 +1,53 @@
1
+ import type { PropType } from 'vue';
2
+ /**
3
+ * A Vue component that wraps the BarChart Preact component for use in Vue applications.
4
+ * It maintains compatibility with Vue's reactivity system while preserving the functionality of the BarChart.
5
+ *
6
+ * @example
7
+ * Here's how you can use the BarChart component in a Vue application:
8
+ * ```vue
9
+ * <template>
10
+ * <BarChart :props="barChartProps" />
11
+ * </template>
12
+ *
13
+ * <script setup lang="ts">
14
+ * import { ref } from 'vue';
15
+ * import BarChart from '@sisense/sdk-ui-vue/BarChart';
16
+ *
17
+ * const barChartProps = ref({
18
+ * // Configure your BarChartProps here
19
+ * });
20
+ * </script>
21
+ * ```
22
+ */
23
+ export declare const BarChart: import("vue").DefineComponent<{
24
+ /**
25
+ * Bar chart properties derived from the BarChartProps interface,
26
+ * including both BaseChartProps and ChartEventProps.
27
+ */
28
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").CartesianChartDataOptions>;
29
+ dataSet: PropType<string | import("@sisense/sdk-data").Data | undefined>;
30
+ filters: PropType<import("@sisense/sdk-data").Filter[] | import("@sisense/sdk-data").FilterRelation | undefined>;
31
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
32
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
33
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
34
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
35
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | undefined>;
36
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").StackableStyleOptions | undefined>;
37
+ }, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
38
+ [key: string]: any;
39
+ }>) | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
40
+ /**
41
+ * Bar chart properties derived from the BarChartProps interface,
42
+ * including both BaseChartProps and ChartEventProps.
43
+ */
44
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").CartesianChartDataOptions>;
45
+ dataSet: PropType<string | import("@sisense/sdk-data").Data | undefined>;
46
+ filters: PropType<import("@sisense/sdk-data").Filter[] | import("@sisense/sdk-data").FilterRelation | undefined>;
47
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
48
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
49
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
50
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
51
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | undefined>;
52
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").StackableStyleOptions | undefined>;
53
+ }>>, {}, {}>;
@@ -0,0 +1,66 @@
1
+ /// <reference types="react" />
2
+ import type { PropType } from 'vue';
3
+ /**
4
+ * A Vue component that wraps the ChartWidget Preact component for use in Vue applications.
5
+ * It maintains compatibility with Vue's reactivity system while preserving the functionality of the ChartWidget.
6
+ *
7
+ * @example
8
+ * Here's how you can use the ChartWidget component in a Vue application:
9
+ * ```vue
10
+ * <template>
11
+ * <ChartWidget :props="chartWidgetProps" />
12
+ * </template>
13
+ *
14
+ * <script setup lang="ts">
15
+ * import { ref } from 'vue';
16
+ * import ChartWidget from '@sisense/sdk-ui-vue/ChartWidget';
17
+ *
18
+ * const chartWidgetProps = ref({
19
+ * // Configure your ChartWidgetProps here
20
+ * });
21
+ * </script>
22
+ * ```
23
+ */
24
+ export declare const ChartWidget: import("vue").DefineComponent<{
25
+ bottomSlot: PropType<import("react").ReactNode>;
26
+ chartType: PropType<import("@sisense/sdk-ui-preact").ChartType>;
27
+ contextMenuItems: PropType<import("@sisense/sdk-ui-preact").MenuItemSection[] | undefined>;
28
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").ChartDataOptions>;
29
+ dataSource: PropType<string | undefined>;
30
+ description: PropType<string | undefined>;
31
+ drilldownOptions: PropType<import("@sisense/sdk-ui-preact").DrilldownOptions | undefined>;
32
+ filters: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
33
+ highlightSelectionDisabled: PropType<boolean | undefined>;
34
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
35
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
36
+ onContextMenuClose: PropType<(() => void) | undefined>;
37
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | undefined>;
38
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | undefined>;
39
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointsEventHandler | undefined>;
40
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").ChartWidgetStyleOptions | undefined>;
41
+ title: PropType<string | undefined>;
42
+ topSlot: PropType<import("react").ReactNode>;
43
+ widgetStyleOptions: PropType<import("@sisense/sdk-ui-preact").ChartWidgetStyleOptions | undefined>;
44
+ }, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
+ [key: string]: any;
46
+ }>) | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
47
+ bottomSlot: PropType<import("react").ReactNode>;
48
+ chartType: PropType<import("@sisense/sdk-ui-preact").ChartType>;
49
+ contextMenuItems: PropType<import("@sisense/sdk-ui-preact").MenuItemSection[] | undefined>;
50
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").ChartDataOptions>;
51
+ dataSource: PropType<string | undefined>;
52
+ description: PropType<string | undefined>;
53
+ drilldownOptions: PropType<import("@sisense/sdk-ui-preact").DrilldownOptions | undefined>;
54
+ filters: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
55
+ highlightSelectionDisabled: PropType<boolean | undefined>;
56
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
57
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
58
+ onContextMenuClose: PropType<(() => void) | undefined>;
59
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | undefined>;
60
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | undefined>;
61
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointsEventHandler | undefined>;
62
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").ChartWidgetStyleOptions | undefined>;
63
+ title: PropType<string | undefined>;
64
+ topSlot: PropType<import("react").ReactNode>;
65
+ widgetStyleOptions: PropType<import("@sisense/sdk-ui-preact").ChartWidgetStyleOptions | undefined>;
66
+ }>>, {}, {}>;
@@ -0,0 +1,82 @@
1
+ import { type PropType } from 'vue';
2
+ /**
3
+ * A Vue component used for easily switching chart types or rendering multiple series of different chart types.
4
+ *
5
+ * @example
6
+ * An example of using the `Chart` component to
7
+ * plot a bar chart of the Sample Retail data source hosted in a Sisense instance:
8
+ * ```tsx
9
+ * <script setup lang="ts">
10
+ * import { Chart } from '@sisense/sdk-ui-vue';
11
+ * import type { ChartProps } from '@sisense/sdk-ui';
12
+ * import * as DM from '../assets/sample-retail-model';
13
+ * import { measureFactory, filterFactory } from '@sisense/sdk-data';
14
+ * import { ref } from 'vue';
15
+ *
16
+ * const dimProductName = DM.DimProducts.ProductName;
17
+ * const measureTotalRevenue = measureFactory.sum(DM.Fact_Sale_orders.OrderRevenue, 'Total Revenue');
18
+ *
19
+ * const chartProps = ref<ChartProps>({
20
+ * chartType: 'bar',
21
+ * dataSet: DM.DataSource,
22
+ * dataOptions: {
23
+ * category: [dimProductName],
24
+ * value: [{ column: measureTotalRevenue, sortType: 'sortDesc' }],
25
+ * breakBy: [],
26
+ * },
27
+ * filters: [filterFactory.topRanking(dimProductName, measureTotalRevenue, 10)],
28
+ * styleOptions: {
29
+ * width: 800,
30
+ * height: 500,
31
+ * xAxis: {
32
+ * title: {
33
+ * text: 'Product Name',
34
+ * enabled: true,
35
+ * },
36
+ * },
37
+ * yAxis: {
38
+ * title: {
39
+ * text: 'Total Revenue',
40
+ * enabled: true,
41
+ * },
42
+ * },
43
+ * },
44
+ * });
45
+ * </script>
46
+ *
47
+ * <template>
48
+ * <Chart :props="chartProps" />
49
+ * </template>
50
+ * ```
51
+ *
52
+ * <img src="media://vue-chart-data-source-example-1.png" width="800px" />
53
+ *
54
+ * @returns Chart component representing a chart type as specified in `ChartProps.`{@link ChartProps.chartType | chartType}
55
+ */
56
+ export declare const Chart: import("vue").DefineComponent<{
57
+ chartType: PropType<import("@sisense/sdk-ui-preact").ChartType>;
58
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").ChartDataOptions>;
59
+ dataSet: PropType<string | import("@sisense/sdk-data").Data | undefined>;
60
+ filters: PropType<import("@sisense/sdk-data").Filter[] | import("@sisense/sdk-data").FilterRelation | undefined>;
61
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
62
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
63
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | undefined>;
64
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | undefined>;
65
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointsEventHandler | undefined>;
66
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").ChartStyleOptions | undefined>;
67
+ refreshCounter: PropType<number | undefined>;
68
+ }, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
69
+ [key: string]: any;
70
+ }>) | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
71
+ chartType: PropType<import("@sisense/sdk-ui-preact").ChartType>;
72
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").ChartDataOptions>;
73
+ dataSet: PropType<string | import("@sisense/sdk-data").Data | undefined>;
74
+ filters: PropType<import("@sisense/sdk-data").Filter[] | import("@sisense/sdk-data").FilterRelation | undefined>;
75
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
76
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
77
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | undefined>;
78
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | undefined>;
79
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointsEventHandler | undefined>;
80
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").ChartStyleOptions | undefined>;
81
+ refreshCounter: PropType<number | undefined>;
82
+ }>>, {}, {}>;
@@ -0,0 +1,45 @@
1
+ import type { PropType } from 'vue';
2
+ /**
3
+ * A Vue component that wraps the ColumnChart Preact component for use in Vue applications.
4
+ * It maintains compatibility with Vue's reactivity system while preserving the functionality of the ColumnChart.
5
+ *
6
+ * @example
7
+ * Here's how you can use the ColumnChart component in a Vue application:
8
+ * ```vue
9
+ * <template>
10
+ * <ColumnChart :props="ColumnChartProps" />
11
+ * </template>
12
+ *
13
+ * <script setup lang="ts">
14
+ * import { ref } from 'vue';
15
+ * import ColumnChart from '@sisense/sdk-ui-vue/ColumnChart';
16
+ *
17
+ * const columnChartProps = ref({
18
+ * // Configure your ColumnChartProps here
19
+ * });
20
+ * </script>
21
+ * ```
22
+ */
23
+ export declare const ColumnChart: import("vue").DefineComponent<{
24
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").CartesianChartDataOptions>;
25
+ dataSet: PropType<string | import("@sisense/sdk-data").Data | undefined>;
26
+ filters: PropType<import("@sisense/sdk-data").Filter[] | import("@sisense/sdk-data").FilterRelation | undefined>;
27
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
28
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
29
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
30
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
31
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | undefined>;
32
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").StackableStyleOptions | undefined>;
33
+ }, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
34
+ [key: string]: any;
35
+ }>) | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").CartesianChartDataOptions>;
37
+ dataSet: PropType<string | import("@sisense/sdk-data").Data | undefined>;
38
+ filters: PropType<import("@sisense/sdk-data").Filter[] | import("@sisense/sdk-data").FilterRelation | undefined>;
39
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
40
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
41
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
42
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
43
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | undefined>;
44
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").StackableStyleOptions | undefined>;
45
+ }>>, {}, {}>;
@@ -0,0 +1,68 @@
1
+ /// <reference types="react" />
2
+ import type { PropType } from 'vue';
3
+ /**
4
+ * A Vue component that wraps the DashboardWidget Preact component for use in Vue applications.
5
+ * It maintains compatibility with Vue's reactivity system while preserving the functionality of the DashboardWidget.
6
+ *
7
+ * @example
8
+ * Here's how you can use the DashboardWidget component in a Vue application:
9
+ * ```vue
10
+ * <template>
11
+ * <DashboardWidget :props="dashboardWidgetProps" />
12
+ * </template>
13
+ *
14
+ * <script setup lang="ts">
15
+ * import { ref } from 'vue';
16
+ * import DashboardWidget from '@sisense/sdk-ui-vue/DashboardWidget';
17
+ *
18
+ * const dashboardWidgetProps = ref({
19
+ * // Configure your DashboardWidgetProps here
20
+ * });
21
+ * </script>
22
+ * ```
23
+ */
24
+ export declare const DashboardWidget: import("vue").DefineComponent<{
25
+ bottomSlot: PropType<import("react").ReactNode>;
26
+ contextMenuItems: PropType<import("@sisense/sdk-ui-preact").MenuItemSection[] | undefined>;
27
+ dashboardOid: PropType<string>;
28
+ description: PropType<string | undefined>;
29
+ drilldownOptions: PropType<import("@sisense/sdk-ui-preact").DrilldownOptions | undefined>;
30
+ filters: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
31
+ filtersMergeStrategy: PropType<"widgetFirst" | "codeFirst" | "codeOnly" | undefined>;
32
+ highlightSelectionDisabled: PropType<boolean | undefined>;
33
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
34
+ includeDashboardFilters: PropType<boolean | undefined>;
35
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
36
+ onContextMenuClose: PropType<(() => void) | undefined>;
37
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | undefined>;
38
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | undefined>;
39
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointsEventHandler | undefined>;
40
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").DashboardWidgetStyleOptions | undefined>;
41
+ title: PropType<string | undefined>;
42
+ topSlot: PropType<import("react").ReactNode>;
43
+ widgetOid: PropType<string>;
44
+ widgetStyleOptions: PropType<import("@sisense/sdk-ui-preact").DashboardWidgetStyleOptions | undefined>;
45
+ }, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
46
+ [key: string]: any;
47
+ }>) | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
48
+ bottomSlot: PropType<import("react").ReactNode>;
49
+ contextMenuItems: PropType<import("@sisense/sdk-ui-preact").MenuItemSection[] | undefined>;
50
+ dashboardOid: PropType<string>;
51
+ description: PropType<string | undefined>;
52
+ drilldownOptions: PropType<import("@sisense/sdk-ui-preact").DrilldownOptions | undefined>;
53
+ filters: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
54
+ filtersMergeStrategy: PropType<"widgetFirst" | "codeFirst" | "codeOnly" | undefined>;
55
+ highlightSelectionDisabled: PropType<boolean | undefined>;
56
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
57
+ includeDashboardFilters: PropType<boolean | undefined>;
58
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
59
+ onContextMenuClose: PropType<(() => void) | undefined>;
60
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | undefined>;
61
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | undefined>;
62
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointsEventHandler | undefined>;
63
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").DashboardWidgetStyleOptions | undefined>;
64
+ title: PropType<string | undefined>;
65
+ topSlot: PropType<import("react").ReactNode>;
66
+ widgetOid: PropType<string>;
67
+ widgetStyleOptions: PropType<import("@sisense/sdk-ui-preact").DashboardWidgetStyleOptions | undefined>;
68
+ }>>, {}, {}>;
@@ -0,0 +1,45 @@
1
+ import type { PropType } from 'vue';
2
+ /**
3
+ * A Vue component that wraps the FunnelChart Preact component for use in Vue applications.
4
+ * It maintains compatibility with Vue's reactivity system while preserving the functionality of the FunnelChart.
5
+ *
6
+ * @example
7
+ * Here's how you can use the FunnelChart component in a Vue application:
8
+ * ```vue
9
+ * <template>
10
+ * <FunnelChart :props="funnelChartProps" />
11
+ * </template>
12
+ *
13
+ * <script setup lang="ts">
14
+ * import { ref } from 'vue';
15
+ * import FunnelChart from '@sisense/sdk-ui-vue/FunnelChart';
16
+ *
17
+ * const funnelChartProps = ref({
18
+ * // Configure your FunnelChartProps here
19
+ * });
20
+ * </script>
21
+ * ```
22
+ */
23
+ export declare const FunnelChart: import("vue").DefineComponent<{
24
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").CategoricalChartDataOptions>;
25
+ dataSet: PropType<string | import("@sisense/sdk-data").Data | undefined>;
26
+ filters: PropType<import("@sisense/sdk-data").Filter[] | import("@sisense/sdk-data").FilterRelation | undefined>;
27
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
28
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
29
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
30
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
31
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | undefined>;
32
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").FunnelStyleOptions | undefined>;
33
+ }, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
34
+ [key: string]: any;
35
+ }>) | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").CategoricalChartDataOptions>;
37
+ dataSet: PropType<string | import("@sisense/sdk-data").Data | undefined>;
38
+ filters: PropType<import("@sisense/sdk-data").Filter[] | import("@sisense/sdk-data").FilterRelation | undefined>;
39
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
40
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
41
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
42
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
43
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | undefined>;
44
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").FunnelStyleOptions | undefined>;
45
+ }>>, {}, {}>;
@@ -0,0 +1,16 @@
1
+ export { AreaChart } from './area-chart';
2
+ export { BarChart } from './bar-chart';
3
+ export { ColumnChart } from './column-chart';
4
+ export { FunnelChart } from './funnel-chart';
5
+ export { LineChart } from './line-chart';
6
+ export { PieChart } from './pie-chart';
7
+ export { ScatterChart } from './scatter-chart';
8
+ export { Table } from './table';
9
+ export { TreemapChart } from './treemap-chart';
10
+ export { SunburstChart } from './sunburst-chart';
11
+ export { PolarChart } from './polar-chart';
12
+ export { IndicatorChart } from './indicator-chart';
13
+ export { ChartWidget } from './chart-widget';
14
+ export { Chart } from './chart';
15
+ export { DashboardWidget } from './dashboard-widget';
16
+ export { TableWidget } from './table-widget';
@@ -0,0 +1,37 @@
1
+ import type { PropType } from 'vue';
2
+ /**
3
+ * A Vue component that wraps the IndicatorChart Preact component for use in Vue applications.
4
+ * It maintains compatibility with Vue's reactivity system while preserving the functionality of the IndicatorChart.
5
+ *
6
+ * @example
7
+ * Here's how you can use the IndicatorChart component in a Vue application:
8
+ * ```vue
9
+ * <template>
10
+ * <IndicatorChart :props="indicatorChartProps" />
11
+ * </template>
12
+ *
13
+ * <script setup lang="ts">
14
+ * import { ref } from 'vue';
15
+ * import IndicatorChart from '@sisense/sdk-ui-vue/IndicatorChart';
16
+ *
17
+ * const indicatorChartProps = ref({
18
+ * // Configure your IndicatorChartProps here
19
+ * });
20
+ * </script>
21
+ * ```
22
+ */
23
+ export declare const IndicatorChart: import("vue").DefineComponent<{
24
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").IndicatorChartDataOptions>;
25
+ dataSet: PropType<string | import("@sisense/sdk-data").Data | undefined>;
26
+ filters: PropType<import("@sisense/sdk-data").Filter[] | import("@sisense/sdk-data").FilterRelation | undefined>;
27
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
28
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").IndicatorStyleOptions | undefined>;
29
+ }, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
30
+ [key: string]: any;
31
+ }>) | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").IndicatorChartDataOptions>;
33
+ dataSet: PropType<string | import("@sisense/sdk-data").Data | undefined>;
34
+ filters: PropType<import("@sisense/sdk-data").Filter[] | import("@sisense/sdk-data").FilterRelation | undefined>;
35
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
36
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").IndicatorStyleOptions | undefined>;
37
+ }>>, {}, {}>;
@@ -0,0 +1,45 @@
1
+ import type { PropType } from 'vue';
2
+ /**
3
+ * A Vue component that wraps the LineChart Preact component for use in Vue applications.
4
+ * It maintains compatibility with Vue's reactivity system while preserving the functionality of the LineChart.
5
+ *
6
+ * @example
7
+ * Here's how you can use the LineChart component in a Vue application:
8
+ * ```vue
9
+ * <template>
10
+ * <LineChart :props="lineChartProps" />
11
+ * </template>
12
+ *
13
+ * <script setup lang="ts">
14
+ * import { ref } from 'vue';
15
+ * import LineChart from '@sisense/sdk-ui-vue/LineChart';
16
+ *
17
+ * const lineChartProps = ref({
18
+ * // Configure your LineChartProps here
19
+ * });
20
+ * </script>
21
+ * ```
22
+ */
23
+ export declare const LineChart: import("vue").DefineComponent<{
24
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").CartesianChartDataOptions>;
25
+ dataSet: PropType<string | import("@sisense/sdk-data").Data | undefined>;
26
+ filters: PropType<import("@sisense/sdk-data").Filter[] | import("@sisense/sdk-data").FilterRelation | undefined>;
27
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
28
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
29
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
30
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
31
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | undefined>;
32
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").LineStyleOptions | undefined>;
33
+ }, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
34
+ [key: string]: any;
35
+ }>) | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").CartesianChartDataOptions>;
37
+ dataSet: PropType<string | import("@sisense/sdk-data").Data | undefined>;
38
+ filters: PropType<import("@sisense/sdk-data").Filter[] | import("@sisense/sdk-data").FilterRelation | undefined>;
39
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
40
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
41
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
42
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
43
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | undefined>;
44
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").LineStyleOptions | undefined>;
45
+ }>>, {}, {}>;
@@ -0,0 +1,45 @@
1
+ import type { PropType } from 'vue';
2
+ /**
3
+ * A Vue component that wraps the PieChart Preact component for use in Vue applications.
4
+ * It maintains compatibility with Vue's reactivity system while preserving the functionality of the PieChart.
5
+ *
6
+ * @example
7
+ * Here's how you can use the PieChart component in a Vue application:
8
+ * ```vue
9
+ * <template>
10
+ * <PieChart :props="pieChartProps" />
11
+ * </template>
12
+ *
13
+ * <script setup lang="ts">
14
+ * import { ref } from 'vue';
15
+ * import PieChart from '@sisense/sdk-ui-vue/PieChart';
16
+ *
17
+ * const pieChartProps = ref({
18
+ * // Configure your PieChartProps here
19
+ * });
20
+ * </script>
21
+ * ```
22
+ */
23
+ export declare const PieChart: import("vue").DefineComponent<{
24
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").CategoricalChartDataOptions>;
25
+ dataSet: PropType<string | import("@sisense/sdk-data").Data | undefined>;
26
+ filters: PropType<import("@sisense/sdk-data").Filter[] | import("@sisense/sdk-data").FilterRelation | undefined>;
27
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
28
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
29
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
30
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
31
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | undefined>;
32
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").PieStyleOptions | undefined>;
33
+ }, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
34
+ [key: string]: any;
35
+ }>) | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").CategoricalChartDataOptions>;
37
+ dataSet: PropType<string | import("@sisense/sdk-data").Data | undefined>;
38
+ filters: PropType<import("@sisense/sdk-data").Filter[] | import("@sisense/sdk-data").FilterRelation | undefined>;
39
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
40
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
41
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
42
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
43
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | undefined>;
44
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").PieStyleOptions | undefined>;
45
+ }>>, {}, {}>;
@@ -0,0 +1,45 @@
1
+ import { type PropType } from 'vue';
2
+ /**
3
+ * A Vue component that wraps the PolarChart Preact component for use in Vue applications.
4
+ * It maintains compatibility with Vue's reactivity system while preserving the functionality of the PolarChart.
5
+ *
6
+ * @example
7
+ * Here's how you can use the PolarChart component in a Vue application:
8
+ * ```vue
9
+ * <template>
10
+ * <PolarChart :props="polarChartProps" />
11
+ * </template>
12
+ *
13
+ * <script setup lang="ts">
14
+ * import { ref } from 'vue';
15
+ * import PolarChart from '@sisense/sdk-ui-vue/PolarChart';
16
+ *
17
+ * const polarChartProps = ref({
18
+ * // Configure your PolarChartProps here
19
+ * });
20
+ * </script>
21
+ * ```
22
+ */
23
+ export declare const PolarChart: import("vue").DefineComponent<{
24
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").CartesianChartDataOptions>;
25
+ dataSet: PropType<string | import("@sisense/sdk-data").Data | undefined>;
26
+ filters: PropType<import("@sisense/sdk-data").Filter[] | import("@sisense/sdk-data").FilterRelation | undefined>;
27
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
28
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
29
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
30
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
31
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | undefined>;
32
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").PolarStyleOptions | undefined>;
33
+ }, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
34
+ [key: string]: any;
35
+ }>) | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
+ dataOptions: PropType<import("@sisense/sdk-ui-preact").CartesianChartDataOptions>;
37
+ dataSet: PropType<string | import("@sisense/sdk-data").Data | undefined>;
38
+ filters: PropType<import("@sisense/sdk-data").Filter[] | import("@sisense/sdk-data").FilterRelation | undefined>;
39
+ highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
40
+ onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
41
+ onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
42
+ onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined>;
43
+ onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | undefined>;
44
+ styleOptions: PropType<import("@sisense/sdk-ui-preact").PolarStyleOptions | undefined>;
45
+ }>>, {}, {}>;