@sisense/sdk-ui-angular 1.31.0 → 1.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/dist/ai/lib/component-wrapper-helpers/context-connectors.d.ts +10 -0
  2. package/dist/ai/lib/component-wrapper-helpers/index.d.ts +2 -0
  3. package/dist/ai/lib/component-wrapper-helpers/template.d.ts +2 -0
  4. package/dist/ai/lib/components/chatbot.component.d.ts +132 -0
  5. package/dist/ai/lib/components/get-nlg-insights.component.d.ts +141 -0
  6. package/dist/ai/lib/components/index.d.ts +2 -0
  7. package/dist/ai/lib/sdk-ai.module.d.ts +40 -5
  8. package/dist/ai/lib/sdk-ui-core-exports.d.ts +1 -0
  9. package/dist/ai/lib/services/ai.service.d.ts +88 -0
  10. package/dist/ai/lib/services/index.d.ts +1 -0
  11. package/dist/ai/public-api.d.ts +6 -0
  12. package/dist/esm2020/ai/lib/component-wrapper-helpers/context-connectors.mjs +20 -0
  13. package/dist/esm2020/ai/lib/component-wrapper-helpers/index.mjs +3 -0
  14. package/dist/esm2020/ai/lib/component-wrapper-helpers/template.mjs +5 -0
  15. package/dist/esm2020/ai/lib/components/chatbot.component.mjs +138 -0
  16. package/dist/esm2020/ai/lib/components/get-nlg-insights.component.mjs +145 -0
  17. package/dist/esm2020/ai/lib/components/index.mjs +3 -0
  18. package/dist/esm2020/ai/lib/sdk-ai.module.mjs +40 -6
  19. package/dist/esm2020/ai/lib/sdk-ui-core-exports.mjs +3 -0
  20. package/dist/esm2020/ai/lib/services/ai.service.mjs +137 -0
  21. package/dist/esm2020/ai/lib/services/index.mjs +2 -0
  22. package/dist/esm2020/ai/public-api.mjs +7 -1
  23. package/dist/esm2020/lib/component-wrapper-helpers/index.mjs +2 -1
  24. package/dist/esm2020/lib/components/charts/area-chart.component.mjs +1 -1
  25. package/dist/esm2020/lib/components/charts/area-range-chart.component.mjs +1 -1
  26. package/dist/esm2020/lib/components/charts/areamap-chart.component.mjs +1 -1
  27. package/dist/esm2020/lib/components/charts/bar-chart.component.mjs +1 -1
  28. package/dist/esm2020/lib/components/charts/boxplot-chart.component.mjs +1 -1
  29. package/dist/esm2020/lib/components/charts/chart.component.mjs +1 -1
  30. package/dist/esm2020/lib/components/charts/column-chart.component.mjs +1 -1
  31. package/dist/esm2020/lib/components/charts/funnel-chart.component.mjs +1 -1
  32. package/dist/esm2020/lib/components/charts/indicator-chart.component.mjs +1 -1
  33. package/dist/esm2020/lib/components/charts/line-chart.component.mjs +1 -1
  34. package/dist/esm2020/lib/components/charts/pie-chart.component.mjs +1 -1
  35. package/dist/esm2020/lib/components/charts/pivot-table.component.mjs +1 -1
  36. package/dist/esm2020/lib/components/charts/polar-chart.component.mjs +1 -1
  37. package/dist/esm2020/lib/components/charts/scatter-chart.component.mjs +1 -1
  38. package/dist/esm2020/lib/components/charts/scattermap-chart.component.mjs +1 -1
  39. package/dist/esm2020/lib/components/charts/sunburst-chart.component.mjs +1 -1
  40. package/dist/esm2020/lib/components/charts/table.component.mjs +1 -1
  41. package/dist/esm2020/lib/components/charts/treemap-chart.component.mjs +1 -1
  42. package/dist/esm2020/lib/components/dashboard/dashboard-by-id.component.mjs +4 -4
  43. package/dist/esm2020/lib/components/dashboard/dashboard.component.mjs +1 -1
  44. package/dist/esm2020/lib/components/drilldown-breadcrumbs.component.mjs +1 -1
  45. package/dist/esm2020/lib/components/filters/criteria-filter-tile.component.mjs +1 -1
  46. package/dist/esm2020/lib/components/filters/date-range-filter-tile.component.mjs +1 -1
  47. package/dist/esm2020/lib/components/filters/member-filter-tile.component.mjs +1 -1
  48. package/dist/esm2020/lib/components/filters/relative-date-filter-tile.component.mjs +1 -1
  49. package/dist/esm2020/lib/components/widgets/chart-widget.component.mjs +1 -1
  50. package/dist/esm2020/lib/components/widgets/index.mjs +2 -1
  51. package/dist/esm2020/lib/components/widgets/pivot-table-widget.component.mjs +127 -0
  52. package/dist/esm2020/lib/components/widgets/table-widget.component.mjs +1 -1
  53. package/dist/esm2020/lib/components/widgets/widget-by-id.component.mjs +1 -1
  54. package/dist/esm2020/lib/decorators/index.mjs +3 -0
  55. package/dist/esm2020/lib/decorators/trackable.decorator.mjs +2 -1
  56. package/dist/esm2020/lib/sdk-ui-core-exports.mjs +2 -2
  57. package/dist/esm2020/lib/sdk-ui.module.mjs +10 -6
  58. package/dist/esm2020/lib/services/query.service.mjs +31 -5
  59. package/dist/esm2020/lib/services/sisense-context.service.mjs +3 -3
  60. package/dist/esm2020/lib/services/theme.service.mjs +3 -3
  61. package/dist/esm2020/lib/types/dashboard-config.mjs +2 -0
  62. package/dist/esm2020/lib/types/index.mjs +2 -1
  63. package/dist/esm2020/lib/utilities/dashboard-helpers.mjs +119 -0
  64. package/dist/esm2020/lib/utilities/dashboard-model-translator.mjs +49 -0
  65. package/dist/esm2020/lib/utilities/index.mjs +7 -0
  66. package/dist/esm2020/lib/utilities/widget-model-translator.mjs +304 -0
  67. package/dist/esm2020/public-api.mjs +6 -25
  68. package/dist/esm2020/version.mjs +2 -2
  69. package/dist/fesm2015/sisense-sdk-ui-angular-ai.mjs +471 -8
  70. package/dist/fesm2015/sisense-sdk-ui-angular-ai.mjs.map +1 -1
  71. package/dist/fesm2015/sisense-sdk-ui-angular.mjs +671 -43
  72. package/dist/fesm2015/sisense-sdk-ui-angular.mjs.map +1 -1
  73. package/dist/fesm2020/sisense-sdk-ui-angular-ai.mjs +466 -8
  74. package/dist/fesm2020/sisense-sdk-ui-angular-ai.mjs.map +1 -1
  75. package/dist/fesm2020/sisense-sdk-ui-angular.mjs +668 -42
  76. package/dist/fesm2020/sisense-sdk-ui-angular.mjs.map +1 -1
  77. package/dist/lib/component-wrapper-helpers/index.d.ts +1 -0
  78. package/dist/lib/components/charts/area-chart.component.d.ts +3 -0
  79. package/dist/lib/components/charts/area-range-chart.component.d.ts +3 -0
  80. package/dist/lib/components/charts/areamap-chart.component.d.ts +3 -0
  81. package/dist/lib/components/charts/bar-chart.component.d.ts +3 -0
  82. package/dist/lib/components/charts/boxplot-chart.component.d.ts +3 -0
  83. package/dist/lib/components/charts/chart.component.d.ts +3 -0
  84. package/dist/lib/components/charts/column-chart.component.d.ts +3 -0
  85. package/dist/lib/components/charts/funnel-chart.component.d.ts +3 -0
  86. package/dist/lib/components/charts/indicator-chart.component.d.ts +3 -0
  87. package/dist/lib/components/charts/line-chart.component.d.ts +3 -0
  88. package/dist/lib/components/charts/pie-chart.component.d.ts +3 -0
  89. package/dist/lib/components/charts/pivot-table.component.d.ts +3 -0
  90. package/dist/lib/components/charts/polar-chart.component.d.ts +3 -0
  91. package/dist/lib/components/charts/scatter-chart.component.d.ts +3 -0
  92. package/dist/lib/components/charts/scattermap-chart.component.d.ts +3 -0
  93. package/dist/lib/components/charts/sunburst-chart.component.d.ts +3 -0
  94. package/dist/lib/components/charts/table.component.d.ts +3 -2
  95. package/dist/lib/components/charts/treemap-chart.component.d.ts +3 -0
  96. package/dist/lib/components/dashboard/dashboard-by-id.component.d.ts +11 -5
  97. package/dist/lib/components/dashboard/dashboard.component.d.ts +8 -2
  98. package/dist/lib/components/drilldown-breadcrumbs.component.d.ts +3 -0
  99. package/dist/lib/components/filters/criteria-filter-tile.component.d.ts +3 -0
  100. package/dist/lib/components/filters/date-range-filter-tile.component.d.ts +3 -0
  101. package/dist/lib/components/filters/member-filter-tile.component.d.ts +3 -0
  102. package/dist/lib/components/filters/relative-date-filter-tile.component.d.ts +3 -0
  103. package/dist/lib/components/widgets/chart-widget.component.d.ts +3 -0
  104. package/dist/lib/components/widgets/index.d.ts +1 -0
  105. package/dist/lib/components/widgets/pivot-table-widget.component.d.ts +127 -0
  106. package/dist/lib/components/widgets/table-widget.component.d.ts +5 -0
  107. package/dist/lib/components/widgets/widget-by-id.component.d.ts +3 -2
  108. package/dist/lib/decorators/index.d.ts +2 -0
  109. package/dist/lib/decorators/trackable.decorator.d.ts +1 -0
  110. package/dist/lib/sdk-ui-core-exports.d.ts +2 -2
  111. package/dist/lib/sdk-ui.module.d.ts +6 -5
  112. package/dist/lib/services/plugins.service.d.ts +1 -1
  113. package/dist/lib/services/query.service.d.ts +29 -3
  114. package/dist/lib/services/sisense-context.service.d.ts +2 -2
  115. package/dist/lib/services/theme.service.d.ts +2 -2
  116. package/dist/lib/types/dashboard-config.d.ts +24 -0
  117. package/dist/lib/types/index.d.ts +1 -0
  118. package/dist/lib/utilities/dashboard-helpers.d.ts +105 -0
  119. package/dist/lib/utilities/dashboard-model-translator.d.ts +47 -0
  120. package/dist/lib/utilities/index.d.ts +23 -0
  121. package/dist/lib/utilities/widget-model-translator.d.ts +289 -0
  122. package/dist/package.json +1 -1
  123. package/dist/public-api.d.ts +5 -22
  124. package/dist/version.d.ts +1 -1
  125. package/package.json +4 -4
