@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,2 +1,2 @@
1
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';
2
+ export type { AppConfig, AreamapChartDataOptions, AreamapChartType, AreamapStyleOptions, AreaRangeStyleOptions, AreaStyleOptions, AreaSubtype, AxisLabel, BeforeRenderHandler, BoxplotChartCustomDataOptions, BoxplotChartDataOptions, BoxplotChartType, BoxplotDataPoint, BoxplotStyleOptions, BoxplotSubtype, BoxWhiskerType, CartesianChartDataOptions, CartesianChartType, CartesianWidgetType, CategoricalChartDataOptions, CategoricalChartType, CategoricalWidgetType, ChartDataOptions, ChartStyleOptions, ChartType, ChartWidgetStyleOptions, Color, ColorPaletteTheme, CommonWidgetProps, ConditionalDataColorOptions, Convolution, DashboardLayoutOptions, DashboardModel, DataColorCondition, DataColorOptions, DataLimits, DataPoint, DateConfig, DateLevel, DayOfWeek, DecimalScale, DrilldownOptions, DrilldownSelection, FilterVariant, FunnelStyleOptions, GaugeIndicatorStyleOptions, GetDashboardModelOptions, GetDashboardModelsOptions, Hierarchy, HierarchyModel, HighchartsOptions, IndicatorBeforeRenderHandler, IndicatorChartDataOptions, IndicatorChartType, IndicatorComponents, IndicatorRenderOptions, IndicatorStyleOptions, Labels, Legend, LineStyleOptions, LineSubtype, LineWidth, Markers, Member, MenuItemSection, MenuPosition, MonthOfYear, MultiColumnValueToColorMap, Navigator, NumberFormatConfig, NumericBarIndicatorStyleOptions, NumericSimpleIndicatorStyleOptions, PieStyleOptions, PieSubtype, PivotRowsSort, PivotTableDataOptions, PivotTableStyleOptions, PivotTableWidgetStyleOptions, PolarStyleOptions, PolarSubtype, RangeChartDataOptions, RangeChartType, RangeDataColorOptions, ScatterChartDataOptions, ScatterChartType, ScatterDataPoint, ScattermapChartDataOptions, ScattermapChartType, ScattermapLocationLevel, ScattermapMarkers, ScattermapStyleOptions, ScatterMarkerSize, ScatterStyleOptions, SeriesChartType, SeriesLabels, SortDirection, StackableStyleOptions, StackableSubtype, StyledColumn, StyledMeasureColumn, SunburstStyleOptions, TableDataOptions, TableStyleOptions, TableType, TabularWidgetType, TextWidgetProps, ThemeOid, ThemeSettings, TranslationConfig, TreemapStyleOptions, UniformDataColorOptions, ValueToColorMap, WidgetByIdStyleOptions, WidgetDataOptions, WidgetId, WidgetModel, WidgetsOptions, WidgetsPanelColumnLayout, WidgetsPanelLayout, WidgetStyleOptions, WidgetType, X2Title, } from '@sisense/sdk-ui-preact';
@@ -15,24 +15,25 @@ import * as i13 from "./components/charts/polar-chart.component";
15
15
  import * as i14 from "./components/charts/treemap-chart.component";
16
16
  import * as i15 from "./components/charts/sunburst-chart.component";
17
17
  import * as i16 from "./components/widgets/table-widget.component";
