@sisense/sdk-ui-vue 1.31.0 → 1.32.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 (45) hide show
  1. package/dist/index.cjs +537 -1526
  2. package/dist/index.js +89887 -90294
  3. package/dist/packages/sdk-ui-vue/src/components/charts/area-chart.d.ts +6 -0
  4. package/dist/packages/sdk-ui-vue/src/components/charts/area-range-chart.d.ts +6 -0
  5. package/dist/packages/sdk-ui-vue/src/components/charts/areamap-chart.d.ts +6 -0
  6. package/dist/packages/sdk-ui-vue/src/components/charts/bar-chart.d.ts +6 -0
  7. package/dist/packages/sdk-ui-vue/src/components/charts/boxplot-chart.d.ts +6 -0
  8. package/dist/packages/sdk-ui-vue/src/components/charts/chart.d.ts +2 -0
  9. package/dist/packages/sdk-ui-vue/src/components/charts/column-chart.d.ts +6 -0
  10. package/dist/packages/sdk-ui-vue/src/components/charts/funnel-chart.d.ts +6 -0
  11. package/dist/packages/sdk-ui-vue/src/components/charts/index.d.ts +18 -18
  12. package/dist/packages/sdk-ui-vue/src/components/charts/indicator-chart.d.ts +6 -0
  13. package/dist/packages/sdk-ui-vue/src/components/charts/line-chart.d.ts +6 -0
  14. package/dist/packages/sdk-ui-vue/src/components/charts/pie-chart.d.ts +6 -0
  15. package/dist/packages/sdk-ui-vue/src/components/charts/pivot-table.d.ts +2 -0
  16. package/dist/packages/sdk-ui-vue/src/components/charts/polar-chart.d.ts +6 -0
  17. package/dist/packages/sdk-ui-vue/src/components/charts/scatter-chart.d.ts +6 -0
  18. package/dist/packages/sdk-ui-vue/src/components/charts/scattermap-chart.d.ts +6 -0
  19. package/dist/packages/sdk-ui-vue/src/components/charts/sunburst-chart.d.ts +6 -0
  20. package/dist/packages/sdk-ui-vue/src/components/charts/table.d.ts +2 -0
  21. package/dist/packages/sdk-ui-vue/src/components/charts/treemap-chart.d.ts +6 -0
  22. package/dist/packages/sdk-ui-vue/src/components/context-menu.d.ts +6 -0
  23. package/dist/packages/sdk-ui-vue/src/components/dashboard/dashboard-by-id.d.ts +6 -0
  24. package/dist/packages/sdk-ui-vue/src/components/dashboard/dashboard.d.ts +2 -0
  25. package/dist/packages/sdk-ui-vue/src/components/dashboard/index.d.ts +2 -2
  26. package/dist/packages/sdk-ui-vue/src/components/drilldown-breadcrumbs.d.ts +6 -0
  27. package/dist/packages/sdk-ui-vue/src/components/drilldown-widget.d.ts +13 -2
  28. package/dist/packages/sdk-ui-vue/src/components/filters/criteria-filter-tile.d.ts +6 -0
  29. package/dist/packages/sdk-ui-vue/src/components/filters/date-range-filter-tile.d.ts +6 -0
  30. package/dist/packages/sdk-ui-vue/src/components/filters/index.d.ts +4 -4
  31. package/dist/packages/sdk-ui-vue/src/components/filters/member-filter-tile.d.ts +6 -0
  32. package/dist/packages/sdk-ui-vue/src/components/filters/relative-date-filter-tile.d.ts +6 -0
  33. package/dist/packages/sdk-ui-vue/src/components/widgets/chart-widget.d.ts +2 -0
  34. package/dist/packages/sdk-ui-vue/src/components/widgets/dashboard-widget.d.ts +9 -0
  35. package/dist/packages/sdk-ui-vue/src/components/widgets/index.d.ts +4 -4
  36. package/dist/packages/sdk-ui-vue/src/components/widgets/table-widget.d.ts +2 -0
  37. package/dist/packages/sdk-ui-vue/src/components/widgets/widget-by-id.d.ts +6 -0
  38. package/dist/packages/sdk-ui-vue/src/composables/use-plugins.d.ts +3 -3
  39. package/dist/packages/sdk-ui-vue/src/lib.d.ts +2 -1
  40. package/dist/packages/sdk-ui-vue/src/providers/index.d.ts +2 -2
  41. package/dist/packages/sdk-ui-vue/src/providers/plugins-provider.d.ts +4 -4
  42. package/dist/packages/sdk-ui-vue/src/providers/sisense-context-provider.d.ts +12 -0
  43. package/dist/packages/sdk-ui-vue/src/providers/theme-provider.d.ts +6 -1
  44. package/dist/packages/sdk-ui-vue/src/sdk-ui-core-exports.d.ts +1 -5
  45. package/package.json +2 -2
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { AreaChartProps as AreaChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!AreaChart | `AreaChart`} component.
5
+ */
6
+ export interface AreaChartProps extends AreaChartPropsPreact {
7
+ }
2
8
  /**
3
9
  * A Vue component similar to a {@link LineChart},
4
10
  * but with filled in areas under each line and an option to display them as stacked.
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { AreaRangeChartProps as AreaRangeChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!AreaRangeChart | `AreaRangeChart`} component.
5
+ */
6
+ export interface AreaRangeChartProps extends AreaRangeChartPropsPreact {
7
+ }
2
8
  /**
3
9
  * A Vue component that displays a range of data over a given time period
4
10
  * or across multiple categories. It is particularly useful for visualizing
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { AreamapChartProps as AreamapChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!AreamapChart | `AreamapChart`} component.
5
+ */
6
+ export interface AreamapChartProps extends AreamapChartPropsPreact {
7
+ }
2
8
  /**
3
9
  * A Vue component for visualizing geographical data as polygons on a map.
4
10
  *
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { BarChartProps as BarChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!BarChart | `BarChart`} component.
5
+ */
6
+ export interface BarChartProps extends BarChartPropsPreact {
7
+ }
2
8
  /**
3
9
  * A Vue component representing categorical data with horizontal rectangular bars,
4
10
  * whose lengths are proportional to the values that they represent.
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { BoxplotChartProps as BoxplotChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!BoxplotChart | `BoxplotChart`} component.
5
+ */
6
+ export interface BoxplotChartProps extends BoxplotChartPropsPreact {
7
+ }
2
8
  /**
3
9
  * A Vue component representing data in a way that visually describes the distribution, variability,
4
10
  * and center of a data set along an axis.
@@ -1,4 +1,6 @@
1
1
  import { type PropType } from 'vue';
2
+ import { type ChartProps } from '@sisense/sdk-ui-preact';
3
+ export { ChartProps };
2
4
  /**
3
5
  * A Vue component used for easily switching chart types or rendering multiple series of different chart types.
4
6
  *
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { ColumnChartProps as ColumnChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!ColumnChart | `ColumnChart`} component.
5
+ */
6
+ export interface ColumnChartProps extends ColumnChartPropsPreact {
7
+ }
2
8
  /**
3
9
  * A Vue component representing categorical data with vertical rectangular bars
4
10
  * whose heights are proportional to the values that they represent.
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { FunnelChartProps as FunnelChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!FunnelChart | `FunnelChart`} component.
5
+ */
6
+ export interface FunnelChartProps extends FunnelChartPropsPreact {
7
+ }
2
8
  /**
3
9
  * A Vue component that wraps the FunnelChart Preact component for use in Vue applications.
4
10
  * It maintains compatibility with Vue's reactivity system while preserving the functionality of the FunnelChart.
@@ -1,18 +1,18 @@
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 { PivotTable } from './pivot-table';
10
- export { TreemapChart } from './treemap-chart';
11
- export { SunburstChart } from './sunburst-chart';
12
- export { PolarChart } from './polar-chart';
13
- export { IndicatorChart } from './indicator-chart';
14
- export { Chart } from './chart';
15
- export { BoxplotChart } from './boxplot-chart';
16
- export { AreamapChart } from './areamap-chart';
17
- export { ScattermapChart } from './scattermap-chart';
18
- export { AreaRangeChart } from './area-range-chart';
1
+ export { AreaChart, type AreaChartProps } from './area-chart';
2
+ export { BarChart, type BarChartProps } from './bar-chart';
3
+ export { ColumnChart, type ColumnChartProps } from './column-chart';
4
+ export { FunnelChart, type FunnelChartProps } from './funnel-chart';
5
+ export { LineChart, type LineChartProps } from './line-chart';
6
+ export { PieChart, type PieChartProps } from './pie-chart';
7
+ export { ScatterChart, type ScatterChartProps } from './scatter-chart';
8
+ export { Table, type TableProps } from './table';
9
+ export { PivotTable, type PivotTableProps } from './pivot-table';
10
+ export { TreemapChart, type TreemapChartProps } from './treemap-chart';
11
+ export { SunburstChart, type SunburstChartProps } from './sunburst-chart';
12
+ export { PolarChart, type PolarChartProps } from './polar-chart';
13
+ export { IndicatorChart, type IndicatorChartProps } from './indicator-chart';
14
+ export { Chart, type ChartProps } from './chart';
15
+ export { BoxplotChart, type BoxplotChartProps } from './boxplot-chart';
16
+ export { AreamapChart, type AreamapChartProps } from './areamap-chart';
17
+ export { ScattermapChart, type ScattermapChartProps } from './scattermap-chart';
18
+ export { AreaRangeChart, type AreaRangeChartProps } from './area-range-chart';
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { IndicatorChartProps as IndicatorChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!IndicatorChart | `IndicatorChart`} component.
5
+ */
6
+ export interface IndicatorChartProps extends IndicatorChartPropsPreact {
7
+ }
2
8
  /**
3
9
  * A Vue component that provides various options for displaying one or two numeric values as a number, gauge or ticker.
4
10
  *
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { LineChartProps as LineChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!LineChart | `LineChart`} component.
5
+ */
6
+ export interface LineChartProps extends LineChartPropsPreact {
7
+ }
2
8
  /**
3
9
  * A Vue component that wraps the LineChart Preact component for use in Vue applications.
4
10
  * It maintains compatibility with Vue's reactivity system while preserving the functionality of the LineChart.
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { PieChartProps as PieChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!PieChart | `PieChart`} component.
5
+ */
6
+ export interface PieChartProps extends PieChartPropsPreact {
7
+ }
2
8
  /**
3
9
  * A Vue component representing data in a circular graph with the data shown as slices of a whole,
4
10
  * with each slice representing a proportion of the total.
@@ -1,4 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { PivotTableProps } from '@sisense/sdk-ui-preact';
3
+ export { PivotTableProps };
2
4
  /**
3
5
  * A Vue component for Pivot table with pagination.
4
6
  *
@@ -1,4 +1,10 @@
1
1
  import { type PropType } from 'vue';
2
+ import { type PolarChartProps as PolarChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!PolarChart | `PolarChart`} component.
5
+ */
6
+ export interface PolarChartProps extends PolarChartPropsPreact {
7
+ }
2
8
  /**
3
9
  * A Vue component comparing multiple categories/variables with a spacial perspective in a radial chart.
4
10
  *
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { ScatterChartProps as ScatterChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!ScatterChart | `ScatterChart`} component.
5
+ */
6
+ export interface ScatterChartProps extends ScatterChartPropsPreact {
7
+ }
2
8
  /**
3
9
  * A Vue component displaying the distribution of two variables on an X-Axis, Y-Axis,
4
10
  * and two additional fields of data that are shown as colored circles scattered across the chart.
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { ScattermapChartProps as ScattermapChartPropsPreqct } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!ScattermapChart | `ScattermapChart`} component.
5
+ */
6
+ export interface ScattermapChartProps extends ScattermapChartPropsPreqct {
7
+ }
2
8
  /**
3
9
  * A Vue component that wraps the ScattermapChart Preact component for use in Vue applications.
4
10
  * It maintains compatibility with Vue's reactivity system while preserving the functionality of the ScattermapChart.
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { SunburstChartProps as SunburstChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!SunburstChart | `SunburstChart`} component.
5
+ */
6
+ export interface SunburstChartProps extends SunburstChartPropsPreact {
7
+ }
2
8
  /**
3
9
  * A Vue component that wraps the SunburstChart Preact component for use in Vue applications.
4
10
  * It maintains compatibility with Vue's reactivity system while preserving the functionality of the SunburstChart.
@@ -1,4 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { TableProps } from '@sisense/sdk-ui-preact';
3
+ export { TableProps };
2
4
  /**
3
5
  * Table with aggregation and pagination.
4
6
  *
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { TreemapChartProps as TreemapChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!TreemapChart | `TreemapChart`} component.
5
+ */
6
+ export interface TreemapChartProps extends TreemapChartPropsPreact {
7
+ }
2
8
  /**
3
9
  * A Vue component displaying hierarchical data in the form of nested rectangles.
4
10
  *
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { ContextMenuProps as ContextMenuPropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!ContextMenu | `ContextMenu`} component.
5
+ */
6
+ export interface ContextMenuProps extends Omit<ContextMenuPropsPreact, 'children'> {
7
+ }
2
8
  /**
3
9
  * `ContextMenu` component from the `@sisense/sdk-ui-vue` package.
4
10
  * This component provides a context menu that can be customized with different items and sections.
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { DashboardByIdProps as DashboardByIdPropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!DashboardById | `DashboardById`} component.
5
+ */
6
+ export interface DashboardByIdProps extends DashboardByIdPropsPreact {
7
+ }
2
8
  /**
3
9
  * A component used for easily rendering a dashboard by its ID in a Sisense Fusion instance.
4
10
  *
@@ -1,4 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { DashboardProps } from '@sisense/sdk-ui-preact';
3
+ export { DashboardProps };
2
4
  /**
3
5
  * A component used for easily rendering a dashboard.
4
6
  *
@@ -1,2 +1,2 @@
1
- export { DashboardById } from './dashboard-by-id';
2
- export { Dashboard } from './dashboard';
1
+ export { DashboardById, type DashboardByIdProps } from './dashboard-by-id';
2
+ export { Dashboard, type DashboardProps } from './dashboard';
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { DrilldownBreadcrumbsProps as DrilldownBreadcrumbsPropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!DrilldownBreadcrumbs | `DrilldownBreadcrumbs`} component.
5
+ */
6
+ export interface DrilldownBreadcrumbsProps extends DrilldownBreadcrumbsPropsPreact {
7
+ }
2
8
  /**
3
9
  * `DrilldownBreadcrumbs` component from the `@sisense/sdk-ui-vue` package.
4
10
  * This component provides a way to display and interact with the drilldown path in data visualization components,
@@ -1,10 +1,21 @@
1
1
  import type { Component, PropType } from 'vue';
2
- import type { ContextMenuProps } from '@sisense/sdk-ui-preact';
2
+ import type { ContextMenuProps, DrilldownWidgetProps as DrilldownWidgetPropsPreact } from '@sisense/sdk-ui-preact';
3
3
  export type DrilldownWidgetConfig = {
4
4
  isBreadcrumbsDetached?: boolean;
5
5
  breadcrumbsComponent?: Component;
6
6
  contextMenuComponent?: (props: ContextMenuProps) => Component;
7
7
  };
8
+ /**
9
+ * Props of the {@link @sisense/sdk-ui-vue!DrilldownWidget | `DrilldownWidget`} component.
10
+ */
11
+ export interface DrilldownWidgetProps extends Omit<DrilldownWidgetPropsPreact, 'children' | 'config'> {
12
+ /**
13
+ * {@inheritDoc @sisense/sdk-ui!DrilldownWidgetProps.config}
14
+ *
15
+ * @category Widget
16
+ */
17
+ config?: DrilldownWidgetConfig;
18
+ }
8
19
  /**
9
20
  * Vue component designed to add drilldown functionality to any type of chart
10
21
  *
@@ -184,8 +195,8 @@ export declare const DrilldownWidgetTs: import("vue").DefineComponent<{
184
195
  default: () => {};
185
196
  };
186
197
  }>>, {
198
+ config: DrilldownWidgetConfig;
187
199
  drilldownDimensions: import("@sisense/sdk-data").Attribute[] | undefined;
188
200
  drilldownPaths: (import("@sisense/sdk-data").Attribute | import("@sisense/sdk-ui-preact").Hierarchy)[] | undefined;
189
201
  initialDimension: import("@sisense/sdk-data").Attribute;
190
- config: DrilldownWidgetConfig;
191
202
  }, {}>;
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { CriteriaFilterTileProps as CriteriaFilterTilePropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!CriteriaFilterTile | `CriteriaFilterTile`} component.
5
+ */
6
+ export interface CriteriaFilterTileProps extends CriteriaFilterTilePropsPreact {
7
+ }
2
8
  /**
3
9
  * UI component that allows the user to filter numeric or text attributes according to
4
10
  * a number of built-in operations defined in the numeric filter, text filter, or ranking filter.
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { DateRangeFilterTileProps as DateRangeFilterTilePropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!DateRangeFilterTile | `DateRangeFilterTile`} component.
5
+ */
6
+ export interface DateRangeFilterTileProps extends DateRangeFilterTilePropsPreact {
7
+ }
2
8
  /**
3
9
  * Date Range Filter Tile component for filtering data by date range.
4
10
  *
@@ -1,4 +1,4 @@
1
- export { DateRangeFilterTile } from './date-range-filter-tile';
2
- export { MemberFilterTile } from './member-filter-tile';
3
- export { CriteriaFilterTile } from './criteria-filter-tile';
4
- export { RelativeDateFilterTile } from './relative-date-filter-tile';
1
+ export { DateRangeFilterTile, type DateRangeFilterTileProps } from './date-range-filter-tile';
2
+ export { MemberFilterTile, type MemberFilterTileProps } from './member-filter-tile';
3
+ export { CriteriaFilterTile, type CriteriaFilterTileProps } from './criteria-filter-tile';
4
+ export { RelativeDateFilterTile, type RelativeDateFilterTileProps, } from './relative-date-filter-tile';
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { MemberFilterTileProps as MemberFilterTilePropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!MemberFilterTile | `MemberFilterTile`} component.
5
+ */
6
+ export interface MemberFilterTileProps extends MemberFilterTilePropsPreact {
7
+ }
2
8
  /**
3
9
  * UI component that allows the user to select members to include/exclude in a
4
10
  * filter. A query is executed against the provided data source to fetch
@@ -1,4 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { RelativeDateFilterTileProps as RelativeDateFilterTilePropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Props of the {@link @sisense/sdk-ui-vue!RelativeDateFilterTile | `RelativeDateFilterTile`} component.
5
+ */
6
+ export interface RelativeDateFilterTileProps extends RelativeDateFilterTilePropsPreact {
7
+ }
2
8
  /**
3
9
  * Relative Date Filter Tile component for filtering data by relative date.
4
10
  *
@@ -1,5 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { PropType } from 'vue';
3
+ import type { ChartWidgetProps } from '@sisense/sdk-ui-preact';
4
+ export { ChartWidgetProps };
3
5
  /**
4
6
  * The Chart Widget component extending the {@link Chart} component to support widget style options.
5
7
  * It can be used along with the {@link DrilldownWidget} component to support advanced data drilldown.
@@ -1,5 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  import type { PropType } from 'vue';
3
+ import type { DashboardWidgetProps as DashboardWidgetPropsPreact } from '@sisense/sdk-ui-preact';
4
+ /**
5
+ * Props of the {@link @sisense/sdk-ui-vue!DashboardWidget | `DashboardWidget`} component.
6
+ *
7
+ * @deprecated Use {@link @sisense/sdk-ui-vue!WidgetById | `WidgetById`} and {@link @sisense/sdk-ui-vue!WidgetByIdProps | `WidgetByIdProps`} instead
8
+ */
9
+ export interface DashboardWidgetProps extends DashboardWidgetPropsPreact {
10
+ }
3
11
  /**
4
12
  * The Dashboard Widget component, which is a thin wrapper on the {@link ChartWidget} component,
5
13
  * used to render a widget created in the Sisense instance.
@@ -23,6 +31,7 @@ import type { PropType } from 'vue';
23
31
  * </script>
24
32
  * ```
25
33
  * @group Fusion Assets
34
+ * @deprecated use the WidgetById component instead
26
35
  * @fusionEmbed
27
36
  */
