@sisense/sdk-ui-angular 1.29.0 → 1.31.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 (40) hide show
  1. package/dist/esm2020/lib/components/charts/area-chart.component.mjs +3 -1
  2. package/dist/esm2020/lib/components/charts/area-range-chart.component.mjs +3 -1
  3. package/dist/esm2020/lib/components/charts/areamap-chart.component.mjs +3 -1
  4. package/dist/esm2020/lib/components/charts/bar-chart.component.mjs +3 -1
  5. package/dist/esm2020/lib/components/charts/boxplot-chart.component.mjs +3 -1
  6. package/dist/esm2020/lib/components/charts/chart.component.mjs +2 -1
  7. package/dist/esm2020/lib/components/charts/column-chart.component.mjs +3 -1
  8. package/dist/esm2020/lib/components/charts/funnel-chart.component.mjs +3 -1
  9. package/dist/esm2020/lib/components/charts/indicator-chart.component.mjs +3 -1
  10. package/dist/esm2020/lib/components/charts/line-chart.component.mjs +3 -1
  11. package/dist/esm2020/lib/components/charts/pie-chart.component.mjs +3 -1
  12. package/dist/esm2020/lib/components/charts/polar-chart.component.mjs +3 -1
  13. package/dist/esm2020/lib/components/charts/scatter-chart.component.mjs +3 -1
  14. package/dist/esm2020/lib/components/charts/scattermap-chart.component.mjs +3 -1
  15. package/dist/esm2020/lib/components/charts/sunburst-chart.component.mjs +3 -1
  16. package/dist/esm2020/lib/components/charts/table.component.mjs +5 -2
  17. package/dist/esm2020/lib/components/charts/treemap-chart.component.mjs +3 -1
  18. package/dist/esm2020/lib/components/filters/criteria-filter-tile.component.mjs +3 -3
  19. package/dist/esm2020/lib/components/filters/index.mjs +1 -2
  20. package/dist/esm2020/lib/components/widgets/chart-widget.component.mjs +8 -5
  21. package/dist/esm2020/lib/components/widgets/widget-by-id.component.mjs +5 -2
  22. package/dist/esm2020/lib/sdk-ui-core-exports.mjs +1 -1
  23. package/dist/esm2020/lib/sdk-ui.module.mjs +4 -8
  24. package/dist/esm2020/version.mjs +2 -2
  25. package/dist/fesm2015/sisense-sdk-ui-angular.mjs +70 -91
  26. package/dist/fesm2015/sisense-sdk-ui-angular.mjs.map +1 -1
  27. package/dist/fesm2020/sisense-sdk-ui-angular.mjs +67 -89
  28. package/dist/fesm2020/sisense-sdk-ui-angular.mjs.map +1 -1
  29. package/dist/lib/components/charts/table.component.d.ts +11 -1
  30. package/dist/lib/components/filters/criteria-filter-tile.component.d.ts +3 -3
  31. package/dist/lib/components/filters/index.d.ts +0 -1
  32. package/dist/lib/components/widgets/chart-widget.component.d.ts +12 -5
  33. package/dist/lib/components/widgets/widget-by-id.component.d.ts +11 -1
  34. package/dist/lib/sdk-ui-core-exports.d.ts +1 -1
  35. package/dist/lib/sdk-ui.module.d.ts +34 -35
  36. package/dist/package.json +1 -1
  37. package/dist/version.d.ts +1 -1
  38. package/package.json +4 -4
  39. package/dist/esm2020/lib/components/filters/basic-member-filter-tile.component.mjs +0 -62
  40. package/dist/lib/components/filters/basic-member-filter-tile.component.d.ts +0 -31
@@ -2,9 +2,12 @@ import { AfterViewInit, ElementRef, OnChanges, OnDestroy } from '@angular/core';
2
2
  import { type TableProps as TablePropsPreact } from '@sisense/sdk-ui-preact';
3
3
  import { SisenseContextService } from '../../services/sisense-context.service';
4
4
  import { ThemeService } from '../../services/theme.service';