18
- import * as i17 from "./components/widgets/dashboard-widget.component";
19
- import * as i18 from "./components/widgets/widget-by-id.component";
20
- import * as i19 from "./components/filters/member-filter-tile.component";
21
- import * as i20 from "./components/widgets/drilldown-widget.component";
22
- import * as i21 from "./components/filters/date-range-filter-tile.component";
23
- import * as i22 from "./components/filters/relative-date-filter-tile.component";
24
- import * as i23 from "./components/filters/criteria-filter-tile.component";
25
- import * as i24 from "./components/drilldown-breadcrumbs.component";
26
- import * as i25 from "./components/context-menu.component";
27
- import * as i26 from "./components/charts/boxplot-chart.component";
28
- import * as i27 from "./components/charts/scattermap-chart.component";
29
- import * as i28 from "./components/charts/areamap-chart.component";
30
- import * as i29 from "./components/charts/pivot-table.component";
31
- import * as i30 from "./components/dashboard/dashboard-by-id.component";
32
- import * as i31 from "./components/dashboard/dashboard.component";
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";
18
+ import * as i17 from "./components/widgets/widget-by-id.component";
19
+ import * as i18 from "./components/filters/member-filter-tile.component";
20
+ import * as i19 from "./components/widgets/drilldown-widget.component";
21
+ import * as i20 from "./components/filters/date-range-filter-tile.component";
22
+ import * as i21 from "./components/filters/relative-date-filter-tile.component";
23
+ import * as i22 from "./components/filters/criteria-filter-tile.component";
24
+ import * as i23 from "./components/drilldown-breadcrumbs.component";
25
+ import * as i24 from "./components/context-menu.component";
26
+ import * as i25 from "./components/charts/boxplot-chart.component";
27
+ import * as i26 from "./components/charts/scattermap-chart.component";
28
+ import * as i27 from "./components/charts/areamap-chart.component";
29
+ import * as i28 from "./components/charts/pivot-table.component";
30
+ import * as i29 from "./components/dashboard/dashboard-by-id.component";
31
+ import * as i30 from "./components/dashboard/dashboard.component";
32
+ import * as i31 from "./components/widgets/pivot-table-widget.component";
33
+ import * as i32 from "./components/filters/filter-tile.component";
34
+ import * as i33 from "./components/widgets/widget.component";
35
+ import * as i34 from "@angular/common";
36
+ import * as i35 from "./decorators/decorators.module";
36
37
  /**
37
38
  * SDK UI Module, which is a container for components.
38
39
  *
@@ -58,11 +59,10 @@ import * as i34 from "./decorators/decorators.module";
58
59
  * bootstrap: [AppComponent],
59
60
  * })
60
61
  * ```
61
- *
62
62
  * @group Contexts
63
63
  */
64
64
  export declare class SdkUiModule {
65
65
  static ɵfac: i0.ɵɵFactoryDeclaration<SdkUiModule, never>;
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
+ 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.WidgetByIdComponent, typeof i18.MemberFilterTileComponent, typeof i19.DrilldownWidgetComponent, typeof i20.DateRangeFilterTileComponent, typeof i21.RelativeDateFilterTileComponent, typeof i22.CriteriaFilterTileComponent, typeof i23.DrilldownBreadcrumbsComponent, typeof i24.ContextMenuComponent, typeof i25.BoxplotChartComponent, typeof i26.ScattermapChartComponent, typeof i27.AreamapChartComponent, typeof i28.PivotTableComponent, typeof i29.DashboardByIdComponent, typeof i30.DashboardComponent, typeof i31.PivotTableWidgetComponent, typeof i32.FilterTileComponent, typeof i33.WidgetComponent], [typeof i34.CommonModule, typeof i35.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.WidgetByIdComponent, typeof i18.MemberFilterTileComponent, typeof i19.DrilldownWidgetComponent, typeof i20.DateRangeFilterTileComponent, typeof i21.RelativeDateFilterTileComponent, typeof i22.CriteriaFilterTileComponent, typeof i23.DrilldownBreadcrumbsComponent, typeof i24.ContextMenuComponent, typeof i25.BoxplotChartComponent, typeof i26.ScattermapChartComponent, typeof i27.AreamapChartComponent, typeof i28.PivotTableComponent, typeof i29.DashboardByIdComponent, typeof i30.DashboardComponent, typeof i31.PivotTableWidgetComponent, typeof i32.FilterTileComponent, typeof i33.WidgetComponent]>;
67
67
  static ɵinj: i0.ɵɵInjectorDeclaration<SdkUiModule>;
68
68
  }
@@ -1,6 +1,13 @@
1
- import { type GetDashboardModelsOptions, type GetDashboardModelOptions } from '@sisense/sdk-ui-preact';
1
+ import { Filter, FilterRelations } from '@sisense/sdk-data';
2
+ import { type ComposableDashboardProps as ComposableDashboardPropsPreact, type GetDashboardModelOptions, type GetDashboardModelsOptions, UseComposedDashboardOptions, WidgetsPanelLayout } from '@sisense/sdk-ui-preact';
3
+ import { BehaviorSubject } from 'rxjs';
4
+ import { type DashboardProps } from '../components/dashboard/dashboard.component';
5
+ import { type WidgetProps } from '../components/widgets/widget.component';
2
6
  import { SisenseContextService } from './sisense-context.service';
3
7
  import * as i0 from "@angular/core";
8
+ export interface ComposableDashboardProps extends Omit<ComposableDashboardPropsPreact, 'widgets'> {
9
+ widgets: WidgetProps[];
10
+ }
4
11
  /**
5
12
  * Service for working with Sisense Fusion dashboards.
6
13
  *
@@ -27,6 +34,77 @@ export declare class DashboardService {
27
34
  * @returns Dashboard models array
28
35
  */
