@sisense/sdk-ui-angular 1.19.0 → 1.21.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 (32) hide show
  1. package/dist/esm2020/lib/components/dashboard/dashboard-by-id.component.mjs +14 -14
  2. package/dist/esm2020/lib/components/dashboard/dashboard.component.mjs +29 -18
  3. package/dist/esm2020/lib/components/filters/criteria-filter-tile.component.mjs +131 -0
  4. package/dist/esm2020/lib/components/filters/date-range-filter-tile.component.mjs +1 -3
  5. package/dist/esm2020/lib/components/filters/index.mjs +2 -1
  6. package/dist/esm2020/lib/components/filters/member-filter-tile.component.mjs +1 -3
  7. package/dist/esm2020/lib/components/widgets/chart-widget.component.mjs +2 -2
  8. package/dist/esm2020/lib/components/widgets/drilldown-widget.component.mjs +1 -1
  9. package/dist/esm2020/lib/sdk-ui-core-exports.mjs +2 -2
  10. package/dist/esm2020/lib/sdk-ui.module.mjs +6 -2
  11. package/dist/esm2020/lib/services/plugins.service.mjs +1 -1
  12. package/dist/esm2020/public-api.mjs +4 -4
  13. package/dist/esm2020/version.mjs +2 -2
  14. package/dist/fesm2015/sisense-sdk-ui-angular.mjs +177 -42
  15. package/dist/fesm2015/sisense-sdk-ui-angular.mjs.map +1 -1
  16. package/dist/fesm2020/sisense-sdk-ui-angular.mjs +177 -42
  17. package/dist/fesm2020/sisense-sdk-ui-angular.mjs.map +1 -1
  18. package/dist/lib/components/dashboard/dashboard-by-id.component.d.ts +13 -13
  19. package/dist/lib/components/dashboard/dashboard.component.d.ts +31 -17
  20. package/dist/lib/components/filters/criteria-filter-tile.component.d.ts +117 -0
  21. package/dist/lib/components/filters/date-range-filter-tile.component.d.ts +0 -2
  22. package/dist/lib/components/filters/index.d.ts +1 -0
  23. package/dist/lib/components/filters/member-filter-tile.component.d.ts +0 -2
  24. package/dist/lib/components/widgets/chart-widget.component.d.ts +1 -1
  25. package/dist/lib/components/widgets/drilldown-widget.component.d.ts +1 -1
  26. package/dist/lib/sdk-ui-core-exports.d.ts +2 -2
  27. package/dist/lib/sdk-ui.module.d.ts +12 -11
  28. package/dist/lib/services/plugins.service.d.ts +4 -4
  29. package/dist/package.json +1 -1
  30. package/dist/public-api.d.ts +3 -3
  31. package/dist/version.d.ts +1 -1
  32. package/package.json +4 -4
@@ -10,26 +10,26 @@ import * as i0 from "@angular/core";
10
10
  * **Note:** Dashboard extensions based on JS scripts and add-ons in Fusion are not supported.
11
11
  *
12
12
  * @example
13
- * ```html
14
- * <csdk-dashboard-by-id
15
- * [dashboardOid]="dashboardOid"
16
- * />
17
- * ```
18
13
  * ```ts
19
14
  * import { Component } from '@angular/core';
20
- *
21
15
  * @Component({
22
- * selector: 'app-dashboard',
23
- * templateUrl: './dashboard.component.html',
24
- * styleUrls: ['./dashboard.component.scss'],
25
- * })
26
- * export class DashboardComponent {
27
- * dashboardOid: string = '60f3e3e3e4b0e3e3e4b0e3e3';
16
+ * selector: 'code-example',
17
+ * template: `
18
+ * <div style="width: 100vw;">
19
+ * <csdk-dashboard-by-id *ngIf="dashboardOid" [dashboardOid]="dashboardOid" />
20
+ * </div>
21
+ * `,
22
+ * })
23
+ * export class CodeExampleComponent {
24
+ * dashboardOid = 'your-dashboard-oid';
28
25
  * }
29
26
  * ```
27
+ *
28
+ * To learn more about this and related dashboard components,
29
+ * see [Embedded Dashboards](/guides/sdk/guides/dashboards/index.html).
30
30
  * @group Fusion Embed
31
31
  * @fusionEmbed
32
- * @alpha
32
+ * @beta
33
33
  */
