@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
@@ -18,25 +18,29 @@ import type { GetDashboardModelParams } from '@sisense/sdk-ui-preact';
18
18
  * ```vue
19
19
  * <template>
20
20
  * <Dashboard
21
- * v-if="dashboard"
22
- * :title="dashboard.title"
23
- * :layout="dashboard.layout"
24
- * :widgets="dashboard.widgets"
25
- * :filters="dashboard.filters"
26
- * :defaultDataSource="dashboard.dataSource"
27
- * :widgetFilterOptions="dashboard.widgetFilterOptions"
28
- * :styleOptions="dashboard.styleOptions"
21
+ * v-if="dashboardProps"
22
+ * :title="dashboardProps.title"
23
+ * :layoutOptions="dashboardProps.layoutOptions"
24
+ * :widgets="dashboardProps.widgets"
25
+ * :filters="dashboardProps.filters"
26
+ * :defaultDataSource="dashboardProps.dataSource"
27
+ * :widgetsOptions="dashboardProps.widgetsOptions"
28
+ * :styleOptions="dashboardProps.styleOptions"
29
29
  * />
30
30
  * </template>
31
31
  *
32
32
  * <script setup lang="ts">
33
- * import { DashboardById, useGetDashboardModel } from '@sisense/sdk-ui-vue';
33
+ * import { dashboardModelTranslator, useGetDashboardModel } from '@sisense/sdk-ui-vue';
34
34
  *
35
35
  * const { dashboard } = useGetDashboardModel({
36
36
  * dashboardOid: '6441e728dac1920034bce737',
37
37
  * includeWidgets: true,
38
38
  * includeFilters: true,
39
39
  * });
40
+ *
41
+ * const dashboardProps = computed(() =>
42
+ * dashboard.value ? dashboardModelTranslator.toDashboardProps(dashboard.value) : null,
43
+ * );
40
44
  * </script>
41
45
  * ```
42
46
  *
@@ -17,14 +17,14 @@ import type { MaybeRefOrWithRefs } from '../types';
17
17
  *
18
18
  * ```vue
19
19
  * <script setup lang="ts">
20
- * import { Chart, useGetWidgetModel } from '@sisense/sdk-ui-vue';
20
+ * import { Chart, useGetWidgetModel, widgetModelTranslator } from '@sisense/sdk-ui-vue';
21
21
  * const { data: widget } = useGetWidgetModel({
22
22
  * dashboardOid: 'your_dashboard_oid',
23
23
  * widgetOid: 'your_widget_oid',
24
24
  * });
25
25
  * </script>
26
26
  * <template>
27
- * <Chart v-if="widget" v-bind="widget.getChartProps()" />
27
+ * <Chart v-if="widget" v-bind="widgetModelTranslator.toChartProps(widget)" />
28
28
  * </template>
29
29
  * ```
30
30
  *
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export declare const usePlugins: () => {
5
+ pluginMap: Map<string, import("@sisense/sdk-ui").PluginComponent> & Omit<Map<string, import("@sisense/sdk-ui").PluginComponent>, keyof Map<any, any>>;
6
+ registerPlugin: (pluginType: string, plugin: import("@sisense/sdk-ui").PluginComponent) => void;
7
+ getPlugin: (pluginType: string) => import("@sisense/sdk-ui").PluginComponent | undefined;
8
+ };
@@ -1,2 +1,3 @@
1
1
  export { SisenseContextProvider, createSisenseContextConnector, getSisenseContext, } from './sisense-context-provider';
2
2
  export { ThemeProvider, createThemeContextConnector } from './theme-provider';