29
36
  getDashboardModels(options?: GetDashboardModelsOptions): Promise<import("@sisense/sdk-ui-preact").DashboardModel[]>;
37
+ /**
38
+ * Сomposes dashboard or separate dashboard elements into a coordinated dashboard
39
+ * with cross filtering, and change detection.
40
+ *
41
+ * @example
42
+ * An example of using the `createComposedDashboard` to construct a composed dashboard and render it:
43
+ * ```html
44
+ <!--Component HTML template in example.component.html-->
45
+ <div *ngIf="dashboard$ | async as dashboard">
46
+ <csdk-filter-tile
47
+ *ngFor="let filter of getDashboardFilters(dashboard); trackBy: trackByIndex"
48
+ [filter]="filter"
49
+ />
50
+ <csdk-widget
51
+ *ngFor="let widget of dashboard.widgets; trackBy: trackByIndex"
52
+ [id]="widget.id"
53
+ [widgetType]="widget.widgetType"
54
+ [chartType]="widget.chartType"
55
+ [pluginType]="widget.pluginType"
56
+ [dataSource]="widget.dataSource"
57
+ [dataOptions]="widget.dataOptions"
58
+ [filters]="widget.filters"
59
+ [highlights]="widget.highlights"
60
+ [styleOptions]="widget.styleOptions"
61
+ [drilldownOptions]="widget.drilldownOptions"
62
+ [title]="widget.title"
63
+ [description]="widget.description"
64
+ [beforeMenuOpen]="widget.beforeMenuOpen"
65
+ (dataPointClick)="widget.dataPointClick?.($event)"
66
+ (dataPointContextMenu)="widget.dataPointContextMenu?.($event)"
67
+ (dataPointsSelect)="widget.dataPointsSelect?.($event)"
68
+ />
69
+ </div>
70
+ * ```
71
+ *
72
+ * ```ts
73
+ // Component behavior in example.component.ts
74
+ import { Component } from '@angular/core';
75
+ import { BehaviorSubject } from 'rxjs';
76
+ import { DashboardService, type DashboardProps } from '@sisense/sdk-ui-angular';
77
+
78
+ @Component({
79
+ selector: 'example',
80
+ templateUrl: './example.component.html',
81
+ styleUrls: ['./example.component.scss'],
82
+ })
83
+ export class ExampleComponent {
84
+ dashboard$: BehaviorSubject<DashboardProps> | undefined;
85
+
86
+ constructor(private dashboardService: DashboardService) {}
87
+
88
+ ngOnInit() {
89
+ const initialDashboard: DashboardProps = { ... };
90
+ const composedDashboard = this.dashboardService.createComposedDashboard(initialDashboard);
91
+ this.dashboard$ = composedDashboard.dashboard$;
92
+ }
93
+
94
+ trackByIndex = (index: number) => index;
95
+
96
+ getDashboardFilters = ({ filters }: DashboardProps) => Array.isArray(filters) ? filters : [];
97
+ }
98
+ * ```
99
+ * @param initialDashboard - Initial dashboard
100
+ * @param options - Configuration options
101
+ * @returns Reactive composed dashboard object and API methods for interacting with it
102
+ */
103
+ createComposedDashboard<D extends ComposableDashboardProps | DashboardProps>(initialDashboard: D, options?: UseComposedDashboardOptions): {
104
+ dashboard$: BehaviorSubject<D>;
105
+ setFilters: (filters: Filter[] | FilterRelations) => Promise<void>;
106
+ setWidgetsLayout: (newLayout: WidgetsPanelLayout) => Promise<void>;
107
+ };
30
108
  static ɵfac: i0.ɵɵFactoryDeclaration<DashboardService, never>;
31
109
  static ɵprov: i0.ɵɵInjectableDeclaration<DashboardService>;
32
110
  }
@@ -1,4 +1,4 @@
1
- import { HierarchyModel, type GetHierarchyModelsParams as GetHierarchyModelsParamsPreact } from '@sisense/sdk-ui-preact';
1
+ import { type GetHierarchyModelsParams as GetHierarchyModelsParamsPreact, HierarchyModel } from '@sisense/sdk-ui-preact';
2
2
  import { SisenseContextService } from './sisense-context.service';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
@@ -1,7 +1,7 @@
1
+ export * from './dashboard.service';
2
+ export * from './hierarchy.service';
3
+ export * from './plugins.service';
1
4
  export * from './query.service';
2
5
  export * from './sisense-context.service';
3
6
  export * from './theme.service';
