@sisense/sdk-ui-angular 2.10.0 → 2.12.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.
- package/dist/esm2020/lib/components/charts/calendar-heatmap-chart.component.mjs +133 -0
- package/dist/esm2020/lib/components/charts/index.mjs +2 -1
- package/dist/esm2020/lib/components/dashboard/dashboard-by-id.component.mjs +1 -1
- package/dist/esm2020/lib/components/dashboard/dashboard.component.mjs +1 -1
- package/dist/esm2020/lib/components/filters/filters-panel.component.mjs +1 -1
- package/dist/esm2020/lib/sdk-ui-core-exports.mjs +1 -1
- package/dist/esm2020/lib/sdk-ui.module.mjs +6 -2
- package/dist/esm2020/lib/types/chart-event-props.mjs +1 -1
- package/dist/esm2020/lib/types/data-point.mjs +1 -1
- package/dist/esm2020/public-api.mjs +1 -1
- package/dist/esm2020/version.mjs +2 -2
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs +136 -2
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs +136 -2
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/lib/components/charts/calendar-heatmap-chart.component.d.ts +125 -0
- package/dist/lib/components/charts/index.d.ts +1 -0
- package/dist/lib/sdk-ui-core-exports.d.ts +1 -1
- package/dist/lib/sdk-ui.module.d.ts +32 -31
- package/dist/lib/types/chart-event-props.d.ts +25 -1
- package/dist/lib/types/data-point.d.ts +24 -4
- package/dist/package.json +1 -1
- package/dist/public-api.d.ts +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -285,7 +285,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
285
285
|
args: [SISENSE_CONTEXT_CONFIG_TOKEN]
|
|
286
286
|
}] }]; } });
|
|
287
287
|
|
|
288
|
-
var packageVersion = '2.
|
|
288
|
+
var packageVersion = '2.12.0';
|
|
289
289
|
|
|
290
290
|
/**
|
|
291
291
|
* Service for rendering components dynamically.
|
|
@@ -1827,6 +1827,136 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1827
1827
|
type: Output
|
|
1828
1828
|
}] } });
|
|
1829
1829
|
|
|
1830
|
+
/**
|
|
1831
|
+
* A component that visualizes values over days in a calendar-like view,
|
|
1832
|
+
* making it easy to identify daily patterns or anomalies
|
|
1833
|
+
*
|
|
1834
|
+
* @example
|
|
1835
|
+
* ```html
|
|
1836
|
+
* <csdk-calendar-heatmap-chart
|
|
1837
|
+
* [dataSet]="chart.dataSet"
|
|
1838
|
+
* [dataOptions]="chart.dataOptions"
|
|
1839
|
+
* [highlights]="chart.highlights"
|
|
1840
|
+
* [styleOptions]="chart.styleOptions"
|
|
1841
|
+
* />
|
|
1842
|
+
* ```
|
|
1843
|
+
* ```ts
|
|
1844
|
+
import { Component } from '@angular/core';
|
|
1845
|
+
import { measureFactory, filterFactory } from '@sisense/sdk-data';
|
|
1846
|
+
import * as DM from '../../assets/sample-ecommerce';
|
|
1847
|
+
import type { CalendarHeatmapChartProps } from '@sisense/sdk-ui-angular';
|
|
1848
|
+
|
|
1849
|
+
@Component({
|
|
1850
|
+
selector: 'app-analytics',
|
|
1851
|
+
templateUrl: './analytics.component.html',
|
|
1852
|
+
styleUrls: ['./analytics.component.scss'],
|
|
1853
|
+
})
|
|
1854
|
+
export class AnalyticsComponent {
|
|
1855
|
+
DM = DM;
|
|
1856
|
+
chart = {
|
|
1857
|
+
dataSet: DM.DataSource,
|
|
1858
|
+
dataOptions: {
|
|
1859
|
+
date: DM.Commerce.Date.Days,
|
|
1860
|
+
value: measureFactory.sum(DM.Commerce.Cost),
|
|
1861
|
+
},
|
|
1862
|
+
highlights: [
|
|
1863
|
+
filterFactory.dateRange(
|
|
1864
|
+
DM.Commerce.Date.Days,
|
|
1865
|
+
'2009-11-29',
|
|
1866
|
+
'2009-12-15'
|
|
1867
|
+
),
|
|
1868
|
+
],
|
|
1869
|
+
styleOptions: {
|
|
1870
|
+
viewType: 'quarter',
|
|
1871
|
+
},
|
|
1872
|
+
};
|
|
1873
|
+
}
|
|
1874
|
+
* ```
|
|
1875
|
+
* <img src="media://angular-calendar-heatmap-chart-example.png" width="800px" />
|
|
1876
|
+
* @group Charts
|
|
1877
|
+
*/
|
|
1878
|
+
class CalendarHeatmapChartComponent {
|
|
1879
|
+
constructor() {
|
|
1880
|
+
/**
|
|
1881
|
+
* {@inheritDoc @sisense/sdk-ui!CalendarHeatmapChartProps.onDataPointClick}
|
|
1882
|
+
*
|
|
1883
|
+
* @category Callbacks
|
|
1884
|
+
*/
|
|
1885
|
+
this.dataPointClick = new EventEmitter();
|
|
1886
|
+
/**
|
|
1887
|
+
* {@inheritDoc @sisense/sdk-ui!CalendarHeatmapChartProps.onDataPointContextMenu}
|
|
1888
|
+
*
|
|
1889
|
+
* @category Callbacks
|
|
1890
|
+
*/
|
|
1891
|
+
this.dataPointContextMenu = new EventEmitter();
|
|
1892
|
+
/**
|
|
1893
|
+
* {@inheritDoc @sisense/sdk-ui!CalendarHeatmapChartProps.onDataPointsSelected}
|
|
1894
|
+
*
|
|
1895
|
+
* @category Callbacks
|
|
1896
|
+
*/
|
|
1897
|
+
this.dataPointsSelect = new EventEmitter();
|
|
1898
|
+
/** @internal */
|
|
1899
|
+
this.chartType = 'calendar-heatmap';
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
CalendarHeatmapChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarHeatmapChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1903
|
+
CalendarHeatmapChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CalendarHeatmapChartComponent, selector: "csdk-calendar-heatmap-chart", inputs: { dataSet: "dataSet", dataOptions: "dataOptions", filters: "filters", highlights: "highlights", styleOptions: "styleOptions", beforeRender: "beforeRender", dataReady: "dataReady" }, outputs: { dataPointClick: "dataPointClick", dataPointContextMenu: "dataPointContextMenu", dataPointsSelect: "dataPointsSelect" }, ngImport: i0, template: `
|
|
1904
|
+
<csdk-chart
|
|
1905
|
+
[chartType]="chartType"
|
|
1906
|
+
[dataSet]="dataSet"
|
|
1907
|
+
[dataOptions]="dataOptions"
|
|
1908
|
+
[filters]="filters"
|
|
1909
|
+
[highlights]="highlights"
|
|
1910
|
+
[styleOptions]="styleOptions"
|
|
1911
|
+
[beforeRender]="beforeRender"
|
|
1912
|
+
[dataReady]="dataReady"
|
|
1913
|
+
(dataPointClick)="dataPointClick.emit($any($event))"
|
|
1914
|
+
(dataPointContextMenu)="dataPointContextMenu.emit($any($event))"
|
|
1915
|
+
(dataPointsSelect)="dataPointsSelect.emit($any($event))"
|
|
1916
|
+
/>
|
|
1917
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ChartComponent, selector: "csdk-chart", inputs: ["chartType", "dataSet", "dataOptions", "filters", "highlights", "styleOptions", "beforeRender", "dataReady"], outputs: ["dataPointClick", "dataPointContextMenu", "dataPointsSelect"] }] });
|
|
1918
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarHeatmapChartComponent, decorators: [{
|
|
1919
|
+
type: Component,
|
|
1920
|
+
args: [{
|
|
1921
|
+
selector: 'csdk-calendar-heatmap-chart',
|
|
1922
|
+
template: `
|
|
1923
|
+
<csdk-chart
|
|
1924
|
+
[chartType]="chartType"
|
|
1925
|
+
[dataSet]="dataSet"
|
|
1926
|
+
[dataOptions]="dataOptions"
|
|
1927
|
+
[filters]="filters"
|
|
1928
|
+
[highlights]="highlights"
|
|
1929
|
+
[styleOptions]="styleOptions"
|
|
1930
|
+
[beforeRender]="beforeRender"
|
|
1931
|
+
[dataReady]="dataReady"
|
|
1932
|
+
(dataPointClick)="dataPointClick.emit($any($event))"
|
|
1933
|
+
(dataPointContextMenu)="dataPointContextMenu.emit($any($event))"
|
|
1934
|
+
(dataPointsSelect)="dataPointsSelect.emit($any($event))"
|
|
1935
|
+
/>
|
|
1936
|
+
`,
|
|
1937
|
+
}]
|
|
1938
|
+
}], propDecorators: { dataSet: [{
|
|
1939
|
+
type: Input
|
|
1940
|
+
}], dataOptions: [{
|
|
1941
|
+
type: Input
|
|
1942
|
+
}], filters: [{
|
|
1943
|
+
type: Input
|
|
1944
|
+
}], highlights: [{
|
|
1945
|
+
type: Input
|
|
1946
|
+
}], styleOptions: [{
|
|
1947
|
+
type: Input
|
|
1948
|
+
}], beforeRender: [{
|
|
1949
|
+
type: Input
|
|
1950
|
+
}], dataReady: [{
|
|
1951
|
+
type: Input
|
|
1952
|
+
}], dataPointClick: [{
|
|
1953
|
+
type: Output
|
|
1954
|
+
}], dataPointContextMenu: [{
|
|
1955
|
+
type: Output
|
|
1956
|
+
}], dataPointsSelect: [{
|
|
1957
|
+
type: Output
|
|
1958
|
+
}] } });
|
|
1959
|
+
|
|
1830
1960
|
/**
|
|
1831
1961
|
* A component representing categorical data with vertical rectangular bars
|
|
1832
1962
|
* whose heights are proportional to the values that they represent.
|
|
@@ -5359,6 +5489,7 @@ SdkUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "1
|
|
|
5359
5489
|
ColumnChartComponent,
|
|
5360
5490
|
BarChartComponent,
|
|
5361
5491
|
AreaChartComponent,
|
|
5492
|
+
CalendarHeatmapChartComponent,
|
|
5362
5493
|
AreaRangeChartComponent,
|
|
5363
5494
|
LineChartComponent,
|
|
5364
5495
|
IndicatorChartComponent,
|
|
@@ -5392,6 +5523,7 @@ SdkUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "1
|
|
|
5392
5523
|
ColumnChartComponent,
|
|
5393
5524
|
BarChartComponent,
|
|
5394
5525
|
AreaChartComponent,
|
|
5526
|
+
CalendarHeatmapChartComponent,
|
|
5395
5527
|
AreaRangeChartComponent,
|
|
5396
5528
|
LineChartComponent,
|
|
5397
5529
|
IndicatorChartComponent,
|
|
@@ -5431,6 +5563,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5431
5563
|
ColumnChartComponent,
|
|
5432
5564
|
BarChartComponent,
|
|
5433
5565
|
AreaChartComponent,
|
|
5566
|
+
CalendarHeatmapChartComponent,
|
|
5434
5567
|
AreaRangeChartComponent,
|
|
5435
5568
|
LineChartComponent,
|
|
5436
5569
|
IndicatorChartComponent,
|
|
@@ -5468,6 +5601,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5468
5601
|
ColumnChartComponent,
|
|
5469
5602
|
BarChartComponent,
|
|
5470
5603
|
AreaChartComponent,
|
|
5604
|
+
CalendarHeatmapChartComponent,
|
|
5471
5605
|
AreaRangeChartComponent,
|
|
5472
5606
|
LineChartComponent,
|
|
5473
5607
|
IndicatorChartComponent,
|
|
@@ -5995,5 +6129,5 @@ var widgetModelTranslator = /*#__PURE__*/Object.freeze({
|
|
|
5995
6129
|
* Generated bundle index. Do not edit.
|
|
5996
6130
|
*/
|
|
5997
6131
|
|
|
5998
|
-
export { AreaChartComponent, AreaRangeChartComponent, AreamapChartComponent, BarChartComponent, BoxplotChartComponent, ChartComponent, ChartWidgetComponent, ColumnChartComponent, ContextMenuComponent, CriteriaFilterTileComponent, CustomWidgetsService, DashboardByIdComponent, DashboardComponent, DashboardService, DateRangeFilterTileComponent, DrilldownBreadcrumbsComponent, DrilldownWidgetComponent, FilterService, FilterTileComponent, FiltersPanelComponent, FunnelChartComponent, HierarchyService, IndicatorChartComponent, LineChartComponent, MemberFilterTileComponent, PieChartComponent, PivotTableComponent, PivotTableWidgetComponent, PolarChartComponent, QueryService, RelativeDateFilterTileComponent, SISENSE_CONTEXT_CONFIG_TOKEN, ScatterChartComponent, ScattermapChartComponent, SdkUiModule, SisenseContextService, SunburstChartComponent, THEME_CONFIG_TOKEN, TableComponent, TableWidgetComponent, ThemeService, TrackableService, TreemapChartComponent, WidgetByIdComponent, WidgetComponent, WidgetService, createCustomWidgetsContextConnector, createSisenseContextConnector, createThemeContextConnector, dashboardHelpers, dashboardModelTranslator, widgetModelTranslator };
|
|
6132
|
+
export { AreaChartComponent, AreaRangeChartComponent, AreamapChartComponent, BarChartComponent, BoxplotChartComponent, CalendarHeatmapChartComponent, ChartComponent, ChartWidgetComponent, ColumnChartComponent, ContextMenuComponent, CriteriaFilterTileComponent, CustomWidgetsService, DashboardByIdComponent, DashboardComponent, DashboardService, DateRangeFilterTileComponent, DrilldownBreadcrumbsComponent, DrilldownWidgetComponent, FilterService, FilterTileComponent, FiltersPanelComponent, FunnelChartComponent, HierarchyService, IndicatorChartComponent, LineChartComponent, MemberFilterTileComponent, PieChartComponent, PivotTableComponent, PivotTableWidgetComponent, PolarChartComponent, QueryService, RelativeDateFilterTileComponent, SISENSE_CONTEXT_CONFIG_TOKEN, ScatterChartComponent, ScattermapChartComponent, SdkUiModule, SisenseContextService, SunburstChartComponent, THEME_CONFIG_TOKEN, TableComponent, TableWidgetComponent, ThemeService, TrackableService, TreemapChartComponent, WidgetByIdComponent, WidgetComponent, WidgetService, createCustomWidgetsContextConnector, createSisenseContextConnector, createThemeContextConnector, dashboardHelpers, dashboardModelTranslator, widgetModelTranslator };
|
|
5999
6133
|
//# sourceMappingURL=sisense-sdk-ui-angular.mjs.map
|