34
34
  export declare class DashboardByIdComponent implements AfterViewInit, OnChanges, OnDestroy {
35
35
  /**
@@ -12,17 +12,22 @@ import * as i0 from "@angular/core";
12
12
  * ```html
13
13
  * <csdk-dashboard
14
14
  * *ngIf="dashboard"
15
- * [title]="dashboard!.title"
16
- * [layout]="dashboard!.layout"
17
- * [widgets]="dashboard!.widgets"
18
- * [filters]="dashboard!.filters"
19
- * [defaultDataSource]="dashboard!.dataSource"
20
- * [widgetFilterOptions]="dashboard!.widgetFilterOptions"
15
+ * [title]="dashboard.title"
16
+ * [layoutOptions]="dashboard.layoutOptions"
17
+ * [widgets]="dashboard.widgets"
18
+ * [filters]="dashboard.filters"
19
+ * [defaultDataSource]="dashboard.defaultDataSource"
20
+ * [widgetsOptions]="dashboard.widgetsOptions"
21
21
  * />
22
22
  * ```
23
+ *
23
24
  * ```ts
24
25
  * import { Component } from '@angular/core';
25
- * import { type DashboardModel, DashboardService } from '@sisense/sdk-ui-angular';
26
+ * import {
27
+ * type DashboardProps,
28
+ * DashboardService,
29
+ * dashboardModelTranslator,
30
+ * } from '@sisense/sdk-ui-angular';
26
31
  *
27
32
  * @Component({
28
33
  * selector: 'app-dashboard',
@@ -31,17 +36,20 @@ import * as i0 from "@angular/core";
31
36
  * })
32
37
  * export class DashboardComponent {
33
38
  *
34
- * dashboard: DashboardModel | null = null;
39
+ * dashboard: DashboardProps | null = null;
35
40
  *
36
41
  * constructor(private dashboardService: DashboardService) {}
37
42
  *
38
43
  * async ngOnInit(): Promise<void> {
39
- * this.dashboard = await this.dashboardService.getDashboardModel('60f3e3e3e4b0e3e3e4b0e3e3', { includeWidgets: true, includeFilters: true });
44
+ * const dashboardModel = await this.dashboardService.getDashboardModel('your-dashboard-oid', { includeWidgets: true, includeFilters: true });
45
+ * this.dashboard = dashboardModelTranslator.toDashboardProps(dashboardModel);
40
46
  * }
41
47
  * ```
42
- * @group Fusion Embed
43
- * @fusionEmbed
44
- * @alpha
48
+ *
49
+ * To learn more about this and related dashboard components,
50
+ * see [Embedded Dashboards](/guides/sdk/guides/dashboards/index.html).
51
+ * @group Dashboards
52
+ * @beta
45
53
  */
46
54
  export declare class DashboardComponent implements AfterViewInit, OnChanges, OnDestroy {
47
55
  /**
@@ -65,9 +73,15 @@ export declare class DashboardComponent implements AfterViewInit, OnChanges, OnD
65
73
  */
66
74
  title: DashboardProps['title'];
67
75
  /**
68
- * {@inheritDoc @sisense/sdk-ui!DashboardProps.layout}
76
+ * {@inheritDoc @sisense/sdk-ui!DashboardProps.layoutOptions}
77
+ */
78
+ layoutOptions: DashboardProps['layoutOptions'];
79
+ /**
80
+ * {@inheritDoc @sisense/sdk-ui!DashboardProps.config}
81
+ *
82
+ * @internal
69
83
  */
70
- layout: DashboardProps['layout'];
84
+ config: DashboardProps['config'];
71
85
  /**
72
86
  * {@inheritDoc @sisense/sdk-ui!DashboardProps.widgets}
73
87
  */
@@ -81,9 +95,9 @@ export declare class DashboardComponent implements AfterViewInit, OnChanges, OnD
81
95
  */
82
96
  defaultDataSource: DashboardProps['defaultDataSource'];
83
97
  /**
84
- * {@inheritDoc @sisense/sdk-ui!DashboardProps.widgetFilterOptions}
98
+ * {@inheritDoc @sisense/sdk-ui!DashboardProps.widgetsOptions}
85
99
  */
86
- widgetFilterOptions: DashboardProps['widgetFilterOptions'];
100
+ widgetsOptions: DashboardProps['widgetsOptions'];
87
101
  /**
88
102
  * {@inheritDoc @sisense/sdk-ui!DashboardProps.styleOptions}
89
103
  */
@@ -122,5 +136,5 @@ export declare class DashboardComponent implements AfterViewInit, OnChanges, OnD
122
136
  */
123
137
  ngOnDestroy(): void;
124
138
  static ɵfac: i0.ɵɵFactoryDeclaration<DashboardComponent, never>;
125
- static ɵcmp: i0.ɵɵComponentDeclaration<DashboardComponent, "csdk-dashboard", never, { "title": "title"; "layout": "layout"; "widgets": "widgets"; "filters": "filters"; "defaultDataSource": "defaultDataSource"; "widgetFilterOptions": "widgetFilterOptions"; "styleOptions": "styleOptions"; }, {}, never, never, false, never>;
139
+ static ɵcmp: i0.ɵɵComponentDeclaration<DashboardComponent, "csdk-dashboard", never, { "title": "title"; "layoutOptions": "layoutOptions"; "config": "config"; "widgets": "widgets"; "filters": "filters"; "defaultDataSource": "defaultDataSource"; "widgetsOptions": "widgetsOptions"; "styleOptions": "styleOptions"; }, {}, never, never, false, never>;
126
140
  }
@@ -0,0 +1,117 @@
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy } from '@angular/core';
2
+ import { type CriteriaFilterTileProps } from '@sisense/sdk-ui-preact';
3
+ import { SisenseContextService } from '../../services/sisense-context.service';
4
+ import { ThemeService } from '../../services/theme.service';
5
+ import type { ArgumentsAsObject } from '../../types/utility-types';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Criteria Filter Tile Component
9
+ *
10
+ * @example
11
+ * ```html
12
+ * <csdk-criteria-filter-tile
13
+ * [title]="criteriaFilterTileProps.title"
14
+ * [filter]="criteriaFilterTileProps.filter"
15
+ * (filterChange)="criteriaFilterTileProps.setFilter($event)"
16
+ * />
17
+ * ```
18
+ * ```ts
19
+ * import { Component } from '@angular/core';
20
+ * import { Filter, filterFactory } from '@sisense/sdk-data';
21
+ * import * as DM from '../../assets/sample-healthcare-model';
22
+ *
23
+ * @Component({
24
+ * selector: 'app-filters',
25
+ * templateUrl: './filters.component.html',
26
+ * styleUrls: ['./filters.component.scss'],
27
+ * })
28
+ * export class FiltersComponent {
29
+ * DM = DM;
30
+ * title: 'Room Number',
31
+ * filter: filterFactory.lessThan(DM.Rooms.Room_number, 200) as CriteriaFilterType,
32
+ * setFilter({ filter }: { filter: Filter | null }) {
33
+ * console.log(filter);
34
+ * if (filter) {
35
+ * this.filter = filter as CriteriaFilterType;
36
+ * }
37
+ * },
38
+ * }
39
+ * ```
40
+ * <img src="media://angular-criteria-filter-tile-example.png" width="400px" />
41
+ * @group Filter Tiles
42
+ */
43
+ export declare class CriteriaFilterTileComponent implements AfterViewInit, OnChanges, OnDestroy {
44
+ /**
45
+ * Sisense context service
46
+ *
47
+ * @category Constructor
48
+ */
49
+ sisenseContextService: SisenseContextService;
50
+ /**
51
+ * Theme service
52
+ *
53
+ * @category Constructor
54
+ */
55
+ themeService: ThemeService;
56
+ /**
57
+ * @internal
58
+ */
59
+ preactRef: ElementRef<HTMLDivElement>;
60
+ /**
61
+ * {@inheritDoc @sisense/sdk-ui!CriteriaFilterTileProps.title}
62
+ */
63
+ title: CriteriaFilterTileProps['title'];
64
+ /**
65
+ * {@inheritDoc @sisense/sdk-ui!CriteriaFilterTileProps.filter}
66
+ */
67
+ filter: CriteriaFilterTileProps['filter'];
68
+ /**
69
+ * {@inheritDoc @sisense/sdk-ui!CriteriaFilterTileProps.arrangement}
70
+ */
71
+ arrangement: CriteriaFilterTileProps['arrangement'];
72
+ /**
73
+ * {@inheritDoc @sisense/sdk-ui!CriteriaFilterTileProps.measures}
74
+ */
75
+ measures: CriteriaFilterTileProps['measures'];
76
+ /** @internal */
77
+ tileDesignOptions: CriteriaFilterTileProps['tileDesignOptions'];
78
+ /**
79
+ * {@inheritDoc @sisense/sdk-ui!MemberFilterTileProps.onChange}
80
+ */
81
+ filterChange: EventEmitter<ArgumentsAsObject<(filter: import("@sisense/sdk-data").Filter | null) => void, ["filter"]>>;
82
+ private componentAdapter;
83
+ /**
84
+ * Constructor for the `CriteriaFilterTileComponent`.
85
+ *
86
+ * @param sisenseContextService - Sisense context service
87
+ * @param themeService - Theme service
88
+ */
89
+ constructor(
90
+ /**
91
+ * Sisense context service
92
+ *
93
+ * @category Constructor
94
+ */
95
+ sisenseContextService: SisenseContextService,
96
+ /**
97
+ * Theme service
98
+ *
99
+ * @category Constructor
100
+ */
101
+ themeService: ThemeService);
102
+ /**
103
+ * @internal
104
+ */
105
+ ngAfterViewInit(): void;
106
+ /**
107
+ * @internal
108
+ */
109
+ ngOnChanges(): void;
110
+ private createPreactComponent;
111
+ /**
112
+ * @internal
113
+ */
114
+ ngOnDestroy(): void;
115
+ static ɵfac: i0.ɵɵFactoryDeclaration<CriteriaFilterTileComponent, never>;
116
+ static ɵcmp: i0.ɵɵComponentDeclaration<CriteriaFilterTileComponent, "csdk-criteria-filter-tile", never, { "title": "title"; "filter": "filter"; "arrangement": "arrangement"; "measures": "measures"; "tileDesignOptions": "tileDesignOptions"; }, { "filterChange": "filterChange"; }, never, never, false, never>;
117
+ }
@@ -18,7 +18,6 @@ import * as i0 from "@angular/core";
18
18
  * ```
19
19
  * ```ts