4
- export * from './plugins.service';
5
- export * from './dashboard.service';
6
7
  export * from './widget.service';
7
- export * from './hierarchy.service';
@@ -1,5 +1,5 @@
1
- import { BehaviorSubject } from 'rxjs';
2
1
  import { PluginComponent } from '@sisense/sdk-ui-preact';
2
+ import { BehaviorSubject } from 'rxjs';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
5
5
  * Service for working with plugins fetched from an external environment.
@@ -1,15 +1,9 @@
1
- import { type ExecuteQueryParams as ExecuteQueryParamsPreact, type ExecuteQueryByWidgetIdParams as ExecuteQueryByWidgetIdParamsPreact, type ExecutePivotQueryParams as ExecutePivotQueryParamsPreact } from '@sisense/sdk-ui-preact';
1
+ import { type ExecuteCsvQueryParams as ExecuteCsvQueryParamsPreact, type ExecutePivotQueryParams as ExecutePivotQueryParamsPreact, type ExecuteQueryByWidgetIdParams as ExecuteQueryByWidgetIdParamsPreact, type ExecuteQueryParams as ExecuteQueryParamsPreact } from '@sisense/sdk-ui-preact';
2
2
  import { SisenseContextService } from './sisense-context.service';
3
3
  import * as i0 from "@angular/core";
4
4
  interface ExecuteQueryHandlers {
5
5
  /** Sync or async callback that allows to modify the JAQL payload before it is sent to the server. */
6
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
7
  }
14
8
  /**
15
9
  * Parameters for data query execution.
@@ -24,7 +18,12 @@ export interface ExecuteQueryByWidgetIdParams extends Omit<ExecuteQueryByWidgetI
24
18
  /**
25
19
  * Parameters for pivot data query execution.
26
20
  */
27
- export interface ExecutePivotQueryParams extends Omit<ExecutePivotQueryParamsPreact, 'enabled' | 'onBeforeQuery'>, Omit<ExecuteQueryHandlers, 'onBeforeQuery'> {
21
+ export interface ExecutePivotQueryParams extends Omit<ExecutePivotQueryParamsPreact, 'enabled' | 'onBeforeQuery'>, ExecuteQueryHandlers {
22
+ }
23
+ /**
24
+ * Parameters for CSV data query execution.
25
+ */
26
+ export interface ExecuteCsvQueryParams extends Omit<ExecuteCsvQueryParamsPreact, 'enabled' | 'onBeforeQuery'>, ExecuteQueryHandlers {
28
27
  }
29
28
  /**
30
29
  * Service for executing data queries.
@@ -66,6 +65,16 @@ export declare class QueryService {
66
65
  executePivotQuery(params: ExecutePivotQueryParams): Promise<{
67
66
  data: import("@sisense/sdk-data").PivotQueryResultData;
68
67
  }>;
68
+ /**
69
+ * Executes a CSV data query.
70
+ * Similar to {@link QueryService.executeQuery}, but returns the data in CSV format as text or as a stream.
71
+ *
72
+ * @param params - CSV query parameters
73
+ * @return CSV query result
74
+ */
75
+ executeCsvQuery(params: ExecuteCsvQueryParams): Promise<{
76
+ data: Blob | string;
77
+ }>;
69
78
  static ɵfac: i0.ɵɵFactoryDeclaration<QueryService, never>;
70
79
  static ɵprov: i0.ɵɵInjectableDeclaration<QueryService>;
71
80
  }
@@ -1,6 +1,6 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import { ClientApplication } from '@sisense/sdk-ui-preact';
3
2
  import type { SisenseContextProviderProps as SisenseContextConfig } from '@sisense/sdk-ui-preact';
3
+ import { ClientApplication } from '@sisense/sdk-ui-preact';
4
4
  import * as i0 from "@angular/core";
5
5
  export { type SisenseContextConfig };
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import { type ThemeProviderProps as ThemeConfig, type CompleteThemeSettings } from '@sisense/sdk-ui-preact';
2
+ import { type CompleteThemeSettings, type ThemeProviderProps as ThemeConfig } from '@sisense/sdk-ui-preact';
3
3
  import { type ThemeSettings } from '../sdk-ui-core-exports';
4
4
  import { SisenseContextService } from './sisense-context.service';
5
5
  import * as i0 from "@angular/core";
@@ -1,6 +1,6 @@
1
1
  import type { Data } from '@sisense/sdk-data';
2
2
  import type { BeforeRenderHandler, IndicatorBeforeRenderHandler } from '@sisense/sdk-ui-preact';
