@sisense/sdk-ui-vue 1.18.1 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. package/dist/index.cjs +796 -727
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.js +74308 -74014
  4. package/dist/{src → packages/sdk-ui-vue/src}/components/dashboard/dashboard-by-id.d.ts +1 -1
  5. package/dist/packages/sdk-ui-vue/src/components/dashboard/dashboard.d.ts +110 -0
  6. package/dist/{src → packages/sdk-ui-vue/src}/components/filters/basic-member-filter-tile.d.ts +2 -2
  7. package/dist/{src → packages/sdk-ui-vue/src}/components/widgets/chart-widget.d.ts +1 -1
  8. package/dist/{src → packages/sdk-ui-vue/src}/composables/index.d.ts +1 -0
  9. package/dist/packages/sdk-ui-vue/src/composables/use-custom-drilldown.d.ts +5835 -0
  10. package/dist/{src → packages/sdk-ui-vue/src}/composables/use-get-dashboard-model.d.ts +13 -9
  11. package/dist/{src → packages/sdk-ui-vue/src}/composables/use-get-widget-model.d.ts +2 -2
  12. package/dist/packages/sdk-ui-vue/src/composables/use-plugins.d.ts +8 -0
  13. package/dist/{src → packages/sdk-ui-vue/src}/providers/index.d.ts +1 -0
  14. package/dist/packages/sdk-ui-vue/src/providers/plugins-provider.d.ts +33 -0
  15. package/dist/packages/sdk-ui-vue/src/providers/theme-provider.d.ts +97 -0
  16. package/dist/packages/sdk-ui-vue/src/sdk-ui-core-exports.d.ts +5 -0
  17. package/package.json +2 -2
  18. package/dist/src/components/dashboard/dashboard.d.ts +0 -95
  19. package/dist/src/composables/use-custom-drilldown.d.ts +0 -121
  20. package/dist/src/providers/theme-provider.d.ts +0 -544
  21. package/dist/src/sdk-ui-core-exports.d.ts +0 -5
  22. /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/area-chart.d.ts +0 -0
  23. /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/area-range-chart.d.ts +0 -0
  24. /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/areamap-chart.d.ts +0 -0
  25. /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/bar-chart.d.ts +0 -0
  26. /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/boxplot-chart.d.ts +0 -0
  27. /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/chart.d.ts +0 -0
  28. /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/column-chart.d.ts +0 -0
  29. /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/funnel-chart.d.ts +0 -0
  30. /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/index.d.ts +0 -0
  31. /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/indicator-chart.d.ts +0 -0
  32. /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/line-chart.d.ts +0 -0
  33. /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/pie-chart.d.ts +0 -0
  34. /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/pivot-table.d.ts +0 -0
  35. /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/polar-chart.d.ts +0 -0
  36. /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/scatter-chart.d.ts +0 -0
  37. /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/scattermap-chart.d.ts +0 -0
  38. /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/sunburst-chart.d.ts +0 -0
  39. /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/table.d.ts +0 -0
  40. /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/treemap-chart.d.ts +0 -0
  41. /package/dist/{src → packages/sdk-ui-vue/src}/components/context-menu.d.ts +0 -0
  42. /package/dist/{src → packages/sdk-ui-vue/src}/components/dashboard/index.d.ts +0 -0
  43. /package/dist/{src → packages/sdk-ui-vue/src}/components/drilldown-breadcrumbs.d.ts +0 -0
  44. /package/dist/{src → packages/sdk-ui-vue/src}/components/drilldown-widget.d.ts +0 -0
  45. /package/dist/{src → packages/sdk-ui-vue/src}/components/drilldown-widget.vue.d.ts +0 -0
  46. /package/dist/{src → packages/sdk-ui-vue/src}/components/filters/criteria-filter-tile.d.ts +0 -0
  47. /package/dist/{src → packages/sdk-ui-vue/src}/components/filters/date-range-filter-tile.d.ts +0 -0
  48. /package/dist/{src → packages/sdk-ui-vue/src}/components/filters/index.d.ts +0 -0
  49. /package/dist/{src → packages/sdk-ui-vue/src}/components/filters/member-filter-tile.d.ts +0 -0
  50. /package/dist/{src → packages/sdk-ui-vue/src}/components/widgets/dashboard-widget.d.ts +0 -0
  51. /package/dist/{src → packages/sdk-ui-vue/src}/components/widgets/index.d.ts +0 -0
  52. /package/dist/{src → packages/sdk-ui-vue/src}/components/widgets/table-widget.d.ts +0 -0
  53. /package/dist/{src → packages/sdk-ui-vue/src}/composables/use-execute-query-by-widget-id.d.ts +0 -0
  54. /package/dist/{src → packages/sdk-ui-vue/src}/composables/use-execute-query.d.ts +0 -0
  55. /package/dist/{src → packages/sdk-ui-vue/src}/composables/use-fetch.d.ts +0 -0
  56. /package/dist/{src → packages/sdk-ui-vue/src}/composables/use-get-dashboard-models.d.ts +0 -0
  57. /package/dist/{src → packages/sdk-ui-vue/src}/composables/use-get-shared-formula.d.ts +0 -0
  58. /package/dist/{src → packages/sdk-ui-vue/src}/composables/use-tracking.d.ts +0 -0
  59. /package/dist/{src → packages/sdk-ui-vue/src}/helpers/use-reducer.d.ts +0 -0
  60. /package/dist/{src → packages/sdk-ui-vue/src}/lib.d.ts +0 -0
  61. /package/dist/{src → packages/sdk-ui-vue/src}/providers/sisense-context-provider.d.ts +0 -0
  62. /package/dist/{src → packages/sdk-ui-vue/src}/setup-helper.d.ts +0 -0
  63. /package/dist/{src → packages/sdk-ui-vue/src}/types.d.ts +0 -0
  64. /package/dist/{src → packages/sdk-ui-vue/src}/utils.d.ts +0 -0
@@ -21,7 +21,7 @@ import type { PropType } from 'vue';
21
21
  * ```
22
22
  * @group Fusion Embed
23
23
  * @fusionEmbed
24
- * @alpha
24
+ * @beta
25
25
  */
26
26
  export declare const DashboardById: import("vue").DefineComponent<{
27
27
  /**
@@ -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
+ }>>, {}, {}>;
@@ -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 Chart Utilities
57
+ * @group Dashboarding
58
58
  */
59
59
  export declare const ChartWidget: import("vue").DefineComponent<{
60
60
  /**
@@ -5,4 +5,5 @@ export { useGetDashboardModels } from './use-get-dashboard-models.js';
5
5
  export { useGetSharedFormula } from './use-get-shared-formula.js';
6
6
  export { useGetWidgetModel } from './use-get-widget-model.js';
7
7
  export { useFetch } from './use-fetch.js';
8
+ export { usePlugins } from './use-plugins.js';
8
9
  export type { UseFetchOptions } from './use-fetch.js';