@sisense/sdk-ui-angular 1.33.0 → 2.0.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 (154) hide show
  1. package/dist/ai/lib/component-wrapper-helpers/context-connectors.d.ts +2 -2
  2. package/dist/ai/lib/components/chatbot.component.d.ts +2 -8
  3. package/dist/ai/lib/components/get-nlg-insights.component.d.ts +2 -8
  4. package/dist/ai/lib/sdk-ai.module.d.ts +0 -2
  5. package/dist/ai/lib/sdk-ui-core-exports.d.ts +1 -1
  6. package/dist/ai/lib/services/ai.service.d.ts +12 -8
  7. package/dist/ai/public-api.d.ts +2 -2
  8. package/dist/esm2020/ai/lib/component-wrapper-helpers/context-connectors.mjs +15 -9
  9. package/dist/esm2020/ai/lib/components/chatbot.component.mjs +9 -16
  10. package/dist/esm2020/ai/lib/components/get-nlg-insights.component.mjs +9 -16
  11. package/dist/esm2020/ai/lib/sdk-ai.module.mjs +2 -4
  12. package/dist/esm2020/ai/lib/sdk-ui-core-exports.mjs +1 -1
  13. package/dist/esm2020/ai/lib/services/ai.service.mjs +4 -9
  14. package/dist/esm2020/ai/public-api.mjs +3 -3
  15. package/dist/esm2020/lib/component-wrapper-helpers/context-connectors.mjs +60 -36
  16. package/dist/esm2020/lib/components/charts/area-chart.component.mjs +1 -2
  17. package/dist/esm2020/lib/components/charts/area-range-chart.component.mjs +1 -3
  18. package/dist/esm2020/lib/components/charts/areamap-chart.component.mjs +1 -2
  19. package/dist/esm2020/lib/components/charts/bar-chart.component.mjs +1 -2
  20. package/dist/esm2020/lib/components/charts/boxplot-chart.component.mjs +1 -2
  21. package/dist/esm2020/lib/components/charts/chart.component.mjs +8 -10
  22. package/dist/esm2020/lib/components/charts/column-chart.component.mjs +1 -2
  23. package/dist/esm2020/lib/components/charts/funnel-chart.component.mjs +1 -2
  24. package/dist/esm2020/lib/components/charts/index.mjs +13 -13
  25. package/dist/esm2020/lib/components/charts/indicator-chart.component.mjs +1 -2
  26. package/dist/esm2020/lib/components/charts/line-chart.component.mjs +1 -2
  27. package/dist/esm2020/lib/components/charts/pie-chart.component.mjs +1 -2
  28. package/dist/esm2020/lib/components/charts/pivot-table.component.mjs +8 -9
  29. package/dist/esm2020/lib/components/charts/polar-chart.component.mjs +1 -2
  30. package/dist/esm2020/lib/components/charts/scatter-chart.component.mjs +1 -2
  31. package/dist/esm2020/lib/components/charts/scattermap-chart.component.mjs +1 -1
  32. package/dist/esm2020/lib/components/charts/sunburst-chart.component.mjs +1 -2
  33. package/dist/esm2020/lib/components/charts/table.component.mjs +8 -10
  34. package/dist/esm2020/lib/components/charts/treemap-chart.component.mjs +1 -2
  35. package/dist/esm2020/lib/components/context-menu.component.mjs +9 -9
  36. package/dist/esm2020/lib/components/dashboard/dashboard-by-id.component.mjs +8 -9
  37. package/dist/esm2020/lib/components/dashboard/dashboard.component.mjs +10 -10
  38. package/dist/esm2020/lib/components/dashboard/index.mjs +2 -2
  39. package/dist/esm2020/lib/components/drilldown-breadcrumbs.component.mjs +8 -9
  40. package/dist/esm2020/lib/components/filters/criteria-filter-tile.component.mjs +8 -9
  41. package/dist/esm2020/lib/components/filters/date-range-filter-tile.component.mjs +8 -9
  42. package/dist/esm2020/lib/components/filters/filter-tile.component.mjs +147 -0
  43. package/dist/esm2020/lib/components/filters/index.mjs +4 -3
  44. package/dist/esm2020/lib/components/filters/member-filter-tile.component.mjs +9 -10
  45. package/dist/esm2020/lib/components/filters/relative-date-filter-tile.component.mjs +8 -9
  46. package/dist/esm2020/lib/components/index.mjs +4 -4
  47. package/dist/esm2020/lib/components/widgets/chart-widget.component.mjs +9 -11
  48. package/dist/esm2020/lib/components/widgets/drilldown-widget.component.mjs +19 -23
  49. package/dist/esm2020/lib/components/widgets/index.mjs +5 -5
  50. package/dist/esm2020/lib/components/widgets/pivot-table-widget.component.mjs +8 -9
  51. package/dist/esm2020/lib/components/widgets/table-widget.component.mjs +8 -9
  52. package/dist/esm2020/lib/components/widgets/widget-by-id.component.mjs +8 -9
  53. package/dist/esm2020/lib/components/widgets/widget.component.mjs +168 -0
  54. package/dist/esm2020/lib/decorators/decorators.module.mjs +1 -1
  55. package/dist/esm2020/lib/decorators/index.mjs +2 -2
  56. package/dist/esm2020/lib/decorators/trackable.decorator.mjs +2 -2
  57. package/dist/esm2020/lib/helpers/dashboard-props-preact-translator.mjs +14 -0
  58. package/dist/esm2020/lib/helpers/event-emitter-with-has-listeners.mjs +31 -0
  59. package/dist/esm2020/lib/helpers/index.mjs +2 -0
  60. package/dist/esm2020/lib/helpers/widget-props-preact-translator.mjs +37 -0
  61. package/dist/esm2020/lib/sdk-ui-core-exports.mjs +1 -1
  62. package/dist/esm2020/lib/sdk-ui.module.mjs +13 -10
  63. package/dist/esm2020/lib/services/dashboard.service.mjs +86 -2
  64. package/dist/esm2020/lib/services/hierarchy.service.mjs +1 -1
  65. package/dist/esm2020/lib/services/index.mjs +4 -4
  66. package/dist/esm2020/lib/services/plugins.service.mjs +1 -1
  67. package/dist/esm2020/lib/services/query.service.mjs +35 -6
  68. package/dist/esm2020/lib/services/sisense-context.service.mjs +1 -1
  69. package/dist/esm2020/lib/services/theme.service.mjs +2 -2
  70. package/dist/esm2020/lib/services/widget.service.mjs +1 -1
  71. package/dist/esm2020/lib/types/chart-event-props.mjs +1 -1
  72. package/dist/esm2020/lib/types/dashboard-config.mjs +1 -1
  73. package/dist/esm2020/lib/types/data-point.mjs +1 -1
  74. package/dist/esm2020/lib/types/filter-event-props.mjs +2 -0
  75. package/dist/esm2020/lib/types/index.mjs +4 -3
  76. package/dist/esm2020/lib/utilities/dashboard-helpers.mjs +2 -15
  77. package/dist/esm2020/lib/utilities/dashboard-model-translator.mjs +1 -1
  78. package/dist/esm2020/lib/utilities/widget-model-translator.mjs +1 -1
  79. package/dist/esm2020/public-api.mjs +4 -4
  80. package/dist/esm2020/version.mjs +2 -2
  81. package/dist/fesm2015/sisense-sdk-ui-angular-ai.mjs +32 -49
  82. package/dist/fesm2015/sisense-sdk-ui-angular-ai.mjs.map +1 -1
  83. package/dist/fesm2015/sisense-sdk-ui-angular.mjs +2545 -2221
  84. package/dist/fesm2015/sisense-sdk-ui-angular.mjs.map +1 -1
  85. package/dist/fesm2020/sisense-sdk-ui-angular-ai.mjs +32 -47
  86. package/dist/fesm2020/sisense-sdk-ui-angular-ai.mjs.map +1 -1
  87. package/dist/fesm2020/sisense-sdk-ui-angular.mjs +2571 -2216
  88. package/dist/fesm2020/sisense-sdk-ui-angular.mjs.map +1 -1
  89. package/dist/lib/component-wrapper-helpers/context-connectors.d.ts +5 -5
  90. package/dist/lib/components/charts/area-chart.component.d.ts +1 -3
  91. package/dist/lib/components/charts/area-range-chart.component.d.ts +1 -4
  92. package/dist/lib/components/charts/areamap-chart.component.d.ts +5 -8
  93. package/dist/lib/components/charts/bar-chart.component.d.ts +1 -3
  94. package/dist/lib/components/charts/boxplot-chart.component.d.ts +7 -9
  95. package/dist/lib/components/charts/chart.component.d.ts +4 -6
  96. package/dist/lib/components/charts/column-chart.component.d.ts +1 -3
  97. package/dist/lib/components/charts/funnel-chart.component.d.ts +1 -3
  98. package/dist/lib/components/charts/index.d.ts +12 -12
  99. package/dist/lib/components/charts/indicator-chart.component.d.ts +3 -5
  100. package/dist/lib/components/charts/line-chart.component.d.ts +1 -3
  101. package/dist/lib/components/charts/pie-chart.component.d.ts +1 -3
  102. package/dist/lib/components/charts/pivot-table.component.d.ts +1 -1
  103. package/dist/lib/components/charts/polar-chart.component.d.ts +1 -3
  104. package/dist/lib/components/charts/scatter-chart.component.d.ts +7 -9
  105. package/dist/lib/components/charts/scattermap-chart.component.d.ts +5 -7
  106. package/dist/lib/components/charts/sunburst-chart.component.d.ts +1 -3
  107. package/dist/lib/components/charts/table.component.d.ts +1 -3
  108. package/dist/lib/components/charts/treemap-chart.component.d.ts +1 -3
  109. package/dist/lib/components/context-menu.component.d.ts +1 -1
  110. package/dist/lib/components/dashboard/dashboard-by-id.component.d.ts +2 -2
  111. package/dist/lib/components/dashboard/dashboard.component.d.ts +7 -2
  112. package/dist/lib/components/dashboard/index.d.ts +1 -1
  113. package/dist/lib/components/drilldown-breadcrumbs.component.d.ts +1 -1
  114. package/dist/lib/components/filters/criteria-filter-tile.component.d.ts +1 -1
  115. package/dist/lib/components/filters/date-range-filter-tile.component.d.ts +1 -1
  116. package/dist/lib/components/filters/filter-tile.component.d.ts +125 -0
  117. package/dist/lib/components/filters/index.d.ts +3 -2
  118. package/dist/lib/components/filters/member-filter-tile.component.d.ts +2 -2
  119. package/dist/lib/components/filters/relative-date-filter-tile.component.d.ts +1 -1
  120. package/dist/lib/components/index.d.ts +3 -3
  121. package/dist/lib/components/widgets/chart-widget.component.d.ts +5 -7
  122. package/dist/lib/components/widgets/drilldown-widget.component.d.ts +3 -13
  123. package/dist/lib/components/widgets/index.d.ts +4 -4
  124. package/dist/lib/components/widgets/pivot-table-widget.component.d.ts +1 -1
  125. package/dist/lib/components/widgets/table-widget.component.d.ts +1 -1
  126. package/dist/lib/components/widgets/widget-by-id.component.d.ts +1 -2
  127. package/dist/lib/components/widgets/widget.component.d.ts +209 -0
  128. package/dist/lib/decorators/index.d.ts +1 -1
  129. package/dist/lib/helpers/dashboard-props-preact-translator.d.ts +4 -0
  130. package/dist/lib/helpers/event-emitter-with-has-listeners.d.ts +24 -0
  131. package/dist/lib/helpers/index.d.ts +1 -0
  132. package/dist/lib/helpers/widget-props-preact-translator.d.ts +4 -0
  133. package/dist/lib/sdk-ui-core-exports.d.ts +1 -1
  134. package/dist/lib/sdk-ui.module.d.ts +20 -20
  135. package/dist/lib/services/dashboard.service.d.ts +79 -1
  136. package/dist/lib/services/hierarchy.service.d.ts +1 -1
  137. package/dist/lib/services/index.d.ts +3 -3
  138. package/dist/lib/services/plugins.service.d.ts +1 -1
  139. package/dist/lib/services/query.service.d.ts +17 -8
  140. package/dist/lib/services/sisense-context.service.d.ts +1 -1
  141. package/dist/lib/services/theme.service.d.ts +1 -1
  142. package/dist/lib/types/chart-event-props.d.ts +9 -10
  143. package/dist/lib/types/dashboard-config.d.ts +1 -1
  144. package/dist/lib/types/data-point.d.ts +18 -11
  145. package/dist/lib/types/filter-event-props.d.ts +35 -0
  146. package/dist/lib/types/index.d.ts +3 -2
  147. package/dist/lib/utilities/dashboard-helpers.d.ts +1 -12
  148. package/dist/lib/utilities/widget-model-translator.d.ts +2 -2
  149. package/dist/package.json +4 -4
  150. package/dist/public-api.d.ts +4 -4
  151. package/dist/version.d.ts +1 -1
  152. package/package.json +10 -10
  153. package/dist/esm2020/lib/components/widgets/dashboard-widget.component.mjs +0 -118
  154. package/dist/lib/components/widgets/dashboard-widget.component.d.ts +0 -120