20
20
  * import { Component } from '@angular/core';
21
- * import { Member } from '@sisense/sdk-ui-angular';
22
21
  * import { Filter, filterFactory } from '@sisense/sdk-data';
23
22
  * import * as DM from '../../assets/sample-healthcare-model';
24
23
  *
@@ -44,7 +43,6 @@ import * as i0 from "@angular/core";
44
43
  * }
45
44
  * ```
46
45
  * <img src="media://angular-date-range-filter-tile-example.png" width="600px" />
47
- *
48
46
  * @group Filter Tiles
49
47
  */
50
48
  export declare class DateRangeFilterTileComponent implements AfterViewInit, OnChanges, OnDestroy {
@@ -1,3 +1,4 @@
1
1
  export * from './basic-member-filter-tile.component';
2
2
  export * from './member-filter-tile.component';
3
3
  export * from './date-range-filter-tile.component';
4
+ export * from './criteria-filter-tile.component';
@@ -18,7 +18,6 @@ import * as i0 from "@angular/core";
18
18
  * ```
19
19
  * ```ts
20
20
  * import { Component } from '@angular/core';
21
- * import { Member } from '@sisense/sdk-ui-angular';
22
21
  * import { Filter, filterFactory } from '@sisense/sdk-data';
23
22
  * import * as DM from '../../assets/sample-healthcare-model';
24
23
  *
@@ -40,7 +39,6 @@ import * as i0 from "@angular/core";
40
39
  * }
41
40
  * ```