28
37
  export declare const DashboardWidget: import("vue").DefineComponent<{
@@ -1,4 +1,4 @@
1
- export { ChartWidget } from './chart-widget';
2
- export { DashboardWidget } from './dashboard-widget';
3
- export { WidgetById } from './widget-by-id';
4
- export { TableWidget } from './table-widget';
1
+ export { ChartWidget, type ChartWidgetProps } from './chart-widget';
2
+ export { DashboardWidget, type DashboardWidgetProps } from './dashboard-widget';
3
+ export { WidgetById, type WidgetByIdProps } from './widget-by-id';
4
+ export { TableWidget, type TableWidgetProps } from './table-widget';
@@ -1,5 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { type Prop } from 'vue';
3
+ import { type TableWidgetProps } from '@sisense/sdk-ui-preact';
4
+ export { TableWidgetProps };
3
5
  /**
4
6
  * The TableWidget component extending the Table component to support widget style options.
5
7
  *
@@ -1,5 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  import type { PropType } from 'vue';
3
+ import type { WidgetByIdProps as WidgetByIdPropsPreact } from '@sisense/sdk-ui-preact';
4
+ /**
5
+ * Props of the {@link @sisense/sdk-ui-vue!WidgetById | `WidgetById`} component.
6
+ */
7
+ export interface WidgetByIdProps extends WidgetByIdPropsPreact {
8
+ }
3
9
  /**
4
10
  * The `WidgetById` component, which is a thin wrapper on the {@link ChartWidget} component,
5
11
  * used to render a widget created in the Sisense instance.
@@ -2,7 +2,7 @@
2
2
  * @internal
3
3
  */
4
4
  export declare const usePlugins: () => {
5
- pluginMap: Map<string, import("@sisense/sdk-ui").PluginComponent> & Omit<Map<string, import("@sisense/sdk-ui").PluginComponent>, keyof Map<any, any>>;
6
- registerPlugin: (pluginType: string, plugin: import("@sisense/sdk-ui").PluginComponent) => void;
7
- getPlugin: (pluginType: string) => import("@sisense/sdk-ui").PluginComponent | undefined;
5
+ pluginMap: Map<string, import("@sisense/sdk-ui").PluginComponent<import("@sisense/sdk-ui").PluginComponentProps<import("@sisense/sdk-ui").GenericDataOptions, any>>> & Omit<Map<string, import("@sisense/sdk-ui").PluginComponent<import("@sisense/sdk-ui").PluginComponentProps<import("@sisense/sdk-ui").GenericDataOptions, any>>>, keyof Map<any, any>>;
6
+ registerPlugin: (pluginType: string, plugin: import("@sisense/sdk-ui").PluginComponent<import("@sisense/sdk-ui").PluginComponentProps<import("@sisense/sdk-ui").GenericDataOptions, any>>) => void;
7
+ getPlugin: (pluginType: string) => import("@sisense/sdk-ui").PluginComponent<import("@sisense/sdk-ui").PluginComponentProps<import("@sisense/sdk-ui").GenericDataOptions, any>> | undefined;
8
8
  };
@@ -1,4 +1,4 @@
1
- export { DrilldownBreadcrumbs } from './components/drilldown-breadcrumbs';
1
+ export { DrilldownBreadcrumbs, type DrilldownBreadcrumbsProps, } from './components/drilldown-breadcrumbs';
2
2
  export * from './components/charts';
3
3
  export * from './components/filters';
4
4
  export * from './providers';
@@ -6,6 +6,7 @@ export * from './composables';
6
6
  export * from './components/context-menu';
7
7
  export * from './types';
8
8
  export { default as DrilldownWidget } from './components/drilldown-widget.vue';
9
+ export { type DrilldownWidgetProps } from './components/drilldown-widget';
9
10
  export * from './sdk-ui-core-exports';
10
11
  export * from './components/widgets';
11
12
  export * from './components/dashboard';
@@ -1,3 +1,3 @@
1
- export { SisenseContextProvider, createSisenseContextConnector, getSisenseContext, } from './sisense-context-provider';
2
- export { ThemeProvider, createThemeContextConnector } from './theme-provider';
1
+ export { SisenseContextProvider, createSisenseContextConnector, getSisenseContext, type SisenseContextProviderProps, } from './sisense-context-provider';
2
+ export { ThemeProvider, type ThemeProviderProps, createThemeContextConnector, } from './theme-provider';
3
3
  export { PluginsProvider, createPluginsContextConnector } from './plugins-provider';
@@ -6,9 +6,9 @@ import type { CustomPluginsContext } from '@sisense/sdk-ui-preact';
6
6
  * @group Contexts
7
7
  */
8
8
  export declare const getPluginsContext: () => Ref<{
9
- pluginMap: Map<string, import("@sisense/sdk-ui-preact").PluginComponent> & Omit<Map<string, import("@sisense/sdk-ui-preact").PluginComponent>, keyof Map<any, any>>;
10
- registerPlugin: (pluginType: string, plugin: import("@sisense/sdk-ui-preact").PluginComponent) => void;
11
- getPlugin: (pluginType: string) => import("@sisense/sdk-ui-preact").PluginComponent | undefined;
9
+ pluginMap: Map<string, import("@sisense/sdk-ui-preact").PluginComponent<import("@sisense/sdk-ui-preact").PluginComponentProps<import("@sisense/sdk-ui-preact").GenericDataOptions, any>>> & Omit<Map<string, import("@sisense/sdk-ui-preact").PluginComponent<import("@sisense/sdk-ui-preact").PluginComponentProps<import("@sisense/sdk-ui-preact").GenericDataOptions, any>>>, keyof Map<any, any>>;
10
+ registerPlugin: (pluginType: string, plugin: import("@sisense/sdk-ui-preact").PluginComponent<import("@sisense/sdk-ui-preact").PluginComponentProps<import("@sisense/sdk-ui-preact").GenericDataOptions, any>>) => void;
11
+ getPlugin: (pluginType: string) => import("@sisense/sdk-ui-preact").PluginComponent<import("@sisense/sdk-ui-preact").PluginComponentProps<import("@sisense/sdk-ui-preact").GenericDataOptions, any>> | undefined;
12
12
  }>;
13
13
  /**
14
14
  * Creates plugins context connector
@@ -18,7 +18,7 @@ export declare const getPluginsContext: () => Ref<{
18
18
  */
19
19
  export declare const createPluginsContextConnector: (context: CustomPluginsContext) => {
20
20
  prepareContext(): Promise<CustomPluginsContext>;
21
- renderContextProvider: (contextData: CustomPluginsContext, children: import("preact").VNode<{}>, error?: Error | undefined) => import("preact").VNode<{}>;
21
+ renderContextProvider: (contextData: CustomPluginsContext<any>, children: import("preact").VNode<{}>, error?: Error | undefined) => import("preact").VNode<{}>;
22
22
  };
23
23
  /**
24
24
  * Provider for working with plugins fetched from an external environment.
@@ -1,5 +1,17 @@
1
1
  import type { PropType, Ref } from 'vue';
2
+ import type { SisenseContextProviderProps as SisenseContextProviderPropsPreact } from '@sisense/sdk-ui-preact';
2
3
  import { type CustomSisenseContext } from '@sisense/sdk-ui-preact';
4
+ /**
5
+ * Configurations and authentication for Sisense Context.
6
+ *
7
+ * Use one of the following to authenticate:
8
+ *
9
+ * - {@link @sisense/sdk-ui-vue!SisenseContextProviderProps.ssoEnabled | `ssoEnabled`}
10
+ * - {@link @sisense/sdk-ui-vue!SisenseContextProviderProps.token | `token`}
11
+ * - {@link @sisense/sdk-ui-vue!SisenseContextProviderProps.wat | `wat`}
12
+ */
13
+ export interface SisenseContextProviderProps extends SisenseContextProviderPropsPreact {
14
+ }
3
15
  /**
4
16
  * Gets Sisense application
5
17
  * @internal
@@ -1,5 +1,10 @@
1
1
  import type { PropType, Ref } from 'vue';
2
- import type { CompleteThemeSettings } from '@sisense/sdk-ui-preact';
2
+ import type { CompleteThemeSettings, ThemeProviderProps as ThemeProviderPropsPreact } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * {@inheritDoc @sisense/sdk-ui!ThemeProviderProps}
5
+ */
6
+ export interface ThemeProviderProps extends Omit<ThemeProviderPropsPreact, 'children'> {
7
+ }
3
8
  /**
4
9
  * Gets Theme context
5
10
  */
@@ -1,6 +1,2 @@
1
1
  export { boxWhiskerProcessResult, widgetModelTranslator, dashboardModelTranslator, dashboardHelpers, } 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, AreaRangeChartProps, MemberFilterTileProps, CriteriaFilterTileProps, DateRangeFilterTileProps, RelativeDateFilterTileProps, ChartWidgetProps, TableWidgetProps, TableProps, PivotTableProps, DrilldownBreadcrumbsProps, BoxplotChartProps, AreamapChartProps, ScattermapChartProps, SisenseContextProviderProps, DashboardWidgetProps, WidgetByIdProps, DashboardProps, WidgetProps, ExecuteQueryByWidgetIdParams, ExecuteQueryParams, GetWidgetModelParams, GetSharedFormulaParams, GetDashboardModelParams, UseGetSharedFormulaParams, GetDashboardModelsParams, GetHierarchyModelsParams, 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, PivotRowsSort, ChartStyleOptions, LineStyleOptions, AreaStyleOptions, StackableStyleOptions, PieStyleOptions, FunnelStyleOptions, PolarStyleOptions, IndicatorStyleOptions, NumericSimpleIndicatorStyleOptions, NumericBarIndicatorStyleOptions, GaugeIndicatorStyleOptions, ScatterStyleOptions, TreemapStyleOptions, SunburstStyleOptions, BoxplotStyleOptions, ScattermapStyleOptions, AreamapStyleOptions, ChartWidgetStyleOptions, WidgetStyleOptions, DashboardWidgetStyleOptions, WidgetByIdStyleOptions, TableStyleOptions, PivotTableStyleOptions, AreaRangeStyleOptions, DataLimits, Legend, Markers, Labels, IndicatorComponents, ScatterMarkerSize, LineWidth, AxisLabel, Convolution, SeriesLabels, X2Title, ScattermapMarkers, WidgetModel, DashboardModel, BeforeRenderHandler, DataPoint, ScatterDataPoint, HighchartsOptions, BoxplotDataPoint, IndicatorBeforeRenderHandler, IndicatorRenderOptions, DashboardLayoutOptions, DashboardConfig, WidgetsPanelLayout, WidgetsPanelColumnLayout, WidgetId, WidgetsOptions, AppConfig, DateConfig, MenuItemSection, MonthOfYear, DayOfWeek, DateLevel, ThemeOid, GetDashboardModelOptions, GetDashboardModelsOptions, SeriesChartType, MenuPosition, ThemeSettings, Color, ColorPaletteTheme, Navigator, DrilldownOptions, DrilldownSelection, Member, FilterVariant, CriteriaFilterType, } from '@sisense/sdk-ui-preact';