5
+ import { BaseChartEventProps, WithoutPreactChartEventProps } from '../../types';
5
6
  import * as i0 from "@angular/core";
6
7
  export interface TableProps extends TablePropsPreact {
7
8
  }
9
+ export interface TableProps extends WithoutPreactChartEventProps<TablePropsPreact>, BaseChartEventProps {
10
+ }
8
11
  /**
9
12
  * Table with aggregation and pagination.
10
13
  *
@@ -67,6 +70,13 @@ export declare class TableComponent implements AfterViewInit, OnChanges, OnDestr
67
70
  * @category Representation
68
71
  */
69
72
  styleOptions: TableProps['styleOptions'];
73
+ /**
74
+ * {@inheritDoc @sisense/sdk-ui!TableProps.onDataReady}
75
+ *
76
+ * @category Callbacks
77
+ * @internal
78
+ */
79
+ dataReady: TableProps['dataReady'];
70
80
  private componentAdapter;
71
81
  constructor(sisenseContextService: SisenseContextService, themeService: ThemeService);
72
82
  /** @internal */
@@ -77,5 +87,5 @@ export declare class TableComponent implements AfterViewInit, OnChanges, OnDestr
77
87
  /** @internal */
78
88
  ngOnDestroy(): void;
79
89
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
80
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "csdk-table", never, { "dataSet": "dataSet"; "dataOptions": "dataOptions"; "filters": "filters"; "styleOptions": "styleOptions"; }, {}, never, never, false, never>;
90
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "csdk-table", never, { "dataSet": "dataSet"; "dataOptions": "dataOptions"; "filters": "filters"; "styleOptions": "styleOptions"; "dataReady": "dataReady"; }, {}, never, never, false, never>;
81
91
  }
@@ -31,11 +31,11 @@ export interface CriteriaFilterTileProps extends Omit<CriteriaFilterTilePropsPre
31
31
  * export class FiltersComponent {
32
32
  * DM = DM;
33
33
  * title: 'Room Number',
34
- * filter: filterFactory.lessThan(DM.Rooms.Room_number, 200) as CriteriaFilterType,
34
+ * filter: filterFactory.lessThan(DM.Rooms.Room_number, 200) ,
35
35
  * setFilter({ filter }: { filter: Filter | null }) {
36
36
  * console.log(filter);
37
37
  * if (filter) {
38
- * this.filter = filter as CriteriaFilterType;
38
+ * this.filter = filter ;
39
39
  * }
40
40
  * },
41
41
  * }
@@ -81,7 +81,7 @@ export declare class CriteriaFilterTileComponent implements AfterViewInit, OnCha
81
81
  /**
82
82
  * {@inheritDoc @sisense/sdk-ui!CriteriaFilterTileProps.onUpdate}
83
83
  */
84
- filterChange: EventEmitter<ArgumentsAsObject<(filter: import("@sisense/sdk-data").Filter | null) => void, ["filter"]>>;
84
+ filterChange: EventEmitter<ArgumentsAsObject<(filter: import("@sisense/sdk-data").Filter) => void, ["filter"]>>;
85
85
  private componentAdapter;
86
86
  /**
87
87
  * Constructor for the `CriteriaFilterTileComponent`.
@@ -1,4 +1,3 @@
1
- export * from './basic-member-filter-tile.component';
2
1
  export * from './member-filter-tile.component';
3
2
  export * from './date-range-filter-tile.component';
4
3
  export * from './relative-date-filter-tile.component';
@@ -132,25 +132,32 @@ export declare class ChartWidgetComponent implements AfterViewInit, OnChanges, O
132
132
  */
133
133
  highlightSelectionDisabled: ChartWidgetProps['highlightSelectionDisabled'];
134
134
  /**
135
- * {@inheritDoc @sisense/sdk-ui!ChartProps.onBeforeRender}
135
+ * {@inheritDoc @sisense/sdk-ui!ChartWidgetProps.onBeforeRender}
136
136
  *
137
137
  * @category Callbacks
138
138
  */
