@sisense/sdk-ui-vue 1.20.0 → 1.22.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs +423 -364
- package/dist/index.js +34907 -34438
- 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 +4 -1
- package/dist/packages/sdk-ui-vue/src/components/dashboard/dashboard.d.ts +7 -3
- package/dist/packages/sdk-ui-vue/src/components/filters/criteria-filter-tile.d.ts +1 -1
- package/dist/packages/sdk-ui-vue/src/components/filters/date-range-filter-tile.d.ts +1 -1
- package/dist/packages/sdk-ui-vue/src/components/filters/index.d.ts +1 -0
- package/dist/packages/sdk-ui-vue/src/components/filters/relative-date-filter-tile.d.ts +100 -0
- package/dist/packages/sdk-ui-vue/src/components/widgets/chart-widget.d.ts +1 -1
- package/dist/packages/sdk-ui-vue/src/components/widgets/dashboard-widget.d.ts +1 -1
- package/dist/packages/sdk-ui-vue/src/composables/use-custom-drilldown.d.ts +330 -330
- 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 +2 -2
- 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 +0 -15
- package/dist/packages/sdk-ui-vue/src/sdk-ui-core-exports.d.ts +4 -3
- package/dist/packages/sdk-ui-vue/src/setup-helper.d.ts +4 -2
- package/package.json +2 -2
@@ -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>;
|
@@ -8,7 +8,7 @@ import type { MaybeRefOrWithRefs } from '../types';
|
|
8
8
|
*
|
9
9
|
* **Note:** Dashboard extensions based on JS scripts and add-ons in Fusion are not supported.
|
10
10
|
*
|
11
|
-
* @param
|
11
|
+
* @param params - Parameters for fetching the dashboard models, which can include filters,
|
12
12
|
* sorting options, and pagination settings to customize the fetch operation. The parameters allow for precise control
|
13
13
|
* over which dashboards are retrieved and in what order.
|
14
14
|
*
|
@@ -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>>;
|
@@ -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, 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, 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, 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'>;
|
@@ -2,15 +2,17 @@ import { type Slots } from 'vue';
|
|
2
2
|
export declare function getRawData<T>(data: T): T;
|
3
3
|
export declare function toDeepRaw<T>(data: T): T;
|
4
4
|
/**
|
5
|
+
* Renders a component without children.
|
6
|
+
*
|
5
7
|
* @internal
|
6
|
-
* @description This is a helper function to render a component without children.
|
7
8
|
*/
|
8
9
|
export declare const setupHelper: <P, C>(component: C, props: P) => (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
9
10
|
[key: string]: any;
|
10
11
|
}>) | null;
|
11
12
|
/**
|
13
|
+
* Renders a component with children.
|
14
|
+
*
|
12
15
|
* @internal
|
13
|
-
* @description This is a helper function to render a component with children.
|
14
16
|
*/
|
15
17
|
export declare const setupHelperWithChildren: <P, C>(component: C, props: P, slots: Slots, contexts?: []) => () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
16
18
|
[key: string]: any;
|
package/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"Sisense",
|
12
12
|
"Compose SDK"
|
13
13
|
],
|
14
|
-
"version": "1.
|
14
|
+
"version": "1.22.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.22.0",
|
46
46
|
"deepmerge": "^4.3.1",
|
47
47
|
"lodash-es": "^4.17.21",
|
48
48
|
"vue": "^3.3.2"
|