3
- import type { AreamapDataPointEventHandler, BoxplotDataPointEventHandler, DataPointEventHandler, DataPointsEventHandler, ScatterDataPointEventHandler, ScatterDataPointsEventHandler, ScattermapDataPointEventHandler } from './data-point';
3
+ import type { AreamapDataPointEventHandler, BoxplotDataPointEventHandler, ChartDataPointClickEventHandler, ChartDataPointContextMenuEventHandler, ChartDataPointsEventHandler, DataPointEventHandler, DataPointsEventHandler, ScatterDataPointEventHandler, ScatterDataPointsEventHandler, ScattermapDataPointEventHandler } from './data-point';
4
4
  export interface HighchartsBasedChartEventProps {
5
5
  /**
6
6
  * {@inheritDoc @sisense/sdk-ui!ChartProps.onBeforeRender}
@@ -14,7 +14,6 @@ export interface BaseChartEventProps {
14
14
  * {@inheritDoc @sisense/sdk-ui!ChartProps.onDataReady}
15
15
  *
16
16
  * @category Callbacks
17
- * @internal
18
17
  */
19
18
  dataReady?: (data: Data) => Data;
20
19
  }
@@ -40,7 +39,7 @@ export interface RegularChartEventProps extends BaseChartEventProps, HighchartsB
40
39
  *
41
40
  * @category Callbacks
42
41
  */
43
- dataPointsSelected?: DataPointsEventHandler;
42
+ dataPointsSelect?: DataPointsEventHandler;
44
43
  }
45
44
  /**
46
45
  * Event props for Scatter chart which uses ScatterDataPoint type
@@ -64,13 +63,13 @@ export interface ScatterChartEventProps extends BaseChartEventProps, HighchartsB
64
63
  *
65
64
  * @category Callbacks
66
65
  */
67
- dataPointsSelected?: ScatterDataPointsEventHandler;
66
+ dataPointsSelect?: ScatterDataPointsEventHandler;
68
67
  }
69
68
  /**
70
69
  * Event props for Areamap chart which uses AreamapDataPoint type
71
70
  * to describe data points for events.
72
71
  */