139
139
  beforeRender: ChartWidgetProps['beforeRender'];
140
140
  /**
141
- * {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointClick}
141
+ * {@inheritDoc @sisense/sdk-ui!ChartWidgetProps.onDataReady}
142
+ *
143
+ * @category Callbacks
144
+ * @internal
145
+ */
146
+ dataReady: ChartWidgetProps['dataReady'];
147
+ /**
148
+ * {@inheritDoc @sisense/sdk-ui!ChartWidgetProps.onDataPointClick}
142
149
  *
143
150
  * @category Callbacks
144
151
  */
145
152
  dataPointClick: EventEmitter<ChartDataPointEvent>;
146
153
  /**
147
- * {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointContextMenu}
154
+ * {@inheritDoc @sisense/sdk-ui!ChartWidgetProps.onDataPointContextMenu}
148
155
  *
149
156
  * @category Callbacks
150
157
  */
151
158
  dataPointContextMenu: EventEmitter<ChartDataPointEvent>;
152
159
  /**
153
- * {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointsSelected}
160
+ * {@inheritDoc @sisense/sdk-ui!ChartWidgetProps.onDataPointsSelected}
154
161
  *
155
162
  * @category Callbacks
156
163
  */
@@ -165,5 +172,5 @@ export declare class ChartWidgetComponent implements AfterViewInit, OnChanges, O
165
172
  /** @internal */
166
173
  ngOnDestroy(): void;
167
174
  static ɵfac: i0.ɵɵFactoryDeclaration<ChartWidgetComponent, never>;
168
- static ɵcmp: i0.ɵɵComponentDeclaration<ChartWidgetComponent, "csdk-chart-widget", never, { "chartType": "chartType"; "dataSource": "dataSource"; "dataOptions": "dataOptions"; "filters": "filters"; "highlights": "highlights"; "styleOptions": "styleOptions"; "drilldownOptions": "drilldownOptions"; "title": "title"; "description": "description"; "highlightSelectionDisabled": "highlightSelectionDisabled"; "beforeRender": "beforeRender"; }, { "dataPointClick": "dataPointClick"; "dataPointContextMenu": "dataPointContextMenu"; "dataPointsSelect": "dataPointsSelect"; }, never, never, false, never>;
175
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChartWidgetComponent, "csdk-chart-widget", never, { "chartType": "chartType"; "dataSource": "dataSource"; "dataOptions": "dataOptions"; "filters": "filters"; "highlights": "highlights"; "styleOptions": "styleOptions"; "drilldownOptions": "drilldownOptions"; "title": "title"; "description": "description"; "highlightSelectionDisabled": "highlightSelectionDisabled"; "beforeRender": "beforeRender"; "dataReady": "dataReady"; }, { "dataPointClick": "dataPointClick"; "dataPointContextMenu": "dataPointContextMenu"; "dataPointsSelect": "dataPointsSelect"; }, never, never, false, never>;
169
176
  }
@@ -2,9 +2,12 @@ import { AfterViewInit, ElementRef, OnChanges, OnDestroy } from '@angular/core';
2
2
  import { type WidgetByIdProps as WidgetByIdPropsPreact } from '@sisense/sdk-ui-preact';
3
3
  import { SisenseContextService } from '../../services/sisense-context.service';
4
4
  import { ThemeService } from '../../services/theme.service';
5
+ import { BaseChartEventProps, WithoutPreactChartEventProps } from '../../types';
5
6
  import * as i0 from "@angular/core";
6
7
  export interface WidgetByIdProps extends WidgetByIdPropsPreact {
7
8
  }
9
+ export interface WidgetByIdProps extends WithoutPreactChartEventProps<WidgetByIdPropsPreact>, BaseChartEventProps {
10
+ }
8
11
  /**
9
12
  * The `WidgetById` component, which is a thin wrapper on {@link ChartWidgetComponent},
10
13
  * is used to render a widget created in a Sisense Fusion instance.
@@ -103,6 +106,13 @@ export declare class WidgetByIdComponent implements AfterViewInit, OnChanges, On
103
106
  highlightSelectionDisabled: WidgetByIdProps['highlightSelectionDisabled'];
104
107
  /** @internal */