@@ -1 +1,2 @@
1
1
  export * from './context-connectors';
2
+ export * from './template';
@@ -4,6 +4,9 @@ import { type AreaChartProps as AreaChartPropsPreact } from '@sisense/sdk-ui-pre
4
4
  import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
5
5
  import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Props of the {@link AreaChartComponent} component.
9
+ */
7
10
  export interface AreaChartProps extends WithoutPreactChartEventProps<AreaChartPropsPreact>, RegularChartEventProps {
8
11
  }
9
12
  /**
@@ -4,6 +4,9 @@ import { type AreaRangeChartProps as AreaRangeChartPropsPreact } from '@sisense/
4
4
  import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
5
5
  import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Props of the {@link AreaRangeChartComponent}.
9
+ */
7
10
  export interface AreaRangeChartProps extends WithoutPreactChartEventProps<AreaRangeChartPropsPreact>, RegularChartEventProps {
8
11
  }
9
12
  /**
@@ -3,6 +3,9 @@ import { type ChartType, type AreamapChartProps as AreamapChartPropsPreact } fro
3
3
  import { BaseChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
4
4
  import { DataPointEvent, DataPointEventHandler } from '../../types/data-point';
5
5
  import * as i0 from "@angular/core";
6
+ /**
7
+ * Props of the {@link AreamapChartComponent}.
8
+ */
6
9
  export interface AreamapChartProps extends WithoutPreactChartEventProps<AreamapChartPropsPreact>, BaseChartEventProps {
7
10
  dataPointClick?: DataPointEventHandler;
8
11
  }