@@ -1,25 +1,25 @@
1
- import { ContextConnector, CustomSisenseContext, CustomThemeProviderProps, CustomPluginsProviderProps } from '@sisense/sdk-ui-preact';
1
+ import { ContextConnector, CustomPluginsProviderProps, CustomSisenseContextProviderProps, CustomThemeProviderProps } from '@sisense/sdk-ui-preact';
2
+ import { PluginsService } from '../services/plugins.service';
2
3
  import { SisenseContextService } from '../services/sisense-context.service';
3
4
  import { ThemeService } from '../services/theme.service';
4
- import { PluginsService } from '../services/plugins.service';
5
5
  /**
6
6
  * Creates theme context connector
7
7
  *
8
8
  * @param themeService - The theme service
9
9
  * @internal
10
10
  */
11
- export declare const createThemeContextConnector: (themeService: ThemeService) => ContextConnector<CustomThemeProviderProps['context']>;
11
+ export declare const createThemeContextConnector: (themeService: ThemeService) => ContextConnector<CustomThemeProviderProps>;
12
12
  /**
13
13
  * Creates Sisense context connector
14
14
  *
15
15
  * @param sisenseContextService - The Sisense context service
16
16
  * @internal
17
17
  */
18
- export declare const createSisenseContextConnector: (sisenseContextService: SisenseContextService) => ContextConnector<CustomSisenseContext>;
18
+ export declare const createSisenseContextConnector: (sisenseContextService: SisenseContextService) => ContextConnector<CustomSisenseContextProviderProps>;
19
19
  /**
20
20
  * Creates plugins context connector
21
21
  *
22
22
  * @param pluginsService - The plugin service
23
23
  * @internal
24
24
  */
