@sisense/sdk-ui-vue 1.19.0 → 1.20.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs +795 -745
- package/dist/index.d.ts +1 -1
- package/dist/index.js +71771 -72108
- package/dist/{src → packages/sdk-ui-vue/src}/components/dashboard/dashboard-by-id.d.ts +1 -1
- package/dist/packages/sdk-ui-vue/src/components/dashboard/dashboard.d.ts +110 -0
- package/dist/{src → packages/sdk-ui-vue/src}/components/filters/basic-member-filter-tile.d.ts +2 -2
- package/dist/{src → packages/sdk-ui-vue/src}/components/widgets/chart-widget.d.ts +1 -1
- package/dist/{src → packages/sdk-ui-vue/src}/composables/use-custom-drilldown.d.ts +390 -0
- package/dist/{src → packages/sdk-ui-vue/src}/composables/use-get-dashboard-model.d.ts +13 -9
- package/dist/{src → packages/sdk-ui-vue/src}/composables/use-get-widget-model.d.ts +2 -2
- package/dist/packages/sdk-ui-vue/src/composables/use-plugins.d.ts +8 -0
- package/dist/{src → packages/sdk-ui-vue/src}/providers/plugins-provider.d.ts +3 -7
- package/dist/packages/sdk-ui-vue/src/sdk-ui-core-exports.d.ts +5 -0
- package/package.json +2 -2
- package/dist/src/components/dashboard/dashboard.d.ts +0 -95
- package/dist/src/composables/use-plugins.d.ts +0 -12
- package/dist/src/sdk-ui-core-exports.d.ts +0 -5
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/area-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/area-range-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/areamap-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/bar-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/boxplot-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/column-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/funnel-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/index.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/indicator-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/line-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/pie-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/pivot-table.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/polar-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/scatter-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/scattermap-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/sunburst-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/table.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/treemap-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/context-menu.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/dashboard/index.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/drilldown-breadcrumbs.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/drilldown-widget.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/drilldown-widget.vue.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/filters/criteria-filter-tile.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/filters/date-range-filter-tile.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/filters/index.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/filters/member-filter-tile.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/widgets/dashboard-widget.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/widgets/index.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/widgets/table-widget.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/composables/index.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/composables/use-execute-query-by-widget-id.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/composables/use-execute-query.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/composables/use-fetch.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/composables/use-get-dashboard-models.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/composables/use-get-shared-formula.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/composables/use-tracking.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/helpers/use-reducer.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/lib.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/providers/index.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/providers/sisense-context-provider.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/providers/theme-provider.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/setup-helper.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/types.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/utils.d.ts +0 -0
@@ -0,0 +1,110 @@
|
|
1
|
+
import type { PropType } from 'vue';
|
2
|
+
/**
|
3
|
+
* A component used for easily rendering a dashboard.
|
4
|
+
*
|
5
|
+
* @example
|
6
|
+
* Here's how you can use the Dashboard component in a Vue application:
|
7
|
+
* ```vue
|
8
|
+
* <template>
|
9
|
+
* <Dashboard
|
10
|
+
* v-if="dashboardProps"
|
11
|
+
* :title="dashboardProps.title"
|
12
|
+
* :layoutOptions="dashboardProps.layoutOptions"
|
13
|
+
* :widgets="dashboardProps.widgets"
|
14
|
+
* :filters="dashboardProps.filters"
|
15
|
+
* :defaultDataSource="dashboardProps.dataSource"
|
16
|
+
* :widgetsOptions="dashboardProps.widgetsOptions"
|
17
|
+
* :styleOptions="dashboardProps.styleOptions"
|
18
|
+
* />
|
19
|
+
* </template>
|
20
|
+
*
|
21
|
+
* <script setup lang="ts">
|
22
|
+
* import { dashboardModelTranslator, useGetDashboardModel } from '@sisense/sdk-ui-vue';
|
23
|
+
*
|
24
|
+
* const { dashboard } = useGetDashboardModel({
|
25
|
+
* dashboardOid: '6441e728dac1920034bce737',
|
26
|
+
* includeWidgets: true,
|
27
|
+
* includeFilters: true,
|
28
|
+
* });
|
29
|
+
*
|
30
|
+
* const dashboardProps = computed(() =>
|
31
|
+
* dashboard.value ? dashboardModelTranslator.toDashboardProps(dashboard.value) : null,
|
32
|
+
* );
|
33
|
+
* </script>
|
34
|
+
* ```
|
35
|
+
* @group Dashboarding
|
36
|
+
* @beta
|
37
|
+
*/
|
38
|
+
export declare const Dashboard: import("vue").DefineComponent<{
|
39
|
+
/**
|
40
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardProps.title}
|
41
|
+
*/
|
42
|
+
title: PropType<string | undefined>;
|
43
|
+
/**
|
44
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardProps.layoutOptions}
|
45
|
+
*/
|
46
|
+
layoutOptions: PropType<import("@sisense/sdk-ui-preact").DashboardLayoutOptions | undefined>;
|
47
|
+
/**
|
48
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardProps.config}
|
49
|
+
*
|
50
|
+
* @internal
|
51
|
+
*/
|
52
|
+
config: PropType<import("@sisense/sdk-ui-preact").DashboardConfig | undefined>;
|
53
|
+
/**
|
54
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardProps.widgets}
|
55
|
+
*/
|
56
|
+
widgets: PropType<import("@sisense/sdk-ui-preact").WidgetProps[]>;
|
57
|
+
/**
|
58
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardProps.filters}
|
59
|
+
*/
|
60
|
+
filters: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
|
61
|
+
/**
|
62
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardProps.defaultDataSource}
|
63
|
+
*/
|
64
|
+
defaultDataSource: PropType<import("@sisense/sdk-data").DataSource | undefined>;
|
65
|
+
/**
|
66
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardProps.widgetsOptions}
|
67
|
+
*/
|
68
|
+
widgetsOptions: PropType<import("@sisense/sdk-ui-preact").WidgetsOptions | undefined>;
|
69
|
+
/**
|
70
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardProps.styleOptions}
|
71
|
+
*/
|
72
|
+
styleOptions: PropType<import("@sisense/sdk-ui-preact").DashboardStyleOptions | undefined>;
|
73
|
+
}, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
74
|
+
[key: string]: any;
|
75
|
+
}>) | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
76
|
+
/**
|
77
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardProps.title}
|
78
|
+
*/
|
79
|
+
title: PropType<string | undefined>;
|
80
|
+
/**
|
81
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardProps.layoutOptions}
|
82
|
+
*/
|
83
|
+
layoutOptions: PropType<import("@sisense/sdk-ui-preact").DashboardLayoutOptions | undefined>;
|
84
|
+
/**
|
85
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardProps.config}
|
86
|
+
*
|
87
|
+
* @internal
|
88
|
+
*/
|
89
|
+
config: PropType<import("@sisense/sdk-ui-preact").DashboardConfig | undefined>;
|
90
|
+
/**
|
91
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardProps.widgets}
|
92
|
+
*/
|
93
|
+
widgets: PropType<import("@sisense/sdk-ui-preact").WidgetProps[]>;
|
94
|
+
/**
|
95
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardProps.filters}
|
96
|
+
*/
|
97
|
+
filters: PropType<import("@sisense/sdk-data").Filter[] | undefined>;
|
98
|
+
/**
|
99
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardProps.defaultDataSource}
|
100
|
+
*/
|
101
|
+
defaultDataSource: PropType<import("@sisense/sdk-data").DataSource | undefined>;
|
102
|
+
/**
|
103
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardProps.widgetsOptions}
|
104
|
+
*/
|
105
|
+
widgetsOptions: PropType<import("@sisense/sdk-ui-preact").WidgetsOptions | undefined>;
|
106
|
+
/**
|
107
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardProps.styleOptions}
|
108
|
+
*/
|
109
|
+
styleOptions: PropType<import("@sisense/sdk-ui-preact").DashboardStyleOptions | undefined>;
|
110
|
+
}>>, {}, {}>;
|
package/dist/{src → packages/sdk-ui-vue/src}/components/filters/basic-member-filter-tile.d.ts
RENAMED
@@ -23,7 +23,7 @@ import type { PropType } from 'vue';
|
|
23
23
|
*/
|
24
24
|
export declare const BasicMemberFilterTile: import("vue").DefineComponent<{
|
25
25
|
allMembers: PropType<import("@sisense/sdk-ui-preact").Member[]>;
|
26
|
-
initialSelectedMembers: PropType<import("@sisense/sdk-ui/dist/filters/components/member-filter-tile/members-reducer").SelectedMember[] | undefined>;
|
26
|
+
initialSelectedMembers: PropType<import("@sisense/sdk-ui/dist/packages/sdk-ui/src/filters/components/member-filter-tile/members-reducer").SelectedMember[] | undefined>;
|
27
27
|
isDependent: PropType<boolean | undefined>;
|
28
28
|
maxAllowedMembers: PropType<number | undefined>;
|
29
29
|
onUpdateSelectedMembers: PropType<((members: string[], disabled?: boolean | undefined) => void) | undefined>;
|
@@ -33,7 +33,7 @@ export declare const BasicMemberFilterTile: import("vue").DefineComponent<{
|
|
33
33
|
[key: string]: any;
|
34
34
|
}>) | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
35
35
|
allMembers: PropType<import("@sisense/sdk-ui-preact").Member[]>;
|
36
|
-
initialSelectedMembers: PropType<import("@sisense/sdk-ui/dist/filters/components/member-filter-tile/members-reducer").SelectedMember[] | undefined>;
|
36
|
+
initialSelectedMembers: PropType<import("@sisense/sdk-ui/dist/packages/sdk-ui/src/filters/components/member-filter-tile/members-reducer").SelectedMember[] | undefined>;
|
37
37
|
isDependent: PropType<boolean | undefined>;
|
38
38
|
maxAllowedMembers: PropType<number | undefined>;
|
39
39
|
onUpdateSelectedMembers: PropType<((members: string[], disabled?: boolean | undefined) => void) | undefined>;
|
@@ -54,7 +54,7 @@ import type { PropType } from 'vue';
|
|
54
54
|
* <img src="media://chart-widget-with-drilldown-example-1.png" width="800px" />
|
55
55
|
* @param props - ChartWidget properties
|
56
56
|
* @returns ChartWidget component representing a chart type as specified in `ChartWidgetProps.`{@link ChartWidgetProps.chartType | chartType}
|
57
|
-
* @group
|
57
|
+
* @group Dashboarding
|
58
58
|
*/
|
59
59
|
export declare const ChartWidget: import("vue").DefineComponent<{
|
60
60
|
/**
|