@@ -4,6 +4,9 @@ import { type BarChartProps as BarChartPropsPreact } from '@sisense/sdk-ui-preac
4
4
  import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
5
5
  import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Props of the {@link BarChartComponent}.
9
+ */
7
10
  export interface BarChartProps extends WithoutPreactChartEventProps<BarChartPropsPreact>, RegularChartEventProps {
8
11
  }
9
12
  /**
@@ -4,6 +4,9 @@ import { type BoxplotChartProps as BoxplotChartPropsPreact } from '@sisense/sdk-
4
4
  import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
5
5
  import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Props of the {@link BoxplotChartComponent}.
9
+ */
7
10
  export interface BoxplotChartProps extends WithoutPreactChartEventProps<BoxplotChartPropsPreact>, RegularChartEventProps {
8
11
  }
9
12
  /**
@@ -5,6 +5,9 @@ import { ThemeService } from '../../services/theme.service';
5
5
  import { ChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
6
6
  import { ChartDataPointEvent, ChartDataPointsEvent } from '../../types/data-point';
7
7
  import * as i0 from "@angular/core";
8
+ /**
9
+ * Props shared across the {@link ChartComponent}.
10
+ */
8
11
  export interface ChartProps extends WithoutPreactChartEventProps<ChartPropsPreact>, ChartEventProps {
9
12
  }
10
13
  /**
@@ -4,6 +4,9 @@ import { type ColumnChartProps as ColumnChartPropsPreact } from '@sisense/sdk-ui
4
4
  import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
5
5
  import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Props of the {@link ColumnChartComponent}.
9
+ */
7
10
  export interface ColumnChartProps extends WithoutPreactChartEventProps<ColumnChartPropsPreact>, RegularChartEventProps {
8
11
  }
9
12
  /**
@@ -4,6 +4,9 @@ import { type FunnelChartProps as FunnelChartPropsPreact } from '@sisense/sdk-ui
4
4
  import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
5
5
  import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Props of the {@link FunnelChartComponent}.
9
+ */
7
10
  export interface FunnelChartProps extends WithoutPreactChartEventProps<FunnelChartPropsPreact>, RegularChartEventProps {
8
11
  }
9
12
  /**
@@ -2,6 +2,9 @@ import { type ChartType } from '../../sdk-ui-core-exports';
2
2
  import { type IndicatorChartProps as IndicatorChartPropsPreact } from '@sisense/sdk-ui-preact';
3
3
  import { BaseChartEventProps, HighchartsBasedChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
4
4
  import * as i0 from "@angular/core";
5
+ /**
6
+ * Props of the {@link IndicatorChartComponent}.
7
+ */
5
8
  export interface IndicatorChartProps extends WithoutPreactChartEventProps<IndicatorChartPropsPreact>, BaseChartEventProps, HighchartsBasedChartEventProps {
6
9
  }
7
10
  /**
@@ -4,6 +4,9 @@ import { type LineChartProps as LineChartPropsPreact } from '@sisense/sdk-ui-pre
4
4
  import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
5
5
  import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Props of the {@link LineChartComponent}.
9
+ */
7
10
  export interface LineChartProps extends WithoutPreactChartEventProps<LineChartPropsPreact>, RegularChartEventProps {
8
11
  }
9
12
  /**
@@ -4,6 +4,9 @@ import { type PieChartProps as PieChartPropsPreact } from '@sisense/sdk-ui-preac
4
4
  import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
5
5
  import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Props of the {@link PieChartComponent}.
9
+ */
7
10
  export interface PieChartProps extends WithoutPreactChartEventProps<PieChartPropsPreact>, RegularChartEventProps {
8
11
  }
9
12
  /**
@@ -3,6 +3,9 @@ import { type PivotTableProps as PivotTablePropsPreact } from '@sisense/sdk-ui-p
3
3
  import { SisenseContextService } from '../../services';
4
4
  import { ThemeService } from '../../services';
5
5
  import * as i0 from "@angular/core";
6
+ /**
7
+ * Props of the {@link PivotTableComponent}.
8
+ */
6
9
  export interface PivotTableProps extends PivotTablePropsPreact {
7
10
  }
8
11
  /**
@@ -4,6 +4,9 @@ import { type PolarChartProps as PolarChartPropsPreact } from '@sisense/sdk-ui-p
4
4
  import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
5
5
  import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Props of the {@link PolarChartComponent}.
9
+ */
7
10
  export interface PolarChartProps extends WithoutPreactChartEventProps<PolarChartPropsPreact>, RegularChartEventProps {
8
11
  }
9
12
  /**
@@ -4,6 +4,9 @@ import { type ScatterChartProps as ScatterChartPropsPreact } from '@sisense/sdk-
4
4
  import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
5
5
  import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Props of the {@link ScatterChartComponent}.
9
+ */
7
10
  export interface ScatterChartProps extends WithoutPreactChartEventProps<ScatterChartPropsPreact>, RegularChartEventProps {
8
11
  }
9
12
  /**
@@ -4,6 +4,9 @@ import { type ScattermapChartProps as ScattermapChartPropsPreact } from '@sisens
4
4
  import { BaseChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
5
5
  import { DataPointEvent, DataPointEventHandler } from '../../types/data-point';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Props of the {@link ScattermapChartComponent}.
9
+ */
7
10
  export interface ScattermapChartProps extends WithoutPreactChartEventProps<ScattermapChartPropsPreact>, BaseChartEventProps {
8
11
  dataPointClick?: DataPointEventHandler;
9
12
  }
@@ -4,6 +4,9 @@ import { type SunburstChartProps as SunburstChartPropsPreact } from '@sisense/sd
4
4
  import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
5
5
  import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Props of the {@link SunburstChartComponent}.
9
+ */
7
10
  export interface SunburstChartProps extends WithoutPreactChartEventProps<SunburstChartPropsPreact>, RegularChartEventProps {
8
11
  }
9
12
  /**
@@ -4,8 +4,9 @@ import { SisenseContextService } from '../../services/sisense-context.service';
4
4
  import { ThemeService } from '../../services/theme.service';
5
5
  import { BaseChartEventProps, WithoutPreactChartEventProps } from '../../types';
6
6
  import * as i0 from "@angular/core";
7
- export interface TableProps extends TablePropsPreact {
8
- }
7
+ /**
8
+ * Props of the {@link TableComponent}.
9
+ */
9
10
  export interface TableProps extends WithoutPreactChartEventProps<TablePropsPreact>, BaseChartEventProps {
10
11
  }