73
- export interface AreamapChartEventProps {
72
+ export interface AreamapChartEventProps extends BaseChartEventProps {
74
73
  /**
75
74
  * {@inheritDoc @sisense/sdk-ui!AreamapChartProps.onDataPointClick}
76
75
  *
@@ -82,7 +81,7 @@ export interface AreamapChartEventProps {
82
81
  * Event props for Scattermap chart which uses ScattermapDataPoint type
83
82
  * to describe data points for events.
84
83
  */
85
- export interface ScattermapChartEventProps {
84
+ export interface ScattermapChartEventProps extends BaseChartEventProps {
86
85
  /**
87
86
  * {@inheritDoc @sisense/sdk-ui!ScattermapChartProps.onDataPointClick}
88
87
  *
@@ -112,7 +111,7 @@ export interface BoxplotChartEventProps extends BaseChartEventProps, HighchartsB
112
111
  *
113
112
  * @category Callbacks
114
113
  */
115
- dataPointsSelected?: DataPointsEventHandler;
114
+ dataPointsSelect?: DataPointsEventHandler;
116
115
  }
117
116
  export interface IndicatorChartEventProps extends BaseChartEventProps {
118
117
  /**
@@ -128,19 +127,19 @@ export interface ChartEventProps extends BaseChartEventProps {
128
127
  *
129
128
  * @category Callbacks
130
129
  */
131
- dataPointClick?: DataPointEventHandler | ScatterDataPointEventHandler | AreamapDataPointEventHandler | BoxplotDataPointEventHandler | ScattermapDataPointEventHandler;
130
+ dataPointClick?: ChartDataPointClickEventHandler;
132
131
  /**
133
132
  * {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointContextMenu}
134
133
  *
135
134
  * @category Callbacks
136
135
  */
137
- dataPointContextMenu?: DataPointEventHandler | ScatterDataPointEventHandler | BoxplotDataPointEventHandler;
136
+ dataPointContextMenu?: ChartDataPointContextMenuEventHandler;
138
137
  /**
139
138
  * {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointsSelected}
140
139
  *
141
140
  * @category Callbacks
142
141
  */
143
- dataPointsSelected?: DataPointsEventHandler | ScatterDataPointsEventHandler;
142
+ dataPointsSelect?: ChartDataPointsEventHandler;
144
143
  /**
145
144
  * {@inheritDoc @sisense/sdk-ui!ChartProps.onBeforeRender}
146
145
  *
@@ -1,4 +1,4 @@
1
- import type { DashboardConfig as DashboardConfigPreact, DashboardByIdConfig as DashboardByIdConfigPreact, DashboardFiltersPanelConfig as DashboardFiltersPanelConfigPreact } from '@sisense/sdk-ui-preact';
1
+ import type { DashboardByIdConfig as DashboardByIdConfigPreact, DashboardConfig as DashboardConfigPreact, DashboardFiltersPanelConfig as DashboardFiltersPanelConfigPreact } from '@sisense/sdk-ui-preact';
2
2
  /**
3
3
  * {@inheritDoc @sisense/sdk-ui!DashboardFiltersPanelConfig}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { AreamapDataPoint, BoxplotDataPoint, ChartDataPoint, DataPoint, ScatterDataPoint, ScattermapDataPoint } from '@sisense/sdk-ui-preact';
1
+ import { AreamapDataPoint, BoxplotDataPoint, DataPoint, ScatterDataPoint, ScattermapDataPoint } from '@sisense/sdk-ui-preact';
2
2
  export type DataPointEvent = {
3
3
  /** Data point that was clicked */
4
4
  point: DataPoint;
@@ -29,12 +29,8 @@ export type BoxplotDataPointEvent = {
29
29
  /** Native PointerEvent */
30
30
  nativeEvent: PointerEvent;
31
31
  };
32
- export type ChartDataPointEvent = {
33
- /** Data point that was clicked */
34
- point: ChartDataPoint;
35
- /** Native PointerEvent */
36
- nativeEvent: MouseEvent | PointerEvent;
37
- };
32
+ export type ChartDataPointClickEvent = DataPointEvent | ScatterDataPointEvent | BoxplotDataPointEvent | AreamapDataPointEvent | ScattermapDataPointEvent;
33
+ export type ChartDataPointContextMenuEvent = DataPointEvent | ScatterDataPointEvent | BoxplotDataPointEvent;
38
34
  export type DataPointsEvent = {
39
35
  /** Data points that were selected */
40
36
  points: DataPoint[];
@@ -47,12 +43,13 @@ export type ScatterDataPointsEvent = {
47
43
  /** Native MouseEvent */
48
44
  nativeEvent: MouseEvent;
49
45
  };
50
- export type ChartDataPointsEvent = {
51
- /** Data points that were selected */
52
- points: ChartDataPoint[];
46
+ export type BoxplotDataPointsEvent = {
47
+ /** Data point that were selected */
48
+ points: BoxplotDataPoint[];
53
49
  /** Native MouseEvent */
54
- nativeEvent: MouseEvent | PointerEvent;
50
+ nativeEvent: MouseEvent;
55
51
  };
52
+ export type ChartDataPointsEvent = DataPointsEvent | ScatterDataPointsEvent;
56
53
  /**
57
54
  * A handler function that allows you to customize what happens when certain events occur to
58
55
  * a data point.
@@ -72,7 +69,17 @@ export type ScattermapDataPointEventHandler = (event: ScattermapDataPointEvent)
72
69
  * Click handler for when a data point on Boxplot is clicked.
73
70
  */
74
71
  export type BoxplotDataPointEventHandler = (event: BoxplotDataPointEvent) => void;
72
+ /**
73
+ * Click handler for when a data point on Chart is clicked.
74
+ */
75
+ export type ChartDataPointClickEventHandler = (event: ChartDataPointClickEvent) => void;
76
+ /**
77
+ * Context menu handler for when a data point on the Chart is right-clicked.
78
+ */
79
+ export type ChartDataPointContextMenuEventHandler = (event: ChartDataPointContextMenuEvent) => void;
75
80
  /** Click handler for when multiple scatter data points are selected. */
76
81
  export type ScatterDataPointsEventHandler = (event: ScatterDataPointsEvent) => void;
77
82
  /** Click handler for when multiple data points are selected. */
78
83
  export type DataPointsEventHandler = (event: DataPointsEvent) => void;
84
+ /** Click handler for when multiple data points on Chart are selected. */
85
+ export type ChartDataPointsEventHandler = (event: ChartDataPointsEvent) => void;
@@ -0,0 +1,35 @@
1
+ import { Filter } from '@sisense/sdk-data';
2
+ export type FilterChangeEvent = {
3
+ /** Filter that was changed */
4
+ filter: Filter | null;
5
+ };
6
+ export type FilterEditEvent = {
7
+ /** Index of the filter level that triggers the edit event (in the case of a cascading filter) */
8
+ levelIndex?: number;
9
+ };
10
+ /**
11
+ * Filter change event handler.
12
+ */
13
+ export type FilterChangeEventHandler = (event: FilterChangeEvent) => void;
14
+ /**
15
+ * Filter edit event handler.
16
+ */
17
+ export type FilterEditEventHandler = (event: FilterEditEvent) => void;
18
+ /**
19
+ * Filter delete event handler.
20
+ */
21
+ export type FilterDeleteEventHandler = () => void;
22
+ export interface BaseFilterTileEventProps {
23
+ /**
24
+ * {@inheritDoc FilterChangeEventHandler}
25
+ */
26
+ filterChange?: FilterChangeEventHandler;
27
+ /**
28
+ * {@inheritDoc FilterEditEventHandler}
29
+ */
30
+ filterEdit?: FilterEditEventHandler;
31
+ /**
32
+ * {@inheritDoc FilterDeleteEventHandler}
33
+ */
34
+ filterDelete?: FilterDeleteEventHandler;
35
+ }
@@ -1,4 +1,5 @@
1
- export * from './utility-types';
2
- export * from './data-point';
3
1
  export * from './chart-event-props';
4
2
  export * from './dashboard-config';
3
+ export * from './data-point';
4
+ export * from './filter-event-props';
5
+ export * from './utility-types';
@@ -1,5 +1,5 @@
1
- import { DashboardProps } from '../components';
2
1
  import { Filter, FilterRelations } from '@sisense/sdk-data';
2
+ import { DashboardProps } from '../components';
3
3
  /**
4
4
  * {@inheritDoc @sisense/sdk-ui!dashboardHelpers.replaceFilters}
5
5
  *
@@ -62,17 +62,6 @@ export declare const addFilters: (dashboard: DashboardProps, newFilters: Filter[
62
62
  * @returns A new dashboard instance with the specified filter replaced.
63
63
  */
64
64
  export declare const replaceFilter: (dashboard: DashboardProps, filterToReplace: Filter, newFilter: Filter) => DashboardProps;
65
- /**
66
- * {@inheritDoc @sisense/sdk-ui!dashboardHelpers.modifyFilter}
67
- *
68
- * @deprecated Use {@link replaceFilter} instead
69
- *
70
- * @param dashboard - The original dashboard (`DashboardProps`) containing the filter to modify.
71
- * @param filterToModify - The existing filter to be modified.
72
- * @param newFilter - The new filter to replace the existing one.
73
- * @returns A new dashboard instance with the specified filter modified.
74
- */
75
- export declare const modifyFilter: (dashboard: DashboardProps, filterToModify: Filter, newFilter: Filter) => DashboardProps;
76
65
  /**
77
66
  * {@inheritDoc @sisense/sdk-ui!dashboardHelpers.removeFilter}
78
67
  *
@@ -1,6 +1,6 @@
1
- import { type WidgetModel, type TextWidgetProps } from '@sisense/sdk-ui-preact';
2
- import { ExecutePivotQueryParams, ExecuteQueryParams } from '../services';
1
+ import { type TextWidgetProps, type WidgetModel } from '@sisense/sdk-ui-preact';
3
2
  import { ChartProps, ChartWidgetProps, PivotTableProps, PivotTableWidgetProps, TableProps } from '../components';
3
+ import { ExecutePivotQueryParams, ExecuteQueryParams } from '../services';
4
4
  /**
5
5
  * Translates a {@link WidgetModel} to the parameters for executing a query for the widget.
6
6
  *
package/dist/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "Sisense",
12
12
  "Compose SDK"
13
13
  ],
14
- "version": "1.33.0",
14
+ "version": "2.0.0",
15
15
  "author": "Sisense",
16
16
  "license": "SEE LICENSE IN LICENSE.md",
17
17
  "main": "dist",
@@ -57,9 +57,9 @@
57
57
  "directory": "dist"
58
58
  },
59
59
  "peerDependencies": {
60
- "@angular/common": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
61
- "@angular/compiler": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
62
- "@angular/core": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
60
+ "@angular/common": "^17.0.0 || ^18.0.0 || ^19.0.0",
61
+ "@angular/compiler": "^17.0.0 || ^18.0.0 || ^19.0.0",
62
+ "@angular/core": "^17.0.0 || ^18.0.0 || ^19.0.0"
63
63
  },
64
64
  "dependencies": {
65
65
  "@sisense/sdk-data": "workspace:^",
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * Public API Surface of @sisense/sdk-ui-angular
3
3
  */
4
- export * from './lib/sdk-ui.module';
5
4
  export * from './lib/components';
5
+ export * from './lib/sdk-ui.module';
6
+ export * from './lib/sdk-ui-core-exports';
6
7
  export * from './lib/services';
8
+ export type { AreamapDataPointEvent, AreamapDataPointEventHandler, BoxplotDataPointEvent, BoxplotDataPointEventHandler, BoxplotDataPointsEvent, ChartDataPointClickEvent, ChartDataPointClickEventHandler, ChartDataPointContextMenuEvent, ChartDataPointContextMenuEventHandler, ChartDataPointsEvent, ChartDataPointsEventHandler, DashboardByIdConfig, DashboardConfig, DashboardFiltersPanelConfig, DataPointEvent, DataPointEventHandler, DataPointsEvent, DataPointsEventHandler, FilterChangeEvent, FilterChangeEventHandler, FilterDeleteEventHandler, FilterEditEvent, FilterEditEventHandler, ScatterDataPointEvent, ScatterDataPointEventHandler, ScatterDataPointsEvent, ScatterDataPointsEventHandler, ScattermapDataPointEvent, ScattermapDataPointEventHandler, } from './lib/types';
7
9
  export * from './lib/utilities';
8
- export * from './lib/sdk-ui-core-exports';
9
- export type { DataPointEvent, AreamapDataPointEvent, BoxplotDataPointEvent, ScatterDataPointEvent, ScattermapDataPointEvent, ChartDataPointEvent, DataPointsEvent, ChartDataPointsEvent, ScatterDataPointsEvent, DataPointEventHandler, ScattermapDataPointEventHandler, AreamapDataPointEventHandler, BoxplotDataPointEventHandler, DataPointsEventHandler, ScatterDataPointEventHandler, ScatterDataPointsEventHandler, DashboardConfig, DashboardByIdConfig, DashboardFiltersPanelConfig, } from './lib/types';
10
- export { createThemeContextConnector, createSisenseContextConnector, createPluginsContextConnector, } from './lib/component-wrapper-helpers';
10
+ export { createPluginsContextConnector, createSisenseContextConnector, createThemeContextConnector, } from './lib/component-wrapper-helpers';
11
11
  export { TrackableService } from './lib/decorators';
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "1.33.0";
1
+ declare const _default: "2.0.0";
2
2
  export default _default;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "Sisense",
12
12
  "Compose SDK"
13
13
  ],
14
- "version": "1.33.0",
14
+ "version": "2.0.0",
15
15
  "author": "Sisense",
16
16
  "license": "SEE LICENSE IN LICENSE.md",
17
17
  "main": "dist",
@@ -60,8 +60,8 @@
60
60
  "prebuild": "yarn sync-version && node ./scripts/generate-build-package-config.cjs",
61
61
  "postbuild": "rm ./src/package.json",
62
62
  "watch": "ng build --watch --configuration development",
63
- "lint": "eslint .",
64
- "lint:fix": "eslint . --fix",
63
+ "lint": "eslint . --quiet",
64
+ "lint:fix": "run lint --fix",
65
65
  "format": "prettier --write .",
66
66
  "format:check": "prettier --check .",
67
67
  "test": "TZ=utc run vitest run",
@@ -71,14 +71,14 @@
71
71
  "sync-version": "node ./scripts/sync-version.cjs"
72
72
  },
73
73
  "peerDependencies": {
74
- "@angular/common": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
75
- "@angular/compiler": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
76
- "@angular/core": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
74
+ "@angular/common": "^17.0.0 || ^18.0.0 || ^19.0.0",
75
+ "@angular/compiler": "^17.0.0 || ^18.0.0 || ^19.0.0",
76
+ "@angular/core": "^17.0.0 || ^18.0.0 || ^19.0.0"
77
77
  },
78
78
  "dependencies": {
79
- "@sisense/sdk-data": "^1.33.0",
80
- "@sisense/sdk-tracking": "^1.33.0",
81
- "@sisense/sdk-ui-preact": "^1.33.0",
79
+ "@sisense/sdk-data": "^2.0.0",
80
+ "@sisense/sdk-tracking": "^2.0.0",
81
+ "@sisense/sdk-ui-preact": "^2.0.0",
82
82
  "rxjs": "^7.8.1",
83
83
  "ts-deepmerge": "^6.2.0",
84
84
  "tslib": "^2.3.0"
@@ -95,7 +95,7 @@
95
95
  "ng-packagr": "^15.2.2",
96
96
  "prettier": "2.8.4",
97
97
  "typescript": "~4.9.4",
98
- "vitest": "^2.1.4"
98
+ "vitest": "^2.1.9"
99
99
  },
100
100
  "volta": {
101
101
  "extends": "../../package.json"