@sisense/sdk-ui-vue 2.39.0 → 2.40.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 (95) hide show
  1. package/dist/ai.cjs +1 -1
  2. package/dist/ai.js +1 -1
  3. package/dist/index.cjs +1 -1
  4. package/dist/index.js +289 -288
  5. package/dist/src/ai/components/chatbot.d.ts +3 -0
  6. package/dist/src/ai/components/get-nlg-insights.d.ts +3 -0
  7. package/dist/src/ai/composables/use-get-nlg-insights.d.ts +5 -0
  8. package/dist/src/ai/composables/use-get-nlq-result.d.ts +4 -0
  9. package/dist/src/ai/composables/use-get-query-recommendations.d.ts +6 -0
  10. package/dist/src/ai/helpers/context-connectors/ai-context-connector.d.ts +0 -1
  11. package/dist/src/ai/index.d.ts +4 -4
  12. package/dist/src/ai/providers/ai-context-provider/ai-context-provider.d.ts +3 -0
  13. package/dist/src/ai/providers/ai-context-provider/ai-context.d.ts +0 -1
  14. package/dist/src/ai/public-api/beta.d.ts +6 -0
  15. package/dist/src/ai/public-api/index.d.ts +5 -0
  16. package/dist/src/ai/public-api/public.d.ts +9 -0
  17. package/dist/src/components/charts/area-chart.d.ts +3 -0
  18. package/dist/src/components/charts/area-range-chart.d.ts +3 -0
  19. package/dist/src/components/charts/areamap-chart.d.ts +3 -0
  20. package/dist/src/components/charts/bar-chart.d.ts +3 -0
  21. package/dist/src/components/charts/boxplot-chart.d.ts +3 -0
  22. package/dist/src/components/charts/calendar-heatmap-chart.d.ts +3 -0
  23. package/dist/src/components/charts/chart.d.ts +1 -0
  24. package/dist/src/components/charts/column-chart.d.ts +3 -0
  25. package/dist/src/components/charts/funnel-chart.d.ts +3 -0
  26. package/dist/src/components/charts/indicator-chart.d.ts +3 -0
  27. package/dist/src/components/charts/kpi-chart.d.ts +3 -0
  28. package/dist/src/components/charts/line-chart.d.ts +3 -0
  29. package/dist/src/components/charts/pie-chart.d.ts +3 -0
  30. package/dist/src/components/charts/pivot-table.d.ts +1 -0
  31. package/dist/src/components/charts/polar-chart.d.ts +3 -0
  32. package/dist/src/components/charts/sankey-chart.d.ts +3 -0
  33. package/dist/src/components/charts/scatter-chart.d.ts +3 -0
  34. package/dist/src/components/charts/scattermap-chart.d.ts +3 -0
  35. package/dist/src/components/charts/streamgraph-chart.d.ts +3 -0
  36. package/dist/src/components/charts/sunburst-chart.d.ts +3 -0
  37. package/dist/src/components/charts/table.d.ts +1 -0
  38. package/dist/src/components/charts/treemap-chart.d.ts +3 -0
  39. package/dist/src/components/context-menu.d.ts +3 -0
  40. package/dist/src/components/dashboard/dashboard-by-id.d.ts +5 -0
  41. package/dist/src/components/dashboard/dashboard-header-config.d.ts +10 -0
  42. package/dist/src/components/dashboard/dashboard-model.d.ts +1 -0
  43. package/dist/src/components/dashboard/dashboard.d.ts +5 -0
  44. package/dist/src/components/drilldown-breadcrumbs.d.ts +3 -0
  45. package/dist/src/components/drilldown-widget.d.ts +2 -0
  46. package/dist/src/components/filters/criteria-filter-tile.d.ts +3 -0
  47. package/dist/src/components/filters/date-range-filter-tile.d.ts +3 -0
  48. package/dist/src/components/filters/filter-tile.d.ts +3 -0
  49. package/dist/src/components/filters/filters-panel.d.ts +3 -0
  50. package/dist/src/components/filters/member-filter-tile.d.ts +3 -0
  51. package/dist/src/components/widgets/chart-widget.d.ts +3 -0
  52. package/dist/src/components/widgets/widget-by-id.d.ts +3 -0
  53. package/dist/src/components/widgets/widget-config.d.ts +10 -0
  54. package/dist/src/components/widgets/widget-header-config.d.ts +2 -0
  55. package/dist/src/components/widgets/widget-model.d.ts +1 -0
  56. package/dist/src/components/widgets/widget.d.ts +7 -0
  57. package/dist/src/composables/use-composed-dashboard.d.ts +2 -0
  58. package/dist/src/composables/use-custom-widgets.d.ts +3 -0
  59. package/dist/src/composables/use-execute-csv-query.d.ts +1 -0
  60. package/dist/src/composables/use-execute-custom-widget-query.d.ts +3 -0
  61. package/dist/src/composables/use-execute-pivot-query.d.ts +1 -0
  62. package/dist/src/composables/use-execute-query-by-widget-id.d.ts +1 -0
  63. package/dist/src/composables/use-execute-query.d.ts +1 -0
  64. package/dist/src/composables/use-fetch.d.ts +3 -0
  65. package/dist/src/composables/use-get-dashboard-model.d.ts +1 -0
  66. package/dist/src/composables/use-get-dashboard-models.d.ts +1 -0
  67. package/dist/src/composables/use-get-data-source-dimensions.d.ts +1 -0
  68. package/dist/src/composables/use-get-filter-members.d.ts +1 -0
  69. package/dist/src/composables/use-get-hierarchy-models.d.ts +1 -0
  70. package/dist/src/composables/use-get-shared-formula.d.ts +1 -0
  71. package/dist/src/composables/use-get-widget-model.d.ts +1 -0
  72. package/dist/src/composables/use-jtd-widget.d.ts +4 -0
  73. package/dist/src/composables/use-tracking.d.ts +0 -2
  74. package/dist/src/helpers/component-translator.d.ts +0 -7
  75. package/dist/src/helpers/context-connectors/custom-widgets-context-connector.d.ts +0 -1
  76. package/dist/src/helpers/context-connectors/plugin-context-connector.d.ts +0 -1
  77. package/dist/src/helpers/context-connectors/sisense-context-connector.d.ts +0 -1
  78. package/dist/src/helpers/context-connectors/theme-context-connector.d.ts +0 -1
  79. package/dist/src/helpers/setup-helper.d.ts +0 -4
  80. package/dist/src/helpers/vue-component-adapter.d.ts +0 -4
  81. package/dist/src/lib.d.ts +4 -13
  82. package/dist/src/providers/sisense-context-provider/sisense-context-provider.d.ts +3 -0
  83. package/dist/src/providers/theme-provider/theme-provider.d.ts +3 -0
  84. package/dist/src/public-api/alpha.d.ts +6 -0
  85. package/dist/src/public-api/beta.d.ts +7 -0
  86. package/dist/src/public-api/index.d.ts +7 -0
  87. package/dist/src/public-api/internal.d.ts +7 -0
  88. package/dist/src/public-api/public.d.ts +43 -0
  89. package/dist/src/types/maybe-ref.d.ts +3 -0
  90. package/dist/use-tracking-3f5321a8.js +541 -0
  91. package/dist/use-tracking-d839ab35.cjs +1 -0
  92. package/package.json +4 -3
  93. package/dist/src/utilities/index.d.ts +0 -23
  94. package/dist/use-tracking-69d1703f.cjs +0 -1
  95. package/dist/use-tracking-fa308ec8.js +0 -528