42
41
  * <img src="media://angular-member-filter-tile-example.png" width="400px" />
43
- *
44
42
  * @group Filter Tiles
45
43
  */
46
44
  export declare class MemberFilterTileComponent implements AfterViewInit, OnChanges, OnDestroy {
@@ -60,7 +60,7 @@ import * as i0 from "@angular/core";
60
60
  * ```
61
61
  * <img src="media://angular-chart-widget-example.png" width="800px" />
62
62
  *
63
- * @group Chart Utilities
63
+ * @group Dashboards
64
64
  */
65
65
  export declare class ChartWidgetComponent implements AfterViewInit, OnChanges, OnDestroy {
66
66
  private sisenseContextService;
@@ -104,7 +104,7 @@ export declare class DrilldownWidgetComponent implements AfterViewInit, OnChange
104
104
  * @category Widget
105
105
  *
106
106
  */
107
- drilldownDimensions: DrilldownWidgetProps['drilldownDimensions'];
107
+ drilldownDimensions: NonNullable<DrilldownWidgetProps['drilldownDimensions']>;
108
108
  /**
109
109
  * {@inheritDoc @sisense/sdk-ui!DrilldownWidgetProps.initialDimension}
110
110
  *
@@ -1,2 +1,2 @@
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, TableStyleOptions, PivotTableStyleOptions, AreaRangeStyleOptions, DataLimits, Legend, Markers, Labels, IndicatorComponents, ScatterMarkerSize, LineWidth, AxisLabel, Convolution, SeriesLabels, X2Title, ScattermapMarkers, WidgetModel, DashboardModel, BeforeRenderHandler, DataPoint, ScatterDataPoint, HighchartsOptions, BoxplotDataPoint, Layout, WidgetFilterOptions, AppConfig, DateConfig, ContextMenuProps, MenuItemSection, MonthOfYear, DayOfWeek, DateLevel, ThemeOid, GetDashboardModelOptions, GetDashboardModelsOptions, SeriesChartType, MenuPosition, ThemeSettings, Color, ColorPaletteTheme, Navigator, DrilldownOptions, DrilldownSelection, CriteriaFilterType, Member, FilterVariant, } from '@sisense/sdk-ui-preact';
1
+ export { boxWhiskerProcessResult, widgetModelTranslator, dashboardModelTranslator, } 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, TableStyleOptions, PivotTableStyleOptions, PivotTableWidgetStyleOptions, AreaRangeStyleOptions, DataLimits, Legend, Markers, Labels, IndicatorComponents, ScatterMarkerSize, LineWidth, AxisLabel, Convolution, SeriesLabels, X2Title, ScattermapMarkers, WidgetModel, DashboardModel, BeforeRenderHandler, DataPoint, ScatterDataPoint, HighchartsOptions, BoxplotDataPoint, DashboardProps, DashboardLayoutOptions, DashboardConfig, WidgetsPanelLayout, WidgetsPanelColumnLayout, WidgetId, WidgetsOptions, WidgetProps, AppConfig, DateConfig, ContextMenuProps, MenuItemSection, MonthOfYear, DayOfWeek, DateLevel, ThemeOid, GetDashboardModelOptions, GetDashboardModelsOptions, SeriesChartType, MenuPosition, ThemeSettings, Color, ColorPaletteTheme, Navigator, DrilldownOptions, DrilldownSelection, CriteriaFilterType, Member, FilterVariant, } from '@sisense/sdk-ui-preact';
@@ -20,16 +20,17 @@ import * as i18 from "./components/widgets/dashboard-widget.component";
20
20
  import * as i19 from "./components/filters/member-filter-tile.component";
21
21
  import * as i20 from "./components/widgets/drilldown-widget.component";
22
22
  import * as i21 from "./components/filters/date-range-filter-tile.component";
23
- import * as i22 from "./components/drilldown-breadcrumbs.component";
24
- import * as i23 from "./components/context-menu.component";
25
- import * as i24 from "./components/charts/boxplot-chart.component";
26
- import * as i25 from "./components/charts/scattermap-chart.component";
27
- import * as i26 from "./components/charts/areamap-chart.component";
28
- import * as i27 from "./components/charts/pivot-table.component";
29
- import * as i28 from "./components/dashboard/dashboard-by-id.component";
30
- import * as i29 from "./components/dashboard/dashboard.component";
31
- import * as i30 from "@angular/common";
32
- import * as i31 from "./decorators/decorators.module";
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 "@angular/common";
33
+ import * as i32 from "./decorators/decorators.module";
33
34
  /**
34
35
  * SDK UI Module, which is a container for components.
35
36
  *
@@ -60,6 +61,6 @@ import * as i31 from "./decorators/decorators.module";
60
61
  */
61
62
  export declare class SdkUiModule {
62
63
  static ɵfac: i0.ɵɵFactoryDeclaration<SdkUiModule, never>;
63
- 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.MemberFilterTileComponent, typeof i20.DrilldownWidgetComponent, typeof i21.DateRangeFilterTileComponent, typeof i22.DrilldownBreadcrumbsComponent, typeof i23.ContextMenuComponent, typeof i24.BoxplotChartComponent, typeof i25.ScattermapChartComponent, typeof i26.AreamapChartComponent, typeof i27.PivotTableComponent, typeof i28.DashboardByIdComponent, typeof i29.DashboardComponent], [typeof i30.CommonModule, typeof i31.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.MemberFilterTileComponent, typeof i20.DrilldownWidgetComponent, typeof i21.DateRangeFilterTileComponent, typeof i22.DrilldownBreadcrumbsComponent, typeof i23.ContextMenuComponent, typeof i24.BoxplotChartComponent, typeof i25.ScattermapChartComponent, typeof i26.AreamapChartComponent, typeof i27.PivotTableComponent, typeof i28.DashboardByIdComponent, typeof i29.DashboardComponent]>;
64
+ 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.MemberFilterTileComponent, typeof i20.DrilldownWidgetComponent, typeof i21.DateRangeFilterTileComponent, 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.CommonModule, typeof i32.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.MemberFilterTileComponent, typeof i20.DrilldownWidgetComponent, typeof i21.DateRangeFilterTileComponent, 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]>;
64
65
  static ɵinj: i0.ɵɵInjectorDeclaration<SdkUiModule>;
65
66
  }
@@ -1,5 +1,5 @@
1
1
  import { BehaviorSubject } from 'rxjs';
2
- import { WidgetPlugin } from '@sisense/sdk-ui-preact';
2
+ import { PluginComponent } from '@sisense/sdk-ui-preact';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
5
5
  * Service for working with plugins fetched from an external environment.
@@ -18,20 +18,20 @@ export declare class PluginsService {
18
18
  * @param pluginType - The unique identifier for the plugin type.
19
19
  * @param plugin - The plugin instance to register.
20
20
  */
21
- registerPlugin(pluginType: string, plugin: WidgetPlugin): void;
21
+ registerPlugin(pluginType: string, plugin: PluginComponent): void;
22
22
  /**
23
23
  * Retrieves a plugin by its type.
24
24
  *
25
25
  * @param pluginType - The unique identifier for the plugin type.
26
26
  * @returns The plugin instance if found, otherwise undefined.
27
27
  */
28
- getPlugin(pluginType: string): WidgetPlugin | undefined;
28
+ getPlugin(pluginType: string): PluginComponent | undefined;
29
29
  /**
30
30
  * Retrieves a complete plugin map.
31
31
  *
32
32
  * @returns A plugin map.
33
33
  */
34
- getPlugins(): BehaviorSubject<Map<string, WidgetPlugin<{}>>>;
34
+ getPlugins(): BehaviorSubject<Map<string, PluginComponent<import("@sisense/sdk-ui-preact").GenericDataOptions, any>>>;
35
35
  static ɵfac: i0.ɵɵFactoryDeclaration<PluginsService, never>;
36
36
  static ɵprov: i0.ɵɵInjectableDeclaration<PluginsService>;
37
37
  }
package/dist/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "Sisense",
12
12
  "Compose SDK"
13
13
  ],
14
- "version": "1.19.0",
14
+ "version": "1.21.0",
15
15
  "author": "Sisense",
16
16
  "license": "SEE LICENSE IN LICENSE.md",
17
17
  "main": "dist",
@@ -1,9 +1,7 @@
1
1
  /**
2
2
  * @packageDocumentation
3
3
  * @groupDescription Charts
4
- * Angular components for charts
5
- * @groupDescription Chart Utilities
6
- * Utilities to be used with charts
4
+ * Angular components and utilities for working with charts
7
5
  * @groupDescription Data Grids
8
6
  * Angular components for data grids
9
7
  * @groupDescription Drilldown
@@ -14,6 +12,8 @@
14
12
  * Angular context modules, services, and variables
15
13
  * @groupDescription Queries
16
14
  * Angular query service
15
+ * @groupDescription Dashboards
16
+ * Angular components and utilities for working with dashboards
17
17
  * @groupDescription Fusion Embed
18
18
  * Angular modules, services, and components for working with Fusion Embed dashboards, widgets, queries, and formulas
19
19
  * @groupDescription Interfaces
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "1.19.0";
1
+ declare const _default: "1.21.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.19.0",
14
+ "version": "1.21.0",
15
15
  "author": "Sisense",
16
16
  "license": "SEE LICENSE IN LICENSE.md",
17
17
  "main": "dist",
@@ -45,9 +45,9 @@
45
45
  "@angular/core": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0"
46
46
  },
47
47
  "dependencies": {
48
- "@sisense/sdk-data": "^1.19.0",
49
- "@sisense/sdk-tracking": "^1.19.0",
50
- "@sisense/sdk-ui-preact": "^1.19.0",
48
+ "@sisense/sdk-data": "^1.21.0",
49
+ "@sisense/sdk-tracking": "^1.21.0",
50
+ "@sisense/sdk-ui-preact": "^1.21.0",
51
51
  "rxjs": "^7.8.1",
52
52
  "ts-deepmerge": "^6.2.0",
53
53
  "tslib": "^2.3.0"