@sisense/sdk-ui-angular 0.16.0 → 1.1.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/areamap-chart.component.mjs +51 -0
- package/dist/esm2020/lib/components/boxplot-chart.component.mjs +86 -0
- package/dist/esm2020/lib/components/chart-widget.component.mjs +2 -5
- package/dist/esm2020/lib/components/chart.component.mjs +2 -2
- package/dist/esm2020/lib/components/dashboard-widget.component.mjs +2 -5
- package/dist/esm2020/lib/components/drilldown-widget.component.mjs +2 -2
- package/dist/esm2020/lib/components/index.mjs +4 -1
- package/dist/esm2020/lib/components/scattermap-chart.component.mjs +51 -0
- package/dist/esm2020/lib/components/table-widget.component.mjs +2 -5
- package/dist/esm2020/lib/sdk-ui.module.mjs +16 -5
- package/dist/esm2020/lib/services/query.service.mjs +13 -2
- package/dist/esm2020/lib/services/theme.service.mjs +1 -1
- package/dist/esm2020/version.mjs +2 -2
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs +213 -20
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs +213 -20
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/lib/components/areamap-chart.component.d.ts +42 -0
- package/dist/lib/components/boxplot-chart.component.d.ts +69 -0
- package/dist/lib/components/chart-widget.component.d.ts +2 -8
- package/dist/lib/components/chart.component.d.ts +1 -1
- package/dist/lib/components/dashboard-widget.component.d.ts +3 -4
- package/dist/lib/components/drilldown-widget.component.d.ts +1 -1
- package/dist/lib/components/index.d.ts +3 -0
- package/dist/lib/components/scattermap-chart.component.d.ts +42 -0
- package/dist/lib/components/table-widget.component.d.ts +1 -7
- package/dist/lib/sdk-ui.module.d.ts +6 -3
- package/dist/lib/services/query.service.d.ts +4 -2
- package/dist/package.json +13 -1
- package/dist/version.d.ts +1 -1
- package/package.json +22 -7
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { EventEmitter, Component, ViewChild, Input, Output, InjectionToken, Injectable, Inject, NgModule, Optional } from '@angular/core';
|
|
3
|
-
import { ComponentAdapter, createElement, BasicMemberFilterTile, createContextProviderRenderer, CustomThemeProvider, CustomSisenseContextProvider, createClientApplication, executeQuery, executeQueryByWidgetId, getDashboardModel, getDashboardModels, getDefaultThemeSettings, getThemeSettingsByOid, Chart, Table, ChartWidget, TableWidget, DashboardWidget, MemberFilterTile, createWrapperElementHandler, createWrapperElement, DrilldownWidget, createComponentRenderer, DateRangeFilterTile, DrilldownBreadcrumbs, ContextMenu } from '@sisense/sdk-ui-preact';
|
|
4
3
|
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { ComponentAdapter, createElement, BasicMemberFilterTile, createContextProviderRenderer, CustomThemeProvider, CustomSisenseContextProvider, createClientApplication, executeQuery, executeQueryByWidgetId, getDashboardModel, getDashboardModels, getDefaultThemeSettings, getThemeSettingsByOid, Chart, Table, ChartWidget, TableWidget, DashboardWidget, MemberFilterTile, createWrapperElementHandler, createWrapperElement, DrilldownWidget, createComponentRenderer, DateRangeFilterTile, DrilldownBreadcrumbs, ContextMenu } from '@sisense/sdk-ui-preact';
|
|
5
5
|
import { map, BehaviorSubject } from 'rxjs';
|
|
6
6
|
import { __decorate } from 'tslib';
|
|
7
7
|
import merge from 'ts-deepmerge';
|
|
8
|
+
import { getFilterListAndRelations } from '@sisense/sdk-data';
|
|
8
9
|
import { trackProductEvent } from '@sisense/sdk-tracking';
|
|
9
10
|
|
|
10
11
|
const rootId = 'preact';
|
|
@@ -174,7 +175,17 @@ let QueryService = class QueryService {
|
|
|
174
175
|
async executeQuery(params) {
|
|
175
176
|
const { dataSource, dimensions, measures, filters, highlights, count, offset, onBeforeQuery } = params;
|
|
176
177
|
const app = await this.sisenseContextService.getApp();
|
|
177
|
-
const
|
|
178
|
+
const { filters: filterList, relations: filterRelations } = getFilterListAndRelations(filters);
|
|
179
|
+
const data = await executeQuery({
|
|
180
|
+
dataSource,
|
|
181
|
+
dimensions,
|
|
182
|
+
measures,
|
|
183
|
+
filters: filterList,
|
|
184
|
+
filterRelations,
|
|
185
|
+
highlights,
|
|
186
|
+
count,
|
|
187
|
+
offset,
|
|
188
|
+
}, app, { onBeforeQuery });
|
|
178
189
|
return { data };
|
|
179
190
|
}
|
|
180
191
|
/**
|
|
@@ -257,7 +268,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
257
268
|
}]
|
|
258
269
|
}], ctorParameters: function () { return [{ type: SisenseContextService }]; } });
|
|
259
270
|
|
|
260
|
-
var packageVersion = '
|
|
271
|
+
var packageVersion = '1.1.0';
|
|
261
272
|
|
|
262
273
|
function Trackable(target, propertyKey, descriptor) {
|
|
263
274
|
const originalMethod = descriptor.value;
|
|
@@ -398,7 +409,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
398
409
|
* dataSet: DM.DataSource,
|
|
399
410
|
* dataOptions: {
|
|
400
411
|
* category: [DM.Admissions.Admission_Time.Months],
|
|
401
|
-
* value: [
|
|
412
|
+
* value: [measureFactory.count(DM.Admissions.Patient_ID, 'Total Patients')],
|
|
402
413
|
* breakBy: [],
|
|
403
414
|
* },
|
|
404
415
|
* filters: [filterFactory.members(DM.Doctors.Specialty, ['Oncology', 'Cardiology'])],
|
|
@@ -652,7 +663,6 @@ class ChartWidgetComponent {
|
|
|
652
663
|
filters: this.filters,
|
|
653
664
|
highlights: this.highlights,
|
|
654
665
|
styleOptions: this.styleOptions,
|
|
655
|
-
widgetStyleOptions: this.widgetStyleOptions,
|
|
656
666
|
drilldownOptions: this.drilldownOptions,
|
|
657
667
|
title: this.title,
|
|
658
668
|
description: this.description,
|
|
@@ -670,7 +680,7 @@ class ChartWidgetComponent {
|
|
|
670
680
|
}
|
|
671
681
|
}
|
|
672
682
|
ChartWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWidgetComponent, deps: [{ token: SisenseContextService }, { token: ThemeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
673
|
-
ChartWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChartWidgetComponent, selector: "csdk-chart-widget", inputs: { chartType: "chartType", dataSource: "dataSource", dataOptions: "dataOptions", filters: "filters", highlights: "highlights", styleOptions: "styleOptions",
|
|
683
|
+
ChartWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChartWidgetComponent, selector: "csdk-chart-widget", inputs: { chartType: "chartType", dataSource: "dataSource", dataOptions: "dataOptions", filters: "filters", highlights: "highlights", styleOptions: "styleOptions", drilldownOptions: "drilldownOptions", title: "title", description: "description", highlightSelectionDisabled: "highlightSelectionDisabled", beforeRender: "beforeRender" }, outputs: { dataPointClick: "dataPointClick", dataPointContextMenu: "dataPointContextMenu", dataPointsSelect: "dataPointsSelect" }, 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 });
|
|
674
684
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWidgetComponent, decorators: [{
|
|
675
685
|
type: Component,
|
|
676
686
|
args: [{
|
|
@@ -692,8 +702,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
692
702
|
type: Input
|
|
693
703
|
}], styleOptions: [{
|
|
694
704
|
type: Input
|
|
695
|
-
}], widgetStyleOptions: [{
|
|
696
|
-
type: Input
|
|
697
705
|
}], drilldownOptions: [{
|
|
698
706
|
type: Input
|
|
699
707
|
}], title: [{
|
|
@@ -1621,7 +1629,6 @@ class TableWidgetComponent {
|
|
|
1621
1629
|
dataOptions: this.dataOptions,
|
|
1622
1630
|
filters: this.filters,
|
|
1623
1631
|
styleOptions: this.styleOptions,
|
|
1624
|
-
widgetStyleOptions: this.widgetStyleOptions,
|
|
1625
1632
|
title: this.title,
|
|
1626
1633
|
description: this.description,
|
|
1627
1634
|
};
|
|
@@ -1632,7 +1639,7 @@ class TableWidgetComponent {
|
|
|
1632
1639
|
}
|
|
1633
1640
|
}
|
|
1634
1641
|
TableWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TableWidgetComponent, deps: [{ token: SisenseContextService }, { token: ThemeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1635
|
-
TableWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TableWidgetComponent, selector: "csdk-table-widget", inputs: { dataSource: "dataSource", dataOptions: "dataOptions", filters: "filters", styleOptions: "styleOptions",
|
|
1642
|
+
TableWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TableWidgetComponent, selector: "csdk-table-widget", inputs: { dataSource: "dataSource", dataOptions: "dataOptions", filters: "filters", styleOptions: "styleOptions", title: "title", description: "description" }, 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 });
|
|
1636
1643
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TableWidgetComponent, decorators: [{
|
|
1637
1644
|
type: Component,
|
|
1638
1645
|
args: [{
|
|
@@ -1650,8 +1657,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1650
1657
|
type: Input
|
|
1651
1658
|
}], styleOptions: [{
|
|
1652
1659
|
type: Input
|
|
1653
|
-
}], widgetStyleOptions: [{
|
|
1654
|
-
type: Input
|
|
1655
1660
|
}], title: [{
|
|
1656
1661
|
type: Input
|
|
1657
1662
|
}], description: [{
|
|
@@ -1693,7 +1698,6 @@ class DashboardWidgetComponent {
|
|
|
1693
1698
|
title: this.title,
|
|
1694
1699
|
description: this.description,
|
|
1695
1700
|
styleOptions: this.styleOptions,
|
|
1696
|
-
widgetStyleOptions: this.widgetStyleOptions,
|
|
1697
1701
|
highlightSelectionDisabled: this.highlightSelectionDisabled,
|
|
1698
1702
|
drilldownOptions: this.drilldownOptions,
|
|
1699
1703
|
};
|
|
@@ -1705,7 +1709,7 @@ class DashboardWidgetComponent {
|
|
|
1705
1709
|
}
|
|
1706
1710
|
}
|
|
1707
1711
|
DashboardWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DashboardWidgetComponent, deps: [{ token: SisenseContextService }, { token: ThemeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1708
|
-
DashboardWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DashboardWidgetComponent, selector: "csdk-dashboard-widget", inputs: { widgetOid: "widgetOid", dashboardOid: "dashboardOid", filters: "filters", highlights: "highlights", filtersMergeStrategy: "filtersMergeStrategy", includeDashboardFilters: "includeDashboardFilters", title: "title", description: "description", styleOptions: "styleOptions",
|
|
1712
|
+
DashboardWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DashboardWidgetComponent, selector: "csdk-dashboard-widget", inputs: { widgetOid: "widgetOid", dashboardOid: "dashboardOid", filters: "filters", highlights: "highlights", filtersMergeStrategy: "filtersMergeStrategy", includeDashboardFilters: "includeDashboardFilters", title: "title", description: "description", styleOptions: "styleOptions", highlightSelectionDisabled: "highlightSelectionDisabled", drilldownOptions: "drilldownOptions" }, 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 });
|
|
1709
1713
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DashboardWidgetComponent, decorators: [{
|
|
1710
1714
|
type: Component,
|
|
1711
1715
|
args: [{
|
|
@@ -1733,8 +1737,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1733
1737
|
type: Input
|
|
1734
1738
|
}], styleOptions: [{
|
|
1735
1739
|
type: Input
|
|
1736
|
-
}], widgetStyleOptions: [{
|
|
1737
|
-
type: Input
|
|
1738
1740
|
}], highlightSelectionDisabled: [{
|
|
1739
1741
|
type: Input
|
|
1740
1742
|
}], drilldownOptions: [{
|
|
@@ -1853,7 +1855,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1853
1855
|
* chart = {
|
|
1854
1856
|
* dataOptions: {
|
|
1855
1857
|
* category: [DM.Divisions.Divison_name],
|
|
1856
|
-
* value: [
|
|
1858
|
+
* value: [measureFactory.sum(DM.Admissions.Cost_of_admission)],
|
|
1857
1859
|
* breakBy: [],
|
|
1858
1860
|
* },
|
|
1859
1861
|
* dataPointContextMenu: ({ point, nativeEvent }: { point: any; nativeEvent: MouseEvent }) => {
|
|
@@ -2265,6 +2267,185 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2265
2267
|
type: Output
|
|
2266
2268
|
}] } });
|
|
2267
2269
|
|
|
2270
|
+
/**
|
|
2271
|
+
* An Angular component representing data in a way that visually describes the distribution, variability,
|
|
2272
|
+
* and center of a data set along an axis.
|
|
2273
|
+
* See [Boxplot Chart](https://docs.sisense.com/main/SisenseLinux/box-and-whisker-plot.htm) for more information.
|
|
2274
|
+
*/
|
|
2275
|
+
class BoxplotChartComponent {
|
|
2276
|
+
constructor() {
|
|
2277
|
+
/**
|
|
2278
|
+
* {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.onDataPointClick}
|
|
2279
|
+
*
|
|
2280
|
+
* @category Callbacks
|
|
2281
|
+
*/
|
|
2282
|
+
this.dataPointClick = new EventEmitter();
|
|
2283
|
+
/**
|
|
2284
|
+
* {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.onDataPointContextMenu}
|
|
2285
|
+
*
|
|
2286
|
+
* @category Callbacks
|
|
2287
|
+
*/
|
|
2288
|
+
this.dataPointContextMenu = new EventEmitter();
|
|
2289
|
+
/**
|
|
2290
|
+
* {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.onDataPointsSelected}
|
|
2291
|
+
*
|
|
2292
|
+
* @category Callbacks
|
|
2293
|
+
*/
|
|
2294
|
+
this.dataPointsSelect = new EventEmitter();
|
|
2295
|
+
/** @internal */
|
|
2296
|
+
this.chartType = 'boxplot';
|
|
2297
|
+
}
|
|
2298
|
+
}
|
|
2299
|
+
BoxplotChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BoxplotChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2300
|
+
BoxplotChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BoxplotChartComponent, selector: "csdk-boxplot-chart", inputs: { dataSet: "dataSet", dataOptions: "dataOptions", filters: "filters", highlights: "highlights", styleOptions: "styleOptions", beforeRender: "beforeRender" }, outputs: { dataPointClick: "dataPointClick", dataPointContextMenu: "dataPointContextMenu", dataPointsSelect: "dataPointsSelect" }, ngImport: i0, template: `
|
|
2301
|
+
<csdk-chart
|
|
2302
|
+
[chartType]="chartType"
|
|
2303
|
+
[dataSet]="dataSet"
|
|
2304
|
+
[dataOptions]="dataOptions"
|
|
2305
|
+
[filters]="filters"
|
|
2306
|
+
[highlights]="highlights"
|
|
2307
|
+
[styleOptions]="styleOptions"
|
|
2308
|
+
[beforeRender]="beforeRender"
|
|
2309
|
+
(dataPointClick)="dataPointClick.emit($event)"
|
|
2310
|
+
(dataPointContextMenu)="dataPointContextMenu.emit($event)"
|
|
2311
|
+
(dataPointsSelect)="dataPointsSelect.emit($event)"
|
|
2312
|
+
/>
|
|
2313
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ChartComponent, selector: "csdk-chart", inputs: ["chartType", "dataSet", "dataOptions", "filters", "highlights", "styleOptions", "beforeRender"], outputs: ["dataPointClick", "dataPointContextMenu", "dataPointsSelect"] }] });
|
|
2314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BoxplotChartComponent, decorators: [{
|
|
2315
|
+
type: Component,
|
|
2316
|
+
args: [{
|
|
2317
|
+
selector: 'csdk-boxplot-chart',
|
|
2318
|
+
template: `
|
|
2319
|
+
<csdk-chart
|
|
2320
|
+
[chartType]="chartType"
|
|
2321
|
+
[dataSet]="dataSet"
|
|
2322
|
+
[dataOptions]="dataOptions"
|
|
2323
|
+
[filters]="filters"
|
|
2324
|
+
[highlights]="highlights"
|
|
2325
|
+
[styleOptions]="styleOptions"
|
|
2326
|
+
[beforeRender]="beforeRender"
|
|
2327
|
+
(dataPointClick)="dataPointClick.emit($event)"
|
|
2328
|
+
(dataPointContextMenu)="dataPointContextMenu.emit($event)"
|
|
2329
|
+
(dataPointsSelect)="dataPointsSelect.emit($event)"
|
|
2330
|
+
/>
|
|
2331
|
+
`,
|
|
2332
|
+
}]
|
|
2333
|
+
}], propDecorators: { dataSet: [{
|
|
2334
|
+
type: Input
|
|
2335
|
+
}], dataOptions: [{
|
|
2336
|
+
type: Input
|
|
2337
|
+
}], filters: [{
|
|
2338
|
+
type: Input
|
|
2339
|
+
}], highlights: [{
|
|
2340
|
+
type: Input
|
|
2341
|
+
}], styleOptions: [{
|
|
2342
|
+
type: Input
|
|
2343
|
+
}], beforeRender: [{
|
|
2344
|
+
type: Input
|
|
2345
|
+
}], dataPointClick: [{
|
|
2346
|
+
type: Output
|
|
2347
|
+
}], dataPointContextMenu: [{
|
|
2348
|
+
type: Output
|
|
2349
|
+
}], dataPointsSelect: [{
|
|
2350
|
+
type: Output
|
|
2351
|
+
}] } });
|
|
2352
|
+
|
|
2353
|
+
/**
|
|
2354
|
+
* An Angular component that allows to visualize geographical data as data points on a map.
|
|
2355
|
+
* See [Scattermap Chart](https://docs.sisense.com/main/SisenseLinux/scatter-map.htm) for more information.
|
|
2356
|
+
*/
|
|
2357
|
+
class ScattermapChartComponent {
|
|
2358
|
+
constructor() {
|
|
2359
|
+
/** @internal */
|
|
2360
|
+
this.chartType = 'scattermap';
|
|
2361
|
+
}
|
|
2362
|
+
}
|
|
2363
|
+
ScattermapChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScattermapChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2364
|
+
ScattermapChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ScattermapChartComponent, selector: "csdk-scattermap-chart", inputs: { dataSet: "dataSet", dataOptions: "dataOptions", filters: "filters", highlights: "highlights", styleOptions: "styleOptions" }, ngImport: i0, template: `
|
|
2365
|
+
<csdk-chart
|
|
2366
|
+
[chartType]="chartType"
|
|
2367
|
+
[dataSet]="dataSet"
|
|
2368
|
+
[dataOptions]="dataOptions"
|
|
2369
|
+
[filters]="filters"
|
|
2370
|
+
[highlights]="highlights"
|
|
2371
|
+
[styleOptions]="styleOptions"
|
|
2372
|
+
/>
|
|
2373
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ChartComponent, selector: "csdk-chart", inputs: ["chartType", "dataSet", "dataOptions", "filters", "highlights", "styleOptions", "beforeRender"], outputs: ["dataPointClick", "dataPointContextMenu", "dataPointsSelect"] }] });
|
|
2374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScattermapChartComponent, decorators: [{
|
|
2375
|
+
type: Component,
|
|
2376
|
+
args: [{
|
|
2377
|
+
selector: 'csdk-scattermap-chart',
|
|
2378
|
+
template: `
|
|
2379
|
+
<csdk-chart
|
|
2380
|
+
[chartType]="chartType"
|
|
2381
|
+
[dataSet]="dataSet"
|
|
2382
|
+
[dataOptions]="dataOptions"
|
|
2383
|
+
[filters]="filters"
|
|
2384
|
+
[highlights]="highlights"
|
|
2385
|
+
[styleOptions]="styleOptions"
|
|
2386
|
+
/>
|
|
2387
|
+
`,
|
|
2388
|
+
}]
|
|
2389
|
+
}], propDecorators: { dataSet: [{
|
|
2390
|
+
type: Input
|
|
2391
|
+
}], dataOptions: [{
|
|
2392
|
+
type: Input
|
|
2393
|
+
}], filters: [{
|
|
2394
|
+
type: Input
|
|
2395
|
+
}], highlights: [{
|
|
2396
|
+
type: Input
|
|
2397
|
+
}], styleOptions: [{
|
|
2398
|
+
type: Input
|
|
2399
|
+
}] } });
|
|
2400
|
+
|
|
2401
|
+
/**
|
|
2402
|
+
* An Angular component that allows to visualize geographical data as polygons on a map.
|
|
2403
|
+
* See [Areamap Chart](https://docs.sisense.com/main/SisenseLinux/area-map.htm) for more information.
|
|
2404
|
+
*/
|
|
2405
|
+
class AreamapChartComponent {
|
|
2406
|
+
constructor() {
|
|
2407
|
+
/** @internal */
|
|
2408
|
+
this.chartType = 'areamap';
|
|
2409
|
+
}
|
|
2410
|
+
}
|
|
2411
|
+
AreamapChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AreamapChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2412
|
+
AreamapChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AreamapChartComponent, selector: "csdk-areamap-chart", inputs: { dataSet: "dataSet", dataOptions: "dataOptions", filters: "filters", highlights: "highlights", styleOptions: "styleOptions" }, ngImport: i0, template: `
|
|
2413
|
+
<csdk-chart
|
|
2414
|
+
[chartType]="chartType"
|
|
2415
|
+
[dataSet]="dataSet"
|
|
2416
|
+
[dataOptions]="dataOptions"
|
|
2417
|
+
[filters]="filters"
|
|
2418
|
+
[highlights]="highlights"
|
|
2419
|
+
[styleOptions]="styleOptions"
|
|
2420
|
+
/>
|
|
2421
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ChartComponent, selector: "csdk-chart", inputs: ["chartType", "dataSet", "dataOptions", "filters", "highlights", "styleOptions", "beforeRender"], outputs: ["dataPointClick", "dataPointContextMenu", "dataPointsSelect"] }] });
|
|
2422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AreamapChartComponent, decorators: [{
|
|
2423
|
+
type: Component,
|
|
2424
|
+
args: [{
|
|
2425
|
+
selector: 'csdk-areamap-chart',
|
|
2426
|
+
template: `
|
|
2427
|
+
<csdk-chart
|
|
2428
|
+
[chartType]="chartType"
|
|
2429
|
+
[dataSet]="dataSet"
|
|
2430
|
+
[dataOptions]="dataOptions"
|
|
2431
|
+
[filters]="filters"
|
|
2432
|
+
[highlights]="highlights"
|
|
2433
|
+
[styleOptions]="styleOptions"
|
|
2434
|
+
/>
|
|
2435
|
+
`,
|
|
2436
|
+
}]
|
|
2437
|
+
}], propDecorators: { dataSet: [{
|
|
2438
|
+
type: Input
|
|
2439
|
+
}], dataOptions: [{
|
|
2440
|
+
type: Input
|
|
2441
|
+
}], filters: [{
|
|
2442
|
+
type: Input
|
|
2443
|
+
}], highlights: [{
|
|
2444
|
+
type: Input
|
|
2445
|
+
}], styleOptions: [{
|
|
2446
|
+
type: Input
|
|
2447
|
+
}] } });
|
|
2448
|
+
|
|
2268
2449
|
/**
|
|
2269
2450
|
* SDK UI Module, which is a container for components.
|
|
2270
2451
|
*
|
|
@@ -2315,7 +2496,10 @@ SdkUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "1
|
|
|
2315
2496
|
DrilldownWidgetComponent,
|
|
2316
2497
|
DateRangeFilterTileComponent,
|
|
2317
2498
|
DrilldownBreadcrumbsComponent,
|
|
2318
|
-
ContextMenuComponent
|
|
2499
|
+
ContextMenuComponent,
|
|
2500
|
+
BoxplotChartComponent,
|
|
2501
|
+
ScattermapChartComponent,
|
|
2502
|
+
AreamapChartComponent], imports: [CommonModule, DecoratorsModule], exports: [BasicMemberFilterTileComponent,
|
|
2319
2503
|
ChartComponent,
|
|
2320
2504
|
TableComponent,
|
|
2321
2505
|
ChartWidgetComponent,
|
|
@@ -2336,7 +2520,10 @@ SdkUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "1
|
|
|
2336
2520
|
DrilldownWidgetComponent,
|
|
2337
2521
|
DateRangeFilterTileComponent,
|
|
2338
2522
|
DrilldownBreadcrumbsComponent,
|
|
2339
|
-
ContextMenuComponent
|
|
2523
|
+
ContextMenuComponent,
|
|
2524
|
+
BoxplotChartComponent,
|
|
2525
|
+
ScattermapChartComponent,
|
|
2526
|
+
AreamapChartComponent] });
|
|
2340
2527
|
SdkUiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SdkUiModule, imports: [CommonModule, DecoratorsModule] });
|
|
2341
2528
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SdkUiModule, decorators: [{
|
|
2342
2529
|
type: NgModule,
|
|
@@ -2364,6 +2551,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2364
2551
|
DateRangeFilterTileComponent,
|
|
2365
2552
|
DrilldownBreadcrumbsComponent,
|
|
2366
2553
|
ContextMenuComponent,
|
|
2554
|
+
BoxplotChartComponent,
|
|
2555
|
+
ScattermapChartComponent,
|
|
2556
|
+
AreamapChartComponent,
|
|
2367
2557
|
],
|
|
2368
2558
|
imports: [CommonModule, DecoratorsModule],
|
|
2369
2559
|
exports: [
|
|
@@ -2389,6 +2579,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2389
2579
|
DateRangeFilterTileComponent,
|
|
2390
2580
|
DrilldownBreadcrumbsComponent,
|
|
2391
2581
|
ContextMenuComponent,
|
|
2582
|
+
BoxplotChartComponent,
|
|
2583
|
+
ScattermapChartComponent,
|
|
2584
|
+
AreamapChartComponent,
|
|
2392
2585
|
],
|
|
2393
2586
|
providers: [],
|
|
2394
2587
|
}]
|
|
@@ -2402,5 +2595,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2402
2595
|
* Generated bundle index. Do not edit.
|
|
2403
2596
|
*/
|
|
2404
2597
|
|
|
2405
|
-
export { AreaChartComponent, BarChartComponent, BasicMemberFilterTileComponent, ChartComponent, ChartWidgetComponent, ColumnChartComponent, ContextMenuComponent, DashboardService, DashboardWidgetComponent, DateRangeFilterTileComponent, DrilldownBreadcrumbsComponent, DrilldownWidgetComponent, FunnelChartComponent, IndicatorChartComponent, LineChartComponent, MemberFilterTileComponent, PieChartComponent, PolarChartComponent, QueryService, SISENSE_CONTEXT_CONFIG_TOKEN, ScatterChartComponent, SdkUiModule, SisenseContextService, SunburstChartComponent, THEME_CONFIG_TOKEN, TableComponent, TableWidgetComponent, ThemeService, TreemapChartComponent };
|
|
2598
|
+
export { AreaChartComponent, AreamapChartComponent, BarChartComponent, BasicMemberFilterTileComponent, BoxplotChartComponent, ChartComponent, ChartWidgetComponent, ColumnChartComponent, ContextMenuComponent, DashboardService, DashboardWidgetComponent, DateRangeFilterTileComponent, DrilldownBreadcrumbsComponent, DrilldownWidgetComponent, FunnelChartComponent, IndicatorChartComponent, LineChartComponent, MemberFilterTileComponent, PieChartComponent, PolarChartComponent, QueryService, SISENSE_CONTEXT_CONFIG_TOKEN, ScatterChartComponent, ScattermapChartComponent, SdkUiModule, SisenseContextService, SunburstChartComponent, THEME_CONFIG_TOKEN, TableComponent, TableWidgetComponent, ThemeService, TreemapChartComponent };
|
|
2406
2599
|
//# sourceMappingURL=sisense-sdk-ui-angular.mjs.map
|