@@ -2,6 +2,8 @@ import type { DrilldownBreadcrumbsProps as DrilldownBreadcrumbsPropsPreact } fro
2
2
  import type { PropType } from 'vue';
3
3
  /**
4
4
  * Props of the {@link @sisense/sdk-ui-vue!DrilldownBreadcrumbs | `DrilldownBreadcrumbs`} component.
5
+ *
6
+ * @public
5
7
  */
6
8
  export interface DrilldownBreadcrumbsProps extends DrilldownBreadcrumbsPropsPreact {
7
9
  }
@@ -42,6 +44,7 @@ export interface DrilldownBreadcrumbsProps extends DrilldownBreadcrumbsPropsPrea
42
44
  * ```
43
45
  *
44
46
  * @group Drilldown
47
+ * @public
45
48
  */
46
49
  export declare const DrilldownBreadcrumbs: import("vue").DefineComponent<{
47
50
  /**
@@ -7,6 +7,8 @@ export type DrilldownWidgetConfig = {
7
7
  };
8
8
  /**
9
9
  * Props of the {@link @sisense/sdk-ui-vue!DrilldownWidget | `DrilldownWidget`} component.
10
+ *
11
+ * @public
10
12
  */
11
13
  export interface DrilldownWidgetProps extends Omit<DrilldownWidgetPropsPreact, 'children' | 'config'> {
12
14
  /**
@@ -2,6 +2,8 @@ import type { CriteriaFilterTileProps as CriteriaFilterTilePropsPreact } from '@
2
2
  import type { PropType } from 'vue';
3
3
  /**
4
4
  * Props of the {@link @sisense/sdk-ui-vue!CriteriaFilterTile | `CriteriaFilterTile`} component.
5
+ *
6
+ * @public
5
7
  */
6
8
  export interface CriteriaFilterTileProps extends CriteriaFilterTilePropsPreact {
7
9
  }
@@ -41,6 +43,7 @@ export interface CriteriaFilterTileProps extends CriteriaFilterTilePropsPreact {
41
43
  * @param props - Criteria filter tile props
42
44
  * @returns Criteria filter tile component
43
45
  * @group Filter Tiles
46
+ * @public
44
47
  */
45
48
  export declare const CriteriaFilterTile: import("vue").DefineComponent<{
46
49
  /**
@@ -2,6 +2,8 @@ import type { DateRangeFilterTileProps as DateRangeFilterTilePropsPreact } from
2
2
  import type { PropType } from 'vue';
3
3
  /**
4
4
  * Props of the {@link @sisense/sdk-ui-vue!DateRangeFilterTile | `DateRangeFilterTile`} component.
5
+ *
6
+ * @public
5
7
  */
6
8
  export interface DateRangeFilterTileProps extends DateRangeFilterTilePropsPreact {
7
9
  }
@@ -43,6 +45,7 @@ export interface DateRangeFilterTileProps extends DateRangeFilterTilePropsPreact
43
45
  * @param props - DateRangeFilterTile props
44
46
  * @returns DateRangeFilterTile component
45
47
  * @group Filter Tiles
48
+ * @public
46
49
  */
47
50
  export declare const DateRangeFilterTile: import("vue").DefineComponent<{
48
51
  /**
@@ -5,6 +5,8 @@ import type { PropType } from 'vue';
5
5
  export { FilterTileMenuTargets, type FilterTileActionsConfig, type FilterTileConfig, type FilterTileHeaderConfig, type FilterTileMenuActionItem, type FilterTileMenuConfig, type FilterTileMenuItem, type FilterTileMenuSubmenuItem, type FilterTileMenuTarget, };
6
6
  /**
7
7
  * Props of the {@link @sisense/sdk-ui-vue!FilterTile | `FilterTile`} component.
8
+ *
9
+ * @public
8
10
  */
9
11
  export interface FilterTileProps extends FilterTilePropsPreact {
10
12
  }
@@ -37,6 +39,7 @@ const handleFilterChange = (updatedFilter: Filter | null) => {
37
39
  * @returns FilterTile component
38
40
  * @group Filter Tiles
39
41
  * @shortDescription Facade component rendering a filter tile based on filter type
42
+ * @public
40
43
  */
41
44
  export declare const FilterTile: import("vue").DefineComponent<{
42
45
  /**
@@ -4,6 +4,8 @@ import type { PropType } from 'vue';
4
4
  export type { FiltersPanelConfig };
5
5
  /**
6
6
  * Props of the {@link @sisense/sdk-ui-vue!FiltersPanel | `FiltersPanel`} component.
7
+ *
8
+ * @public
7
9
  */
8
10
  export interface FiltersPanelProps extends FiltersPanelPropsPreact {
9
11
  }
@@ -42,6 +44,7 @@ const handleFiltersChange = (updatedFilters: Filter[] | FilterRelations) => {
42
44
  * @returns FiltersPanel component
43
45
  *
44
46
  * @group Filter Tiles
47
+ * @public
45
48
  */
46
49
  export declare const FiltersPanel: import("vue").DefineComponent<{
47
50
  /**
@@ -2,6 +2,8 @@ import type { MemberFilterTileProps as MemberFilterTilePropsPreact } from '@sise
2
2
  import type { PropType } from 'vue';
3
3
  /**
4
4
  * Props of the {@link @sisense/sdk-ui-vue!MemberFilterTile | `MemberFilterTile`} component.
5
+ *
6
+ * @public
5
7
  */
6
8
  export interface MemberFilterTileProps extends MemberFilterTilePropsPreact {
7
9
  }
@@ -45,6 +47,7 @@ export interface MemberFilterTileProps extends MemberFilterTilePropsPreact {
45
47
  * @param props - MemberFilterTile props
46
48
  * @returns MemberFilterTile component
47
49
  * @group Filter Tiles
50
+ * @public
48
51
  */
49
52
  export declare const MemberFilterTile: import("vue").DefineComponent<{
50
53
  /**
@@ -4,6 +4,8 @@ import type { PropType } from 'vue';
4
4
  import type { ChartWidgetConfig } from './widget-config';
5
5
  /**
6
6
  * Props of the {@link @sisense/sdk-ui-vue!ChartWidget | `ChartWidget`} component.
7
+ *
8
+ * @public
7
9
  */
8
10
  export interface ChartWidgetProps extends Omit<ChartWidgetPropsPreact, 'config'> {
9
11
  /**
@@ -55,6 +57,7 @@ export interface ChartWidgetProps extends Omit<ChartWidgetPropsPreact, 'config'>
55
57
  * @param props - ChartWidget properties
56
58
  * @returns ChartWidget component representing a chart type as specified in `ChartWidgetProps.`{@link ChartWidgetProps.chartType | chartType}
57
59
  * @group Dashboards
60
+ * @public
58
61
  */
59
62
  export declare const ChartWidget: import("vue").DefineComponent<{
60
63
  /**
@@ -4,6 +4,8 @@ import type { PropType } from 'vue';
4
4
  import type { WidgetConfig } from './widget-config';
5
5
  /**
6
6
  * Props of the {@link @sisense/sdk-ui-vue!WidgetById | `WidgetById`} component.
7
+ *
8
+ * @public
7
9
  */
8
10
  export interface WidgetByIdProps extends Omit<WidgetByIdPropsPreact, 'config'> {
9
11
  /**
@@ -37,6 +39,7 @@ export interface WidgetByIdProps extends Omit<WidgetByIdPropsPreact, 'config'> {
37
39
  * ```
