@sisense/sdk-ui-vue 1.21.0 → 1.23.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs +353 -353
- package/dist/index.js +44506 -43809
- package/dist/packages/sdk-ui-vue/src/components/charts/area-chart.d.ts +14 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/area-range-chart.d.ts +14 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/areamap-chart.d.ts +14 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/bar-chart.d.ts +14 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/boxplot-chart.d.ts +14 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/chart.d.ts +15 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/column-chart.d.ts +14 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/funnel-chart.d.ts +14 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/indicator-chart.d.ts +14 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/line-chart.d.ts +14 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/pie-chart.d.ts +14 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/polar-chart.d.ts +14 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/scatter-chart.d.ts +14 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/scattermap-chart.d.ts +14 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/sunburst-chart.d.ts +14 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/treemap-chart.d.ts +14 -0
- package/dist/packages/sdk-ui-vue/src/components/dashboard/dashboard-by-id.d.ts +1 -1
- package/dist/packages/sdk-ui-vue/src/components/drilldown-widget.d.ts +33 -8
- package/dist/packages/sdk-ui-vue/src/components/widgets/dashboard-widget.d.ts +1 -1
- package/dist/packages/sdk-ui-vue/src/components/widgets/index.d.ts +1 -0
- package/dist/packages/sdk-ui-vue/src/components/widgets/widget-by-id.d.ts +224 -0
- package/dist/packages/sdk-ui-vue/src/composables/use-custom-drilldown.d.ts +9 -8
- package/dist/packages/sdk-ui-vue/src/composables/use-execute-query-by-widget-id.d.ts +1 -1
- package/dist/packages/sdk-ui-vue/src/composables/use-fetch.d.ts +1 -1
- package/dist/packages/sdk-ui-vue/src/composables/use-get-dashboard-model.d.ts +1 -1
- package/dist/packages/sdk-ui-vue/src/composables/use-get-dashboard-models.d.ts +1 -1
- package/dist/packages/sdk-ui-vue/src/composables/use-get-shared-formula.d.ts +1 -1
- package/dist/packages/sdk-ui-vue/src/composables/use-get-widget-model.d.ts +1 -1
- package/dist/packages/sdk-ui-vue/src/providers/sisense-context-provider.d.ts +3 -18
- package/dist/packages/sdk-ui-vue/src/sdk-ui-core-exports.d.ts +4 -3
- package/package.json +2 -2
@@ -0,0 +1,224 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { PropType } from 'vue';
|
3
|
+
/**
|
4
|
+
* The `WidgetById` component, which is a thin wrapper on the {@link ChartWidget} component,
|
5
|
+
* used to render a widget created in the Sisense instance.
|
6
|
+
*
|
7
|
+
* **Note:** Widget extensions based on JS scripts and add-ons in Fusion are not supported.
|
8
|
+
*
|
9
|
+
* @example
|
10
|
+
* Here's how you can use the WidgetById component in a Vue application:
|
11
|
+
* ```vue
|
12
|
+
* <template>
|
13
|
+
* <WidgetById
|
14
|
+
* widgetOid="64473e07dac1920034bce77f"
|
15
|
+
* dashboardOid="6441e728dac1920034bce737"
|
16
|
+
* />
|
17
|
+
* </template>
|
18
|
+
*
|
19
|
+
* <script setup lang="ts">
|
20
|
+
* import { ref } from 'vue';
|
21
|
+
* import { WidgetById } from '@sisense/sdk-ui-vue';
|
22
|
+
*
|
23
|
+
* </script>
|
24
|
+
* ```
|
25
|
+
* @group Fusion Assets
|
26
|
+
* @fusionEmbed
|
27
|
+
*/
|
28
|
+
export declare const WidgetById: import("vue").DefineComponent<{
|
29
|
+
/** @internal */
|
30
|
+
bottomSlot: PropType<import("react").ReactNode>;
|
31
|
+
/** @internal */
|
32
|
+
contextMenuItems: PropType<import("@sisense/sdk-ui-preact").MenuItemSection[] | undefined>;
|
33
|
+
/**
|
34
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.dashboardOid}
|
35
|
+
*
|
36
|
+
* @category Widget
|
37
|
+
*/
|
38
|
+
dashboardOid: PropType<string>;
|
39
|
+
/**
|
40
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.description}
|
41
|
+
*
|
42
|
+
* @category Widget
|
43
|
+
*/
|
44
|
+
description: PropType<string | undefined>;
|
45
|
+
/** @internal */
|
46
|
+
drilldownOptions: PropType<import("@sisense/sdk-ui-preact").DrilldownOptions | undefined>;
|
47
|
+
/**
|
48
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.filters}
|
49
|
+
*
|
50
|
+
* @category Data
|
51
|
+
*/
|
52
|
+
filters: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
|
53
|
+
/**
|
54
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.filtersMergeStrategy}
|
55
|
+
*
|
56
|
+
* @category Data
|
57
|
+
*/
|
58
|
+
filtersMergeStrategy: PropType<"widgetFirst" | "codeFirst" | "codeOnly" | undefined>;
|
59
|
+
/**
|
60
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.highlightSelectionDisabled}
|
61
|
+
*
|
62
|
+
* @category Widget
|
63
|
+
*/
|
64
|
+
highlightSelectionDisabled: PropType<boolean | undefined>;
|
65
|
+
/**
|
66
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.highlights}
|
67
|
+
*
|
68
|
+
* @category Data
|
69
|
+
*/
|
70
|
+
highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
|
71
|
+
/**
|
72
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.includeDashboardFilters}
|
73
|
+
*
|
74
|
+
* @category Data
|
75
|
+
*/
|
76
|
+
includeDashboardFilters: PropType<boolean | undefined>;
|
77
|
+
/**
|
78
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.onBeforeRender}
|
79
|
+
*
|
80
|
+
* @category Callbacks
|
81
|
+
*/
|
82
|
+
onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
|
83
|
+
/** @internal */
|
84
|
+
onContextMenuClose: PropType<(() => void) | undefined>;
|
85
|
+
/**
|
86
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.onDataPointClick}
|
87
|
+
*
|
88
|
+
* @category Callbacks
|
89
|
+
*/
|
90
|
+
onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").AreamapDataPointEventHandler | import("@sisense/sdk-ui-preact").BoxplotDataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | import("@sisense/sdk-ui-preact").ScattermapDataPointEventHandler | undefined>;
|
91
|
+
/**
|
92
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.onDataPointContextMenu}
|
93
|
+
*
|
94
|
+
* @category Callbacks
|
95
|
+
*/
|
96
|
+
onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").BoxplotDataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | undefined>;
|
97
|
+
/**
|
98
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.onDataPointsSelected}
|
99
|
+
*
|
100
|
+
* @category Callbacks
|
101
|
+
*/
|
102
|
+
onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointsEventHandler | undefined>;
|
103
|
+
/**
|
104
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.styleOptions}
|
105
|
+
*
|
106
|
+
* @category Widget
|
107
|
+
*/
|
108
|
+
styleOptions: PropType<import("@sisense/sdk-ui-preact").WidgetByIdStyleOptions | undefined>;
|
109
|
+
/**
|
110
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.title}
|
111
|
+
*
|
112
|
+
* @category Widget
|
113
|
+
*/
|
114
|
+
title: PropType<string | undefined>;
|
115
|
+
/** @internal */
|
116
|
+
topSlot: PropType<import("react").ReactNode>;
|
117
|
+
/**
|
118
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.widgetOid}
|
119
|
+
*
|
120
|
+
* @category Widget
|
121
|
+
*/
|
122
|
+
widgetOid: PropType<string>;
|
123
|
+
/** @internal */
|
124
|
+
widgetStyleOptions: PropType<import("@sisense/sdk-ui-preact").WidgetByIdStyleOptions | undefined>;
|
125
|
+
}, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
126
|
+
[key: string]: any;
|
127
|
+
}>) | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
128
|
+
/** @internal */
|
129
|
+
bottomSlot: PropType<import("react").ReactNode>;
|
130
|
+
/** @internal */
|
131
|
+
contextMenuItems: PropType<import("@sisense/sdk-ui-preact").MenuItemSection[] | undefined>;
|
132
|
+
/**
|
133
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.dashboardOid}
|
134
|
+
*
|
135
|
+
* @category Widget
|
136
|
+
*/
|
137
|
+
dashboardOid: PropType<string>;
|
138
|
+
/**
|
139
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.description}
|
140
|
+
*
|
141
|
+
* @category Widget
|
142
|
+
*/
|
143
|
+
description: PropType<string | undefined>;
|
144
|
+
/** @internal */
|
145
|
+
drilldownOptions: PropType<import("@sisense/sdk-ui-preact").DrilldownOptions | undefined>;
|
146
|
+
/**
|
147
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.filters}
|
148
|
+
*
|
149
|
+
* @category Data
|
150
|
+
*/
|
151
|
+
filters: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
|
152
|
+
/**
|
153
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.filtersMergeStrategy}
|
154
|
+
*
|
155
|
+
* @category Data
|
156
|
+
*/
|
157
|
+
filtersMergeStrategy: PropType<"widgetFirst" | "codeFirst" | "codeOnly" | undefined>;
|
158
|
+
/**
|
159
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.highlightSelectionDisabled}
|
160
|
+
*
|
161
|
+
* @category Widget
|
162
|
+
*/
|
163
|
+
highlightSelectionDisabled: PropType<boolean | undefined>;
|
164
|
+
/**
|
165
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.highlights}
|
166
|
+
*
|
167
|
+
* @category Data
|
168
|
+
*/
|
169
|
+
highlights: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
|
170
|
+
/**
|
171
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.includeDashboardFilters}
|
172
|
+
*
|
173
|
+
* @category Data
|
174
|
+
*/
|
175
|
+
includeDashboardFilters: PropType<boolean | undefined>;
|
176
|
+
/**
|
177
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.onBeforeRender}
|
178
|
+
*
|
179
|
+
* @category Callbacks
|
180
|
+
*/
|
181
|
+
onBeforeRender: PropType<import("@sisense/sdk-ui-preact").BeforeRenderHandler | undefined>;
|
182
|
+
/** @internal */
|
183
|
+
onContextMenuClose: PropType<(() => void) | undefined>;
|
184
|
+
/**
|
185
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.onDataPointClick}
|
186
|
+
*
|
187
|
+
* @category Callbacks
|
188
|
+
*/
|
189
|
+
onDataPointClick: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").AreamapDataPointEventHandler | import("@sisense/sdk-ui-preact").BoxplotDataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | import("@sisense/sdk-ui-preact").ScattermapDataPointEventHandler | undefined>;
|
190
|
+
/**
|
191
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.onDataPointContextMenu}
|
192
|
+
*
|
193
|
+
* @category Callbacks
|
194
|
+
*/
|
195
|
+
onDataPointContextMenu: PropType<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").BoxplotDataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | undefined>;
|
196
|
+
/**
|
197
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.onDataPointsSelected}
|
198
|
+
*
|
199
|
+
* @category Callbacks
|
200
|
+
*/
|
201
|
+
onDataPointsSelected: PropType<import("@sisense/sdk-ui-preact").DataPointsEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointsEventHandler | undefined>;
|
202
|
+
/**
|
203
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.styleOptions}
|
204
|
+
*
|
205
|
+
* @category Widget
|
206
|
+
*/
|
207
|
+
styleOptions: PropType<import("@sisense/sdk-ui-preact").WidgetByIdStyleOptions | undefined>;
|
208
|
+
/**
|
209
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.title}
|
210
|
+
*
|
211
|
+
* @category Widget
|
212
|
+
*/
|
213
|
+
title: PropType<string | undefined>;
|
214
|
+
/** @internal */
|
215
|
+
topSlot: PropType<import("react").ReactNode>;
|
216
|
+
/**
|
217
|
+
* {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.widgetOid}
|
218
|
+
*
|
219
|
+
* @category Widget
|
220
|
+
*/
|
221
|
+
widgetOid: PropType<string>;
|
222
|
+
/** @internal */
|
223
|
+
widgetStyleOptions: PropType<import("@sisense/sdk-ui-preact").WidgetByIdStyleOptions | undefined>;
|
224
|
+
}>>, {}, {}>;
|
@@ -1,16 +1,13 @@
|
|
1
|
-
import type
|
2
|
-
import { type DataPoint, type StyledColumn } from '@sisense/sdk-ui-preact';
|
1
|
+
import { type Attribute, type Column } from '@sisense/sdk-data';
|
2
|
+
import { type DataPoint, type Hierarchy, type StyledColumn } from '@sisense/sdk-ui-preact';
|
3
3
|
import { type Ref } from 'vue';
|
4
4
|
/**
|
5
5
|
* @internal
|
6
6
|
*/
|
7
|
-
export declare const useCustomDrilldown: ({
|
8
|
-
|
7
|
+
export declare const useCustomDrilldown: ({ drilldownPaths, initialDimension, }: {
|
8
|
+
drilldownPaths: Ref<(Attribute | Hierarchy)[]>;
|
9
9
|
initialDimension: Column | StyledColumn;
|
10
10
|
}) => {
|
11
|
-
selectDrilldown: (points: DataPoint[], nextDimension: Attribute) => void;
|
12
|
-
sliceDrilldownSelections: (i: number) => void;
|
13
|
-
clearDrilldownSelections: () => void;
|
14
11
|
drilldownSelections: Ref<{
|
15
12
|
points: ({
|
16
13
|
value?: string | number | undefined;
|
@@ -5725,11 +5722,12 @@ export declare const useCustomDrilldown: ({ drilldownDimensions, initialDimensio
|
|
5725
5722
|
composeCode?: string | undefined;
|
5726
5723
|
};
|
5727
5724
|
}[]>;
|
5728
|
-
|
5725
|
+
availableDrilldownPaths: import("vue").ComputedRef<(Attribute | Hierarchy)[]>;
|
5729
5726
|
drilldownDimension: Ref<Attribute | undefined>;
|
5730
5727
|
drilldownFilters: Ref<{
|
5731
5728
|
readonly members: any[];
|
5732
5729
|
excludeMembers: boolean;
|
5730
|
+
multiSelection: boolean;
|
5733
5731
|
deactivatedMembers: any[];
|
5734
5732
|
backgroundFilter?: {
|
5735
5733
|
readonly guid: string;
|
@@ -5832,4 +5830,7 @@ export declare const useCustomDrilldown: ({ drilldownDimensions, initialDimensio
|
|
5832
5830
|
toString: () => string;
|
5833
5831
|
}[]>;
|
5834
5832
|
drilldownFiltersDisplayValues: Ref<string[][]>;
|
5833
|
+
selectDrilldown: (points: DataPoint[], nextDimension: Attribute, hierarchy?: Hierarchy) => void;
|
5834
|
+
sliceDrilldownSelections: (i: number) => void;
|
5835
|
+
clearDrilldownSelections: () => void;
|
5835
5836
|
};
|
@@ -42,7 +42,7 @@ import type { MaybeRefOrWithRefs } from '../types';
|
|
42
42
|
* Utilizing this composable allows for declarative and reactive handling of widget-specific queries within Vue applications,
|
43
43
|
* facilitating easier data fetching and state management with the Sisense SDK.
|
44
44
|
*
|
45
|
-
* @group Fusion
|
45
|
+
* @group Fusion Assets
|
46
46
|
* @fusionEmbed
|
47
47
|
*/
|
48
48
|
export declare const useExecuteQueryByWidgetId: (params: MaybeRefOrWithRefs<ExecuteQueryByWidgetIdParams>) => ToRefs<QueryByWidgetIdState>;
|
@@ -43,7 +43,7 @@ export type UseFetchOptions = {
|
|
43
43
|
* - `isSuccess`: A boolean indicating whether the fetch operation was successfully completed without any errors.
|
44
44
|
* - `error`: An error object containing details about any errors that occurred during the fetch operation.
|
45
45
|
*
|
46
|
-
* @group Fusion
|
46
|
+
* @group Fusion Assets
|
47
47
|
* @fusionEmbed
|
48
48
|
*/
|
49
49
|
export declare const useFetch: <TData = unknown>(path: MaybeRef<string>, init?: MaybeRefOrWithRefs<RequestInit>, options?: MaybeRefOrWithRefs<UseFetchOptions>) => ToRefs<DataState<TData>>;
|
@@ -53,7 +53,7 @@ import type { GetDashboardModelParams } from '@sisense/sdk-ui-preact';
|
|
53
53
|
*
|
54
54
|
* Utilizing this composable enables developers to declaratively integrate Sisense dashboard analytics into their Vue applications,
|
55
55
|
* managing data fetching and state with minimal boilerplate code.
|
56
|
-
* @group Fusion
|
56
|
+
* @group Fusion Assets
|
57
57
|
* @fusionEmbed
|
58
58
|
*/
|
59
59
|
export declare const useGetDashboardModel: (params: MaybeRefOrWithRefs<GetDashboardModelParams>) => import("vue").ToRefs<import("@sisense/sdk-ui-preact").DashboardModelState>;
|
@@ -36,7 +36,7 @@ import type { MaybeRefOrWithRefs } from '../types';
|
|
36
36
|
*
|
37
37
|
* This composable is ideal for Vue applications requiring a list of Sisense dashboards, providing a streamlined, reactive
|
38
38
|
* way to fetch and manage the state of multiple dashboard models.
|
39
|
-
* @group Fusion
|
39
|
+
* @group Fusion Assets
|
40
40
|
* @fusionEmbed
|
41
41
|
*/
|
42
42
|
export declare const useGetDashboardModels: (params: MaybeRefOrWithRefs<GetDashboardModelsParams>) => import("vue").ToRefs<import("@sisense/sdk-ui-preact").DashboardModelsState>;
|
@@ -41,7 +41,7 @@ import type { MaybeRefOrWithRefs } from '../types';
|
|
41
41
|
* - `error`: Contains the error object if an error occurred during the fetch.
|
42
42
|
*
|
43
43
|
* This composable provides a streamlined, reactive approach to fetching shared formulas from Sisense, facilitating their integration into Vue applications for enhanced data analytics capabilities.
|
44
|
-
* @group Fusion
|
44
|
+
* @group Fusion Assets
|
45
45
|
* @fusionEmbed
|
46
46
|
*/
|
47
47
|
export declare const useGetSharedFormula: (params: MaybeRefOrWithRefs<UseGetSharedFormulaParams>) => import("vue").ToRefs<import("@sisense/sdk-ui-preact").SharedFormulaState>;
|
@@ -38,7 +38,7 @@ import type { MaybeRefOrWithRefs } from '../types';
|
|
38
38
|
*
|
39
39
|
* This composable streamlines the process of fetching and managing Sisense widget models within Vue applications, providing
|
40
40
|
* developers with a reactive and efficient way to integrate Sisense data visualizations and analytics.
|
41
|
-
* @group Fusion
|
41
|
+
* @group Fusion Assets
|
42
42
|
* @fusionEmbed
|
43
43
|
*/
|
44
44
|
export declare const useGetWidgetModel: (params: MaybeRefOrWithRefs<GetWidgetModelParams>) => import("vue").ToRefs<import("@sisense/sdk-ui-preact").DataState<WidgetModel>>;
|
@@ -4,14 +4,14 @@ import { type CustomSisenseContext } from '@sisense/sdk-ui-preact';
|
|
4
4
|
* Gets Sisense application
|
5
5
|
* @internal
|
6
6
|
*/
|
7
|
-
export declare const getSisenseContext: () => Ref<
|
7
|
+
export declare const getSisenseContext: () => Ref<import("@sisense/sdk-ui/dist/packages/sdk-ui/src/sisense-context/sisense-context").SisenseContextPayload>;
|
8
8
|
/**
|
9
9
|
* Creates Sisense context connector
|
10
10
|
* @internal
|
11
11
|
*/
|
12
12
|
export declare const createSisenseContextConnector: (context: CustomSisenseContext) => {
|
13
|
-
prepareContext(): Promise<
|
14
|
-
renderContextProvider: (contextData:
|
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
15
|
};
|
16
16
|
/**
|
17
17
|
* Sisense Context Provider Component allowing you to connect to
|
@@ -103,13 +103,6 @@ export declare const SisenseContextProvider: import("vue").DefineComponent<{
|
|
103
103
|
type: PropType<boolean | undefined>;
|
104
104
|
default: boolean;
|
105
105
|
};
|
106
|
-
/**
|
107
|
-
* @internal
|
108
|
-
*/
|
109
|
-
enableTracking: {
|
110
|
-
type: PropType<boolean | undefined>;
|
111
|
-
default: boolean;
|
112
|
-
};
|
113
106
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
114
107
|
[key: string]: any;
|
115
108
|
}>[] | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -156,14 +149,6 @@ export declare const SisenseContextProvider: import("vue").DefineComponent<{
|
|
156
149
|
type: PropType<boolean | undefined>;
|
157
150
|
default: boolean;
|
158
151
|
};
|
159
|
-
/**
|
160
|
-
* @internal
|
161
|
-
*/
|
162
|
-
enableTracking: {
|
163
|
-
type: PropType<boolean | undefined>;
|
164
|
-
default: boolean;
|
165
|
-
};
|
166
152
|
}>>, {
|
167
153
|
showRuntimeErrors: boolean | undefined;
|
168
|
-
enableTracking: boolean | undefined;
|
169
154
|
}, {}>;
|
@@ -1,5 +1,6 @@
|
|
1
|
-
export { boxWhiskerProcessResult, widgetModelTranslator, dashboardModelTranslator, } 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, BasicMemberFilterTileProps, CriteriaFilterTileProps, DateRangeFilterTileProps, RelativeDateFilterTileProps, ChartWidgetProps, TableWidgetProps, TableProps, PivotTableProps, DrilldownBreadcrumbsProps, BoxplotChartProps, AreamapChartProps, ScattermapChartProps, SisenseContextProviderProps, DashboardWidgetProps,
|
3
|
-
import type { ContextMenuProps as ContextMenuPropsPreact, ThemeProviderProps as ThemeProviderPropsPreact } from '@sisense/sdk-ui-preact';
|
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, BasicMemberFilterTileProps, CriteriaFilterTileProps, DateRangeFilterTileProps, RelativeDateFilterTileProps, ChartWidgetProps, TableWidgetProps, TableProps, PivotTableProps, DrilldownBreadcrumbsProps, BoxplotChartProps, AreamapChartProps, ScattermapChartProps, SisenseContextProviderProps, DashboardWidgetProps, WidgetByIdProps, DashboardProps, WidgetProps, ExecuteQueryByWidgetIdParams, ExecuteQueryParams, GetWidgetModelParams, GetSharedFormulaParams, GetDashboardModelParams, UseGetSharedFormulaParams, GetDashboardModelsParams, ChartDataOptions, CartesianChartDataOptions, CategoricalChartDataOptions, ScatterChartDataOptions, IndicatorChartDataOptions, BoxplotChartDataOptions, BoxplotChartCustomDataOptions, ScattermapChartDataOptions, AreamapChartDataOptions, TableDataOptions, PivotTableDataOptions, WidgetDataOptions, NumberFormatConfig, DecimalScale, DataColorCondition, ConditionalDataColorOptions, DataColorOptions, RangeDataColorOptions, UniformDataColorOptions, ValueToColorMap, MultiColumnValueToColorMap, SortDirection, BoxWhiskerType, ScattermapLocationLevel, StyledColumn, StyledMeasureColumn, 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, DashboardLayoutOptions, DashboardConfig, WidgetsPanelLayout, WidgetsPanelColumnLayout, WidgetId, WidgetsOptions, AppConfig, DateConfig, MenuItemSection, MonthOfYear, DayOfWeek, DateLevel, ThemeOid, GetDashboardModelOptions, GetDashboardModelsOptions, SeriesChartType, MenuPosition, ThemeSettings, Color, ColorPaletteTheme, Navigator, DrilldownOptions, DrilldownSelection, CriteriaFilterType, Member, FilterVariant, } from '@sisense/sdk-ui-preact';
|
3
|
+
import type { ContextMenuProps as ContextMenuPropsPreact, ThemeProviderProps as ThemeProviderPropsPreact, DashboardByIdProps as DashboardByIdPropsPreact } from '@sisense/sdk-ui-preact';
|
4
4
|
export type ContextMenuProps = Omit<ContextMenuPropsPreact, 'children'>;
|
5
5
|
export type ThemeProviderProps = Omit<ThemeProviderPropsPreact, 'children'>;
|
6
|
+
export type DashboardByIdProps = Omit<DashboardByIdPropsPreact, 'persist'>;
|
package/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"Sisense",
|
12
12
|
"Compose SDK"
|
13
13
|
],
|
14
|
-
"version": "1.
|
14
|
+
"version": "1.23.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.
|
45
|
+
"@sisense/sdk-ui-preact": "^1.23.0",
|
46
46
|
"deepmerge": "^4.3.1",
|
47
47
|
"lodash-es": "^4.17.21",
|
48
48
|
"vue": "^3.3.2"
|