3
+ export { PluginsProvider, createPluginsContextConnector } from './plugins-provider';
@@ -0,0 +1,33 @@
1
+ import type { Ref } from 'vue';
2
+ import type { CustomPluginsContext } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Gets Plugins context
5
+ *
6
+ * @group Contexts
7
+ */
8
+ export declare const getPluginsContext: () => Ref<{
9
+ pluginMap: Map<string, import("@sisense/sdk-ui-preact").PluginComponent> & Omit<Map<string, import("@sisense/sdk-ui-preact").PluginComponent>, keyof Map<any, any>>;
10
+ registerPlugin: (pluginType: string, plugin: import("@sisense/sdk-ui-preact").PluginComponent) => void;
11
+ getPlugin: (pluginType: string) => import("@sisense/sdk-ui-preact").PluginComponent | undefined;
12
+ }>;
13
+ /**
14
+ * Creates plugins context connector
15
+ *
16
+ * @group Contexts
17
+ * @internal
18
+ */
19
+ export declare const createPluginsContextConnector: (context: CustomPluginsContext) => {
20
+ prepareContext(): Promise<CustomPluginsContext>;
21
+ renderContextProvider: (contextData: CustomPluginsContext, children: import("preact").VNode<{}>, error?: Error | undefined) => import("preact").VNode<{}>;
22
+ };
23
+ /**
24
+ * Provider for working with plugins fetched from an external environment.
25
+ *
26
+ * Provides methods for registering, retrieving, and interacting with plugins.
27
+ *
28
+ * @internal
29
+ * @group Contexts
30
+ */
31
+ export declare const PluginsProvider: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
32
+ [key: string]: any;
33
+ }>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
@@ -0,0 +1,97 @@
1
+ import type { PropType, Ref } from 'vue';
2
+ import type { CompleteThemeSettings } from '@sisense/sdk-ui-preact';
3
+ /**
4
+ * Gets Theme context
5
+ */
6
+ export declare const getThemeContext: () => Ref<CompleteThemeSettings> | undefined;
7
+ /**
8
+ * Creates theme context connector
9
+ * @internal
10
+ */
11
+ export declare const createThemeContextConnector: (themeSettings?: CompleteThemeSettings) => {
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
+ };
21
+ /**
22
+ * Theme provider, which allows you to adjust the look and feel of child components.
23
+ *
24
+ * Components not wrapped in a theme provider use the current theme from the connected Fusion instance by default.
25
+ *
26
+ * @example
27
+ * Example of a theme provider, which changes the colors and font of the nested indicator chart:
28
+ * ```vue
29
+ * <template>
30
+ * <ThemeProvider :theme="customTheme">
31
+ * <IndicatorChart .... />
32
+ * </ThemeProvider>
33
+ * </template>
34
+ *
35
+ * <script>
36
+ * import { ref } from 'vue';
37
+ * import ThemeProvider from './ThemeProvider.vue';
38
+ *
39
+ * export default {
40
+ * components: { ThemeProvider },
41
+ * setup() {
42
+ * const customTheme = ref({
43
+ chart: {
44
+ backgroundColor: '#333333',
45
+ textColor: 'orange',
46
+ secondaryTextColor: 'purple',
47
+ },
48
+ typography: {
49
+ fontFamily: 'impact',
50
+ },
51
+ * });
52
+ *
53
+ * return { customTheme };
54
+ * }
55
+ * };
56
+ * </script>
57
+ * ```
58
+ *
59
+ * Alternatively, to fetch theme settings based on a theme ID:
60
+ * ```vue
61
+ * <template>
62
+ * <ThemeProvider :theme="'theme_id_string'">
63
+ * <!-- Components that will use the fetched theme settings -->
64
+ * </ThemeProvider>
65
+ * </template>
66
+ * ```
67
+ *
68
+ * Indicator chart with custom theme settings:
69
+ *
70
+ * <img src="media://indicator-chart-example-2.png" width="400px" />
71
+ *
72
+ *
73
+ * For comparison, indicator chart with default theme settings:
74
+ *
75
+ * <img src="media://indicator-chart-example-1.png" width="400px" />
76
+ *
77
+ * @see {@link ThemeSettings} and {@link IndicatorChart}
78
+ * @param props - Theme provider props
79
+ * @returns A Theme Provider component * @prop {Object | String} theme - Theme settings object for custom themes or a string identifier to fetch theme settings. When provided as an object, it merges with the default theme settings. When provided as a string, it attempts to fetch theme settings using the provided ID.
80
+ * @prop {Boolean} skipTracking [internal] - Specifies whether to skip tracking of theme usage. Intended for internal use and debugging purposes.
81
+ * @group Contexts
82
+ */
83
+ export declare const ThemeProvider: import("vue").DefineComponent<{
84
+ theme: PropType<string | import("@sisense/sdk-ui-preact").ThemeSettings | undefined>;
85
+ /**
86
+ * @internal
87
+ */
88
+ skipTracking: PropType<boolean | undefined>;
89
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
90
+ [key: string]: any;
91
+ }>[] | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
92
+ theme: PropType<string | import("@sisense/sdk-ui-preact").ThemeSettings | undefined>;
93
+ /**
94
+ * @internal
95
+ */
96
+ skipTracking: PropType<boolean | undefined>;
97
+ }>>, {}, {}>;
@@ -0,0 +1,5 @@
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, DashboardByIdProps, 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 } from '@sisense/sdk-ui-preact';
4
+ export type ContextMenuProps = Omit<ContextMenuPropsPreact, 'children'>;
5
+ export type ThemeProviderProps = Omit<ThemeProviderPropsPreact, 'children'>;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "Sisense",
12
12
  "Compose SDK"