105
108
  drilldownOptions: WidgetByIdProps['drilldownOptions'];
109
+ /**
110
+ * {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.onDataReady}
111
+ *
112
+ * @category Callbacks
113
+ * @internal
114
+ */
115
+ dataReady: WidgetByIdProps['dataReady'];
106
116
  private componentAdapter;
107
117
  constructor(sisenseContextService: SisenseContextService, themeService: ThemeService);
108
118
  /** @internal */
@@ -114,5 +124,5 @@ export declare class WidgetByIdComponent implements AfterViewInit, OnChanges, On
114
124
  /** @internal */
115
125
  ngOnDestroy(): void;
116
126
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetByIdComponent, never>;
117
- static ɵcmp: i0.ɵɵComponentDeclaration<WidgetByIdComponent, "csdk-widget-by-id", never, { "widgetOid": "widgetOid"; "dashboardOid": "dashboardOid"; "filters": "filters"; "highlights": "highlights"; "filtersMergeStrategy": "filtersMergeStrategy"; "includeDashboardFilters": "includeDashboardFilters"; "title": "title"; "description": "description"; "styleOptions": "styleOptions"; "highlightSelectionDisabled": "highlightSelectionDisabled"; "drilldownOptions": "drilldownOptions"; }, {}, never, never, false, never>;
127
+ static ɵcmp: i0.ɵɵComponentDeclaration<WidgetByIdComponent, "csdk-widget-by-id", never, { "widgetOid": "widgetOid"; "dashboardOid": "dashboardOid"; "filters": "filters"; "highlights": "highlights"; "filtersMergeStrategy": "filtersMergeStrategy"; "includeDashboardFilters": "includeDashboardFilters"; "title": "title"; "description": "description"; "styleOptions": "styleOptions"; "highlightSelectionDisabled": "highlightSelectionDisabled"; "drilldownOptions": "drilldownOptions"; "dataReady": "dataReady"; }, {}, never, never, false, never>;
118
128
  }