11
12
  /**
@@ -4,6 +4,9 @@ import { type TreemapChartProps as TreemapChartPropsPreact } from '@sisense/sdk-
4
4
  import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
5
5
  import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Props of the {@link TreemapChartComponent}.
9
+ */
7
10
  export interface TreemapChartProps extends WithoutPreactChartEventProps<TreemapChartPropsPreact>, RegularChartEventProps {
8
11
  }
9
12
  /**
@@ -3,8 +3,16 @@ import { type DashboardByIdProps as DashboardByIdPropsPreact } from '@sisense/sd
3
3
  import { SisenseContextService } from '../../services/sisense-context.service';
4
4
  import { ThemeService } from '../../services/theme.service';
5
5
  import { PluginsService } from '../../services/plugins.service';
6
+ import type { DashboardByIdConfig } from '../../types';
6
7
  import * as i0 from "@angular/core";
8
+ /**
9
+ * Props of the {@link DashboardByIdComponent}.
10
+ */
7
11
  export interface DashboardByIdProps extends DashboardByIdPropsPreact {
12
+ /**
13
+ * {@inheritDoc @sisense/sdk-ui!DashboardByIdProps.config}
14
+ */
15
+ config?: DashboardByIdConfig;
8
16
  }
9
17
  /**
10
18
  * An Angular component used for easily rendering a dashboard by its ID created in a Sisense Fusion instance.
@@ -61,11 +69,9 @@ export declare class DashboardByIdComponent implements AfterViewInit, OnChanges,
61
69
  */
62
70
  dashboardOid: DashboardByIdProps['dashboardOid'];
63
71
  /**
64
- * {@inheritDoc @sisense/sdk-ui!DashboardByIdProps.persist}
65
- *
66
- * @alpha
72
+ * {@inheritDoc @sisense/sdk-ui!DashboardByIdProps.config}
67
73
  */
68
- persist: DashboardByIdProps['persist'];
74
+ config: DashboardByIdProps['config'];
69
75
  private componentAdapter;
70
76
  /**
71
77
  * Constructor for the `DashboardById` component.
@@ -107,5 +113,5 @@ export declare class DashboardByIdComponent implements AfterViewInit, OnChanges,
107
113
  */
108
114
  ngOnDestroy(): void;
109
115
  static ɵfac: i0.ɵɵFactoryDeclaration<DashboardByIdComponent, never>;
110
- static ɵcmp: i0.ɵɵComponentDeclaration<DashboardByIdComponent, "csdk-dashboard-by-id", never, { "dashboardOid": "dashboardOid"; "persist": "persist"; }, {}, never, never, false, never>;
116
+ static ɵcmp: i0.ɵɵComponentDeclaration<DashboardByIdComponent, "csdk-dashboard-by-id", never, { "dashboardOid": "dashboardOid"; "config": "config"; }, {}, never, never, false, never>;
111
117
  }
@@ -2,8 +2,16 @@ import { AfterViewInit, ElementRef, OnChanges, OnDestroy } from '@angular/core';
2
2
  import { type DashboardProps as DashboardPropsPreact } from '@sisense/sdk-ui-preact';
3
3
  import { SisenseContextService } from '../../services/sisense-context.service';
4
4
  import { ThemeService } from '../../services/theme.service';
5
+ import type { DashboardConfig } from '../../types';
5
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Props of the {@link DashboardComponent}.
9
+ */
6
10
  export interface DashboardProps extends DashboardPropsPreact {
11
+ /**
12
+ * {@inheritDoc @sisense/sdk-ui!DashboardProps.config}
13
+ */
14
+ config?: DashboardConfig;
7
15
  }
8
16
  /**
9
17
  * An Angular component used for easily rendering a dashboard created in Sisense Fusion.
@@ -79,8 +87,6 @@ export declare class DashboardComponent implements AfterViewInit, OnChanges, OnD
79
87
  layoutOptions: DashboardProps['layoutOptions'];
80
88
  /**
81
89
  * {@inheritDoc @sisense/sdk-ui!DashboardProps.config}
82
- *
83
- * @internal
84
90
  */
85
91
  config: DashboardProps['config'];