13
13
  ],
14
- "version": "1.18.1",
14
+ "version": "1.20.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.18.1",
45
+ "@sisense/sdk-ui-preact": "^1.20.0",
46
46
  "deepmerge": "^4.3.1",
47
47
  "lodash-es": "^4.17.21",
48
48
  "vue": "^3.3.2"
@@ -1,95 +0,0 @@
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="dashboard"
11
- * :title="dashboard.title"
12
- * :layout="dashboard.layout"
13
- * :widgets="dashboard.widgets"
14
- * :filters="dashboard.filters"
15
- * :defaultDataSource="dashboard.dataSource"
16
- * :widgetFilterOptions="dashboard.widgetFilterOptions"
17
- * :styleOptions="dashboard.styleOptions"
18
- * />
19
- * </template>
20
- *
21
- * <script setup lang="ts">
22
- * import { DashboardById, useGetDashboardModel } from '@sisense/sdk-ui-vue';
23
- *
24
- * const { dashboard } = useGetDashboardModel({
25
- * dashboardOid: '6441e728dac1920034bce737',
26
- * includeWidgets: true,
27
- * includeFilters: true,
28
- * });
29
- * </script>
30
- * ```
31
- * @group Fusion Embed
32
- * @fusionEmbed
33
- * @alpha
34
- */
35
- export declare const Dashboard: import("vue").DefineComponent<{
36
- /**
37
- * {@inheritDoc @sisense/sdk-ui!DashboardProps.title}
38
- */
39
- title: PropType<string>;
40
- /**
41
- * {@inheritDoc @sisense/sdk-ui!DashboardProps.layout}
42
- */
43
- layout: PropType<import("@sisense/sdk-ui-preact").Layout>;
44
- /**
45
- * {@inheritDoc @sisense/sdk-ui!DashboardProps.widgets}
46
- */
47
- widgets: PropType<import("@sisense/sdk-ui-preact").WidgetModel[]>;
48
- /**
49
- * {@inheritDoc @sisense/sdk-ui!DashboardProps.filters}
50
- */
51
- filters: PropType<import("@sisense/sdk-data").Filter[]>;
52
- /**
53
- * {@inheritDoc @sisense/sdk-ui!DashboardProps.defaultDataSource}
54
- */
55
- defaultDataSource: PropType<import("@sisense/sdk-data").DataSource | undefined>;
56
- /**
57
- * {@inheritDoc @sisense/sdk-ui!DashboardProps.widgetFilterOptions}
58
- */
59
- widgetFilterOptions: PropType<import("@sisense/sdk-ui-preact").WidgetFilterOptions | undefined>;
60
- /**
61
- * {@inheritDoc @sisense/sdk-ui!DashboardProps.styleOptions}
62
- */
63
- styleOptions: PropType<import("@sisense/sdk-ui-preact").DashboardStyleOptions>;
64
- }, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
65
- [key: string]: any;
66
- }>) | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
67
- /**
68
- * {@inheritDoc @sisense/sdk-ui!DashboardProps.title}
69
- */
70
- title: PropType<string>;
71
- /**
72
- * {@inheritDoc @sisense/sdk-ui!DashboardProps.layout}
73
- */
74
- layout: PropType<import("@sisense/sdk-ui-preact").Layout>;
75
- /**
76
- * {@inheritDoc @sisense/sdk-ui!DashboardProps.widgets}
77
- */
78
- widgets: PropType<import("@sisense/sdk-ui-preact").WidgetModel[]>;
79
- /**
80
- * {@inheritDoc @sisense/sdk-ui!DashboardProps.filters}
81
- */
82
- filters: PropType<import("@sisense/sdk-data").Filter[]>;
83
- /**
84
- * {@inheritDoc @sisense/sdk-ui!DashboardProps.defaultDataSource}
85
- */
86
- defaultDataSource: PropType<import("@sisense/sdk-data").DataSource | undefined>;
87
- /**
88
- * {@inheritDoc @sisense/sdk-ui!DashboardProps.widgetFilterOptions}
89
- */
90
- widgetFilterOptions: PropType<import("@sisense/sdk-ui-preact").WidgetFilterOptions | undefined>;
91
- /**
92
- * {@inheritDoc @sisense/sdk-ui!DashboardProps.styleOptions}
93
- */
94
- styleOptions: PropType<import("@sisense/sdk-ui-preact").DashboardStyleOptions>;
95
- }>>, {}, {}>;
@@ -1,121 +0,0 @@
1
- import type { Attribute, Column } from '@sisense/sdk-data';
2
- import { type DataPoint, type StyledColumn } from '@sisense/sdk-ui-preact';
3
- import { type Ref } from 'vue';
4
- /**
5
- * @internal
6
- */
7
- export declare const useCustomDrilldown: ({ drilldownDimensions, initialDimension, }: {
8
- drilldownDimensions: Ref<Attribute[]>;
9
- initialDimension: Column | StyledColumn;
10
- }) => {
11
- selectDrilldown: (points: DataPoint[], nextDimension: Attribute) => void;
12
- sliceDrilldownSelections: (i: number) => void;
13
- clearDrilldownSelections: () => void;
14
- drilldownSelections: Ref<{
15
- points: ({
16
- value?: string | number | undefined;
17
- categoryValue?: string | number | undefined;
18
- categoryDisplayValue?: string | undefined;
19
- seriesValue?: string | number | undefined;
20
- } | {
21
- x?: string | number | undefined;
22
- y?: string | number | undefined;
23
- size?: number | undefined;
24
- breakByPoint?: string | undefined;
25
- breakByColor?: string | undefined;
26
- } | {
27
- boxMin: number;
28
- boxMedian: number;
29
- boxMax: number;
30
- whiskerMin: number;
31
- whiskerMax: number;
32
- categoryValue?: string | number | undefined;
33
- categoryDisplayValue?: string | undefined;
34
- } | {
35
- geoName: string;
36
- originalValue: number;
37
- formattedOriginalValue: string;
38
- color?: import("@sisense/sdk-ui-preact").Color | undefined;
39
- })[];
40
- nextDimension: {
41
- readonly expression: string;
42
- getSort: () => import("@sisense/sdk-data").Sort;
43
- sort: (sort: import("@sisense/sdk-data").Sort) => Attribute;
44
- name: string;
45
- readonly type: string;
46
- readonly description: string;
47
- readonly id: string;
48
- serializable: () => any;
49
- toJSON: () => any;
50
- jaql: (nested?: boolean | undefined) => any;
51
- skipValidation?: boolean | undefined;
52
- composeCode?: string | undefined;
53
- };
54
- }[]>;
55
- availableDrilldowns: import("vue").ComputedRef<Attribute[]>;
56
- drilldownDimension: Ref<Attribute | undefined>;
57
- drilldownFilters: Ref<{
58
- readonly members: any[];
59
- excludeMembers: boolean;
60
- deactivatedMembers: any[];
61
- backgroundFilter?: {
62
- readonly guid: string;
63
- readonly attribute: {
64
- readonly expression: string;
65
- getSort: () => import("@sisense/sdk-data").Sort;
66
- sort: (sort: import("@sisense/sdk-data").Sort) => Attribute;
67
- name: string;
68
- readonly type: string;
69
- readonly description: string;
70
- readonly id: string;
71
- serializable: () => any;
72
- toJSON: () => any;
73
- jaql: (nested?: boolean | undefined) => any;
74
- skipValidation?: boolean | undefined;
75
- composeCode?: string | undefined;
76
- };
77
- isScope: boolean;
78
- disabled: boolean;
79
- locked: boolean;
80
- filterJaql: () => any;
81
- name: string;
82
- readonly type: string;
83
- readonly description: string;
84
- readonly id: string;
85
- serializable: () => any;
86
- toJSON: () => any;
87
- jaql: (nested?: boolean | undefined) => any;
88
- skipValidation?: boolean | undefined;
89
- composeCode?: string | undefined;
90
- } | undefined;
91
- readonly id: string;
92
- serializable: () => any;
93
- filterJaql: () => any;
94
- readonly attribute: {
95
- readonly expression: string;
96
- getSort: () => import("@sisense/sdk-data").Sort;
97
- sort: (sort: import("@sisense/sdk-data").Sort) => Attribute;
98
- name: string;
99
- readonly type: string;
100
- readonly description: string;
101
- readonly id: string;
102
- serializable: () => any;
103
- toJSON: () => any;
104
- jaql: (nested?: boolean | undefined) => any;
105
- skipValidation?: boolean | undefined;
106
- composeCode?: string | undefined;
107
- };
108
- readonly filterType: string;
109
- readonly guid: string;
110
- disabled: boolean;
111
- locked: boolean;
112
- readonly name: string;
113
- isScope: boolean;
114
- jaql: (nested?: boolean | undefined) => any;
115
- readonly description: string;
116
- readonly type: string;
117
- toJSON: () => any;
118
- toString: () => string;
119
- }[]>;
120
- drilldownFiltersDisplayValues: Ref<string[][]>;
121
- };