@sisense/sdk-ui-vue 1.31.0 → 1.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai.cjs +388 -0
- package/dist/ai.d.ts +1 -0
- package/dist/ai.js +3838 -0
- package/dist/index.cjs +1 -2052
- package/dist/index.js +1702 -106235
- package/dist/packages/sdk-ui-vue/src/ai/components/chatbot.d.ts +73 -0
- package/dist/packages/sdk-ui-vue/src/ai/components/get-nlg-insights.d.ts +90 -0
- package/dist/packages/sdk-ui-vue/src/ai/components/index.d.ts +2 -0
- package/dist/packages/sdk-ui-vue/src/ai/composables/index.d.ts +3 -0
- package/dist/packages/sdk-ui-vue/src/ai/composables/use-get-nlg-insights.d.ts +45 -0
- package/dist/packages/sdk-ui-vue/src/ai/composables/use-get-nlq-result.d.ts +42 -0
- package/dist/packages/sdk-ui-vue/src/ai/composables/use-get-query-recommendations.d.ts +50 -0
- package/dist/packages/sdk-ui-vue/src/ai/index.d.ts +4 -0
- package/dist/packages/sdk-ui-vue/src/ai/providers/ai-context-provider.d.ts +60 -0
- package/dist/packages/sdk-ui-vue/src/ai/providers/index.d.ts +1 -0
- package/dist/packages/sdk-ui-vue/src/ai/sdk-ui-core-exports.d.ts +1 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/area-chart.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/area-range-chart.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/areamap-chart.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/bar-chart.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/boxplot-chart.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/chart.d.ts +6 -4
- package/dist/packages/sdk-ui-vue/src/components/charts/column-chart.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/funnel-chart.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/index.d.ts +18 -18
- package/dist/packages/sdk-ui-vue/src/components/charts/indicator-chart.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/line-chart.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/pie-chart.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/pivot-table.d.ts +2 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/polar-chart.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/scatter-chart.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/scattermap-chart.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/sunburst-chart.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/table.d.ts +2 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/treemap-chart.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/context-menu.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/dashboard/dashboard-by-id.d.ts +15 -8
- package/dist/packages/sdk-ui-vue/src/components/dashboard/dashboard.d.ts +13 -6
- package/dist/packages/sdk-ui-vue/src/components/dashboard/index.d.ts +2 -2
- package/dist/packages/sdk-ui-vue/src/components/drilldown-breadcrumbs.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/drilldown-widget.d.ts +13 -2
- package/dist/packages/sdk-ui-vue/src/components/filters/criteria-filter-tile.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/filters/date-range-filter-tile.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/filters/index.d.ts +4 -4
- package/dist/packages/sdk-ui-vue/src/components/filters/member-filter-tile.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/filters/relative-date-filter-tile.d.ts +6 -0
- package/dist/packages/sdk-ui-vue/src/components/widgets/chart-widget.d.ts +6 -4
- package/dist/packages/sdk-ui-vue/src/components/widgets/dashboard-widget.d.ts +13 -4
- package/dist/packages/sdk-ui-vue/src/components/widgets/index.d.ts +4 -4
- package/dist/packages/sdk-ui-vue/src/components/widgets/table-widget.d.ts +2 -0
- package/dist/packages/sdk-ui-vue/src/components/widgets/widget-by-id.d.ts +10 -4
- package/dist/packages/sdk-ui-vue/src/composables/use-plugins.d.ts +3 -3
- package/dist/packages/sdk-ui-vue/src/composables/use-tracking.d.ts +15 -15
- package/dist/packages/sdk-ui-vue/src/lib.d.ts +3 -1
- package/dist/packages/sdk-ui-vue/src/providers/index.d.ts +2 -2
- package/dist/packages/sdk-ui-vue/src/providers/plugins-provider.d.ts +10 -6
- package/dist/packages/sdk-ui-vue/src/providers/sisense-context-provider.d.ts +13 -4
- package/dist/packages/sdk-ui-vue/src/providers/theme-provider.d.ts +7 -11
- package/dist/packages/sdk-ui-vue/src/sdk-ui-core-exports.d.ts +2 -6
- package/dist/packages/sdk-ui-vue/src/setup-helper.d.ts +13 -1
- package/dist/packages/sdk-ui-vue/src/types/dashboard-config.d.ts +24 -0
- package/dist/packages/sdk-ui-vue/src/types/index.d.ts +2 -0
- package/dist/packages/sdk-ui-vue/src/types/maybe-ref.d.ts +14 -0
- package/dist/packages/sdk-ui-vue/src/utilities/dashboard-helpers.d.ts +105 -0
- package/dist/packages/sdk-ui-vue/src/utilities/dashboard-model-translator.d.ts +37 -0
- package/dist/packages/sdk-ui-vue/src/utilities/index.d.ts +23 -0
- package/dist/packages/sdk-ui-vue/src/utilities/widget-model-translator.d.ts +247 -0
- package/dist/use-tracking-2d715e05.js +105710 -0
- package/dist/use-tracking-bc424435.cjs +1066 -0
- package/package.json +15 -2
- package/dist/packages/sdk-ui-vue/src/types.d.ts +0 -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,15 @@
|
|
1
1
|
import type { PropType } from 'vue';
|
2
|
+
import type { DashboardByIdProps as DashboardByIdPropsPreact } from '@sisense/sdk-ui-preact';
|
3
|
+
import type { DashboardByIdConfig } from '../../types';
|
4
|
+
/**
|
5
|
+
* Props of the {@link @sisense/sdk-ui-vue!DashboardById | `DashboardById`} component.
|
6
|
+
*/
|
7
|
+
export interface DashboardByIdProps extends DashboardByIdPropsPreact {
|
8
|
+
/**
|
9
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardByIdProps.config}
|
10
|
+
*/
|
11
|
+
config?: DashboardByIdConfig;
|
12
|
+
}
|
2
13
|
/**
|
3
14
|
* A component used for easily rendering a dashboard by its ID in a Sisense Fusion instance.
|
4
15
|
*
|
@@ -31,11 +42,9 @@ export declare const DashboardById: import("vue").DefineComponent<{
|
|
31
42
|
*/
|
32
43
|
dashboardOid: PropType<string>;
|
33
44
|
/**
|
34
|
-
* {@inheritDoc @sisense/sdk-ui!DashboardByIdProps.
|
35
|
-
*
|
36
|
-
* @alpha
|
45
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardByIdProps.config}
|
37
46
|
*/
|
38
|
-
|
47
|
+
config: PropType<DashboardByIdConfig | undefined>;
|
39
48
|
}, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
40
49
|
[key: string]: any;
|
41
50
|
}>) | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -44,9 +53,7 @@ export declare const DashboardById: import("vue").DefineComponent<{
|
|
44
53
|
*/
|
45
54
|
dashboardOid: PropType<string>;
|
46
55
|
/**
|
47
|
-
* {@inheritDoc @sisense/sdk-ui!DashboardByIdProps.
|
48
|
-
*
|
49
|
-
* @alpha
|
56
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardByIdProps.config}
|
50
57
|
*/
|
51
|
-
|
58
|
+
config: PropType<DashboardByIdConfig | undefined>;
|
52
59
|
}>>, {}, {}>;
|
@@ -1,4 +1,15 @@
|
|
1
1
|
import type { PropType } from 'vue';
|
2
|
+
import type { DashboardProps as DashboardPropsPreact } from '@sisense/sdk-ui-preact';
|
3
|
+
import type { DashboardConfig } from '../../types';
|
4
|
+
/**
|
5
|
+
* Props of the {@link @sisense/sdk-ui-vue!Dashboard | `Dashboard`} component.
|
6
|
+
*/
|
7
|
+
export interface DashboardProps extends DashboardPropsPreact {
|
8
|
+
/**
|
9
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardByIdProps.config}
|
10
|
+
*/
|
11
|
+
config?: DashboardConfig;
|
12
|
+
}
|
2
13
|
/**
|
3
14
|
* A component used for easily rendering a dashboard.
|
4
15
|
*
|
@@ -49,10 +60,8 @@ export declare const Dashboard: import("vue").DefineComponent<{
|
|
49
60
|
layoutOptions: PropType<import("@sisense/sdk-ui-preact").DashboardLayoutOptions | undefined>;
|
50
61
|
/**
|
51
62
|
* {@inheritDoc @sisense/sdk-ui!DashboardProps.config}
|
52
|
-
*
|
53
|
-
* @internal
|
54
63
|
*/
|
55
|
-
config: PropType<
|
64
|
+
config: PropType<DashboardConfig | undefined>;
|
56
65
|
/**
|
57
66
|
* {@inheritDoc @sisense/sdk-ui!DashboardProps.widgets}
|
58
67
|
*/
|
@@ -86,10 +95,8 @@ export declare const Dashboard: import("vue").DefineComponent<{
|
|
86
95
|
layoutOptions: PropType<import("@sisense/sdk-ui-preact").DashboardLayoutOptions | undefined>;
|
87
96
|
/**
|
88
97
|
* {@inheritDoc @sisense/sdk-ui!DashboardProps.config}
|
89
|
-
*
|
90
|
-
* @internal
|
91
98
|
*/
|
92
|
-
config: PropType<
|
99
|
+
config: PropType<DashboardConfig | undefined>;
|
93
100
|
/**
|
94
101
|
* {@inheritDoc @sisense/sdk-ui!DashboardProps.widgets}
|
95
102
|
*/
|
@@ -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.
|
@@ -138,13 +140,13 @@ export declare const ChartWidget: import("vue").DefineComponent<{
|
|
138
140
|
*
|
139
141
|
* @category Callbacks
|
140
142
|
*/
|
141
|
-
onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").
|
143
|
+
onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | import("@sisense/sdk-ui-preact").AreamapDataPointEventHandler | import("@sisense/sdk-ui-preact").BoxplotDataPointEventHandler | import("@sisense/sdk-ui-preact").ScattermapDataPointEventHandler | undefined>;
|
142
144
|
/**
|
143
145
|
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointContextMenu}
|
144
146
|
*
|
145
147
|
* @category Callbacks
|
146
148
|
*/
|
147
|
-
onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").
|
149
|
+
onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | import("@sisense/sdk-ui-preact").BoxplotDataPointEventHandler | undefined>;
|
148
150
|
/**
|
149
151
|
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointsSelected}
|
150
152
|
*
|
@@ -260,13 +262,13 @@ export declare const ChartWidget: import("vue").DefineComponent<{
|
|
260
262
|
*
|
261
263
|
* @category Callbacks
|
262
264
|
*/
|
263
|
-
onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").
|
265
|
+
onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | import("@sisense/sdk-ui-preact").AreamapDataPointEventHandler | import("@sisense/sdk-ui-preact").BoxplotDataPointEventHandler | import("@sisense/sdk-ui-preact").ScattermapDataPointEventHandler | undefined>;
|
264
266
|
/**
|
265
267
|
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointContextMenu}
|
266
268
|
*
|
267
269
|
* @category Callbacks
|
268
270
|
*/
|
269
|
-
onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").
|
271
|
+
onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | import("@sisense/sdk-ui-preact").BoxplotDataPointEventHandler | undefined>;
|
270
272
|
/**
|
271
273
|
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointsSelected}
|
272
274
|
*
|
@@ -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<{
|
@@ -87,13 +96,13 @@ export declare const DashboardWidget: import("vue").DefineComponent<{
|
|
87
96
|
*
|
88
97
|
* @category Callbacks
|
89
98
|
*/
|
90
|
-
onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").
|
99
|
+
onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | import("@sisense/sdk-ui-preact").AreamapDataPointEventHandler | import("@sisense/sdk-ui-preact").BoxplotDataPointEventHandler | import("@sisense/sdk-ui-preact").ScattermapDataPointEventHandler | undefined>;
|
91
100
|
/**
|
92
101
|
* {@inheritDoc @sisense/sdk-ui!DashboardWidgetProps.onDataPointContextMenu}
|
93
102
|
*
|
94
103
|
* @category Callbacks
|
95
104
|
*/
|
96
|
-
onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").
|
105
|
+
onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | import("@sisense/sdk-ui-preact").BoxplotDataPointEventHandler | undefined>;
|
97
106
|
/**
|
98
107
|
* {@inheritDoc @sisense/sdk-ui!DashboardWidgetProps.onDataPointsSelected}
|
99
108
|
*
|
@@ -186,13 +195,13 @@ export declare const DashboardWidget: import("vue").DefineComponent<{
|
|
186
195
|
*
|
187
196
|
* @category Callbacks
|
188
197
|
*/
|
189
|
-
onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").
|
198
|
+
onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | import("@sisense/sdk-ui-preact").AreamapDataPointEventHandler | import("@sisense/sdk-ui-preact").BoxplotDataPointEventHandler | import("@sisense/sdk-ui-preact").ScattermapDataPointEventHandler | undefined>;
|
190
199
|
/**
|
191
200
|
* {@inheritDoc @sisense/sdk-ui!DashboardWidgetProps.onDataPointContextMenu}
|
192
201
|
*
|
193
202
|
* @category Callbacks
|
194
203
|
*/
|
195
|
-
onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").
|
204
|
+
onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | import("@sisense/sdk-ui-preact").BoxplotDataPointEventHandler | undefined>;
|
196
205
|
/**
|
197
206
|
* {@inheritDoc @sisense/sdk-ui!DashboardWidgetProps.onDataPointsSelected}
|
198
207
|
*
|
@@ -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,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.
|
@@ -87,13 +93,13 @@ export declare const WidgetById: import("vue").DefineComponent<{
|
|
87
93
|
*
|
88
94
|
* @category Callbacks
|
89
95
|
*/
|
90
|
-
onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").
|
96
|
+
onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | import("@sisense/sdk-ui-preact").AreamapDataPointEventHandler | import("@sisense/sdk-ui-preact").BoxplotDataPointEventHandler | import("@sisense/sdk-ui-preact").ScattermapDataPointEventHandler | undefined>;
|
91
97
|
/**
|
92
98
|
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.onDataPointContextMenu}
|
93
99
|
*
|
94
100
|
* @category Callbacks
|
95
101
|
*/
|
96
|
-
onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").
|
102
|
+
onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | import("@sisense/sdk-ui-preact").BoxplotDataPointEventHandler | undefined>;
|
97
103
|
/**
|
98
104
|
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.onDataPointsSelected}
|
99
105
|
*
|
@@ -186,13 +192,13 @@ export declare const WidgetById: import("vue").DefineComponent<{
|
|
186
192
|
*
|
187
193
|
* @category Callbacks
|
188
194
|
*/
|
189
|
-
onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").
|
195
|
+
onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | import("@sisense/sdk-ui-preact").AreamapDataPointEventHandler | import("@sisense/sdk-ui-preact").BoxplotDataPointEventHandler | import("@sisense/sdk-ui-preact").ScattermapDataPointEventHandler | undefined>;
|
190
196
|
/**
|
191
197
|
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.onDataPointContextMenu}
|
192
198
|
*
|
193
199
|
* @category Callbacks
|
194
200
|
*/
|
195
|
-
onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").
|
201
|
+
onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | import("@sisense/sdk-ui-preact").BoxplotDataPointEventHandler | undefined>;
|
196
202
|
/**
|
197
203
|
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.onDataPointsSelected}
|
198
204
|
*
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @internal
|
3
3
|
*/
|
4
4
|
export declare const usePlugins: () => {
|
5
|
-
pluginMap: Map<string, import("@sisense/sdk-ui").PluginComponent
|
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,40 +1,40 @@
|
|
1
1
|
/**
|
2
|
-
* A Vue composable function `useTracking` designed to track the usage of
|
3
|
-
* using the Sisense SDK. It sends tracking information to the server whenever a specified
|
2
|
+
* A Vue composable function `useTracking` designed to track the usage of composables within Vue applications
|
3
|
+
* using the Sisense SDK. It sends tracking information to the server whenever a specified composable is used,
|
4
4
|
* helping in the analysis and optimization of application performance and usage patterns. This composable
|
5
|
-
* is intended for internal use and aids in monitoring the integration and efficiency of Sisense SDK
|
5
|
+
* is intended for internal use and aids in monitoring the integration and efficiency of Sisense SDK composables.
|
6
6
|
*
|
7
|
-
* @param {string}
|
8
|
-
* event uniquely, facilitating the collection of usage data for specific
|
7
|
+
* @param {string} composableName - The name of the composable being tracked. This identifier is used to log the composable
|
8
|
+
* event uniquely, facilitating the collection of usage data for specific composables within the application.
|
9
9
|
*
|
10
10
|
* @example
|
11
|
-
* How to use `useTracking` to track the usage of a custom
|
11
|
+
* How to use `useTracking` to track the usage of a custom composable:
|
12
12
|
* ```javascript
|
13
13
|
* import { useTracking } from '@sisense/sdk-ui-vue';
|
14
14
|
*
|
15
|
-
* // Example
|
16
|
-
* export const
|
17
|
-
* const { hasTrackedRef } = useTracking('
|
15
|
+
* // Example composable that utilizes useTracking for monitoring its usage
|
16
|
+
* export const useCustomComposable = () => {
|
17
|
+
* const { hasTrackedRef } = useTracking('useCustomComposable');
|
18
18
|
*
|
19
|
-
* //
|
19
|
+
* // composable implementation...
|
20
20
|
*
|
21
21
|
* return {
|
22
|
-
* // Return values of your custom
|
22
|
+
* // Return values of your custom composable
|
23
23
|
* };
|
24
24
|
* };
|
25
25
|
* ```
|
26
26
|
*
|
27
27
|
* The composable returns an object containing:
|
28
|
-
* - `hasTrackedRef`: A Vue ref that indicates whether the tracking for the
|
28
|
+
* - `hasTrackedRef`: A Vue ref that indicates whether the tracking for the composable has been successfully
|
29
29
|
* sent to the server. It starts as `false` and is set to `true` once tracking is completed, preventing
|
30
30
|
* duplicate tracking events.
|
31
31
|
*
|
32
|
-
* This internal utility composable is essential for maintaining insights into the usage of custom
|
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
35
|
*
|
36
36
|
* @internal
|
37
37
|
*/
|
38
|
-
export declare const useTracking: (
|
38
|
+
export declare const useTracking: (composableName: string) => {
|
39
39
|
hasTrackedRef: import("vue").Ref<boolean>;
|
40
40
|
};
|
@@ -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,8 @@ 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';
|
13
|
+
export * from './utilities';
|
@@ -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
|
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
|
@@ -16,9 +16,13 @@ export declare const getPluginsContext: () => Ref<{
|
|
16
16
|
* @group Contexts
|
17
17
|
* @internal
|
18
18
|
*/
|
19
|
-
export declare const createPluginsContextConnector: (
|
20
|
-
prepareContext(): Promise<
|
21
|
-
|
19
|
+
export declare const createPluginsContextConnector: () => {
|
20
|
+
prepareContext(): Promise<{
|
21
|
+
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>>;
|
22
|
+
registerPlugin: (pluginType: string, plugin: import("@sisense/sdk-ui-preact").PluginComponent<import("@sisense/sdk-ui-preact").PluginComponentProps<import("@sisense/sdk-ui-preact").GenericDataOptions, any>>) => void;
|
23
|
+
getPlugin: (pluginType: string) => import("@sisense/sdk-ui-preact").PluginComponent<import("@sisense/sdk-ui-preact").PluginComponentProps<import("@sisense/sdk-ui-preact").GenericDataOptions, any>> | undefined;
|
24
|
+
}>;
|
25
|
+
renderContextProvider: (contextData: CustomPluginsContext<any>, children: import("preact").VNode<{}>, error?: Error | undefined) => import("preact").VNode<{}>;
|
22
26
|
};
|
23
27
|
/**
|
24
28
|
* 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 { ContextConnector, 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
|
@@ -9,10 +21,7 @@ export declare const getSisenseContext: () => Ref<import("@sisense/sdk-ui/dist/p
|
|
9
21
|
* Creates Sisense context connector
|
10
22
|
* @internal
|
11
23
|
*/
|
12
|
-
export declare const createSisenseContextConnector: (
|
13
|
-
prepareContext(): Promise<import("@sisense/sdk-ui/dist/packages/sdk-ui/src/sisense-context/sisense-context").SisenseContextPayload>;
|
14
|
-
renderContextProvider: (contextData: import("@sisense/sdk-ui/dist/packages/sdk-ui/src/sisense-context/sisense-context").SisenseContextPayload | undefined, children: import("preact").VNode<{}>, error?: Error | undefined) => import("preact").VNode<{}>;
|
15
|
-
};
|
24
|
+
export declare const createSisenseContextConnector: () => ContextConnector<CustomSisenseContext>;
|
16
25
|
/**
|
17
26
|
* Sisense Context Provider Component allowing you to connect to
|
18
27
|
* a Sisense instance and provide that context
|
@@ -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, ContextConnector, CustomThemeProviderProps, 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
|
*/
|
@@ -8,16 +13,7 @@ export declare const getThemeContext: () => Ref<CompleteThemeSettings> | undefin
|
|
8
13
|
* Creates theme context connector
|
9
14
|
* @internal
|
10
15
|
*/
|
11
|
-
export declare const createThemeContextConnector: (
|
12
|
-
prepareContext(): Promise<{
|
13
|
-
themeSettings: CompleteThemeSettings;
|
14
|
-
skipTracking: boolean;
|
15
|
-
}>;
|
16
|
-
renderContextProvider: (contextData: {
|
17
|
-
themeSettings: CompleteThemeSettings;
|
18
|
-
skipTracking?: boolean | undefined;
|
19
|
-
}, children: import("preact").VNode<{}>, error?: Error | undefined) => import("preact").VNode<{}>;
|
20
|
-
};
|
16
|
+
export declare const createThemeContextConnector: () => ContextConnector<CustomThemeProviderProps['context']>;
|
21
17
|
/**
|
22
18
|
* Theme provider, which allows you to adjust the look and feel of child components.
|
23
19
|
*
|
@@ -1,6 +1,2 @@
|
|
1
|
-
export { boxWhiskerProcessResult
|
2
|
-
export type { ChartType, CartesianChartType, CategoricalChartType, ScatterChartType, IndicatorChartType, BoxplotChartType, ScattermapChartType, AreamapChartType, TableType, AreaSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, BoxplotSubtype, WidgetType, CartesianWidgetType, CategoricalWidgetType, TabularWidgetType,
|
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'>;
|
1
|
+
export { boxWhiskerProcessResult } from '@sisense/sdk-ui-preact';
|
2
|
+
export type { ChartType, CartesianChartType, CategoricalChartType, ScatterChartType, IndicatorChartType, BoxplotChartType, ScattermapChartType, AreamapChartType, TableType, AreaSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, BoxplotSubtype, WidgetType, CartesianWidgetType, CategoricalWidgetType, TabularWidgetType, 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, 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';
|
@@ -1,4 +1,16 @@
|
|
1
1
|
import { type Slots } from 'vue';
|
2
|
+
import { type ContextConnector } from '@sisense/sdk-ui-preact';
|
3
|
+
export declare function createDefaultContextConnectors(): (ContextConnector<import("@sisense/sdk-ui/dist/packages/sdk-ui/src/sisense-context/sisense-context").SisenseContextPayload> | ContextConnector<{
|
4
|
+
themeSettings: import("@sisense/sdk-ui-preact").CompleteThemeSettings;
|
5
|
+
skipTracking?: boolean | undefined;
|
6
|
+
}> | {
|
7
|
+
prepareContext(): Promise<{
|
8
|
+
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>>;
|
9
|
+
registerPlugin: (pluginType: string, plugin: import("@sisense/sdk-ui-preact").PluginComponent<import("@sisense/sdk-ui-preact").PluginComponentProps<import("@sisense/sdk-ui-preact").GenericDataOptions, any>>) => void;
|
10
|
+
getPlugin: (pluginType: string) => import("@sisense/sdk-ui-preact").PluginComponent<import("@sisense/sdk-ui-preact").PluginComponentProps<import("@sisense/sdk-ui-preact").GenericDataOptions, any>> | undefined;
|
11
|
+
}>;
|
12
|
+
renderContextProvider: (contextData: import("@sisense/sdk-ui-preact").CustomPluginsContext<any>, children: import("preact").VNode<{}>, error?: Error | undefined) => import("preact").VNode<{}>;
|
13
|
+
})[];
|
2
14
|
export declare function getRawData<T>(data: T): T;
|
3
15
|
export declare function toDeepRaw<T>(data: T): T;
|
4
16
|
/**
|
@@ -6,7 +18,7 @@ export declare function toDeepRaw<T>(data: T): T;
|
|
6
18
|
*
|
7
19
|
* @internal
|
8
20
|
*/
|
9
|
-
export declare const setupHelper: <P, C>(component: C, props: P) => (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
21
|
+
export declare const setupHelper: <P, C>(component: C, props: P, createContextConnectorsFn?: () => ContextConnector<any>[]) => (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
10
22
|
[key: string]: any;
|
11
23
|
}>) | null;
|
12
24
|
/**
|