@@ -1,2 +1,2 @@
1
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, CriteriaFilterType, Member, FilterVariant, Hierarchy, CommonWidgetProps, WidgetProps, } 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,38 +1,37 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./components/filters/basic-member-filter-tile.component";
3
- import * as i2 from "./components/charts/chart.component";
4
- import * as i3 from "./components/charts/table.component";
5
- import * as i4 from "./components/widgets/chart-widget.component";
6
- import * as i5 from "./components/charts/column-chart.component";
7
- import * as i6 from "./components/charts/bar-chart.component";
8
- import * as i7 from "./components/charts/area-chart.component";
9
- import * as i8 from "./components/charts/area-range-chart.component";
10
- import * as i9 from "./components/charts/line-chart.component";
11
- import * as i10 from "./components/charts/indicator-chart.component";
12
- import * as i11 from "./components/charts/scatter-chart.component";
13
- import * as i12 from "./components/charts/pie-chart.component";
14
- import * as i13 from "./components/charts/funnel-chart.component";
15
- import * as i14 from "./components/charts/polar-chart.component";
16
- import * as i15 from "./components/charts/treemap-chart.component";
17
- import * as i16 from "./components/charts/sunburst-chart.component";
18
- import * as i17 from "./components/widgets/table-widget.component";
19
- import * as i18 from "./components/widgets/dashboard-widget.component";
20
- import * as i19 from "./components/widgets/widget-by-id.component";
21
- import * as i20 from "./components/filters/member-filter-tile.component";
22
- import * as i21 from "./components/widgets/drilldown-widget.component";
23
- import * as i22 from "./components/filters/date-range-filter-tile.component";
24
- import * as i23 from "./components/filters/relative-date-filter-tile.component";
25
- import * as i24 from "./components/filters/criteria-filter-tile.component";
26
- import * as i25 from "./components/drilldown-breadcrumbs.component";
27
- import * as i26 from "./components/context-menu.component";
28
- import * as i27 from "./components/charts/boxplot-chart.component";
29
- import * as i28 from "./components/charts/scattermap-chart.component";
30
- import * as i29 from "./components/charts/areamap-chart.component";
31
- import * as i30 from "./components/charts/pivot-table.component";
32
- import * as i31 from "./components/dashboard/dashboard-by-id.component";
33
- import * as i32 from "./components/dashboard/dashboard.component";
34
- import * as i33 from "@angular/common";
35
- import * as i34 from "./decorators/decorators.module";
2
+ import * as i1 from "./components/charts/chart.component";
3
+ import * as i2 from "./components/charts/table.component";
4
+ import * as i3 from "./components/widgets/chart-widget.component";
5
+ import * as i4 from "./components/charts/column-chart.component";
6
+ import * as i5 from "./components/charts/bar-chart.component";
7
+ import * as i6 from "./components/charts/area-chart.component";
8
+ import * as i7 from "./components/charts/area-range-chart.component";
9
+ import * as i8 from "./components/charts/line-chart.component";
10
+ import * as i9 from "./components/charts/indicator-chart.component";
11
+ import * as i10 from "./components/charts/scatter-chart.component";
12
+ import * as i11 from "./components/charts/pie-chart.component";
13
+ import * as i12 from "./components/charts/funnel-chart.component";
14
+ import * as i13 from "./components/charts/polar-chart.component";
15
+ import * as i14 from "./components/charts/treemap-chart.component";
16
+ import * as i15 from "./components/charts/sunburst-chart.component";
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 "@angular/common";
34
+ import * as i33 from "./decorators/decorators.module";
36
35
  /**
37
36
  * SDK UI Module, which is a container for components.
38
37
  *
@@ -63,6 +62,6 @@ import * as i34 from "./decorators/decorators.module";
63
62
  */
64
63
  export declare class SdkUiModule {
65
64
  static ɵfac: i0.ɵɵFactoryDeclaration<SdkUiModule, never>;
66
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdkUiModule, [typeof i1.BasicMemberFilterTileComponent, typeof i2.ChartComponent, typeof i3.TableComponent, typeof i4.ChartWidgetComponent, typeof i5.ColumnChartComponent, typeof i6.BarChartComponent, typeof i7.AreaChartComponent, typeof i8.AreaRangeChartComponent, typeof i9.LineChartComponent, typeof i10.IndicatorChartComponent, typeof i11.ScatterChartComponent, typeof i12.PieChartComponent, typeof i13.FunnelChartComponent, typeof i14.PolarChartComponent, typeof i15.TreemapChartComponent, typeof i16.SunburstChartComponent, typeof i17.TableWidgetComponent, typeof i18.DashboardWidgetComponent, typeof i19.WidgetByIdComponent, typeof i20.MemberFilterTileComponent, typeof i21.DrilldownWidgetComponent, typeof i22.DateRangeFilterTileComponent, typeof i23.RelativeDateFilterTileComponent, typeof i24.CriteriaFilterTileComponent, typeof i25.DrilldownBreadcrumbsComponent, typeof i26.ContextMenuComponent, typeof i27.BoxplotChartComponent, typeof i28.ScattermapChartComponent, typeof i29.AreamapChartComponent, typeof i30.PivotTableComponent, typeof i31.DashboardByIdComponent, typeof i32.DashboardComponent], [typeof i33.CommonModule, typeof i34.DecoratorsModule], [typeof i1.BasicMemberFilterTileComponent, typeof i2.ChartComponent, typeof i3.TableComponent, typeof i4.ChartWidgetComponent, typeof i5.ColumnChartComponent, typeof i6.BarChartComponent, typeof i7.AreaChartComponent, typeof i8.AreaRangeChartComponent, typeof i9.LineChartComponent, typeof i10.IndicatorChartComponent, typeof i11.ScatterChartComponent, typeof i12.PieChartComponent, typeof i13.FunnelChartComponent, typeof i14.PolarChartComponent, typeof i15.TreemapChartComponent, typeof i16.SunburstChartComponent, typeof i17.TableWidgetComponent, typeof i18.DashboardWidgetComponent, typeof i19.WidgetByIdComponent, typeof i20.MemberFilterTileComponent, typeof i21.DrilldownWidgetComponent, typeof i22.DateRangeFilterTileComponent, typeof i23.RelativeDateFilterTileComponent, typeof i24.CriteriaFilterTileComponent, typeof i25.DrilldownBreadcrumbsComponent, typeof i26.ContextMenuComponent, typeof i27.BoxplotChartComponent, typeof i28.ScattermapChartComponent, typeof i29.AreamapChartComponent, typeof i30.PivotTableComponent, typeof i31.DashboardByIdComponent, typeof i32.DashboardComponent]>;
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]>;
67
66
  static ɵinj: i0.ɵɵInjectorDeclaration<SdkUiModule>;