25
- export declare const createPluginsContextConnector: (pluginsService: PluginsService) => ContextConnector<CustomPluginsProviderProps['context']>;
25
+ export declare const createPluginsContextConnector: (pluginsService: PluginsService) => ContextConnector<CustomPluginsProviderProps>;
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { type ChartType } from '../../sdk-ui-core-exports';
3
2
  import { type AreaChartProps as AreaChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ import { type ChartType } from '../../sdk-ui-core-exports';
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";
@@ -61,7 +61,6 @@ export class AnalyticsComponent {
61
61
  }
62
62
  * ```
63
63
  * <img src="media://angular-area-chart-example.png" width="800px" />
64
- *
65
64
  * @group Charts
66
65
  */
67
66
  export declare class AreaChartComponent {
@@ -105,7 +104,6 @@ export declare class AreaChartComponent {
105
104
  * {@inheritDoc @sisense/sdk-ui!AreaChartProps.onDataReady}
106
105
  *
107
106
  * @category Callbacks
108
- * @internal
109
107
  */
110
108
  dataReady: AreaChartProps['dataReady'];
111
109
  /**
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { type ChartType } from '../../sdk-ui-core-exports';
3
2
  import { type AreaRangeChartProps as AreaRangeChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ import { type ChartType } from '../../sdk-ui-core-exports';
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";
@@ -74,9 +74,7 @@ export class AnalyticsComponent {
74
74
  }
75
75
  * ```
76
76
  * <img src="media://angular-area-range-chart-example.png" width="800px" />
77
- *
78
77
  * @group Charts
79
- * @beta
80
78
  */
81
79
  export declare class AreaRangeChartComponent {
82
80
  /**
@@ -119,7 +117,6 @@ export declare class AreaRangeChartComponent {
119
117
  * {@inheritDoc @sisense/sdk-ui!AreaRangeChartProps.onDataReady}
120
118
  *
121
119
  * @category Callbacks
122
- * @internal
123
120
  */
124
121
  dataReady: AreaRangeChartProps['dataReady'];
125
122
  /**
@@ -1,13 +1,12 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { type ChartType, type AreamapChartProps as AreamapChartPropsPreact } from '@sisense/sdk-ui-preact';
3
- import { BaseChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
4
- import { DataPointEvent, DataPointEventHandler } from '../../types/data-point';
2
+ import { type AreamapChartProps as AreamapChartPropsPreact, type ChartType } from '@sisense/sdk-ui-preact';
3
+ import { AreamapChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
4
+ import { AreamapDataPointEvent } from '../../types/data-point';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
7
7
  * Props of the {@link AreamapChartComponent}.
8
8
  */
9
- export interface AreamapChartProps extends WithoutPreactChartEventProps<AreamapChartPropsPreact>, BaseChartEventProps {
10
- dataPointClick?: DataPointEventHandler;
9
+ export interface AreamapChartProps extends WithoutPreactChartEventProps<AreamapChartPropsPreact>, AreamapChartEventProps {
11
10
  }
12
11
  /**
13
12
  * An Angular component that allows to visualize geographical data as polygons on a map.
@@ -50,7 +49,6 @@ export class AnalyticsComponent {
50
49
  }
51
50
  * ```
52
51
  * <img src="media://angular-areamap-chart-example.png" width="800px" />
53
- *
54
52
  * @group Charts
55
53
  */
56
54
  export declare class AreamapChartComponent {
@@ -88,7 +86,6 @@ export declare class AreamapChartComponent {
88
86
  * {@inheritDoc @sisense/sdk-ui!AreamapChartProps.onDataReady}
89
87
  *
90
88
  * @category Callbacks
91
- * @internal
92
89
  */
93
90
  dataReady: AreamapChartProps['dataReady'];
94
91
  /**
@@ -96,7 +93,7 @@ export declare class AreamapChartComponent {
96
93
  *
97
94
  * @category Callbacks
98
95
  */
99
- dataPointClick: EventEmitter<DataPointEvent>;
96
+ dataPointClick: EventEmitter<AreamapDataPointEvent>;
100
97
  /** @internal */
101
98
  chartType: ChartType;
102
99
  static ɵfac: i0.ɵɵFactoryDeclaration<AreamapChartComponent, never>;
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { type ChartType } from '../../sdk-ui-core-exports';
3
2
  import { type BarChartProps as BarChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ import { type ChartType } from '../../sdk-ui-core-exports';
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";
@@ -62,7 +62,6 @@ export class AnalyticsComponent {
62
62
  }
63
63
  * ```
64
64
  * <img src="media://angular-bar-chart-example.png" width="800px" />
65
- *
66
65
  * @group Charts
67
66
  */
68
67
  export declare class BarChartComponent {
@@ -106,7 +105,6 @@ export declare class BarChartComponent {
106
105
  * {@inheritDoc @sisense/sdk-ui!BarChartProps.onDataReady}
107
106
  *
108
107
  * @category Callbacks
109
- * @internal
110
108
  */
111
109
  dataReady: BarChartProps['dataReady'];
112
110
  /**
@@ -1,13 +1,13 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { type ChartType } from '../../sdk-ui-core-exports';
3
2
  import { type BoxplotChartProps as BoxplotChartPropsPreact } from '@sisense/sdk-ui-preact';
4
- import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
5
- import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
3
+ import { type ChartType } from '../../sdk-ui-core-exports';
4
+ import { BoxplotChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
5
+ import { BoxplotDataPointEvent, BoxplotDataPointsEvent } from '../../types/data-point';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * Props of the {@link BoxplotChartComponent}.
9
9
  */
10
- export interface BoxplotChartProps extends WithoutPreactChartEventProps<BoxplotChartPropsPreact>, RegularChartEventProps {
10
+ export interface BoxplotChartProps extends WithoutPreactChartEventProps<BoxplotChartPropsPreact>, BoxplotChartEventProps {
11
11
  }
12
12
  /**
13
13
  * An Angular component representing data in a way that visually describes the distribution
@@ -55,7 +55,6 @@ export class AnalyticsComponent {
55
55
  }
56
56
  * ```
57
57
  * <img src="media://angular-boxplot-chart-example.png" width="800px" />
58
- *
59
58
  * @group Charts
60
59
  */
61
60
  export declare class BoxplotChartComponent {
@@ -99,7 +98,6 @@ export declare class BoxplotChartComponent {
99
98
  * {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.onDataReady}
100
99
  *
101
100
  * @category Callbacks
102
- * @internal
103
101
  */
104
102
  dataReady: BoxplotChartProps['dataReady'];
105
103
  /**
@@ -107,19 +105,19 @@ export declare class BoxplotChartComponent {
107
105
  *
108
106
  * @category Callbacks
109
107
  */
110
- dataPointClick: EventEmitter<DataPointEvent>;
108
+ dataPointClick: EventEmitter<BoxplotDataPointEvent>;
111
109
  /**
112
110
  * {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.onDataPointContextMenu}
113
111
  *
114
112
  * @category Callbacks
115
113
  */
116
- dataPointContextMenu: EventEmitter<DataPointEvent>;
114
+ dataPointContextMenu: EventEmitter<BoxplotDataPointEvent>;
117
115
  /**
118
116
  * {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.onDataPointsSelected}
119
117
  *
120
118
  * @category Callbacks
121
119
  */
122
- dataPointsSelect: EventEmitter<DataPointsEvent>;
120
+ dataPointsSelect: EventEmitter<BoxplotDataPointsEvent>;
123
121
  /** @internal */
124
122
  chartType: ChartType;
125
123
  static ɵfac: i0.ɵɵFactoryDeclaration<BoxplotChartComponent, never>;
@@ -3,7 +3,7 @@ import { type ChartProps as ChartPropsPreact } from '@sisense/sdk-ui-preact';
3
3
  import { SisenseContextService } from '../../services/sisense-context.service';
4
4
  import { ThemeService } from '../../services/theme.service';
5
5
  import { ChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
6
- import { ChartDataPointEvent, ChartDataPointsEvent } from '../../types/data-point';
6
+ import { ChartDataPointClickEvent, ChartDataPointContextMenuEvent, ChartDataPointsEvent } from '../../types/data-point';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
9
  * Props shared across the {@link ChartComponent}.
@@ -60,7 +60,6 @@ export interface ChartProps extends WithoutPreactChartEventProps<ChartPropsPreac
60
60
  *
61
61
  * <img src="media://angular-chart-example.png" width="800px" />
62
62
  * @shortDescription Common component for rendering charts of different types including table
63
- *
64
63
  * @group Charts
65
64
  */
66
65
  export declare class ChartComponent implements AfterViewInit, OnChanges, OnDestroy {
@@ -126,7 +125,6 @@ export declare class ChartComponent implements AfterViewInit, OnChanges, OnDestr
126
125
  * {@inheritDoc @sisense/sdk-ui!ChartProps.onDataReady}
127
126
  *
128
127
  * @category Callbacks
129
- * @internal
130
128
  */
131
129
  dataReady: ChartProps['dataReady'];
132
130
  /**
@@ -134,13 +132,13 @@ export declare class ChartComponent implements AfterViewInit, OnChanges, OnDestr
134
132
  *
135
133
  * @category Callbacks
136
134
  */
137
- dataPointClick: EventEmitter<ChartDataPointEvent>;
135
+ dataPointClick: EventEmitter<ChartDataPointClickEvent>;
138
136
  /**
139
137
  * {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointContextMenu}
140
138
  *
141
139
  * @category Callbacks
142
140
  */
143
- dataPointContextMenu: EventEmitter<ChartDataPointEvent>;
141
+ dataPointContextMenu: EventEmitter<ChartDataPointContextMenuEvent>;
144
142
  /**
145
143
  * {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointsSelected}
146
144
  *
@@ -175,7 +173,7 @@ export declare class ChartComponent implements AfterViewInit, OnChanges, OnDestr
175
173
  * @internal
176
174
  */
177
175
  ngOnChanges(): void;
178
- private createPreactComponent;
176
+ private getPreactComponentProps;
179
177
  /**
180
178
  * @internal
181
179
  */
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { type ChartType } from '../../sdk-ui-core-exports';
3
2
  import { type ColumnChartProps as ColumnChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ import { type ChartType } from '../../sdk-ui-core-exports';
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";
@@ -61,7 +61,6 @@ export class AnalyticsComponent {
61
61
  }
62
62
  * ```
63
63
  * <img src="media://angular-column-chart-example.png" width="800px" />
64
- *
65
64
  * @group Charts
66
65
  */
67
66
  export declare class ColumnChartComponent {
@@ -105,7 +104,6 @@ export declare class ColumnChartComponent {
105
104
  * {@inheritDoc @sisense/sdk-ui!ColumnChartProps.onDataReady}
106
105
  *
107
106
  * @category Callbacks
108
- * @internal
109
107
  */
110
108
  dataReady: ColumnChartProps['dataReady'];
111
109
  /**
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { type ChartType } from '../../sdk-ui-core-exports';
3
2
  import { type FunnelChartProps as FunnelChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ import { type ChartType } from '../../sdk-ui-core-exports';
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";
@@ -59,7 +59,6 @@ export class AnalyticsComponent {
59
59
  }
60
60
  * ```
61
61
  * <img src="media://angular-funnel-chart-example.png" width="800px" />
62
- *
63
62
  * @group Charts
64
63
  */
65
64
  export declare class FunnelChartComponent {
@@ -103,7 +102,6 @@ export declare class FunnelChartComponent {
103
102
  * {@inheritDoc @sisense/sdk-ui!FunnelChartProps.onDataReady}
104
103
  *
105
104
  * @category Callbacks
106
- * @internal
107
105
  */
108
106
  dataReady: FunnelChartProps['dataReady'];
109
107
  /**
@@ -1,18 +1,18 @@
1
+ export * from './area-chart.component';
2
+ export * from './area-range-chart.component';
3
+ export * from './areamap-chart.component';
4
+ export * from './bar-chart.component';
5
+ export * from './boxplot-chart.component';
1
6
  export * from './chart.component';
2
- export * from './table.component';
3
7
  export * from './column-chart.component';
4
- export * from './bar-chart.component';
5
- export * from './area-chart.component';
6
- export * from './line-chart.component';
8
+ export * from './funnel-chart.component';
7
9
  export * from './indicator-chart.component';
8
- export * from './scatter-chart.component';
10
+ export * from './line-chart.component';
9
11
  export * from './pie-chart.component';
10
- export * from './funnel-chart.component';
12
+ export * from './pivot-table.component';
11
13
  export * from './polar-chart.component';
12
- export * from './treemap-chart.component';
13
- export * from './sunburst-chart.component';
14
- export * from './boxplot-chart.component';
14
+ export * from './scatter-chart.component';
15
15
  export * from './scattermap-chart.component';
16
- export * from './areamap-chart.component';
17
- export * from './pivot-table.component';
18
- export * from './area-range-chart.component';
16
+ export * from './sunburst-chart.component';
17
+ export * from './table.component';
18
+ export * from './treemap-chart.component';
@@ -1,11 +1,11 @@
1
- import { type ChartType } from '../../sdk-ui-core-exports';
2
1
  import { type IndicatorChartProps as IndicatorChartPropsPreact } from '@sisense/sdk-ui-preact';
3
- import { BaseChartEventProps, HighchartsBasedChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
2
+ import { type ChartType } from '../../sdk-ui-core-exports';
3
+ import { IndicatorChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
4
4
  import * as i0 from "@angular/core";
5
5
  /**
6
6
  * Props of the {@link IndicatorChartComponent}.
7
7
  */
8
- export interface IndicatorChartProps extends WithoutPreactChartEventProps<IndicatorChartPropsPreact>, BaseChartEventProps, HighchartsBasedChartEventProps {
8
+ export interface IndicatorChartProps extends WithoutPreactChartEventProps<IndicatorChartPropsPreact>, IndicatorChartEventProps {
9
9
  }
10
10
  /**
11
11
  * A component that provides various options for displaying one or two numeric values as a number, gauge or ticker.
@@ -63,7 +63,6 @@ export class AnalyticsComponent {
63
63
  }
64
64
  * ```
65
65
  * <img src="media://angular-indicator-chart-example.png" width="800px" />
66
- *
67
66
  * @group Charts
68
67
  */
69
68
  export declare class IndicatorChartComponent {
@@ -107,7 +106,6 @@ export declare class IndicatorChartComponent {
107
106
  * {@inheritDoc @sisense/sdk-ui!IndicatorChartProps.onDataReady}
108
107
  *
109
108
  * @category Callbacks
110
- * @internal
111
109
  */
112
110
  dataReady: IndicatorChartProps['dataReady'];
113
111
  /** @internal */
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { type ChartType } from '../../sdk-ui-core-exports';
3
2
  import { type LineChartProps as LineChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ import { type ChartType } from '../../sdk-ui-core-exports';
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";
@@ -59,7 +59,6 @@ export class AnalyticsComponent {
59
59
  }
60
60
  * ```
61
61
  * <img src="media://angular-line-chart-example.png" width="800px" />
62
- *
63
62
  * @group Charts
64
63
  */
65
64
  export declare class LineChartComponent {
@@ -103,7 +102,6 @@ export declare class LineChartComponent {
103
102
  * {@inheritDoc @sisense/sdk-ui!LineChartProps.onDataReady}
104
103
  *
105
104
  * @category Callbacks
106
- * @internal
107
105
  */
108
106
  dataReady: LineChartProps['dataReady'];
109
107
  /**
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { type ChartType } from '../../sdk-ui-core-exports';
3
2
  import { type PieChartProps as PieChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ import { type ChartType } from '../../sdk-ui-core-exports';
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";
@@ -61,7 +61,6 @@ export class AnalyticsComponent {
61
61
  }
62
62
  * ```
63
63
  * <img src="media://angular-pie-chart-example.png" width="800px" />
64
- *
65
64
  * @group Charts
66
65
  */
67
66
  export declare class PieChartComponent {
@@ -105,7 +104,6 @@ export declare class PieChartComponent {
105
104
  * {@inheritDoc @sisense/sdk-ui!PieChartProps.onDataReady}
106
105
  *
107
106
  * @category Callbacks
108
- * @internal
109
107
  */
110
108
  dataReady: PieChartProps['dataReady'];
111
109
  /**
@@ -105,7 +105,7 @@ export declare class PivotTableComponent implements AfterViewInit, OnChanges, On
105
105
  ngAfterViewInit(): void;
106
106
  /** @internal */
107
107
  ngOnChanges(): void;
108
- private createPreactComponent;
108
+ private getPreactComponentProps;
109
109
  /** @internal */
110
110
  ngOnDestroy(): void;
111
111
  static ɵfac: i0.ɵɵFactoryDeclaration<PivotTableComponent, never>;
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { type ChartType } from '../../sdk-ui-core-exports';
3
2
  import { type PolarChartProps as PolarChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ import { type ChartType } from '../../sdk-ui-core-exports';
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";
@@ -60,7 +60,6 @@ export class AnalyticsComponent {
60
60
  }
61
61
  * ```
62
62
  * <img src="media://angular-polar-chart-example.png" width="800px" />
63
- *
64
63
  * @group Charts
65
64
  */
66
65
  export declare class PolarChartComponent {
@@ -104,7 +103,6 @@ export declare class PolarChartComponent {
104
103
  * {@inheritDoc @sisense/sdk-ui!PolarChartProps.onDataReady}
105
104
  *
106
105
  * @category Callbacks
107
- * @internal
108
106
  */
109
107
  dataReady: PolarChartProps['dataReady'];
110
108
  /**
@@ -1,13 +1,13 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { type ChartType } from '../../sdk-ui-core-exports';
3
2
  import { type ScatterChartProps as ScatterChartPropsPreact } from '@sisense/sdk-ui-preact';
4
- import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
5
- import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
3
+ import { type ChartType } from '../../sdk-ui-core-exports';
4
+ import { ScatterChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
5
+ import { ScatterDataPointEvent, ScatterDataPointsEvent } from '../../types/data-point';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * Props of the {@link ScatterChartComponent}.
9
9
  */
10
- export interface ScatterChartProps extends WithoutPreactChartEventProps<ScatterChartPropsPreact>, RegularChartEventProps {
10
+ export interface ScatterChartProps extends WithoutPreactChartEventProps<ScatterChartPropsPreact>, ScatterChartEventProps {
11
11
  }
12
12
  /**
13
13
  * A component displaying the distribution of two variables on an X-Axis, Y-Axis,
@@ -63,7 +63,6 @@ export class AnalyticsComponent {
63
63
  }
64
64
  * ```
65
65
  * <img src="media://angular-scatter-chart-example.png" width="800px" />
66
- *
67
66
  * @group Charts
68
67
  */
69
68
  export declare class ScatterChartComponent {
@@ -107,7 +106,6 @@ export declare class ScatterChartComponent {
107
106
  * {@inheritDoc @sisense/sdk-ui!ScatterChartProps.onDataReady}
108
107
  *
109
108
  * @category Callbacks
110
- * @internal
111
109
  */
112
110
  dataReady: ScatterChartProps['dataReady'];
113
111
  /**
@@ -115,19 +113,19 @@ export declare class ScatterChartComponent {
115
113
  *
116
114
  * @category Callbacks
117
115
  */
118
- dataPointClick: EventEmitter<DataPointEvent>;
116
+ dataPointClick: EventEmitter<ScatterDataPointEvent>;
119
117
  /**
120
118
  * {@inheritDoc @sisense/sdk-ui!ScatterChartProps.onDataPointContextMenu}
121
119
  *
122
120
  * @category Callbacks
123
121
  */
124
- dataPointContextMenu: EventEmitter<DataPointEvent>;
122
+ dataPointContextMenu: EventEmitter<ScatterDataPointEvent>;
125
123
  /**
126
124
  * {@inheritDoc @sisense/sdk-ui!ScatterChartProps.onDataPointsSelected}
127
125
  *
128
126
  * @category Callbacks
129
127
  */
130
- dataPointsSelect: EventEmitter<DataPointsEvent>;
128
+ dataPointsSelect: EventEmitter<ScatterDataPointsEvent>;
131
129
  /** @internal */
132
130
  chartType: ChartType;
133
131
  static ɵfac: i0.ɵɵFactoryDeclaration<ScatterChartComponent, never>;
@@ -1,14 +1,13 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { type ChartType } from '../../sdk-ui-core-exports';
3
2
  import { type ScattermapChartProps as ScattermapChartPropsPreact } from '@sisense/sdk-ui-preact';
4
- import { BaseChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
5
- import { DataPointEvent, DataPointEventHandler } from '../../types/data-point';
3
+ import { type ChartType } from '../../sdk-ui-core-exports';
4
+ import { ScattermapChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
5
+ import { ScattermapDataPointEvent } from '../../types/data-point';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * Props of the {@link ScattermapChartComponent}.
9
9
  */
10
- export interface ScattermapChartProps extends WithoutPreactChartEventProps<ScattermapChartPropsPreact>, BaseChartEventProps {
11
- dataPointClick?: DataPointEventHandler;
10
+ export interface ScattermapChartProps extends WithoutPreactChartEventProps<ScattermapChartPropsPreact>, ScattermapChartEventProps {
12
11
  }
13
12
  /**
14
13
  * An Angular component that allows to visualize geographical data as data points on a map.
@@ -95,7 +94,6 @@ export declare class ScattermapChartComponent {
95
94
  * {@inheritDoc @sisense/sdk-ui!ScattermapChartProps.onDataReady}
96
95
  *
97
96
  * @category Callbacks
98
- * @internal
99
97
  */
100
98
  dataReady: ScattermapChartProps['dataReady'];
101
99
  /**
@@ -103,7 +101,7 @@ export declare class ScattermapChartComponent {
103
101
  *
104
102
  * @category Callbacks
105
103
  */
106
- dataPointClick: EventEmitter<DataPointEvent>;
104
+ dataPointClick: EventEmitter<ScattermapDataPointEvent>;
107
105
  /** @internal */
108
106
  chartType: ChartType;
109
107
  static ɵfac: i0.ɵɵFactoryDeclaration<ScattermapChartComponent, never>;
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { type ChartType } from '../../sdk-ui-core-exports';
3
2
  import { type SunburstChartProps as SunburstChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ import { type ChartType } from '../../sdk-ui-core-exports';
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";
@@ -61,7 +61,6 @@ export class AnalyticsComponent {
61
61
  }
62
62
  * ```
63
63
  * <img src="media://angular-sunburst-chart-example.png" width="800px" />
64
- *
65
64
  * @group Charts
66
65
  */
67
66
  export declare class SunburstChartComponent {
@@ -105,7 +104,6 @@ export declare class SunburstChartComponent {
105
104
  * {@inheritDoc @sisense/sdk-ui!SunburstChartProps.onDataReady}
106
105
  *
107
106
  * @category Callbacks
108
- * @internal
109
107
  */
110
108
  dataReady: SunburstChartProps['dataReady'];
111
109
  /**
@@ -39,7 +39,6 @@ export class AnalyticsComponent {
39
39
  }
40
40
  * ```
41
41
  * <img src="media://angular-table-chart-example.png" width="800px" />
42
- *
43
42
  * @group Data Grids
44
43
  */
45
44
  export declare class TableComponent implements AfterViewInit, OnChanges, OnDestroy {
@@ -75,7 +74,6 @@ export declare class TableComponent implements AfterViewInit, OnChanges, OnDestr
75
74
  * {@inheritDoc @sisense/sdk-ui!TableProps.onDataReady}
76
75
  *
77
76
  * @category Callbacks
78
- * @internal
79
77
  */
80
78
  dataReady: TableProps['dataReady'];
81
79
  private componentAdapter;
@@ -84,7 +82,7 @@ export declare class TableComponent implements AfterViewInit, OnChanges, OnDestr
84
82
  ngAfterViewInit(): void;
85
83
  /** @internal */
86
84
  ngOnChanges(): void;
87
- private createPreactComponent;
85
+ private getPreactComponentProps;
88
86
  /** @internal */
89
87
  ngOnDestroy(): void;
90
88
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { type ChartType } from '../../sdk-ui-core-exports';
3
2
  import { type TreemapChartProps as TreemapChartPropsPreact } from '@sisense/sdk-ui-preact';
3
+ import { type ChartType } from '../../sdk-ui-core-exports';
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";
@@ -61,7 +61,6 @@ export class AnalyticsComponent {
61
61
  }
62
62
  * ```
63
63
  * <img src="media://angular-treemap-chart-example.png" width="800px" />
64
- *
65
64
  * @group Charts
66
65
  */
67
66
  export declare class TreemapChartComponent {
@@ -105,7 +104,6 @@ export declare class TreemapChartComponent {
105
104
  * {@inheritDoc @sisense/sdk-ui!TreemapChartProps.onDataReady}
106
105
  *
107
106
  * @category Callbacks
108
- * @internal
109
107
  */
110
108
  dataReady: TreemapChartProps['dataReady'];
111
109
  /**
@@ -70,7 +70,7 @@ export declare class ContextMenuComponent implements AfterViewInit, OnChanges, O
70
70
  * @internal
71
71
  */
72
72
  ngOnChanges(): void;
73
- private createPreactComponent;
73
+ private getPreactComponentProps;
74
74
  /**
75
75
  * @internal
76
76
  */
@@ -1,8 +1,8 @@
1
1
  import { AfterViewInit, ElementRef, OnChanges, OnDestroy } from '@angular/core';
2
2
  import { type DashboardByIdProps as DashboardByIdPropsPreact } from '@sisense/sdk-ui-preact';
3
+ import { PluginsService } from '../../services/plugins.service';
3
4
  import { SisenseContextService } from '../../services/sisense-context.service';
4
5
  import { ThemeService } from '../../services/theme.service';
5
- import { PluginsService } from '../../services/plugins.service';
6
6
  import type { DashboardByIdConfig } from '../../types';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
@@ -107,7 +107,7 @@ export declare class DashboardByIdComponent implements AfterViewInit, OnChanges,
107
107
  * @internal
108
108
  */
109
109
  ngOnChanges(): void;
110
- private createPreactComponent;
110
+ private getPreactComponentProps;
111
111
  /**
112
112
  * @internal
113
113
  */