@sisense/sdk-ui-angular 0.13.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/LICENSE.md +35 -0
- package/README.md +2 -0
- package/dist/README.md +2 -0
- package/dist/esm2020/lib/component-wrapper-helpers/context-connectors.mjs +29 -0
- package/dist/esm2020/lib/component-wrapper-helpers/index.mjs +2 -0
- package/dist/esm2020/lib/component-wrapper-helpers/template.mjs +3 -0
- package/dist/esm2020/lib/components/area-chart.component.mjs +82 -0
- package/dist/esm2020/lib/components/bar-chart.component.mjs +82 -0
- package/dist/esm2020/lib/components/basic-member-filter-tile.component.mjs +62 -0
- package/dist/esm2020/lib/components/chart-widget.component.mjs +112 -0
- package/dist/esm2020/lib/components/chart.component.mjs +169 -0
- package/dist/esm2020/lib/components/column-chart.component.mjs +82 -0
- package/dist/esm2020/lib/components/dashboard-widget.component.mjs +83 -0
- package/dist/esm2020/lib/components/funnel-chart.component.mjs +82 -0
- package/dist/esm2020/lib/components/index.mjs +17 -0
- package/dist/esm2020/lib/components/indicator-chart.component.mjs +48 -0
- package/dist/esm2020/lib/components/line-chart.component.mjs +82 -0
- package/dist/esm2020/lib/components/pie-chart.component.mjs +82 -0
- package/dist/esm2020/lib/components/polar-chart.component.mjs +82 -0
- package/dist/esm2020/lib/components/scatter-chart.component.mjs +82 -0
- package/dist/esm2020/lib/components/table-widget.component.mjs +72 -0
- package/dist/esm2020/lib/components/table.component.mjs +64 -0
- package/dist/esm2020/lib/components/treemap-chart.component.mjs +82 -0
- package/dist/esm2020/lib/sdk-ui.module.mjs +110 -0
- package/dist/esm2020/lib/services/index.mjs +4 -0
- package/dist/esm2020/lib/services/query.service.mjs +31 -0
- package/dist/esm2020/lib/services/sisense-context.service.mjs +59 -0
- package/dist/esm2020/lib/services/theme.service.mjs +90 -0
- package/dist/esm2020/lib/utility-types.mjs +2 -0
- package/dist/esm2020/public-api.mjs +7 -0
- package/dist/esm2020/sisense-sdk-ui-angular.mjs +5 -0
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs +1610 -0
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs.map +1 -0
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs +1598 -0
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/lib/component-wrapper-helpers/context-connectors.d.ts +5 -0
- package/dist/lib/component-wrapper-helpers/index.d.ts +1 -0
- package/dist/lib/component-wrapper-helpers/template.d.ts +2 -0
- package/dist/lib/components/area-chart.component.d.ts +67 -0
- package/dist/lib/components/bar-chart.component.d.ts +67 -0
- package/dist/lib/components/basic-member-filter-tile.component.d.ts +31 -0
- package/dist/lib/components/chart-widget.component.d.ts +75 -0
- package/dist/lib/components/chart.component.d.ts +167 -0
- package/dist/lib/components/column-chart.component.d.ts +62 -0
- package/dist/lib/components/dashboard-widget.component.d.ts +46 -0
- package/dist/lib/components/funnel-chart.component.d.ts +67 -0
- package/dist/lib/components/index.d.ts +16 -0
- package/dist/lib/components/indicator-chart.component.d.ts +41 -0
- package/dist/lib/components/line-chart.component.d.ts +67 -0
- package/dist/lib/components/pie-chart.component.d.ts +67 -0
- package/dist/lib/components/polar-chart.component.d.ts +67 -0
- package/dist/lib/components/scatter-chart.component.d.ts +67 -0
- package/dist/lib/components/table-widget.component.d.ts +40 -0
- package/dist/lib/components/table.component.d.ts +49 -0
- package/dist/lib/components/treemap-chart.component.d.ts +67 -0
- package/dist/lib/sdk-ui.module.d.ts +49 -0
- package/dist/lib/services/index.d.ts +3 -0
- package/dist/lib/services/query.service.d.ts +16 -0
- package/dist/lib/services/sisense-context.service.d.ts +41 -0
- package/dist/lib/services/theme.service.d.ts +71 -0
- package/dist/lib/utility-types.d.ts +11 -0
- package/dist/package.json +46 -0
- package/dist/public-api.d.ts +3 -0
- package/package.json +53 -0
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
+
import { type ChartProps } 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 '../utility-types';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* An Angular component used for easily switching chart types or rendering multiple series of different chart types.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* An example of using the `Chart` component to
|
|
12
|
+
* plot a column chart of the Sample Healthcare data source hosted in a Sisense instance:
|
|
13
|
+
* ```ts
|
|
14
|
+
* // Component behavior in .component.ts
|
|
15
|
+
* chart = {
|
|
16
|
+
* chartType: 'column' as ChartType,
|
|
17
|
+
* dataSet: DM.DataSource,
|
|
18
|
+
* dataOptions: {
|
|
19
|
+
* category: [DM.Admissions.Admission_Time.Months],
|
|
20
|
+
* value: [measures.count(DM.Admissions.Patient_ID, 'Total Patients')],
|
|
21
|
+
* breakBy: [],
|
|
22
|
+
* },
|
|
23
|
+
* filters: [filterFactory.members(DM.Doctors.Specialty, ['Oncology', 'Cardiology'])],
|
|
24
|
+
* styleOptions: {
|
|
25
|
+
* width: 800,
|
|
26
|
+
* height: 500,
|
|
27
|
+
* xAxis: {
|
|
28
|
+
* title: {
|
|
29
|
+
* text: 'Months',
|
|
30
|
+
* enabled: true,
|
|
31
|
+
* },
|
|
32
|
+
* },
|
|
33
|
+
* yAxis: {
|
|
34
|
+
* title: {
|
|
35
|
+
* text: 'Total Patients',
|
|
36
|
+
* enabled: true,
|
|
37
|
+
* },
|
|
38
|
+
* },
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
41
|
+
* ```
|
|
42
|
+
* ```html
|
|
43
|
+
* <!--Component HTML template in .component.html-->
|
|
44
|
+
* <csdk-chart
|
|
45
|
+
* [chartType]="chart.chartType"
|
|
46
|
+
* [dataSet]="chart.dataSet"
|
|
47
|
+
* [dataOptions]="chart.dataOptions"
|
|
48
|
+
* [filters]="chart.filters"
|
|
49
|
+
* [styleOptions]="chart.styleOptions"
|
|
50
|
+
* />
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* <img src="media://angular-chart-data-source-example-1.png" width="800px" />
|
|
54
|
+
*/
|
|
55
|
+
export declare class ChartComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
56
|
+
/**
|
|
57
|
+
* Sisense context service
|
|
58
|
+
*
|
|
59
|
+
* @category Constructor
|
|
60
|
+
*/
|
|
61
|
+
sisenseContextService: SisenseContextService;
|
|
62
|
+
/**
|
|
63
|
+
* Theme service
|
|
64
|
+
*
|
|
65
|
+
* @category Constructor
|
|
66
|
+
*/
|
|
67
|
+
themeService: ThemeService;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
preactRef: ElementRef<HTMLDivElement>;
|
|
72
|
+
/**
|
|
73
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.chartType}
|
|
74
|
+
*
|
|
75
|
+
* @category Chart
|
|
76
|
+
*/
|
|
77
|
+
chartType: ChartProps['chartType'];
|
|
78
|
+
/**
|
|
79
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.dataSet}
|
|
80
|
+
*
|
|
81
|
+
* @category Data
|
|
82
|
+
*/
|
|
83
|
+
dataSet: ChartProps['dataSet'];
|
|
84
|
+
/**
|
|
85
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.dataOptions}
|
|
86
|
+
*
|
|
87
|
+
* @category Chart
|
|
88
|
+
*/
|
|
89
|
+
dataOptions: ChartProps['dataOptions'];
|
|
90
|
+
/**
|
|
91
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.filters}
|
|
92
|
+
*
|
|
93
|
+
* @category Data
|
|
94
|
+
*/
|
|
95
|
+
filters: ChartProps['filters'];
|
|
96
|
+
/**
|
|
97
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.highlights}
|
|
98
|
+
*
|
|
99
|
+
* @category Data
|
|
100
|
+
*/
|
|
101
|
+
highlights: ChartProps['highlights'];
|
|
102
|
+
/**
|
|
103
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.styleOptions}
|
|
104
|
+
*
|
|
105
|
+
* @category Chart
|
|
106
|
+
*/
|
|
107
|
+
styleOptions: ChartProps['styleOptions'];
|
|
108
|
+
/**
|
|
109
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.onBeforeRender}
|
|
110
|
+
*
|
|
111
|
+
* @category Callbacks
|
|
112
|
+
*/
|
|
113
|
+
beforeRender: ChartProps['onBeforeRender'];
|
|
114
|
+
/**
|
|
115
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointClick}
|
|
116
|
+
*
|
|
117
|
+
* @category Callbacks
|
|
118
|
+
*/
|
|
119
|
+
dataPointClick: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | undefined, ["point", "nativeEvent"]>>;
|
|
120
|
+
/**
|
|
121
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointContextMenu}
|
|
122
|
+
*
|
|
123
|
+
* @category Callbacks
|
|
124
|
+
*/
|
|
125
|
+
dataPointContextMenu: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").DataPointEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | undefined, ["point", "nativeEvent"]>>;
|
|
126
|
+
/**
|
|
127
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointsSelected}
|
|
128
|
+
*
|
|
129
|
+
* @category Callbacks
|
|
130
|
+
*/
|
|
131
|
+
dataPointsSelect: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").DataPointsEventHandler | import("@sisense/sdk-ui-preact").ScatterDataPointsEventHandler | undefined, ["points", "nativeEvent"]>>;
|
|
132
|
+
private componentAdapter;
|
|
133
|
+
/**
|
|
134
|
+
* Constructor for the `Chart` component.
|
|
135
|
+
*
|
|
136
|
+
* @param sisenseContextService - Sisense context service
|
|
137
|
+
* @param themeService - Theme service
|
|
138
|
+
*/
|
|
139
|
+
constructor(
|
|
140
|
+
/**
|
|
141
|
+
* Sisense context service
|
|
142
|
+
*
|
|
143
|
+
* @category Constructor
|
|
144
|
+
*/
|
|
145
|
+
sisenseContextService: SisenseContextService,
|
|
146
|
+
/**
|
|
147
|
+
* Theme service
|
|
148
|
+
*
|
|
149
|
+
* @category Constructor
|
|
150
|
+
*/
|
|
151
|
+
themeService: ThemeService);
|
|
152
|
+
/**
|
|
153
|
+
* @internal
|
|
154
|
+
*/
|
|
155
|
+
ngAfterViewInit(): void;
|
|
156
|
+
/**
|
|
157
|
+
* @internal
|
|
158
|
+
*/
|
|
159
|
+
ngOnChanges(): void;
|
|
160
|
+
private createPreactComponent;
|
|
161
|
+
/**
|
|
162
|
+
* @internal
|
|
163
|
+
*/
|
|
164
|
+
ngOnDestroy(): void;
|
|
165
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChartComponent, never>;
|
|
166
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChartComponent, "csdk-chart", never, { "chartType": "chartType"; "dataSet": "dataSet"; "dataOptions": "dataOptions"; "filters": "filters"; "highlights": "highlights"; "styleOptions": "styleOptions"; "beforeRender": "beforeRender"; }, { "dataPointClick": "dataPointClick"; "dataPointContextMenu": "dataPointContextMenu"; "dataPointsSelect": "dataPointsSelect"; }, never, never, false, never>;
|
|
167
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { type ChartType, type ColumnChartProps } from '@sisense/sdk-ui-preact';
|
|
3
|
+
import { type ArgumentsAsObject } from '../utility-types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Column Chart Component
|
|
7
|
+
*/
|
|
8
|
+
export declare class ColumnChartComponent {
|
|
9
|
+
/**
|
|
10
|
+
* {@inheritDoc @sisense/sdk-ui!ColumnChartProps.dataSet}
|
|
11
|
+
*
|
|
12
|
+
* @category Data
|
|
13
|
+
*/
|
|
14
|
+
dataSet: ColumnChartProps['dataSet'];
|
|
15
|
+
/**
|
|
16
|
+
* {@inheritDoc @sisense/sdk-ui!ColumnChartProps.dataOptions}
|
|
17
|
+
*
|
|
18
|
+
* @category Chart
|
|
19
|
+
*/
|
|
20
|
+
dataOptions: ColumnChartProps['dataOptions'];
|
|
21
|
+
/**
|
|
22
|
+
* {@inheritDoc @sisense/sdk-ui!ColumnChartProps.filters}
|
|
23
|
+
*
|
|
24
|
+
* @category Data
|
|
25
|
+
*/
|
|
26
|
+
filters: ColumnChartProps['filters'];
|
|
27
|
+
/**
|
|
28
|
+
* {@inheritDoc @sisense/sdk-ui!ColumnChartProps.styleOptions}
|
|
29
|
+
*
|
|
30
|
+
* @category Chart
|
|
31
|
+
*/
|
|
32
|
+
highlights: ColumnChartProps['highlights'];
|
|
33
|
+
styleOptions: ColumnChartProps['styleOptions'];
|
|
34
|
+
/**
|
|
35
|
+
* {@inheritDoc @sisense/sdk-ui!ColumnChartProps.onBeforeRender}
|
|
36
|
+
*
|
|
37
|
+
* @category Callbacks
|
|
38
|
+
*/
|
|
39
|
+
beforeRender: ColumnChartProps['onBeforeRender'];
|
|
40
|
+
/**
|
|
41
|
+
* {@inheritDoc @sisense/sdk-ui!ColumnChartProps.onDataPointClick}
|
|
42
|
+
*
|
|
43
|
+
* @category Callbacks
|
|
44
|
+
*/
|
|
45
|
+
dataPointClick: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined, ["point", "nativeEvent"]>>;
|
|
46
|
+
/**
|
|
47
|
+
* {@inheritDoc @sisense/sdk-ui!ColumnChartProps.onDataPointContextMenu}
|
|
48
|
+
*
|
|
49
|
+
* @category Callbacks
|
|
50
|
+
*/
|
|
51
|
+
dataPointContextMenu: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined, ["point", "nativeEvent"]>>;
|
|
52
|
+
/**
|
|
53
|
+
* {@inheritDoc @sisense/sdk-ui!ColumnChartProps.onDataPointsSelected}
|
|
54
|
+
*
|
|
55
|
+
* @category Callbacks
|
|
56
|
+
*/
|
|
57
|
+
dataPointsSelect: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").DataPointsEventHandler | undefined, ["points", "nativeEvent"]>>;
|
|
58
|
+
/** @internal */
|
|
59
|
+
chartType: ChartType;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnChartComponent, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnChartComponent, "csdk-column-chart", never, { "dataSet": "dataSet"; "dataOptions": "dataOptions"; "filters": "filters"; "highlights": "highlights"; "styleOptions": "styleOptions"; "beforeRender": "beforeRender"; }, { "dataPointClick": "dataPointClick"; "dataPointContextMenu": "dataPointContextMenu"; "dataPointsSelect": "dataPointsSelect"; }, never, never, false, never>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
+
import { type DashboardWidgetProps } from '@sisense/sdk-ui-preact';
|
|
3
|
+
import { SisenseContextService } from '../services/sisense-context.service';
|
|
4
|
+
import { ThemeService } from '../services/theme.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Dashboard Widget Component
|
|
8
|
+
*/
|
|
9
|
+
export declare class DashboardWidgetComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
10
|
+
private sisenseContextService;
|
|
11
|
+
private themeService;
|
|
12
|
+
/** @internal */
|
|
13
|
+
preactRef: ElementRef<HTMLDivElement>;
|
|
14
|
+
widgetOid: DashboardWidgetProps['widgetOid'];
|
|
15
|
+
dashboardOid: DashboardWidgetProps['dashboardOid'];
|
|
16
|
+
/**
|
|
17
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.filters}
|
|
18
|
+
*
|
|
19
|
+
* @category Data
|
|
20
|
+
*/
|
|
21
|
+
filters: DashboardWidgetProps['filters'];
|
|
22
|
+
highlights: DashboardWidgetProps['highlights'];
|
|
23
|
+
filtersMergeStrategy: DashboardWidgetProps['filtersMergeStrategy'];
|
|
24
|
+
title: DashboardWidgetProps['title'];
|
|
25
|
+
description: DashboardWidgetProps['description'];
|
|
26
|
+
/**
|
|
27
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.styleOptions}
|
|
28
|
+
*
|
|
29
|
+
* @category Chart
|
|
30
|
+
*/
|
|
31
|
+
styleOptions: DashboardWidgetProps['styleOptions'];
|
|
32
|
+
widgetStyleOptions: DashboardWidgetProps['widgetStyleOptions'];
|
|
33
|
+
drilldownOptions: DashboardWidgetProps['drilldownOptions'];
|
|
34
|
+
private componentAdapter;
|
|
35
|
+
constructor(sisenseContextService: SisenseContextService, themeService: ThemeService);
|
|
36
|
+
/** @internal */
|
|
37
|
+
ngAfterViewInit(): void;
|
|
38
|
+
/** @internal */
|
|
39
|
+
ngOnChanges(): void;
|
|
40
|
+
/** @internal */
|
|
41
|
+
private createPreactComponent;
|
|
42
|
+
/** @internal */
|
|
43
|
+
ngOnDestroy(): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardWidgetComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardWidgetComponent, "csdk-dashboard-widget", never, { "widgetOid": "widgetOid"; "dashboardOid": "dashboardOid"; "filters": "filters"; "highlights": "highlights"; "filtersMergeStrategy": "filtersMergeStrategy"; "title": "title"; "description": "description"; "styleOptions": "styleOptions"; "widgetStyleOptions": "widgetStyleOptions"; "drilldownOptions": "drilldownOptions"; }, {}, never, never, false, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { type ChartType, type FunnelChartProps } from '@sisense/sdk-ui-preact';
|
|
3
|
+
import { type ArgumentsAsObject } from '../utility-types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Funnel Chart Component
|
|
7
|
+
*/
|
|
8
|
+
export declare class FunnelChartComponent {
|
|
9
|
+
/**
|
|
10
|
+
* {@inheritDoc @sisense/sdk-ui!FunnelChartProps.dataSet}
|
|
11
|
+
*
|
|
12
|
+
* @category Data
|
|
13
|
+
*/
|
|
14
|
+
dataSet: FunnelChartProps['dataSet'];
|
|
15
|
+
/**
|
|
16
|
+
* {@inheritDoc @sisense/sdk-ui!FunnelChartProps.dataOptions}
|
|
17
|
+
*
|
|
18
|
+
* @category Chart
|
|
19
|
+
*/
|
|
20
|
+
dataOptions: FunnelChartProps['dataOptions'];
|
|
21
|
+
/**
|
|
22
|
+
* {@inheritDoc @sisense/sdk-ui!FunnelChartProps.filters}
|
|
23
|
+
*
|
|
24
|
+
* @category Data
|
|
25
|
+
*/
|
|
26
|
+
filters: FunnelChartProps['filters'];
|
|
27
|
+
/**
|
|
28
|
+
* {@inheritDoc @sisense/sdk-ui!FunnelChartProps.highlights}
|
|
29
|
+
*
|
|
30
|
+
* @category Data
|
|
31
|
+
*/
|
|
32
|
+
highlights: FunnelChartProps['highlights'];
|
|
33
|
+
/**
|
|
34
|
+
* {@inheritDoc @sisense/sdk-ui!FunnelChartProps.styleOptions}
|
|
35
|
+
*
|
|
36
|
+
* @category Chart
|
|
37
|
+
*/
|
|
38
|
+
styleOptions: FunnelChartProps['styleOptions'];
|
|
39
|
+
/**
|
|
40
|
+
* {@inheritDoc @sisense/sdk-ui!FunnelChartProps.onBeforeRender}
|
|
41
|
+
*
|
|
42
|
+
* @category Callbacks
|
|
43
|
+
*/
|
|
44
|
+
beforeRender: FunnelChartProps['onBeforeRender'];
|
|
45
|
+
/**
|
|
46
|
+
* {@inheritDoc @sisense/sdk-ui!FunnelChartProps.onDataPointClick}
|
|
47
|
+
*
|
|
48
|
+
* @category Callbacks
|
|
49
|
+
*/
|
|
50
|
+
dataPointClick: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined, ["point", "nativeEvent"]>>;
|
|
51
|
+
/**
|
|
52
|
+
* {@inheritDoc @sisense/sdk-ui!FunnelChartProps.onDataPointContextMenu}
|
|
53
|
+
*
|
|
54
|
+
* @category Callbacks
|
|
55
|
+
*/
|
|
56
|
+
dataPointContextMenu: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined, ["point", "nativeEvent"]>>;
|
|
57
|
+
/**
|
|
58
|
+
* {@inheritDoc @sisense/sdk-ui!FunnelChartProps.onDataPointsSelected}
|
|
59
|
+
*
|
|
60
|
+
* @category Callbacks
|
|
61
|
+
*/
|
|
62
|
+
dataPointsSelect: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").DataPointsEventHandler | undefined, ["points", "nativeEvent"]>>;
|
|
63
|
+
/** @internal */
|
|
64
|
+
chartType: ChartType;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FunnelChartComponent, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FunnelChartComponent, "csdk-funnel-chart", never, { "dataSet": "dataSet"; "dataOptions": "dataOptions"; "filters": "filters"; "highlights": "highlights"; "styleOptions": "styleOptions"; "beforeRender": "beforeRender"; }, { "dataPointClick": "dataPointClick"; "dataPointContextMenu": "dataPointContextMenu"; "dataPointsSelect": "dataPointsSelect"; }, never, never, false, never>;
|
|
67
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from './basic-member-filter-tile.component';
|
|
2
|
+
export * from './chart.component';
|
|
3
|
+
export * from './table.component';
|
|
4
|
+
export * from './chart-widget.component';
|
|
5
|
+
export * from './column-chart.component';
|
|
6
|
+
export * from './bar-chart.component';
|
|
7
|
+
export * from './area-chart.component';
|
|
8
|
+
export * from './line-chart.component';
|
|
9
|
+
export * from './indicator-chart.component';
|
|
10
|
+
export * from './scatter-chart.component';
|
|
11
|
+
export * from './pie-chart.component';
|
|
12
|
+
export * from './funnel-chart.component';
|
|
13
|
+
export * from './polar-chart.component';
|
|
14
|
+
export * from './treemap-chart.component';
|
|
15
|
+
export * from './table-widget.component';
|
|
16
|
+
export * from './dashboard-widget.component';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type ChartType, type IndicatorChartProps } from '@sisense/sdk-ui-preact';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Indicator Chart Component
|
|
5
|
+
*/
|
|
6
|
+
export declare class IndicatorChartComponent {
|
|
7
|
+
/**
|
|
8
|
+
* {@inheritDoc @sisense/sdk-ui!IndicatorChartProps.dataSet}
|
|
9
|
+
*
|
|
10
|
+
* @category Data
|
|
11
|
+
*/
|
|
12
|
+
dataSet: IndicatorChartProps['dataSet'];
|
|
13
|
+
/**
|
|
14
|
+
* {@inheritDoc @sisense/sdk-ui!IndicatorChartProps.dataOptions}
|
|
15
|
+
*
|
|
16
|
+
* @category Chart
|
|
17
|
+
*/
|
|
18
|
+
dataOptions: IndicatorChartProps['dataOptions'];
|
|
19
|
+
/**
|
|
20
|
+
* {@inheritDoc @sisense/sdk-ui!IndicatorChartProps.filters}
|
|
21
|
+
*
|
|
22
|
+
* @category Data
|
|
23
|
+
*/
|
|
24
|
+
filters: IndicatorChartProps['filters'];
|
|
25
|
+
/**
|
|
26
|
+
* {@inheritDoc @sisense/sdk-ui!IndicatorChartProps.highlights}
|
|
27
|
+
*
|
|
28
|
+
* @category Data
|
|
29
|
+
*/
|
|
30
|
+
highlights: IndicatorChartProps['highlights'];
|
|
31
|
+
/**
|
|
32
|
+
* {@inheritDoc @sisense/sdk-ui!IndicatorChartProps.styleOptions}
|
|
33
|
+
*
|
|
34
|
+
* @category Chart
|
|
35
|
+
*/
|
|
36
|
+
styleOptions: IndicatorChartProps['styleOptions'];
|
|
37
|
+
/** @internal */
|
|
38
|
+
chartType: ChartType;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IndicatorChartComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IndicatorChartComponent, "csdk-indicator-chart", never, { "dataSet": "dataSet"; "dataOptions": "dataOptions"; "filters": "filters"; "highlights": "highlights"; "styleOptions": "styleOptions"; }, {}, never, never, false, never>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { type ChartType, type LineChartProps } from '@sisense/sdk-ui-preact';
|
|
3
|
+
import { type ArgumentsAsObject } from '../utility-types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Line Chart Component
|
|
7
|
+
*/
|
|
8
|
+
export declare class LineChartComponent {
|
|
9
|
+
/**
|
|
10
|
+
* {@inheritDoc @sisense/sdk-ui!LineChartProps.dataSet}
|
|
11
|
+
*
|
|
12
|
+
* @category Data
|
|
13
|
+
*/
|
|
14
|
+
dataSet: LineChartProps['dataSet'];
|
|
15
|
+
/**
|
|
16
|
+
* {@inheritDoc @sisense/sdk-ui!LineChartProps.highlights}
|
|
17
|
+
*
|
|
18
|
+
* @category Data
|
|
19
|
+
*/
|
|
20
|
+
dataOptions: LineChartProps['dataOptions'];
|
|
21
|
+
/**
|
|
22
|
+
* {@inheritDoc @sisense/sdk-ui!LineChartProps.filters}
|
|
23
|
+
*
|
|
24
|
+
* @category Data
|
|
25
|
+
*/
|
|
26
|
+
filters: LineChartProps['filters'];
|
|
27
|
+
/**
|
|
28
|
+
* {@inheritDoc @sisense/sdk-ui!LineChartProps.highlights}
|
|
29
|
+
*
|
|
30
|
+
* @category Data
|
|
31
|
+
*/
|
|
32
|
+
highlights: LineChartProps['highlights'];
|
|
33
|
+
/**
|
|
34
|
+
* {@inheritDoc @sisense/sdk-ui!LineChartProps.styleOptions}
|
|
35
|
+
*
|
|
36
|
+
* @category Chart
|
|
37
|
+
*/
|
|
38
|
+
styleOptions: LineChartProps['styleOptions'];
|
|
39
|
+
/**
|
|
40
|
+
* {@inheritDoc @sisense/sdk-ui!LineChartProps.onBeforeRender}
|
|
41
|
+
*
|
|
42
|
+
* @category Callbacks
|
|
43
|
+
*/
|
|
44
|
+
beforeRender: LineChartProps['onBeforeRender'];
|
|
45
|
+
/**
|
|
46
|
+
* {@inheritDoc @sisense/sdk-ui!LineChartProps.onDataPointClick}
|
|
47
|
+
*
|
|
48
|
+
* @category Callbacks
|
|
49
|
+
*/
|
|
50
|
+
dataPointClick: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined, ["point", "nativeEvent"]>>;
|
|
51
|
+
/**
|
|
52
|
+
* {@inheritDoc @sisense/sdk-ui!LineChartProps.onDataPointContextMenu}
|
|
53
|
+
*
|
|
54
|
+
* @category Callbacks
|
|
55
|
+
*/
|
|
56
|
+
dataPointContextMenu: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined, ["point", "nativeEvent"]>>;
|
|
57
|
+
/**
|
|
58
|
+
* {@inheritDoc @sisense/sdk-ui!LineChartProps.onDataPointsSelected}
|
|
59
|
+
*
|
|
60
|
+
* @category Callbacks
|
|
61
|
+
*/
|
|
62
|
+
dataPointsSelect: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").DataPointsEventHandler | undefined, ["points", "nativeEvent"]>>;
|
|
63
|
+
/** @internal */
|
|
64
|
+
chartType: ChartType;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LineChartComponent, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LineChartComponent, "csdk-line-chart", never, { "dataSet": "dataSet"; "dataOptions": "dataOptions"; "filters": "filters"; "highlights": "highlights"; "styleOptions": "styleOptions"; "beforeRender": "beforeRender"; }, { "dataPointClick": "dataPointClick"; "dataPointContextMenu": "dataPointContextMenu"; "dataPointsSelect": "dataPointsSelect"; }, never, never, false, never>;
|
|
67
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { type ChartType, type PieChartProps } from '@sisense/sdk-ui-preact';
|
|
3
|
+
import { type ArgumentsAsObject } from '../utility-types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Pie Chart Component
|
|
7
|
+
*/
|
|
8
|
+
export declare class PieChartComponent {
|
|
9
|
+
/**
|
|
10
|
+
* {@inheritDoc @sisense/sdk-ui!PieChartProps.dataSet}
|
|
11
|
+
*
|
|
12
|
+
* @category Data
|
|
13
|
+
*/
|
|
14
|
+
dataSet: PieChartProps['dataSet'];
|
|
15
|
+
/**
|
|
16
|
+
* {@inheritDoc @sisense/sdk-ui!PieChartProps.highlights}
|
|
17
|
+
*
|
|
18
|
+
* @category Data
|
|
19
|
+
*/
|
|
20
|
+
dataOptions: PieChartProps['dataOptions'];
|
|
21
|
+
/**
|
|
22
|
+
* {@inheritDoc @sisense/sdk-ui!PieChartProps.filters}
|
|
23
|
+
*
|
|
24
|
+
* @category Data
|
|
25
|
+
*/
|
|
26
|
+
filters: PieChartProps['filters'];
|
|
27
|
+
/**
|
|
28
|
+
* {@inheritDoc @sisense/sdk-ui!PieChartProps.highlights}
|
|
29
|
+
*
|
|
30
|
+
* @category Data
|
|
31
|
+
*/
|
|
32
|
+
highlights: PieChartProps['highlights'];
|
|
33
|
+
/**
|
|
34
|
+
* {@inheritDoc @sisense/sdk-ui!PieChartProps.styleOptions}
|
|
35
|
+
*
|
|
36
|
+
* @category Chart
|
|
37
|
+
*/
|
|
38
|
+
styleOptions: PieChartProps['styleOptions'];
|
|
39
|
+
/**
|
|
40
|
+
* {@inheritDoc @sisense/sdk-ui!PieChartProps.onBeforeRender}
|
|
41
|
+
*
|
|
42
|
+
* @category Callbacks
|
|
43
|
+
*/
|
|
44
|
+
beforeRender: PieChartProps['onBeforeRender'];
|
|
45
|
+
/**
|
|
46
|
+
* {@inheritDoc @sisense/sdk-ui!PieChartProps.onDataPointClick}
|
|
47
|
+
*
|
|
48
|
+
* @category Callbacks
|
|
49
|
+
*/
|
|
50
|
+
dataPointClick: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined, ["point", "nativeEvent"]>>;
|
|
51
|
+
/**
|
|
52
|
+
* {@inheritDoc @sisense/sdk-ui!PieChartProps.onDataPointContextMenu}
|
|
53
|
+
*
|
|
54
|
+
* @category Callbacks
|
|
55
|
+
*/
|
|
56
|
+
dataPointContextMenu: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined, ["point", "nativeEvent"]>>;
|
|
57
|
+
/**
|
|
58
|
+
* {@inheritDoc @sisense/sdk-ui!PieChartProps.onDataPointsSelected}
|
|
59
|
+
*
|
|
60
|
+
* @category Callbacks
|
|
61
|
+
*/
|
|
62
|
+
dataPointsSelect: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").DataPointsEventHandler | undefined, ["points", "nativeEvent"]>>;
|
|
63
|
+
/** @internal */
|
|
64
|
+
chartType: ChartType;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PieChartComponent, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PieChartComponent, "csdk-pie-chart", never, { "dataSet": "dataSet"; "dataOptions": "dataOptions"; "filters": "filters"; "highlights": "highlights"; "styleOptions": "styleOptions"; "beforeRender": "beforeRender"; }, { "dataPointClick": "dataPointClick"; "dataPointContextMenu": "dataPointContextMenu"; "dataPointsSelect": "dataPointsSelect"; }, never, never, false, never>;
|
|
67
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { type ChartType, type PolarChartProps } from '@sisense/sdk-ui-preact';
|
|
3
|
+
import { type ArgumentsAsObject } from '../utility-types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Polar Chart Component
|
|
7
|
+
*/
|
|
8
|
+
export declare class PolarChartComponent {
|
|
9
|
+
/**
|
|
10
|
+
* {@inheritDoc @sisense/sdk-ui!PolarChartProps.dataSet}
|
|
11
|
+
*
|
|
12
|
+
* @category Data
|
|
13
|
+
*/
|
|
14
|
+
dataSet: PolarChartProps['dataSet'];
|
|
15
|
+
/**
|
|
16
|
+
* {@inheritDoc @sisense/sdk-ui!PolarChartProps.highlights}
|
|
17
|
+
*
|
|
18
|
+
* @category Data
|
|
19
|
+
*/
|
|
20
|
+
dataOptions: PolarChartProps['dataOptions'];
|
|
21
|
+
/**
|
|
22
|
+
* {@inheritDoc @sisense/sdk-ui!PolarChartProps.filters}
|
|
23
|
+
*
|
|
24
|
+
* @category Data
|
|
25
|
+
*/
|
|
26
|
+
filters: PolarChartProps['filters'];
|
|
27
|
+
/**
|
|
28
|
+
* {@inheritDoc @sisense/sdk-ui!PolarChartProps.highlights}
|
|
29
|
+
*
|
|
30
|
+
* @category Data
|
|
31
|
+
*/
|
|
32
|
+
highlights: PolarChartProps['highlights'];
|
|
33
|
+
/**
|
|
34
|
+
* {@inheritDoc @sisense/sdk-ui!PolarChartProps.styleOptions}
|
|
35
|
+
*
|
|
36
|
+
* @category Chart
|
|
37
|
+
*/
|
|
38
|
+
styleOptions: PolarChartProps['styleOptions'];
|
|
39
|
+
/**
|
|
40
|
+
* {@inheritDoc @sisense/sdk-ui!PolarChartProps.onBeforeRender}
|
|
41
|
+
*
|
|
42
|
+
* @category Callbacks
|
|
43
|
+
*/
|
|
44
|
+
beforeRender: PolarChartProps['onBeforeRender'];
|
|
45
|
+
/**
|
|
46
|
+
* {@inheritDoc @sisense/sdk-ui!PolarChartProps.onDataPointClick}
|
|
47
|
+
*
|
|
48
|
+
* @category Callbacks
|
|
49
|
+
*/
|
|
50
|
+
dataPointClick: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined, ["point", "nativeEvent"]>>;
|
|
51
|
+
/**
|
|
52
|
+
* {@inheritDoc @sisense/sdk-ui!PolarChartProps.onDataPointContextMenu}
|
|
53
|
+
*
|
|
54
|
+
* @category Callbacks
|
|
55
|
+
*/
|
|
56
|
+
dataPointContextMenu: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").DataPointEventHandler | undefined, ["point", "nativeEvent"]>>;
|
|
57
|
+
/**
|
|
58
|
+
* {@inheritDoc @sisense/sdk-ui!PolarChartProps.onDataPointsSelected}
|
|
59
|
+
*
|
|
60
|
+
* @category Callbacks
|
|
61
|
+
*/
|
|
62
|
+
dataPointsSelect: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").DataPointsEventHandler | undefined, ["points", "nativeEvent"]>>;
|
|
63
|
+
/** @internal */
|
|
64
|
+
chartType: ChartType;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PolarChartComponent, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PolarChartComponent, "csdk-polar-chart", never, { "dataSet": "dataSet"; "dataOptions": "dataOptions"; "filters": "filters"; "highlights": "highlights"; "styleOptions": "styleOptions"; "beforeRender": "beforeRender"; }, { "dataPointClick": "dataPointClick"; "dataPointContextMenu": "dataPointContextMenu"; "dataPointsSelect": "dataPointsSelect"; }, never, never, false, never>;
|
|
67
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { type ChartType, type ScatterChartProps } from '@sisense/sdk-ui-preact';
|
|
3
|
+
import { type ArgumentsAsObject } from '../utility-types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Scatter Chart Component
|
|
7
|
+
*/
|
|
8
|
+
export declare class ScatterChartComponent {
|
|
9
|
+
/**
|
|
10
|
+
* {@inheritDoc @sisense/sdk-ui!ScatterChartProps.dataSet}
|
|
11
|
+
*
|
|
12
|
+
* @category Data
|
|
13
|
+
*/
|
|
14
|
+
dataSet: ScatterChartProps['dataSet'];
|
|
15
|
+
/**
|
|
16
|
+
* {@inheritDoc @sisense/sdk-ui!ScatterChartProps.highlights}
|
|
17
|
+
*
|
|
18
|
+
* @category Data
|
|
19
|
+
*/
|
|
20
|
+
dataOptions: ScatterChartProps['dataOptions'];
|
|
21
|
+
/**
|
|
22
|
+
* {@inheritDoc @sisense/sdk-ui!ScatterChartProps.filters}
|
|
23
|
+
*
|
|
24
|
+
* @category Data
|
|
25
|
+
*/
|
|
26
|
+
filters: ScatterChartProps['filters'];
|
|
27
|
+
/**
|
|
28
|
+
* {@inheritDoc @sisense/sdk-ui!ScatterChartProps.highlights}
|
|
29
|
+
*
|
|
30
|
+
* @category Data
|
|
31
|
+
*/
|
|
32
|
+
highlights: ScatterChartProps['highlights'];
|
|
33
|
+
/**
|
|
34
|
+
* {@inheritDoc @sisense/sdk-ui!ScatterChartProps.styleOptions}
|
|
35
|
+
*
|
|
36
|
+
* @category Chart
|
|
37
|
+
*/
|
|
38
|
+
styleOptions: ScatterChartProps['styleOptions'];
|
|
39
|
+
/**
|
|
40
|
+
* {@inheritDoc @sisense/sdk-ui!ScatterChartProps.onBeforeRender}
|
|
41
|
+
*
|
|
42
|
+
* @category Callbacks
|
|
43
|
+
*/
|
|
44
|
+
beforeRender: ScatterChartProps['onBeforeRender'];
|
|
45
|
+
/**
|
|
46
|
+
* {@inheritDoc @sisense/sdk-ui!ScatterChartProps.onDataPointClick}
|
|
47
|
+
*
|
|
48
|
+
* @category Callbacks
|
|
49
|
+
*/
|
|
50
|
+
dataPointClick: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | undefined, ["point", "nativeEvent"]>>;
|
|
51
|
+
/**
|
|
52
|
+
* {@inheritDoc @sisense/sdk-ui!ScatterChartProps.onDataPointContextMenu}
|
|
53
|
+
*
|
|
54
|
+
* @category Callbacks
|
|
55
|
+
*/
|
|
56
|
+
dataPointContextMenu: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").ScatterDataPointEventHandler | undefined, ["point", "nativeEvent"]>>;
|
|
57
|
+
/**
|
|
58
|
+
* {@inheritDoc @sisense/sdk-ui!ScatterChartProps.onDataPointsSelected}
|
|
59
|
+
*
|
|
60
|
+
* @category Callbacks
|
|
61
|
+
*/
|
|
62
|
+
dataPointsSelect: EventEmitter<ArgumentsAsObject<import("@sisense/sdk-ui-preact").ScatterDataPointsEventHandler | undefined, ["points", "nativeEvent"]>>;
|
|
63
|
+
/** @internal */
|
|
64
|
+
chartType: ChartType;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScatterChartComponent, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScatterChartComponent, "csdk-scatter-chart", never, { "dataSet": "dataSet"; "dataOptions": "dataOptions"; "filters": "filters"; "highlights": "highlights"; "styleOptions": "styleOptions"; "beforeRender": "beforeRender"; }, { "dataPointClick": "dataPointClick"; "dataPointContextMenu": "dataPointContextMenu"; "dataPointsSelect": "dataPointsSelect"; }, never, never, false, never>;
|
|
67
|
+
}
|