38
40
  * @group Fusion Assets
39
41
  * @fusionEmbed
42
+ * @public
40
43
  */
41
44
  export declare const WidgetById: import("vue").DefineComponent<{
42
45
  /** @internal */
@@ -2,6 +2,8 @@ import { type ChartWidgetConfig as ChartWidgetConfigPreact, type CustomWidgetCon
2
2
  import { type WidgetHeaderConfig } from './widget-header-config';
3
3
  /**
4
4
  * Configuration of a chart widget.
5
+ *
6
+ * @public
5
7
  */
6
8
  export interface ChartWidgetConfig extends Omit<ChartWidgetConfigPreact, 'header'> {
7
9
  /**
@@ -11,6 +13,8 @@ export interface ChartWidgetConfig extends Omit<ChartWidgetConfigPreact, 'header
11
13
  }
12
14
  /**
13
15
  * Configuration of a pivot table widget.
16
+ *
17
+ * @public
14
18
  */
15
19
  export interface PivotTableWidgetConfig extends Omit<PivotTableWidgetConfigPreact, 'header'> {
16
20
  /**
@@ -20,6 +24,8 @@ export interface PivotTableWidgetConfig extends Omit<PivotTableWidgetConfigPreac
20
24
  }
21
25
  /**
22
26
  * Configuration of a custom widget.
27
+ *
28
+ * @public
23
29
  */
24
30
  export interface CustomWidgetConfig extends Omit<CustomWidgetConfigPreact, 'header'> {
25
31
  /**
@@ -29,6 +35,8 @@ export interface CustomWidgetConfig extends Omit<CustomWidgetConfigPreact, 'head
29
35
  }
30
36
  /**
31
37
  * Configuration of a text widget.
38
+ *
39
+ * @public
32
40
  */
33
41
  export interface TextWidgetConfig extends Omit<TextWidgetConfigPreact, 'header'> {
34
42
  /**
@@ -53,5 +61,7 @@ export interface FilterWidgetConfig extends Omit<FilterWidgetConfigPreact, 'head
53
61
  * Used where the widget type is not known statically, for example {@link WidgetModel.config}. When
54
62
  * the widget type is known, prefer that widget's own configuration type, which lists only the
55
63
  * options the widget supports.
64
+ *
65
+ * @public
56
66
  */
57
67
  export type WidgetConfig = ChartWidgetConfig | PivotTableWidgetConfig | CustomWidgetConfig | TextWidgetConfig | FilterWidgetConfig;
@@ -1,6 +1,8 @@
1
1
  import { type WidgetHeaderConfig as WidgetHeaderConfigPreact } from '@sisense/sdk-ui-preact';
2
2
  /**
3
3
  * Configuration for the widget header.
4
+ *
5
+ * @public
4
6
  */
5
7
  export interface WidgetHeaderConfig extends Omit<WidgetHeaderConfigPreact, 'items' | 'onBeforeRender'> {
6
8
  }
@@ -5,6 +5,7 @@ import { type WidgetConfig } from './widget-config';
5
5
  *
6
6
  * @group Fusion Assets
7
7
  * @fusionEmbed
8
+ * @public
8
9
  */
9
10
  export interface WidgetModel extends Omit<WidgetModelPreact, 'config'> {
10
11
  /**
@@ -7,6 +7,8 @@ import type { CustomWidgetConfig, FilterWidgetConfig, TextWidgetConfig } from '.
7
7
  export { WithCommonWidgetProps };
8
8
  /**
9
9
  * Props for the text widget component.
10
+ *
11
+ * @public
10
12
  */
11
13
  export interface TextWidgetProps extends Omit<TextWidgetPropsPreact, 'config'> {
12
14
  /**
@@ -18,6 +20,8 @@ export interface TextWidgetProps extends Omit<TextWidgetPropsPreact, 'config'> {
18
20
  }
19
21
  /**
20
22
  * Props for the custom widget component
23
+ *
24
+ * @public
21
25
  */
22
26
  export interface CustomWidgetProps extends Omit<CustomWidgetPropsPreact, 'config'> {
23
27
  /**
@@ -42,6 +46,8 @@ export interface FilterWidgetProps extends Omit<FilterWidgetPropsPreact, 'config
42
46
  }
43
47
  /**
44
48
  * Props of the {@link @sisense/sdk-ui-vue!Widget | `Widget`} component.
49
+ *
50
+ * @public
45
51
  */
46
52
  export type WidgetProps = SoftUnion<WithCommonWidgetProps<ChartWidgetProps, 'chart'> | WithCommonWidgetProps<PivotTableWidgetProps, 'pivot'> | WithCommonWidgetProps<TextWidgetProps, 'text'> | WithCommonWidgetProps<CustomWidgetProps, 'custom'> | WithCommonWidgetProps<FilterWidgetProps, 'filter'> | WithCommonWidgetProps<NarrativeWidgetProps, 'narrative'>>;
47
53
  /**
@@ -83,6 +89,7 @@ export type WidgetProps = SoftUnion<WithCommonWidgetProps<ChartWidgetProps, 'cha
83
89
  * ```
84
90
  * <img src="media://vue-widget-example.png" width="800px" />
85
91
  * @group Dashboards
92
+ * @public
86
93
  */
87
94
  export declare const Widget: import("vue").DefineComponent<{
88
95
  /**
@@ -3,6 +3,7 @@ import { type ComposableDashboardProps as ComposableDashboardPropsPreact, type U
3
3
  import { type Ref } from 'vue';
4
4
  import type { DashboardConfig, DashboardProps } from '../components/dashboard';
5
5
  import type { MaybeRef } from '../types';
6
+ /** @public */
6
7
  export interface ComposableDashboardProps extends Omit<ComposableDashboardPropsPreact, 'config'> {
7
8
  /**
8
9
  * {@inheritDoc @sisense/sdk-ui!DashboardProps.config}
@@ -36,6 +37,7 @@ const { dashboard } = useComposedDashboard(initialDashboardProps);
36
37
  * - `setWidgetsLayout`: API to set the layout of the widgets on the dashboard.
37
38
  *
38
39
  * @group Dashboards
40
+ * @public
39
41
  */
40
42
  export declare const useComposedDashboard: <D extends ComposableDashboardProps | DashboardProps>(initialDashboard: MaybeRef<D>, options?: UseComposedDashboardOptions) => {
41
43
  dashboard: Ref<D>;
@@ -5,6 +5,8 @@ export type { CustomWidgetComponentProps, GenericDataOptions };
5
5
  /**
6
6
  * Type representing a Vue component that can be used as a user-defined custom widget.
7
7
  * This can be a Vue component options object, a defineComponent result, or any valid Vue component.
8
+ *
9
+ * @public
8
10
  */
9
11
  export type CustomWidgetComponent<Props extends CustomWidgetComponentProps = CustomWidgetComponentProps> = Component<Props> | DefineComponent<Props>;
10
12
  /**
@@ -30,6 +32,7 @@ onUnmounted(() => unregisterCustomWidget('histogramwidget'));
30
32
  * ```
31
33
  *
32
34
  * @group Dashboards
35
+ * @public
33
36
  */
34
37
  export declare const useCustomWidgets: () => {
35
38
  /**
@@ -39,5 +39,6 @@ import type { MaybeRefOrWithRefs } from '../types';
39
39
  * This composable facilitates integrating Sisense data fetching into Vue applications, enabling developers
40
40
  * to easily manage query states and dynamically adjust query parameters based on application needs.
41
41
  * @group Queries
42
+ * @public
42
43
  */
43
44
  export declare const useExecuteCsvQuery: (params: MaybeRefOrWithRefs<ExecuteCsvQueryParams>) => import("vue").ToRefs<CsvQueryState>;
@@ -3,6 +3,8 @@ import type { MaybeRefOrWithRefs } from '../types';
3
3
  export type { CustomWidgetQueryState };
4
4
  /**
5
5
  * Parameters for executing a query for a custom widget.
6
+ *
7
+ * @public
6
8
  */
7
9
  export interface ExecuteCustomWidgetQueryParams extends ExecuteCustomWidgetQueryParamsPreact {
8
10
  }
@@ -41,5 +43,6 @@ export interface ExecuteCustomWidgetQueryParams extends ExecuteCustomWidgetQuery
41
43
  * @param params - Custom widget component props containing data source, data options, filters, etc.
42
44
  * @returns Query state object with data, loading, and error states
43
45
  * @group Queries
46
+ * @public
44
47
  */
45
48
  export declare const useExecuteCustomWidgetQuery: (params: MaybeRefOrWithRefs<ExecuteCustomWidgetQueryParams>) => import("vue").ToRefs<import("@sisense/sdk-ui-preact").QueryState>;
@@ -39,5 +39,6 @@ import type { MaybeRefOrWithRefs } from '../types';
39
39
  * This composable facilitates integrating Sisense data fetching into Vue applications, enabling developers
40
40
  * to easily manage query states and dynamically adjust query parameters based on application needs.
41
41
  * @group Queries
42
+ * @public
42
43
  */
43
44
  export declare const useExecutePivotQuery: (params: MaybeRefOrWithRefs<ExecutePivotQueryParams>) => import("vue").ToRefs<PivotQueryState>;
@@ -44,5 +44,6 @@ import type { MaybeRefOrWithRefs } from '../types';
44
44
  *
45
45
  * @group Fusion Assets
46
46
  * @fusionEmbed
47
+ * @public
47
48
  */
48
49
  export declare const useExecuteQueryByWidgetId: (params: MaybeRefOrWithRefs<ExecuteQueryByWidgetIdParams>) => ToRefs<QueryByWidgetIdState>;
@@ -44,6 +44,7 @@ import type { MaybeRefOrWithRefs } from '../types';
44
44
  * This composable facilitates integrating Sisense data fetching into Vue applications, enabling developers
45
45
  * to easily manage query states and dynamically adjust query parameters based on application needs.
46
46
  * @group Queries
47
+ * @public
47
48
  */
48
49
  export declare const useExecuteQuery: (params: MaybeRefOrWithRefs<ExecuteQueryParams>) => {
49
50
  rowCount: import("vue").Ref<number | undefined>;
@@ -4,6 +4,8 @@ import { type ToRefs } from 'vue';
4
4
  import type { MaybeRef, MaybeRefOrWithRefs } from '../types';
5
5
  /**
6
6
  * The options for the `useFetch` composable function.
7
+ *
8
+ * @public
7
9
  */
8
10
  export type UseFetchOptions = {
9
11
  /** The request configuration object. */
@@ -46,5 +48,6 @@ export type UseFetchOptions = {
46
48
  *
47
49
  * @group Fusion Assets
48
50
  * @fusionEmbed
51
+ * @public
49
52
  */
50
53
  export declare const useFetch: <TData = unknown>(path: MaybeRef<string>, init?: MaybeRefOrWithRefs<RequestInit>, options?: MaybeRefOrWithRefs<UseFetchOptions>) => ToRefs<DataState<TData>>;
@@ -55,5 +55,6 @@ import type { MaybeRefOrWithRefs } from '../types';
55
55
  * managing data fetching and state with minimal boilerplate code.
56
56
  * @group Fusion Assets
57
57
  * @fusionEmbed
58
+ * @public
58
59
  */
59
60
  export declare const useGetDashboardModel: (params: MaybeRefOrWithRefs<GetDashboardModelParams>) => import("vue").ToRefs<import("@sisense/sdk-ui-preact").DashboardModelState>;
@@ -38,5 +38,6 @@ import type { MaybeRefOrWithRefs } from '../types';
38
38
  * way to fetch and manage the state of multiple dashboard models.
39
39
  * @group Fusion Assets
40
40
  * @fusionEmbed
41
+ * @public
41
42
  */
42
43
  export declare const useGetDashboardModels: (params: MaybeRefOrWithRefs<GetDashboardModelsParams>) => import("vue").ToRefs<import("@sisense/sdk-ui-preact").DashboardModelsState>;
@@ -38,5 +38,6 @@ export type { GetDataSourceDimensionsParams, DataSourceDimensionsState, DataSour
38
38
  *
39
39
  * @group Fusion Assets
40
40
  * @fusionEmbed
41
+ * @public
41
42
  */
42
43
  export declare const useGetDataSourceDimensions: (params: MaybeRefOrWithRefs<GetDataSourceDimensionsParams>) => import("vue").ToRefs<DataSourceDimensionsState>;
@@ -42,5 +42,6 @@ export { GetFilterMembersParams, GetFilterMembersData, FilterMembersState, Filte
42
42
  * to easily manage filter member states and dynamically adjust parameters based on application needs.
43
43
  *
44
44
  * @group Filter Tiles
45
+ * @public
45
46
  */
46
47
  export declare const useGetFilterMembers: (params: MaybeRefOrWithRefs<GetFilterMembersParams>) => ToRefs<FilterMembersState>;
@@ -29,5 +29,6 @@ import type { MaybeRefOrWithRefs } from '../types';
29
29
  * developers with a reactive and efficient way to integrate Sisense data visualizations and analytics.
30
30
  * @group Fusion Assets
31
31
  * @fusionEmbed
32
+ * @public
32
33
  */
33
34
  export declare const useGetHierarchyModels: (params: MaybeRefOrWithRefs<GetHierarchyModelsParams>) => import("vue").ToRefs<import("@sisense/sdk-ui-preact/internal").DataState<HierarchyModel[]>>;
@@ -50,5 +50,6 @@ import type { MaybeRefOrWithRefs } from '../types';
50
50
  * This composable provides a streamlined, reactive approach to fetching shared formulas from Sisense, facilitating their integration into Vue applications for enhanced data analytics capabilities.
51
51
  * @group Fusion Assets
52
52
  * @fusionEmbed
53
+ * @public
53
54
  */
54
55
  export declare const useGetSharedFormula: (params: MaybeRefOrWithRefs<UseGetSharedFormulaParams>) => import("vue").ToRefs<SharedFormulaState>;
@@ -41,5 +41,6 @@ import type { MaybeRefOrWithRefs } from '../types';
41
41
  * developers with a reactive and efficient way to integrate Sisense data visualizations and analytics.
42
42
  * @group Fusion Assets
43
43
  * @fusionEmbed
44
+ * @public
44
45
  */
45
46
  export declare const useGetWidgetModel: (params: MaybeRefOrWithRefs<GetWidgetModelParams>) => import("vue").ToRefs<import("@sisense/sdk-ui-preact/internal").DataState<WidgetModel>>;
@@ -5,6 +5,8 @@ import type { MaybeRef, MaybeRefOrWithRefs } from '../types';
5
5
  /**
6
6
  * Configuration for Jump To Dashboard functionality.
7
7
  * Allows users to navigate from a widget to another dashboard with contextual filtering.
8
+ *
9
+ * @public
8
10
  */
9
11
  export interface JumpToDashboardConfig extends Omit<JumpToDashboardConfigPreact, 'targetDashboardConfig'> {
10
12
  /**
@@ -19,6 +21,7 @@ export interface JumpToDashboardConfig extends Omit<JumpToDashboardConfigPreact,
19
21
  * Used for pivot widgets, allowing to configure jumping to different dashboard from different dimensions
20
22
  *
21
23
  * @see {@link JumpToDashboardConfig}
24
+ * @public
22
25
  */
23
26
  export interface JumpToDashboardConfigForPivot extends Omit<JumpToDashboardConfigForPivotPreact, 'targetDashboardConfig'> {
24
27
  /**
@@ -108,5 +111,6 @@ export interface JumpToDashboardConfigForPivot extends Omit<JumpToDashboardConfi
108
111
  * @param config - Jump To Dashboard configuration
109
112
  * @returns Computed ref containing enhanced widget props with JTD navigation capabilities
110
113
  * @group Dashboards
114
+ * @public
111
115
  */
112
116
  export declare const useJtdWidget: (widgetProps: MaybeRef<WidgetProps | null>, config: MaybeRefOrWithRefs<JumpToDashboardConfig | JumpToDashboardConfigForPivot>) => Ref<WidgetProps | null>;
@@ -32,8 +32,6 @@
32
32
  * This internal utility composable is essential for maintaining insights into the usage of custom composables
33
33
  * within applications leveraging the Sisense SDK, enabling developers and analysts to understand and optimize
34
34
  * composable interactions and performance.
35
- *
36
- * @internal
37
35
  */
38
36
  export declare const useTracking: (composableName: string) => {
39
37
  hasTrackedRef: import("vue").Ref<boolean>;
@@ -5,15 +5,11 @@ import { type VueComponentAdapterContexts } from './vue-component-adapter';
5
5
  * A preact component. Its render output matches the preact-facing component interfaces, so a
6
6
  * component produced by {@link ComponentTranslator.toPreactComponent} can be handed to any of them
7
7
  * (custom widget map, dashboard header item, ...).
8
- *
9
- * @internal
10
8
  */
11
9
  export type PreactComponent<Props> = (props: Props) => PreactNode;
12
10
  /**
13
11
  * A Vue component: a component options object, a `defineComponent` result, or any valid Vue
14
12
  * component.
15
- *
16
- * @internal
17
13
  */
18
14
  export type VueComponent<Props> = Component<Props> | DefineComponent<Props>;
19
15
  type AnyObject = Record<string, any>;
@@ -33,8 +29,6 @@ type AnyObject = Record<string, any>;
33
29
  * The translator owns no live component instances: it produces components and adapter *factories*,
34
30
  * and each adapter is created and destroyed by the wrapper that mounts it. Both registries are
35
31
  * keyed weakly, so nothing has to be released explicitly when the host component unmounts.
36
- *
37
- * @internal
38
32
  */
39
33
  export type ComponentTranslator = ReturnType<typeof createComponentTranslator>;
40
34
  /**
@@ -42,7 +36,6 @@ export type ComponentTranslator = ReturnType<typeof createComponentTranslator>;
42
36
  *
43
37
  * @param contexts - Parent contexts provided to each Vue component adapted for preact, captured in
44
38
  * the host component's `setup`.
45
- * @internal
46
39
  */
47
40
  export declare function createComponentTranslator(contexts: VueComponentAdapterContexts): {
48
41
  /**
@@ -3,6 +3,5 @@ import type { ContextConnector, CustomWidgetsProviderAdapterProps } from '@sisen
3
3
  * Creates custom widgets context connector
4
4
  *
5
5
  * @group Contexts
6
- * @internal
7
6
  */
8
7
  export declare const createCustomWidgetsContextConnector: () => ContextConnector<CustomWidgetsProviderAdapterProps>;
@@ -1,6 +1,5 @@
1
1
  import type { ContextConnector, CustomPluginContextProviderProps } from '@sisense/sdk-ui-preact/internal';
2
2
  /**
3
3
  * Creates plugin context connector
4
- * @internal
5
4
  */
6
5
  export declare const createPluginContextConnector: () => ContextConnector<CustomPluginContextProviderProps>;
@@ -1,6 +1,5 @@
1
1
  import type { ContextConnector, CustomSisenseContextProviderProps } from '@sisense/sdk-ui-preact/internal';
2
2
  /**
3
3
  * Creates Sisense context connector
4
- * @internal
5
4
  */
6
5
  export declare const createSisenseContextConnector: () => ContextConnector<CustomSisenseContextProviderProps>;
@@ -1,6 +1,5 @@
1
1
  import type { ContextConnector, CustomThemeProviderProps } from '@sisense/sdk-ui-preact/internal';
2
2
  /**
3
3
  * Creates theme context connector
4
- * @internal
5
4
  */
6
5
  export declare const createThemeContextConnector: () => ContextConnector<CustomThemeProviderProps>;
@@ -14,16 +14,12 @@ export declare function toDeepRaw<T>(data: T): T;
14
14
  *
15
15
  * A props object is unwrapped with {@link toDeepRaw} before rendering; a getter owns that step, so
16
16
  * it can convert the already-unwrapped props.
17
- *
18
- * @internal
19
17
  */
20
18
  export declare const setupHelper: <C extends AnyComponentFunction>(component: C, props: Parameters<C>[0] | (() => Parameters<C>[0]), contextConnectors?: ContextConnector<any>[]) => (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
21
19
  [key: string]: any;
22
20
  }>) | null;
23
21
  /**
24
22
  * Renders a component with children.
25
- *
26
- * @internal
27
23
  */
28
24
  export declare const setupHelperWithChildren: <C extends AnyComponentFunction>(component: C, props: Parameters<C>[0], slots: Slots, contextConnectors?: ContextConnector<any>[]) => () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
29
25
  [key: string]: any;
@@ -5,8 +5,6 @@ type AnyObject = Record<string, any>;
5
5
  * Parent Vue contexts captured when an adapter is created and provided to the adapted component's
6
6
  * isolated Vue app, so it resolves Sisense, theme, and custom-widget context the same way it
7
7
  * would inside the host application tree.
8
- *
9
- * @internal
10
8
  */
11
9
  export type VueComponentAdapterContexts = {
12
10
  sisenseContext: Ref<CustomSisenseContext>;
@@ -21,8 +19,6 @@ export type VueComponentAdapterContexts = {
21
19
  *
22
20
  * Implements ExternalComponentAdapter interface to be compatible with
23
21
  * the ExternalComponentAdapterElement in sdk-ui-preact.
24
- *
25
- * @internal
26
22
  */
27
23
  export declare class VueComponentAdapter<Props extends AnyObject> implements ExternalComponentAdapter<Props> {
28
24
  private componentClass;
package/dist/src/lib.d.ts CHANGED
@@ -1,13 +1,4 @@
1
- export { DrilldownBreadcrumbs, type DrilldownBreadcrumbsProps, } from './components/drilldown-breadcrumbs';
2
- export * from './components/charts';
3
- export * from './components/filters';
4
- export { SisenseContextProvider, type SisenseContextProviderProps, ThemeProvider, type ThemeProviderProps, CustomWidgetsProvider, } from './providers';
5
- export * from './composables';
6
- export * from './components/context-menu';
7
- export * from './types';
8
- export { default as DrilldownWidget } from './components/drilldown-widget.vue';
9
- export { type DrilldownWidgetProps } from './components/drilldown-widget';
10
- export * from './sdk-ui-core-exports';
11
- export * from './components/widgets';
12
- export * from './components/dashboard';
13
- export * from './utilities';
1
+ /**
2
+ * Public API Surface of @sisense/sdk-ui-vue, organized by stability level in `./public-api`.
3
+ */
4
+ export * from './public-api/index';
@@ -8,6 +8,8 @@ import type { PropType } from 'vue';
8
8
  * - {@link @sisense/sdk-ui-vue!SisenseContextProviderProps.ssoEnabled | `ssoEnabled`}
9
9
  * - {@link @sisense/sdk-ui-vue!SisenseContextProviderProps.token | `token`}
10
10
  * - {@link @sisense/sdk-ui-vue!SisenseContextProviderProps.wat | `wat`}
11
+ *
12
+ * @public
11
13
  */
12
14
  export interface SisenseContextProviderProps extends Omit<SisenseContextProviderPropsPreact, 'modules'> {
13
15
  }
@@ -56,6 +58,7 @@ export interface SisenseContextProviderProps extends Omit<SisenseContextProvider
56
58
  * @param props - Sisense context provider props
57
59
  * @returns A Sisense Context Provider Component
58
60
  * @group Contexts
61
+ * @public
59
62
  */
60
63
  export declare const SisenseContextProvider: import("vue").DefineComponent<{
61
64
  /**
@@ -2,6 +2,8 @@ import type { ThemeProviderProps as ThemeProviderPropsPreact, ThemeSettings } fr
2
2
  import type { PropType } from 'vue';
3
3
  /**
4
4
  * {@inheritDoc @sisense/sdk-ui!ThemeProviderProps}
5
+ *
6
+ * @public
5
7
  */
6
8
  export interface ThemeProviderProps extends Omit<ThemeProviderPropsPreact, 'children'> {
7
9
  }
@@ -66,6 +68,7 @@ export interface ThemeProviderProps extends Omit<ThemeProviderPropsPreact, 'chil
66
68
  * @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.
67
69
  * @prop {Boolean} skipTracking [internal] - Specifies whether to skip tracking of theme usage. Intended for internal use and debugging purposes.
68
70
  * @group Contexts
71
+ * @public
69
72
  */
70
73
  export declare const ThemeProvider: import("vue").DefineComponent<{
71
74
  theme: PropType<string | ThemeSettings | undefined>;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Alpha API exports of `@sisense/sdk-ui-vue`.
3
+ *
4
+ * Alpha APIs are highly experimental and subject to change.
5
+ */
6
+ export { type HighchartsOptions } from '../sdk-ui-core-exports';
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Beta API exports of `@sisense/sdk-ui-vue`.
3
+ *
4
+ * Beta APIs are under evaluation and may change in future releases.
5
+ */
6
+ export { type FilterWidgetFilterType, type NarrativeWidgetProps, type Plugin, } from '../sdk-ui-core-exports';
7
+ export { type FilterWidgetConfig, type FilterWidgetProps } from '../components/widgets';
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Combines the tier barrels of `@sisense/sdk-ui-vue`.
3
+ */
4
+ export * from './public';
5
+ export * from './beta';
6
+ export * from './alpha';
7
+ export * from './internal';
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Internal API exports of `@sisense/sdk-ui-vue`.
3
+ *
4
+ * Root exports still tagged `@internal`; they stay here until their stability level is decided.
5
+ */
6
+ export { CustomWidgetsProvider } from '../providers';
7
+ export { type ToRefsExceptFns } from '../types';