86
92
  /**
@@ -4,6 +4,9 @@ import { SisenseContextService } from '../services/sisense-context.service';
4
4
  import { ThemeService } from '../services/theme.service';
5
5
  import type { Arguments, ArgumentsAsObject } from '../types/utility-types';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Props of the {@link DrilldownBreadcrumbsComponent}.
9
+ */
7
10
  export interface DrilldownBreadcrumbsProps extends Omit<DrilldownBreadcrumbsPropsPreact, 'clearDrilldownSelections'> {
8
11
  drilldownSelectionsClear?: () => void;
9
12
  drilldownSelectionsSlice?: (event: {
@@ -4,6 +4,9 @@ import { SisenseContextService } from '../../services/sisense-context.service';
4
4
  import { ThemeService } from '../../services/theme.service';
5
5
  import type { Arguments, ArgumentsAsObject } from '../../types/utility-types';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Props of the {@link CriteriaFilterTileComponent}.
9
+ */
7
10
  export interface CriteriaFilterTileProps extends Omit<CriteriaFilterTilePropsPreact, 'onUpdate'> {
8
11
  filterChange?: (filter: Arguments<CriteriaFilterTilePropsPreact['onUpdate']>[0]) => void;
9
12
  }
@@ -4,6 +4,9 @@ import { SisenseContextService } from '../../services/sisense-context.service';
4
4
  import { ThemeService } from '../../services/theme.service';
5
5
  import type { Arguments, ArgumentsAsObject } from '../../types/utility-types';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Props of the {@link DateRangeFilterTileComponent}.
9
+ */
7
10
  export interface DateRangeFilterTileProps extends Omit<DateRangeFilterTilePropsPreact, 'onChange'> {
8
11
  filterChange?: (filter: Arguments<DateRangeFilterTilePropsPreact['onChange']>[0]) => void;
9
12
  }
@@ -4,6 +4,9 @@ import { SisenseContextService } from '../../services/sisense-context.service';
4
4
  import { ThemeService } from '../../services/theme.service';
5
5
  import type { Arguments, ArgumentsAsObject } from '../../types/utility-types';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Props of the {@link MemberFilterTileComponent}.
9
+ */
7
10
  export interface MemberFilterTileProps extends Omit<MemberFilterTilePropsPreact, 'onChange'> {
8
11
  filterChange?: (filter: Arguments<MemberFilterTilePropsPreact['onChange']>[0]) => void;
9
12
  }
@@ -4,6 +4,9 @@ import { SisenseContextService } from '../../services/sisense-context.service';
4
4
  import { ThemeService } from '../../services/theme.service';
5
5
  import type { Arguments, ArgumentsAsObject } from '../../types/utility-types';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Props of the {@link RelativeDateFilterTileComponent}.
9
+ */
7
10
  export interface RelativeDateFilterTileProps extends Omit<RelativeDateFilterTilePropsPreact, 'onUpdate'> {
8
11
  filterChange?: (filter: Arguments<RelativeDateFilterTilePropsPreact['onUpdate']>[0]) => void;
9
12
  }
@@ -5,6 +5,9 @@ import { ThemeService } from '../../services/theme.service';
5
5
  import { ChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
6
6
  import { ChartDataPointEvent, ChartDataPointsEvent } from '../../types/data-point';
7
7
  import * as i0 from "@angular/core";
8
+ /**
9
+ * Props of the {@link ChartWidgetComponent}.
10
+ */
8
11
  export interface ChartWidgetProps extends WithoutPreactChartEventProps<ChartWidgetPropsPreact>, ChartEventProps {
9
12
  }
10
13
  /**
@@ -3,3 +3,4 @@ export * from './dashboard-widget.component';
3
3
  export * from './widget-by-id.component';
4
4
  export * from './drilldown-widget.component';
5
5
  export * from './chart-widget.component';
6
+ export * from './pivot-table-widget.component';
@@ -0,0 +1,127 @@
1
+ import { AfterViewInit, ElementRef, OnChanges, OnDestroy } from '@angular/core';
2
+ import { type PivotTableWidgetProps as PivotTableWidgetPropsPreact } from '@sisense/sdk-ui-preact';
3
+ import { SisenseContextService } from '../../services';
4
+ import { ThemeService } from '../../services';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Props of the {@link PivotTableWidgetComponent}.
8
+ */
9
+ export interface PivotTableWidgetProps extends PivotTableWidgetPropsPreact {
10
+ }
11
+ /**
12
+ * The Pivot Table Widget component extends the {@link PivotTableComponent} component to support widget features,
13
+ * including a header, widget style options, and more.
14
+ *
15
+ * @example
16
+ * ```html
17
+ <csdk-pivot-table-widget
18
+ [dataSource]="pivotProps.dataSource"
19
+ [dataOptions]="pivotProps.dataOptions"
20
+ [filters]="pivotProps.filters"
21
+ [styleOptions]="pivotProps.styleOptions"
22
+ [title]="pivotProps.title"
23
+ [description]="pivotProps.description"
24
+ />
25
+ * ```
26
+ * ```ts
27
+ import { Component } from '@angular/core';
28
+ import { type PivotTableWidgetProps } from '@sisense/sdk-ui-angular';
29
+ import { measureFactory, filterFactory } from '@sisense/sdk-data';
30
+ import * as DM from '../../assets/sample-ecommerce';
31
+
32
+ @Component({
33
+ selector: 'app-analytics',
34
+ templateUrl: './analytics.component.html',
35
+ styleUrls: ['./analytics.component.scss'],
36
+ })
37
+ export class AnalyticsComponent {
38
+
39
+ pivotProps: PivotTableWidgetProps = {
40
+ dataSource: DM.DataSource,
41
+ dataOptions: {
42
+ rows: [
43
+ { column: DM.Category.Category, includeSubTotals: true },
44
+ { column: DM.Commerce.AgeRange, includeSubTotals: true },
45
+ DM.Commerce.Condition,
46
+ ],
47
+ columns: [{ column: DM.Commerce.Gender, includeSubTotals: true }],
48
+ values: [
49
+ measureFactory.sum(DM.Commerce.Cost, 'Total Cost'),
50
+ {
51
+ column: measureFactory.sum(DM.Commerce.Revenue, 'Total Revenue'),
52
+ totalsCalculation: 'sum',
53
+ dataBars: true,
54
+ },
55
+ ],
56
+ grandTotals: { title: 'Grand Total', rows: true, columns: true },
57
+ },
58
+ filters: [filterFactory.members(DM.Commerce.Gender, ['Female', 'Male'])],
59
+ styleOptions: { width: 1400, height: 600, rowsPerPage: 25 },
60
+ title: 'Pivot Table Widget',
61
+ description: 'Pivot Table Widget Description',
62
+ };
63
+ }
64
+ * ```
65
+ * <img src="media://angular-pivot-table-widget-example.png" width="800px" />
66
+ * @group Dashboards
67
+ * @beta
68
+ */
69
+ export declare class PivotTableWidgetComponent implements AfterViewInit, OnChanges, OnDestroy {
70
+ private sisenseContextService;
71
+ private themeService;
72
+ /** @internal */
73
+ preactRef: ElementRef<HTMLDivElement>;
74
+ /**
75
+ * {@inheritDoc @sisense/sdk-ui!PivotTableWidgetProps.dataSource}
76
+ *
77
+ * @category Data
78
+ */
79
+ dataSource: PivotTableWidgetProps['dataSource'];
80
+ /**
81
+ * {@inheritDoc @sisense/sdk-ui!PivotTableWidgetProps.dataOptions}
82
+ *
83
+ * @category Data
84
+ */
85
+ dataOptions: PivotTableWidgetProps['dataOptions'];
86
+ /**
87
+ * {@inheritDoc @sisense/sdk-ui!PivotTableWidgetProps.filters}
88
+ *
89
+ * @category Data
90
+ */
91
+ filters: PivotTableWidgetProps['filters'];
92
+ /**
93
+ * {@inheritDoc @sisense/sdk-ui!PivotTableWidgetProps.highlights}
94
+ *
95
+ * @category Data
96
+ */
97
+ highlights: PivotTableWidgetProps['highlights'];
98
+ /**
99
+ * {@inheritDoc @sisense/sdk-ui!PivotTableWidgetProps.styleOptions}
100
+ *
101
+ * @category Representation
102
+ */
103
+ styleOptions: PivotTableWidgetProps['styleOptions'];
104
+ /**
105
+ * {@inheritDoc @sisense/sdk-ui!PivotTableWidgetProps.title}
106
+ *
107
+ * @category Widget
108
+ */
109
+ title: PivotTableWidgetProps['title'];
110
+ /**
111
+ * {@inheritDoc @sisense/sdk-ui!PivotTableWidgetProps.title}
112
+ *
113
+ * @category Widget
114
+ */
115
+ description: PivotTableWidgetProps['description'];
116
+ private componentAdapter;
117
+ constructor(sisenseContextService: SisenseContextService, themeService: ThemeService);
118
+ /** @internal */
119
+ ngAfterViewInit(): void;
120
+ /** @internal */
121
+ ngOnChanges(): void;
122
+ private createPreactComponent;
123
+ /** @internal */
124
+ ngOnDestroy(): void;
125
+ static ɵfac: i0.ɵɵFactoryDeclaration<PivotTableWidgetComponent, never>;
126
+ static ɵcmp: i0.ɵɵComponentDeclaration<PivotTableWidgetComponent, "csdk-pivot-table-widget", never, { "dataSource": "dataSource"; "dataOptions": "dataOptions"; "filters": "filters"; "highlights": "highlights"; "styleOptions": "styleOptions"; "title": "title"; "description": "description"; }, {}, never, never, false, never>;
127
+ }
@@ -3,6 +3,11 @@ import { type TableWidgetProps as TableWidgetPropsPreact } from '@sisense/sdk-ui
3
3
  import { SisenseContextService } from '../../services/sisense-context.service';
4
4
  import { ThemeService } from '../../services/theme.service';
5
5
  import * as i0 from "@angular/core";
6
+ /**
7
+ * Props of the {@link TableWidgetComponent}.
8
+ *
9
+ * @internal
10
+ */
6
11
  export interface TableWidgetProps extends TableWidgetPropsPreact {
7
12
  }
8
13
  /**
@@ -4,8 +4,9 @@ import { SisenseContextService } from '../../services/sisense-context.service';
4
4
  import { ThemeService } from '../../services/theme.service';
5
5
  import { BaseChartEventProps, WithoutPreactChartEventProps } from '../../types';
6
6
  import * as i0 from "@angular/core";
7
- export interface WidgetByIdProps extends WidgetByIdPropsPreact {
8
- }
7
+ /**
8
+ * Props of the {@link WidgetByIdComponent}.
9
+ */
9
10
  export interface WidgetByIdProps extends WithoutPreactChartEventProps<WidgetByIdPropsPreact>, BaseChartEventProps {
10
11
  }
11
12
  /**
@@ -0,0 +1,2 @@
1
+ export * from './trackable.decorator';
2
+ export * from './decorators.module';
@@ -7,5 +7,6 @@ type SubType<Base, Condition> = Pick<Base, {
7
7
  }[keyof Base]>;
8
8
  type MethodsOnly<T> = SubType<T, (...args: any[]) => any>;
9
9
  type MethodsArray<T> = T extends infer C ? (keyof MethodsOnly<C>)[] : [];
10
+ /** @internal */
10
11
  export declare function TrackableService<T>(trackableMethods: MethodsArray<T>): (ServiceClass: ConstructorOf<T>) => void | ConstructorOf<T>;
11
12
  export {};
@@ -1,2 +1,2 @@
1
- export { boxWhiskerProcessResult, widgetModelTranslator, dashboardModelTranslator, dashboardHelpers, } from '@sisense/sdk-ui-preact';
2
- export type { ChartType, CartesianChartType, CategoricalChartType, ScatterChartType, IndicatorChartType, BoxplotChartType, ScattermapChartType, AreamapChartType, RangeChartType, TableType, AreaSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, BoxplotSubtype, WidgetType, CartesianWidgetType, CategoricalWidgetType, TabularWidgetType, ChartDataOptions, CartesianChartDataOptions, CategoricalChartDataOptions, ScatterChartDataOptions, IndicatorChartDataOptions, BoxplotChartDataOptions, BoxplotChartCustomDataOptions, ScattermapChartDataOptions, AreamapChartDataOptions, TableDataOptions, PivotTableDataOptions, WidgetDataOptions, RangeChartDataOptions, 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, PivotTableWidgetStyleOptions, AreaRangeStyleOptions, DataLimits, Legend, Markers, Labels, IndicatorComponents, ScatterMarkerSize, LineWidth, AxisLabel, Convolution, SeriesLabels, X2Title, ScattermapMarkers, WidgetModel, DashboardModel, HierarchyModel, BeforeRenderHandler, DataPoint, ScatterDataPoint, HighchartsOptions, BoxplotDataPoint, IndicatorBeforeRenderHandler, IndicatorRenderOptions, DashboardLayoutOptions, DashboardConfig, WidgetsPanelLayout, WidgetsPanelColumnLayout, WidgetId, WidgetsOptions, AppConfig, DateConfig, MenuItemSection, MonthOfYear, DayOfWeek, DateLevel, ThemeOid, GetDashboardModelOptions, GetDashboardModelsOptions, SeriesChartType, MenuPosition, ThemeSettings, Color, ColorPaletteTheme, Navigator, DrilldownOptions, DrilldownSelection, Member, FilterVariant, Hierarchy, CriteriaFilterType, CommonWidgetProps, WidgetProps, } from '@sisense/sdk-ui-preact';
1
+ export { boxWhiskerProcessResult } from '@sisense/sdk-ui-preact';
2
+ export type { ChartType, CartesianChartType, CategoricalChartType, ScatterChartType, IndicatorChartType, BoxplotChartType, ScattermapChartType, AreamapChartType, RangeChartType, TableType, AreaSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, BoxplotSubtype, WidgetType, CartesianWidgetType, CategoricalWidgetType, TabularWidgetType, ChartDataOptions, CartesianChartDataOptions, CategoricalChartDataOptions, ScatterChartDataOptions, IndicatorChartDataOptions, BoxplotChartDataOptions, BoxplotChartCustomDataOptions, ScattermapChartDataOptions, AreamapChartDataOptions, TableDataOptions, PivotTableDataOptions, WidgetDataOptions, RangeChartDataOptions, 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, PivotTableWidgetStyleOptions, AreaRangeStyleOptions, DataLimits, Legend, Markers, Labels, IndicatorComponents, ScatterMarkerSize, LineWidth, AxisLabel, Convolution, SeriesLabels, X2Title, ScattermapMarkers, WidgetModel, DashboardModel, HierarchyModel, BeforeRenderHandler, DataPoint, ScatterDataPoint, HighchartsOptions, BoxplotDataPoint, IndicatorBeforeRenderHandler, IndicatorRenderOptions, DashboardLayoutOptions, WidgetsPanelLayout, WidgetsPanelColumnLayout, WidgetId, WidgetsOptions, AppConfig, DateConfig, MenuItemSection, MonthOfYear, DayOfWeek, DateLevel, ThemeOid, GetDashboardModelOptions, GetDashboardModelsOptions, SeriesChartType, MenuPosition, ThemeSettings, Color, ColorPaletteTheme, Navigator, DrilldownOptions, DrilldownSelection, Member, FilterVariant, Hierarchy, CriteriaFilterType, CommonWidgetProps, WidgetProps, TextWidgetProps, } from '@sisense/sdk-ui-preact';
@@ -30,8 +30,9 @@ import * as i28 from "./components/charts/areamap-chart.component";
30
30
  import * as i29 from "./components/charts/pivot-table.component";
31
31
  import * as i30 from "./components/dashboard/dashboard-by-id.component";
32
32
  import * as i31 from "./components/dashboard/dashboard.component";
33
- import * as i32 from "@angular/common";
34
- import * as i33 from "./decorators/decorators.module";
33
+ import * as i32 from "./components/widgets/pivot-table-widget.component";
34
+ import * as i33 from "@angular/common";
35
+ import * as i34 from "./decorators/decorators.module";
35
36
  /**
36
37
  * SDK UI Module, which is a container for components.
37
38
  *
@@ -40,8 +41,8 @@ import * as i33 from "./decorators/decorators.module";
40
41
  *
41
42
  * ```ts
42
43
  * export const SISENSE_CONTEXT_CONFIG: SisenseContextConfig = {
43
- * url="<instance url>" // replace with the URL of your Sisense instance
44
- * token="<api token>" // replace with the API token of your user account
44
+ * url: "<instance url>", // replace with the URL of your Sisense instance
45
+ * token: "<api token>", // replace with the API token of your user account
45
46
  * defaultDataSource: DM.DataSource,
46
47
  * };
47
48
  *
@@ -62,6 +63,6 @@ import * as i33 from "./decorators/decorators.module";
62
63
  */
63
64
  export declare class SdkUiModule {
64
65
  static ɵfac: i0.ɵɵFactoryDeclaration<SdkUiModule, never>;
65
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdkUiModule, [typeof i1.ChartComponent, typeof i2.TableComponent, typeof i3.ChartWidgetComponent, typeof i4.ColumnChartComponent, typeof i5.BarChartComponent, typeof i6.AreaChartComponent, typeof i7.AreaRangeChartComponent, typeof i8.LineChartComponent, typeof i9.IndicatorChartComponent, typeof i10.ScatterChartComponent, typeof i11.PieChartComponent, typeof i12.FunnelChartComponent, typeof i13.PolarChartComponent, typeof i14.TreemapChartComponent, typeof i15.SunburstChartComponent, typeof i16.TableWidgetComponent, typeof i17.DashboardWidgetComponent, typeof i18.WidgetByIdComponent, typeof i19.MemberFilterTileComponent, typeof i20.DrilldownWidgetComponent, typeof i21.DateRangeFilterTileComponent, typeof i22.RelativeDateFilterTileComponent, typeof i23.CriteriaFilterTileComponent, typeof i24.DrilldownBreadcrumbsComponent, typeof i25.ContextMenuComponent, typeof i26.BoxplotChartComponent, typeof i27.ScattermapChartComponent, typeof i28.AreamapChartComponent, typeof i29.PivotTableComponent, typeof i30.DashboardByIdComponent, typeof i31.DashboardComponent], [typeof i32.CommonModule, typeof i33.DecoratorsModule], [typeof i1.ChartComponent, typeof i2.TableComponent, typeof i3.ChartWidgetComponent, typeof i4.ColumnChartComponent, typeof i5.BarChartComponent, typeof i6.AreaChartComponent, typeof i7.AreaRangeChartComponent, typeof i8.LineChartComponent, typeof i9.IndicatorChartComponent, typeof i10.ScatterChartComponent, typeof i11.PieChartComponent, typeof i12.FunnelChartComponent, typeof i13.PolarChartComponent, typeof i14.TreemapChartComponent, typeof i15.SunburstChartComponent, typeof i16.TableWidgetComponent, typeof i17.DashboardWidgetComponent, typeof i18.WidgetByIdComponent, typeof i19.MemberFilterTileComponent, typeof i20.DrilldownWidgetComponent, typeof i21.DateRangeFilterTileComponent, typeof i22.RelativeDateFilterTileComponent, typeof i23.CriteriaFilterTileComponent, typeof i24.DrilldownBreadcrumbsComponent, typeof i25.ContextMenuComponent, typeof i26.BoxplotChartComponent, typeof i27.ScattermapChartComponent, typeof i28.AreamapChartComponent, typeof i29.PivotTableComponent, typeof i30.DashboardByIdComponent, typeof i31.DashboardComponent]>;
66
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SdkUiModule, [typeof i1.ChartComponent, typeof i2.TableComponent, typeof i3.ChartWidgetComponent, typeof i4.ColumnChartComponent, typeof i5.BarChartComponent, typeof i6.AreaChartComponent, typeof i7.AreaRangeChartComponent, typeof i8.LineChartComponent, typeof i9.IndicatorChartComponent, typeof i10.ScatterChartComponent, typeof i11.PieChartComponent, typeof i12.FunnelChartComponent, typeof i13.PolarChartComponent, typeof i14.TreemapChartComponent, typeof i15.SunburstChartComponent, typeof i16.TableWidgetComponent, typeof i17.DashboardWidgetComponent, typeof i18.WidgetByIdComponent, typeof i19.MemberFilterTileComponent, typeof i20.DrilldownWidgetComponent, typeof i21.DateRangeFilterTileComponent, typeof i22.RelativeDateFilterTileComponent, typeof i23.CriteriaFilterTileComponent, typeof i24.DrilldownBreadcrumbsComponent, typeof i25.ContextMenuComponent, typeof i26.BoxplotChartComponent, typeof i27.ScattermapChartComponent, typeof i28.AreamapChartComponent, typeof i29.PivotTableComponent, typeof i30.DashboardByIdComponent, typeof i31.DashboardComponent, typeof i32.PivotTableWidgetComponent], [typeof i33.CommonModule, typeof i34.DecoratorsModule], [typeof i1.ChartComponent, typeof i2.TableComponent, typeof i3.ChartWidgetComponent, typeof i4.ColumnChartComponent, typeof i5.BarChartComponent, typeof i6.AreaChartComponent, typeof i7.AreaRangeChartComponent, typeof i8.LineChartComponent, typeof i9.IndicatorChartComponent, typeof i10.ScatterChartComponent, typeof i11.PieChartComponent, typeof i12.FunnelChartComponent, typeof i13.PolarChartComponent, typeof i14.TreemapChartComponent, typeof i15.SunburstChartComponent, typeof i16.TableWidgetComponent, typeof i17.DashboardWidgetComponent, typeof i18.WidgetByIdComponent, typeof i19.MemberFilterTileComponent, typeof i20.DrilldownWidgetComponent, typeof i21.DateRangeFilterTileComponent, typeof i22.RelativeDateFilterTileComponent, typeof i23.CriteriaFilterTileComponent, typeof i24.DrilldownBreadcrumbsComponent, typeof i25.ContextMenuComponent, typeof i26.BoxplotChartComponent, typeof i27.ScattermapChartComponent, typeof i28.AreamapChartComponent, typeof i29.PivotTableComponent, typeof i30.DashboardByIdComponent, typeof i31.DashboardComponent, typeof i32.PivotTableWidgetComponent]>;
66
67
  static ɵinj: i0.ɵɵInjectorDeclaration<SdkUiModule>;
67
68
  }
@@ -31,7 +31,7 @@ export declare class PluginsService {
31
31
  *
32
32
  * @returns A plugin map.
33
33
  */
34
- getPlugins(): BehaviorSubject<Map<string, PluginComponent<import("@sisense/sdk-ui-preact").GenericDataOptions, any>>>;
34
+ getPlugins(): BehaviorSubject<Map<string, PluginComponent<import("@sisense/sdk-ui-preact").PluginComponentProps<import("@sisense/sdk-ui-preact").GenericDataOptions, any>>>>;
35
35
  static ɵfac: i0.ɵɵFactoryDeclaration<PluginsService, never>;
36
36
  static ɵprov: i0.ɵɵInjectableDeclaration<PluginsService>;
37
37
  }
@@ -1,15 +1,30 @@
1
- import { type ExecuteQueryParams as ExecuteQueryParamsPreact, type ExecuteQueryByWidgetIdParams as ExecuteQueryByWidgetIdParamsPreact } from '@sisense/sdk-ui-preact';
1
+ import { type ExecuteQueryParams as ExecuteQueryParamsPreact, type ExecuteQueryByWidgetIdParams as ExecuteQueryByWidgetIdParamsPreact, type ExecutePivotQueryParams as ExecutePivotQueryParamsPreact } from '@sisense/sdk-ui-preact';
2
2
  import { SisenseContextService } from './sisense-context.service';
3
3
  import * as i0 from "@angular/core";
4
+ interface ExecuteQueryHandlers {
5
+ /** Sync or async callback that allows to modify the JAQL payload before it is sent to the server. */
6
+ beforeQuery?: ExecuteQueryParamsPreact['onBeforeQuery'];
7
+ /**
8
+ * Sync or async callback that allows to modify the JAQL payload before it is sent to the server.
9
+ *
10
+ * @deprecated Use `beforeQuery` instead.
11
+ */
12
+ onBeforeQuery?: ExecuteQueryParamsPreact['onBeforeQuery'];
13
+ }
4
14
  /**
5
15
  * Parameters for data query execution.
6
16
  */
7
- export interface ExecuteQueryParams extends Omit<ExecuteQueryParamsPreact, 'enabled'> {
17
+ export interface ExecuteQueryParams extends Omit<ExecuteQueryParamsPreact, 'enabled' | 'onBeforeQuery'>, ExecuteQueryHandlers {
8
18
  }
9
19
  /**
10
20
  * Parameters for data query by widget id execution.
11
21
  */
12
- export interface ExecuteQueryByWidgetIdParams extends Omit<ExecuteQueryByWidgetIdParamsPreact, 'enabled'> {
22
+ export interface ExecuteQueryByWidgetIdParams extends Omit<ExecuteQueryByWidgetIdParamsPreact, 'enabled' | 'onBeforeQuery'>, ExecuteQueryHandlers {
23
+ }
24
+ /**
25
+ * Parameters for pivot data query execution.
26
+ */
27
+ export interface ExecutePivotQueryParams extends Omit<ExecutePivotQueryParamsPreact, 'enabled' | 'onBeforeQuery'>, Omit<ExecuteQueryHandlers, 'onBeforeQuery'> {
13
28
  }
14
29
  /**
15
30
  * Service for executing data queries.
@@ -41,6 +56,17 @@ export declare class QueryService {
41
56
  executeQueryByWidgetId(params: ExecuteQueryByWidgetIdParams): Promise<{
42
57
  data: import("@sisense/sdk-data").QueryResultData;
43
58
  } & import("@sisense/sdk-ui-preact").QueryByWidgetIdQueryParams>;
59
+ /**
60
+ * Executes a data query for a pivot table.
61
+ *
62
+ * @param params - Pivot query parameters
63
+ * @return Pivot query result
64
+ * @beta
65
+ */
66
+ executePivotQuery(params: ExecutePivotQueryParams): Promise<{
67
+ data: import("@sisense/sdk-data").PivotQueryResultData;
68
+ }>;
44
69
  static ɵfac: i0.ɵɵFactoryDeclaration<QueryService, never>;
45
70
  static ɵprov: i0.ɵɵInjectableDeclaration<QueryService>;
46
71
  }
72
+ export {};