68
67
  }
package/dist/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "Sisense",
12
12
  "Compose SDK"
13
13
  ],
14
- "version": "1.29.0",
14
+ "version": "1.31.0",
15
15
  "author": "Sisense",
16
16
  "license": "SEE LICENSE IN LICENSE.md",
17
17
  "main": "dist",
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "1.29.0";
1
+ declare const _default: "1.31.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.29.0",
14
+ "version": "1.31.0",
15
15
  "author": "Sisense",
16
16
  "license": "SEE LICENSE IN LICENSE.md",
17
17
  "main": "dist",
@@ -76,9 +76,9 @@
76
76
  "@angular/core": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
77
77
  },
78
78
  "dependencies": {
79
- "@sisense/sdk-data": "^1.29.0",
80
- "@sisense/sdk-tracking": "^1.29.0",
81
- "@sisense/sdk-ui-preact": "^1.29.0",
79
+ "@sisense/sdk-data": "^1.31.0",
80
+ "@sisense/sdk-tracking": "^1.31.0",
81
+ "@sisense/sdk-ui-preact": "^1.31.0",
82
82
  "rxjs": "^7.8.1",
83
83
  "ts-deepmerge": "^6.2.0",
84
84
  "tslib": "^2.3.0"
@@ -1,62 +0,0 @@
1
- import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core';
2
- import { BasicMemberFilterTile, ComponentAdapter, createElement, } from '@sisense/sdk-ui-preact';
3
- import { template, rootId } from '../../component-wrapper-helpers/template';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Basic Member Filter Tile Component
7
- *
8
- * @internal
9
- */
10
- export class BasicMemberFilterTileComponent {
11
- constructor() {
12
- this.selectedMembersUpdated = new EventEmitter();
13
- this.componentAdapter = new ComponentAdapter(() => this.createPreactComponent());
14
- }
15
- /** @internal */
16
- ngAfterViewInit() {
17
- this.componentAdapter.render(this.preactRef.nativeElement);
18
- }
19
- /** @internal */
20
- ngOnChanges() {
21
- if (this.preactRef) {
22
- this.componentAdapter.render(this.preactRef.nativeElement);
23
- }
24
- }
25
- /** @internal */
26
- ngOnDestroy() {
27
- this.componentAdapter.destroy();
28
- }
29
- createPreactComponent() {
30
- const props = {
31
- allMembers: this.allMembers,
32
- initialSelectedMembers: this.initialSelectedMembers,
33
- title: this.title,
34
- maxAllowedMembers: this.maxAllowedMembers,
35
- onUpdateSelectedMembers: (members) => this.selectedMembersUpdated.emit(members),
36
- };
37
- return createElement(BasicMemberFilterTile, props);
38
- }
39
- }
40
- BasicMemberFilterTileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BasicMemberFilterTileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
41
- BasicMemberFilterTileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BasicMemberFilterTileComponent, selector: "csdk-basic-member-filter-tile", inputs: { title: "title", allMembers: "allMembers", initialSelectedMembers: "initialSelectedMembers", maxAllowedMembers: "maxAllowedMembers" }, outputs: { selectedMembersUpdated: "selectedMembersUpdated" }, viewQueries: [{ propertyName: "preactRef", first: true, predicate: ["preact"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "\n <div #preact style=\"width: 100%; height: 100%\"></div>\n", isInline: true });
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BasicMemberFilterTileComponent, decorators: [{
43
- type: Component,
44
- args: [{
45
- selector: 'csdk-basic-member-filter-tile',
46
- template,
47
- }]
48
- }], ctorParameters: function () { return []; }, propDecorators: { preactRef: [{
49
- type: ViewChild,
50
- args: [rootId]
51
- }], title: [{
52
- type: Input
53
- }], allMembers: [{
54
- type: Input
55
- }], initialSelectedMembers: [{
56
- type: Input
57
- }], maxAllowedMembers: [{
58
- type: Input
59
- }], selectedMembersUpdated: [{
60
- type: Output
61
- }] } });
62
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzaWMtbWVtYmVyLWZpbHRlci10aWxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9maWx0ZXJzL2Jhc2ljLW1lbWJlci1maWx0ZXItdGlsZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsT0FBTyxFQUFFLFNBQVMsRUFBYyxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDOUYsT0FBTyxFQUNMLHFCQUFxQixFQUVyQixnQkFBZ0IsRUFDaEIsYUFBYSxHQUNkLE1BQU0sd0JBQXdCLENBQUM7QUFFaEMsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLEVBQUUsTUFBTSwwQ0FBMEMsQ0FBQzs7QUFFNUU7Ozs7R0FJRztBQUtILE1BQU0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XBkYXRlU2VsZWN0ZWRNZW1iZXJzJ10+WzBdLFxuICAgICAgKSA9PiB0aGlzLnNlbGVjdGVkTWVtYmVyc1VwZGF0ZWQuZW1pdChtZW1iZXJzKSxcbiAgICB9O1xuXG4gICAgcmV0dXJuIGNyZWF0ZUVsZW1lbnQoQmFzaWNNZW1iZXJGaWx0ZXJUaWxlLCBwcm9wcyk7XG4gIH1cbn1cbiJdfQ==
@@ -1,31 +0,0 @@
1
- import { AfterViewInit } from '@angular/core';
2
- import { OnChanges } from '@angular/core';
3
- import { OnDestroy } from '@angular/core';
4
- import { ElementRef, EventEmitter } from '@angular/core';
5
- import { type BasicMemberFilterTileProps } from '@sisense/sdk-ui-preact';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Basic Member Filter Tile Component
9
- *
10
- * @internal
11
- */
12
- export declare class BasicMemberFilterTileComponent implements AfterViewInit, OnChanges, OnDestroy {
13
- /** @internal */
14
- preactRef: ElementRef<HTMLDivElement>;
15
- title: BasicMemberFilterTileProps['title'];
16
- allMembers: BasicMemberFilterTileProps['allMembers'];
17
- initialSelectedMembers: BasicMemberFilterTileProps['initialSelectedMembers'];
18
- maxAllowedMembers: BasicMemberFilterTileProps['maxAllowedMembers'];
19
- selectedMembersUpdated: EventEmitter<string[]>;
20
- private componentAdapter;
21
- constructor();
22
- /** @internal */
23
- ngAfterViewInit(): void;
24
- /** @internal */
25
- ngOnChanges(): void;
26
- /** @internal */
27
- ngOnDestroy(): void;
28
- private createPreactComponent;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<BasicMemberFilterTileComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<BasicMemberFilterTileComponent, "csdk-basic-member-filter-tile", never, { "title": "title"; "allMembers": "allMembers"; "initialSelectedMembers": "initialSelectedMembers"; "maxAllowedMembers": "maxAllowedMembers"; }, { "selectedMembersUpdated": "selectedMembersUpdated"; }, never, never, false, never>;
31
- }