3
- import type { ContextMenuProps as ContextMenuPropsPreact, ThemeProviderProps as ThemeProviderPropsPreact, DashboardByIdProps as DashboardByIdPropsPreact } from '@sisense/sdk-ui-preact';
4
- export type ContextMenuProps = Omit<ContextMenuPropsPreact, 'children'>;
5
- export type ThemeProviderProps = Omit<ThemeProviderPropsPreact, 'children'>;
6
- export type DashboardByIdProps = Omit<DashboardByIdPropsPreact, 'persist'>;
2
+ export type { ChartType, CartesianChartType, CategoricalChartType, ScatterChartType, IndicatorChartType, BoxplotChartType, ScattermapChartType, AreamapChartType, TableType, AreaSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, BoxplotSubtype, WidgetType, CartesianWidgetType, CategoricalWidgetType, TabularWidgetType, CommonWidgetProps, WidgetProps, ExecuteQueryByWidgetIdParams, ExecuteQueryParams, GetWidgetModelParams, GetSharedFormulaParams, GetDashboardModelParams, UseGetSharedFormulaParams, GetDashboardModelsParams, GetHierarchyModelsParams, 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, PivotRowsSort, ChartStyleOptions, LineStyleOptions, AreaStyleOptions, StackableStyleOptions, PieStyleOptions, FunnelStyleOptions, PolarStyleOptions, IndicatorStyleOptions, NumericSimpleIndicatorStyleOptions, NumericBarIndicatorStyleOptions, GaugeIndicatorStyleOptions, ScatterStyleOptions, TreemapStyleOptions, SunburstStyleOptions, BoxplotStyleOptions, ScattermapStyleOptions, AreamapStyleOptions, ChartWidgetStyleOptions, WidgetStyleOptions, DashboardWidgetStyleOptions, WidgetByIdStyleOptions, TableStyleOptions, PivotTableStyleOptions, AreaRangeStyleOptions, DataLimits, Legend, Markers, Labels, IndicatorComponents, ScatterMarkerSize, LineWidth, AxisLabel, Convolution, SeriesLabels, X2Title, ScattermapMarkers, WidgetModel, DashboardModel, BeforeRenderHandler, DataPoint, ScatterDataPoint, HighchartsOptions, BoxplotDataPoint, IndicatorBeforeRenderHandler, IndicatorRenderOptions, DashboardLayoutOptions, DashboardConfig, WidgetsPanelLayout, WidgetsPanelColumnLayout, WidgetId, WidgetsOptions, AppConfig, DateConfig, MenuItemSection, MonthOfYear, DayOfWeek, DateLevel, ThemeOid, GetDashboardModelOptions, GetDashboardModelsOptions, SeriesChartType, MenuPosition, ThemeSettings, Color, ColorPaletteTheme, Navigator, DrilldownOptions, DrilldownSelection, Member, FilterVariant, CriteriaFilterType, } from '@sisense/sdk-ui-preact';
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "Sisense",
12
12
  "Compose SDK"
13
13
  ],
14
- "version": "1.31.0",
14
+ "version": "1.32.0",
15
15
  "type": "module",
16
16
  "main": "./dist/index.cjs",
17
17
  "module": "./dist/index.js",
@@ -42,7 +42,7 @@
42
42
  "format:check": "prettier --check ."
43
43
  },
44
44
  "dependencies": {
45
- "@sisense/sdk-ui-preact": "^1.31.0",
45
+ "@sisense/sdk-ui-preact": "^1.32.0",
46
46
  "deepmerge": "^4.3.1",
47
47
  "lodash-es": "^4.17.21",
48
48
  "vue": "^3.3.2"