@sisense/sdk-ui-angular 1.27.1 → 1.29.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/area-chart.component.mjs +7 -7
- package/dist/esm2020/lib/components/charts/area-range-chart.component.mjs +7 -7
- package/dist/esm2020/lib/components/charts/areamap-chart.component.mjs +3 -3
- package/dist/esm2020/lib/components/charts/bar-chart.component.mjs +7 -7
- package/dist/esm2020/lib/components/charts/boxplot-chart.component.mjs +7 -7
- package/dist/esm2020/lib/components/charts/chart.component.mjs +2 -2
- package/dist/esm2020/lib/components/charts/column-chart.component.mjs +7 -7
- package/dist/esm2020/lib/components/charts/funnel-chart.component.mjs +7 -7
- package/dist/esm2020/lib/components/charts/indicator-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/line-chart.component.mjs +7 -7
- package/dist/esm2020/lib/components/charts/pie-chart.component.mjs +7 -7
- package/dist/esm2020/lib/components/charts/pivot-table.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/polar-chart.component.mjs +7 -7
- package/dist/esm2020/lib/components/charts/scatter-chart.component.mjs +7 -7
- package/dist/esm2020/lib/components/charts/scattermap-chart.component.mjs +3 -3
- package/dist/esm2020/lib/components/charts/sunburst-chart.component.mjs +7 -7
- package/dist/esm2020/lib/components/charts/table.component.mjs +2 -2
- package/dist/esm2020/lib/components/charts/treemap-chart.component.mjs +7 -7
- 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/drilldown-breadcrumbs.component.mjs +1 -1
- package/dist/esm2020/lib/components/filters/basic-member-filter-tile.component.mjs +1 -1
- package/dist/esm2020/lib/components/filters/criteria-filter-tile.component.mjs +2 -2
- package/dist/esm2020/lib/components/filters/date-range-filter-tile.component.mjs +1 -1
- package/dist/esm2020/lib/components/filters/member-filter-tile.component.mjs +1 -1
- package/dist/esm2020/lib/components/filters/relative-date-filter-tile.component.mjs +1 -1
- package/dist/esm2020/lib/components/widgets/chart-widget.component.mjs +1 -1
- package/dist/esm2020/lib/components/widgets/dashboard-widget.component.mjs +2 -1
- package/dist/esm2020/lib/components/widgets/table-widget.component.mjs +1 -1
- package/dist/esm2020/lib/components/widgets/widget-by-id.component.mjs +1 -1
- package/dist/esm2020/lib/sdk-ui-core-exports.mjs +1 -1
- package/dist/esm2020/lib/types/chart-event-props.mjs +2 -0
- package/dist/esm2020/lib/types/data-point.mjs +2 -0
- package/dist/esm2020/lib/types/index.mjs +3 -1
- package/dist/esm2020/public-api.mjs +1 -1
- package/dist/esm2020/version.mjs +2 -2
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs +79 -78
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs +79 -78
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/lib/components/charts/area-chart.component.d.ts +10 -7
- package/dist/lib/components/charts/area-range-chart.component.d.ts +10 -7
- package/dist/lib/components/charts/areamap-chart.component.d.ts +8 -4
- package/dist/lib/components/charts/bar-chart.component.d.ts +10 -7
- package/dist/lib/components/charts/boxplot-chart.component.d.ts +10 -7
- package/dist/lib/components/charts/chart.component.d.ts +10 -7
- package/dist/lib/components/charts/column-chart.component.d.ts +10 -7
- package/dist/lib/components/charts/funnel-chart.component.d.ts +10 -7
- package/dist/lib/components/charts/indicator-chart.component.d.ts +6 -3
- package/dist/lib/components/charts/line-chart.component.d.ts +10 -7
- package/dist/lib/components/charts/pie-chart.component.d.ts +10 -7
- package/dist/lib/components/charts/pivot-table.component.d.ts +3 -1
- package/dist/lib/components/charts/polar-chart.component.d.ts +10 -7
- package/dist/lib/components/charts/scatter-chart.component.d.ts +10 -7
- package/dist/lib/components/charts/scattermap-chart.component.d.ts +8 -4
- package/dist/lib/components/charts/sunburst-chart.component.d.ts +10 -7
- package/dist/lib/components/charts/table.component.d.ts +3 -1
- package/dist/lib/components/charts/treemap-chart.component.d.ts +10 -7
- package/dist/lib/components/dashboard/dashboard-by-id.component.d.ts +3 -1
- package/dist/lib/components/dashboard/dashboard.component.d.ts +3 -1
- package/dist/lib/components/drilldown-breadcrumbs.component.d.ts +8 -2
- package/dist/lib/components/filters/basic-member-filter-tile.component.d.ts +1 -1
- package/dist/lib/components/filters/criteria-filter-tile.component.d.ts +6 -3
- package/dist/lib/components/filters/date-range-filter-tile.component.d.ts +5 -2
- package/dist/lib/components/filters/member-filter-tile.component.d.ts +5 -2
- package/dist/lib/components/filters/relative-date-filter-tile.component.d.ts +5 -2
- package/dist/lib/components/widgets/chart-widget.component.d.ts +9 -6
- package/dist/lib/components/widgets/dashboard-widget.component.d.ts +1 -0
- package/dist/lib/components/widgets/table-widget.component.d.ts +3 -1
- package/dist/lib/components/widgets/widget-by-id.component.d.ts +3 -1
- package/dist/lib/sdk-ui-core-exports.d.ts +1 -1
- package/dist/lib/types/chart-event-props.d.ts +151 -0
- package/dist/lib/types/data-point.d.ts +78 -0
- package/dist/lib/types/index.d.ts +2 -0
- package/dist/package.json +1 -1
- package/dist/public-api.d.ts +1 -0
- package/dist/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { type ChartType } from '../../sdk-ui-core-exports';
|
|
3
|
-
import { type AreaChartProps } from '@sisense/sdk-ui-preact';
|
|
4
|
-
import {
|
|
3
|
+
import { type AreaChartProps as AreaChartPropsPreact } from '@sisense/sdk-ui-preact';
|
|
4
|
+
import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
|
|
5
|
+
import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export interface AreaChartProps extends WithoutPreactChartEventProps<AreaChartPropsPreact>, RegularChartEventProps {
|
|
8
|
+
}
|
|
6
9
|
/**
|
|
7
10
|
* A component similar to a {@link LineChartComponent},
|
|
8
11
|
* but with filled in areas under each line and an option to display them as stacked.
|
|
@@ -94,32 +97,32 @@ export declare class AreaChartComponent {
|
|
|
94
97
|
*
|
|
95
98
|
* @category Callbacks
|
|
96
99
|
*/
|
|
97
|
-
beforeRender: AreaChartProps['
|
|
100
|
+
beforeRender: AreaChartProps['beforeRender'];
|
|
98
101
|
/**
|
|
99
102
|
* {@inheritDoc @sisense/sdk-ui!AreaChartProps.onDataReady}
|
|
100
103
|
*
|
|
101
104
|
* @category Callbacks
|
|
102
105
|
* @internal
|
|
103
106
|
*/
|
|
104
|
-
dataReady: AreaChartProps['
|
|
107
|
+
dataReady: AreaChartProps['dataReady'];
|
|
105
108
|
/**
|
|
106
109
|
* {@inheritDoc @sisense/sdk-ui!AreaChartProps.onDataPointClick}
|
|
107
110
|
*
|
|
108
111
|
* @category Callbacks
|
|
109
112
|
*/
|
|
110
|
-
dataPointClick: EventEmitter<
|
|
113
|
+
dataPointClick: EventEmitter<DataPointEvent>;
|
|
111
114
|
/**
|
|
112
115
|
* {@inheritDoc @sisense/sdk-ui!AreaChartProps.onDataPointContextMenu}
|
|
113
116
|
*
|
|
114
117
|
* @category Callbacks
|
|
115
118
|
*/
|
|
116
|
-
dataPointContextMenu: EventEmitter<
|
|
119
|
+
dataPointContextMenu: EventEmitter<DataPointEvent>;
|
|
117
120
|
/**
|
|
118
121
|
* {@inheritDoc @sisense/sdk-ui!AreaChartProps.onDataPointsSelected}
|
|
119
122
|
*
|
|
120
123
|
* @category Callbacks
|
|
121
124
|
*/
|
|
122
|
-
dataPointsSelect: EventEmitter<
|
|
125
|
+
dataPointsSelect: EventEmitter<DataPointsEvent>;
|
|
123
126
|
/** @internal */
|
|
124
127
|
chartType: ChartType;
|
|
125
128
|
static ɵfac: i0.ɵɵFactoryDeclaration<AreaChartComponent, never>;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { type ChartType } from '../../sdk-ui-core-exports';
|
|
3
|
-
import { type AreaRangeChartProps } from '@sisense/sdk-ui-preact';
|
|
4
|
-
import {
|
|
3
|
+
import { type AreaRangeChartProps as AreaRangeChartPropsPreact } from '@sisense/sdk-ui-preact';
|
|
4
|
+
import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
|
|
5
|
+
import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export interface AreaRangeChartProps extends WithoutPreactChartEventProps<AreaRangeChartPropsPreact>, RegularChartEventProps {
|
|
8
|
+
}
|
|
6
9
|
/**
|
|
7
10
|
* A component that displays a range of data over a given time period or across multiple categories.
|
|
8
11
|
* It is particularly useful for visualizing the minimum and maximum values in a dataset, along with
|
|
@@ -108,32 +111,32 @@ export declare class AreaRangeChartComponent {
|
|
|
108
111
|
*
|
|
109
112
|
* @category Callbacks
|
|
110
113
|
*/
|
|
111
|
-
beforeRender: AreaRangeChartProps['
|
|
114
|
+
beforeRender: AreaRangeChartProps['beforeRender'];
|
|
112
115
|
/**
|
|
113
116
|
* {@inheritDoc @sisense/sdk-ui!AreaRangeChartProps.onDataReady}
|
|
114
117
|
*
|
|
115
118
|
* @category Callbacks
|
|
116
119
|
* @internal
|
|
117
120
|
*/
|
|
118
|
-
dataReady: AreaRangeChartProps['
|
|
121
|
+
dataReady: AreaRangeChartProps['dataReady'];
|
|
119
122
|
/**
|
|
120
123
|
* {@inheritDoc @sisense/sdk-ui!AreaRangeChartProps.onDataPointClick}
|
|
121
124
|
*
|
|
122
125
|
* @category Callbacks
|
|
123
126
|
*/
|
|
124
|
-
dataPointClick: EventEmitter<
|
|
127
|
+
dataPointClick: EventEmitter<DataPointEvent>;
|
|
125
128
|
/**
|
|
126
129
|
* {@inheritDoc @sisense/sdk-ui!AreaRangeChartProps.onDataPointContextMenu}
|
|
127
130
|
*
|
|
128
131
|
* @category Callbacks
|
|
129
132
|
*/
|
|
130
|
-
dataPointContextMenu: EventEmitter<
|
|
133
|
+
dataPointContextMenu: EventEmitter<DataPointEvent>;
|
|
131
134
|
/**
|
|
132
135
|
* {@inheritDoc @sisense/sdk-ui!AreaRangeChartProps.onDataPointsSelected}
|
|
133
136
|
*
|
|
134
137
|
* @category Callbacks
|
|
135
138
|
*/
|
|
136
|
-
dataPointsSelect: EventEmitter<
|
|
139
|
+
dataPointsSelect: EventEmitter<DataPointsEvent>;
|
|
137
140
|
/** @internal */
|
|
138
141
|
chartType: ChartType;
|
|
139
142
|
static ɵfac: i0.ɵɵFactoryDeclaration<AreaRangeChartComponent, never>;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { type ChartType, type AreamapChartProps } from '@sisense/sdk-ui-preact';
|
|
3
|
-
import {
|
|
2
|
+
import { type ChartType, type AreamapChartProps as AreamapChartPropsPreact } from '@sisense/sdk-ui-preact';
|
|
3
|
+
import { BaseChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
|
|
4
|
+
import { DataPointEvent, DataPointEventHandler } from '../../types/data-point';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
export interface AreamapChartProps extends WithoutPreactChartEventProps<AreamapChartPropsPreact>, BaseChartEventProps {
|
|
7
|
+
dataPointClick?: DataPointEventHandler;
|
|
8
|
+
}
|
|
5
9
|
/**
|
|
6
10
|
* An Angular component that allows to visualize geographical data as polygons on a map.
|
|
7
11
|
*
|
|
@@ -83,13 +87,13 @@ export declare class AreamapChartComponent {
|
|
|
83
87
|
* @category Callbacks
|
|
84
88
|
* @internal
|
|
85
89
|
*/
|
|
86
|
-
dataReady: AreamapChartProps['
|
|
90
|
+
dataReady: AreamapChartProps['dataReady'];
|
|
87
91
|
/**
|
|
88
92
|
* {@inheritDoc @sisense/sdk-ui!AreamapChartProps.onDataPointClick}
|
|
89
93
|
*
|
|
90
94
|
* @category Callbacks
|
|
91
95
|
*/
|
|
92
|
-
dataPointClick: EventEmitter<
|
|
96
|
+
dataPointClick: EventEmitter<DataPointEvent>;
|
|
93
97
|
/** @internal */
|
|
94
98
|
chartType: ChartType;
|
|
95
99
|
static ɵfac: i0.ɵɵFactoryDeclaration<AreamapChartComponent, never>;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { type ChartType } from '../../sdk-ui-core-exports';
|
|
3
|
-
import { type BarChartProps } from '@sisense/sdk-ui-preact';
|
|
4
|
-
import {
|
|
3
|
+
import { type BarChartProps as BarChartPropsPreact } from '@sisense/sdk-ui-preact';
|
|
4
|
+
import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
|
|
5
|
+
import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export interface BarChartProps extends WithoutPreactChartEventProps<BarChartPropsPreact>, RegularChartEventProps {
|
|
8
|
+
}
|
|
6
9
|
/**
|
|
7
10
|
* A component representing categorical data with horizontal rectangular bars,
|
|
8
11
|
* whose lengths are proportional to the values that they represent.
|
|
@@ -95,32 +98,32 @@ export declare class BarChartComponent {
|
|
|
95
98
|
*
|
|
96
99
|
* @category Callbacks
|
|
97
100
|
*/
|
|
98
|
-
beforeRender: BarChartProps['
|
|
101
|
+
beforeRender: BarChartProps['beforeRender'];
|
|
99
102
|
/**
|
|
100
103
|
* {@inheritDoc @sisense/sdk-ui!BarChartProps.onDataReady}
|
|
101
104
|
*
|
|
102
105
|
* @category Callbacks
|
|
103
106
|
* @internal
|
|
104
107
|
*/
|
|
105
|
-
dataReady: BarChartProps['
|
|
108
|
+
dataReady: BarChartProps['dataReady'];
|
|
106
109
|
/**
|
|
107
110
|
* {@inheritDoc @sisense/sdk-ui!BarChartProps.onDataPointClick}
|
|
108
111
|
*
|
|
109
112
|
* @category Callbacks
|
|
110
113
|
*/
|
|
111
|
-
dataPointClick: EventEmitter<
|
|
114
|
+
dataPointClick: EventEmitter<DataPointEvent>;
|
|
112
115
|
/**
|
|
113
116
|
* {@inheritDoc @sisense/sdk-ui!BarChartProps.onDataPointContextMenu}
|
|
114
117
|
*
|
|
115
118
|
* @category Callbacks
|
|
116
119
|
*/
|
|
117
|
-
dataPointContextMenu: EventEmitter<
|
|
120
|
+
dataPointContextMenu: EventEmitter<DataPointEvent>;
|
|
118
121
|
/**
|
|
119
122
|
* {@inheritDoc @sisense/sdk-ui!BarChartProps.onDataPointsSelected}
|
|
120
123
|
*
|
|
121
124
|
* @category Callbacks
|
|
122
125
|
*/
|
|
123
|
-
dataPointsSelect: EventEmitter<
|
|
126
|
+
dataPointsSelect: EventEmitter<DataPointsEvent>;
|
|
124
127
|
/** @internal */
|
|
125
128
|
chartType: ChartType;
|
|
126
129
|
static ɵfac: i0.ɵɵFactoryDeclaration<BarChartComponent, never>;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { type ChartType } from '../../sdk-ui-core-exports';
|
|
3
|
-
import { type BoxplotChartProps } from '@sisense/sdk-ui-preact';
|
|
4
|
-
import {
|
|
3
|
+
import { type BoxplotChartProps as BoxplotChartPropsPreact } from '@sisense/sdk-ui-preact';
|
|
4
|
+
import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
|
|
5
|
+
import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export interface BoxplotChartProps extends WithoutPreactChartEventProps<BoxplotChartPropsPreact>, RegularChartEventProps {
|
|
8
|
+
}
|
|
6
9
|
/**
|
|
7
10
|
* An Angular component representing data in a way that visually describes the distribution
|
|
8
11
|
* variability, and center of a data set along an axis.
|
|
@@ -88,32 +91,32 @@ export declare class BoxplotChartComponent {
|
|
|
88
91
|
*
|
|
89
92
|
* @category Callbacks
|
|
90
93
|
*/
|
|
91
|
-
beforeRender: BoxplotChartProps['
|
|
94
|
+
beforeRender: BoxplotChartProps['beforeRender'];
|
|
92
95
|
/**
|
|
93
96
|
* {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.onDataReady}
|
|
94
97
|
*
|
|
95
98
|
* @category Callbacks
|
|
96
99
|
* @internal
|
|
97
100
|
*/
|
|
98
|
-
dataReady: BoxplotChartProps['
|
|
101
|
+
dataReady: BoxplotChartProps['dataReady'];
|
|
99
102
|
/**
|
|
100
103
|
* {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.onDataPointClick}
|
|
101
104
|
*
|
|
102
105
|
* @category Callbacks
|
|
103
106
|
*/
|
|
104
|
-
dataPointClick: EventEmitter<
|
|
107
|
+
dataPointClick: EventEmitter<DataPointEvent>;
|
|
105
108
|
/**
|
|
106
109
|
* {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.onDataPointContextMenu}
|
|
107
110
|
*
|
|
108
111
|
* @category Callbacks
|
|
109
112
|
*/
|
|
110
|
-
dataPointContextMenu: EventEmitter<
|
|
113
|
+
dataPointContextMenu: EventEmitter<DataPointEvent>;
|
|
111
114
|
/**
|
|
112
115
|
* {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.onDataPointsSelected}
|
|
113
116
|
*
|
|
114
117
|
* @category Callbacks
|
|
115
118
|
*/
|
|
116
|
-
dataPointsSelect: EventEmitter<
|
|
119
|
+
dataPointsSelect: EventEmitter<DataPointsEvent>;
|
|
117
120
|
/** @internal */
|
|
118
121
|
chartType: ChartType;
|
|
119
122
|
static ɵfac: i0.ɵɵFactoryDeclaration<BoxplotChartComponent, never>;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { type ChartProps } from '@sisense/sdk-ui-preact';
|
|
2
|
+
import { type ChartProps as ChartPropsPreact } from '@sisense/sdk-ui-preact';
|
|
3
3
|
import { SisenseContextService } from '../../services/sisense-context.service';
|
|
4
4
|
import { ThemeService } from '../../services/theme.service';
|
|
5
|
-
import
|
|
5
|
+
import { ChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
|
|
6
|
+
import { ChartDataPointEvent, ChartDataPointsEvent } from '../../types/data-point';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
export interface ChartProps extends WithoutPreactChartEventProps<ChartPropsPreact>, ChartEventProps {
|
|
9
|
+
}
|
|
7
10
|
/**
|
|
8
11
|
* An Angular component used for easily switching chart types or rendering multiple series of different chart types.
|
|
9
12
|
*
|
|
@@ -115,32 +118,32 @@ export declare class ChartComponent implements AfterViewInit, OnChanges, OnDestr
|
|
|
115
118
|
*
|
|
116
119
|
* @category Callbacks
|
|
117
120
|
*/
|
|
118
|
-
beforeRender: ChartProps['
|
|
121
|
+
beforeRender: ChartProps['beforeRender'];
|
|
119
122
|
/**
|
|
120
123
|
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataReady}
|
|
121
124
|
*
|
|
122
125
|
* @category Callbacks
|
|
123
126
|
* @internal
|
|
124
127
|
*/
|
|
125
|
-
dataReady: ChartProps['
|
|
128
|
+
dataReady: ChartProps['dataReady'];
|
|
126
129
|
/**
|
|
127
130
|
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointClick}
|
|
128
131
|
*
|
|
129
132
|
* @category Callbacks
|
|
130
133
|
*/
|
|
131
|
-
dataPointClick: EventEmitter<
|
|
134
|
+
dataPointClick: EventEmitter<ChartDataPointEvent>;
|
|
132
135
|
/**
|
|
133
136
|
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointContextMenu}
|
|
134
137
|
*
|
|
135
138
|
* @category Callbacks
|
|
136
139
|
*/
|
|
137
|
-
dataPointContextMenu: EventEmitter<
|
|
140
|
+
dataPointContextMenu: EventEmitter<ChartDataPointEvent>;
|
|
138
141
|
/**
|
|
139
142
|
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointsSelected}
|
|
140
143
|
*
|
|
141
144
|
* @category Callbacks
|
|
142
145
|
*/
|
|
143
|
-
dataPointsSelect: EventEmitter<
|
|
146
|
+
dataPointsSelect: EventEmitter<ChartDataPointsEvent>;
|
|
144
147
|
private componentAdapter;
|
|
145
148
|
/**
|
|
146
149
|
* Constructor for the `Chart` component.
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { type ChartType } from '../../sdk-ui-core-exports';
|
|
3
|
-
import { type ColumnChartProps } from '@sisense/sdk-ui-preact';
|
|
4
|
-
import {
|
|
3
|
+
import { type ColumnChartProps as ColumnChartPropsPreact } from '@sisense/sdk-ui-preact';
|
|
4
|
+
import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
|
|
5
|
+
import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export interface ColumnChartProps extends WithoutPreactChartEventProps<ColumnChartPropsPreact>, RegularChartEventProps {
|
|
8
|
+
}
|
|
6
9
|
/**
|
|
7
10
|
* A component representing categorical data with vertical rectangular bars
|
|
8
11
|
* whose heights are proportional to the values that they represent.
|
|
@@ -94,32 +97,32 @@ export declare class ColumnChartComponent {
|
|
|
94
97
|
*
|
|
95
98
|
* @category Callbacks
|
|
96
99
|
*/
|
|
97
|
-
beforeRender: ColumnChartProps['
|
|
100
|
+
beforeRender: ColumnChartProps['beforeRender'];
|
|
98
101
|
/**
|
|
99
102
|
* {@inheritDoc @sisense/sdk-ui!ColumnChartProps.onDataReady}
|
|
100
103
|
*
|
|
101
104
|
* @category Callbacks
|
|
102
105
|
* @internal
|
|
103
106
|
*/
|
|
104
|
-
dataReady: ColumnChartProps['
|
|
107
|
+
dataReady: ColumnChartProps['dataReady'];
|
|
105
108
|
/**
|
|
106
109
|
* {@inheritDoc @sisense/sdk-ui!ColumnChartProps.onDataPointClick}
|
|
107
110
|
*
|
|
108
111
|
* @category Callbacks
|
|
109
112
|
*/
|
|
110
|
-
dataPointClick: EventEmitter<
|
|
113
|
+
dataPointClick: EventEmitter<DataPointEvent>;
|
|
111
114
|
/**
|
|
112
115
|
* {@inheritDoc @sisense/sdk-ui!ColumnChartProps.onDataPointContextMenu}
|
|
113
116
|
*
|
|
114
117
|
* @category Callbacks
|
|
115
118
|
*/
|
|
116
|
-
dataPointContextMenu: EventEmitter<
|
|
119
|
+
dataPointContextMenu: EventEmitter<DataPointEvent>;
|
|
117
120
|
/**
|
|
118
121
|
* {@inheritDoc @sisense/sdk-ui!ColumnChartProps.onDataPointsSelected}
|
|
119
122
|
*
|
|
120
123
|
* @category Callbacks
|
|
121
124
|
*/
|
|
122
|
-
dataPointsSelect: EventEmitter<
|
|
125
|
+
dataPointsSelect: EventEmitter<DataPointsEvent>;
|
|
123
126
|
/** @internal */
|
|
124
127
|
chartType: ChartType;
|
|
125
128
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnChartComponent, never>;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { type ChartType } from '../../sdk-ui-core-exports';
|
|
3
|
-
import { type FunnelChartProps } from '@sisense/sdk-ui-preact';
|
|
4
|
-
import {
|
|
3
|
+
import { type FunnelChartProps as FunnelChartPropsPreact } from '@sisense/sdk-ui-preact';
|
|
4
|
+
import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
|
|
5
|
+
import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export interface FunnelChartProps extends WithoutPreactChartEventProps<FunnelChartPropsPreact>, RegularChartEventProps {
|
|
8
|
+
}
|
|
6
9
|
/**
|
|
7
10
|
* A component representing data progressively decreasing in size or quantity through a funnel shape.
|
|
8
11
|
*
|
|
@@ -92,32 +95,32 @@ export declare class FunnelChartComponent {
|
|
|
92
95
|
*
|
|
93
96
|
* @category Callbacks
|
|
94
97
|
*/
|
|
95
|
-
beforeRender: FunnelChartProps['
|
|
98
|
+
beforeRender: FunnelChartProps['beforeRender'];
|
|
96
99
|
/**
|
|
97
100
|
* {@inheritDoc @sisense/sdk-ui!FunnelChartProps.onDataReady}
|
|
98
101
|
*
|
|
99
102
|
* @category Callbacks
|
|
100
103
|
* @internal
|
|
101
104
|
*/
|
|
102
|
-
dataReady: FunnelChartProps['
|
|
105
|
+
dataReady: FunnelChartProps['dataReady'];
|
|
103
106
|
/**
|
|
104
107
|
* {@inheritDoc @sisense/sdk-ui!FunnelChartProps.onDataPointClick}
|
|
105
108
|
*
|
|
106
109
|
* @category Callbacks
|
|
107
110
|
*/
|
|
108
|
-
dataPointClick: EventEmitter<
|
|
111
|
+
dataPointClick: EventEmitter<DataPointEvent>;
|
|
109
112
|
/**
|
|
110
113
|
* {@inheritDoc @sisense/sdk-ui!FunnelChartProps.onDataPointContextMenu}
|
|
111
114
|
*
|
|
112
115
|
* @category Callbacks
|
|
113
116
|
*/
|
|
114
|
-
dataPointContextMenu: EventEmitter<
|
|
117
|
+
dataPointContextMenu: EventEmitter<DataPointEvent>;
|
|
115
118
|
/**
|
|
116
119
|
* {@inheritDoc @sisense/sdk-ui!FunnelChartProps.onDataPointsSelected}
|
|
117
120
|
*
|
|
118
121
|
* @category Callbacks
|
|
119
122
|
*/
|
|
120
|
-
dataPointsSelect: EventEmitter<
|
|
123
|
+
dataPointsSelect: EventEmitter<DataPointsEvent>;
|
|
121
124
|
/** @internal */
|
|
122
125
|
chartType: ChartType;
|
|
123
126
|
static ɵfac: i0.ɵɵFactoryDeclaration<FunnelChartComponent, never>;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { type ChartType } from '../../sdk-ui-core-exports';
|
|
2
|
-
import { type IndicatorChartProps } from '@sisense/sdk-ui-preact';
|
|
2
|
+
import { type IndicatorChartProps as IndicatorChartPropsPreact } from '@sisense/sdk-ui-preact';
|
|
3
|
+
import { BaseChartEventProps, HighchartsBasedChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
export interface IndicatorChartProps extends WithoutPreactChartEventProps<IndicatorChartPropsPreact>, BaseChartEventProps, HighchartsBasedChartEventProps {
|
|
6
|
+
}
|
|
4
7
|
/**
|
|
5
8
|
* A component that provides various options for displaying one or two numeric values as a number, gauge or ticker.
|
|
6
9
|
*
|
|
@@ -96,14 +99,14 @@ export declare class IndicatorChartComponent {
|
|
|
96
99
|
*
|
|
97
100
|
* @category Callbacks
|
|
98
101
|
*/
|
|
99
|
-
beforeRender: IndicatorChartProps['
|
|
102
|
+
beforeRender: IndicatorChartProps['beforeRender'];
|
|
100
103
|
/**
|
|
101
104
|
* {@inheritDoc @sisense/sdk-ui!IndicatorChartProps.onDataReady}
|
|
102
105
|
*
|
|
103
106
|
* @category Callbacks
|
|
104
107
|
* @internal
|
|
105
108
|
*/
|
|
106
|
-
dataReady: IndicatorChartProps['
|
|
109
|
+
dataReady: IndicatorChartProps['dataReady'];
|
|
107
110
|
/** @internal */
|
|
108
111
|
chartType: ChartType;
|
|
109
112
|
static ɵfac: i0.ɵɵFactoryDeclaration<IndicatorChartComponent, never>;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { type ChartType } from '../../sdk-ui-core-exports';
|
|
3
|
-
import { type LineChartProps } from '@sisense/sdk-ui-preact';
|
|
4
|
-
import {
|
|
3
|
+
import { type LineChartProps as LineChartPropsPreact } from '@sisense/sdk-ui-preact';
|
|
4
|
+
import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
|
|
5
|
+
import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export interface LineChartProps extends WithoutPreactChartEventProps<LineChartPropsPreact>, RegularChartEventProps {
|
|
8
|
+
}
|
|
6
9
|
/**
|
|
7
10
|
* A component displaying data as a series of points connected by a line. Used to show trends or changes over time.
|
|
8
11
|
*
|
|
@@ -92,32 +95,32 @@ export declare class LineChartComponent {
|
|
|
92
95
|
*
|
|
93
96
|
* @category Callbacks
|
|
94
97
|
*/
|
|
95
|
-
beforeRender: LineChartProps['
|
|
98
|
+
beforeRender: LineChartProps['beforeRender'];
|
|
96
99
|
/**
|
|
97
100
|
* {@inheritDoc @sisense/sdk-ui!LineChartProps.onDataReady}
|
|
98
101
|
*
|
|
99
102
|
* @category Callbacks
|
|
100
103
|
* @internal
|
|
101
104
|
*/
|
|
102
|
-
dataReady: LineChartProps['
|
|
105
|
+
dataReady: LineChartProps['dataReady'];
|
|
103
106
|
/**
|
|
104
107
|
* {@inheritDoc @sisense/sdk-ui!LineChartProps.onDataPointClick}
|
|
105
108
|
*
|
|
106
109
|
* @category Callbacks
|
|
107
110
|
*/
|
|
108
|
-
dataPointClick: EventEmitter<
|
|
111
|
+
dataPointClick: EventEmitter<DataPointEvent>;
|
|
109
112
|
/**
|
|
110
113
|
* {@inheritDoc @sisense/sdk-ui!LineChartProps.onDataPointContextMenu}
|
|
111
114
|
*
|
|
112
115
|
* @category Callbacks
|
|
113
116
|
*/
|
|
114
|
-
dataPointContextMenu: EventEmitter<
|
|
117
|
+
dataPointContextMenu: EventEmitter<DataPointEvent>;
|
|
115
118
|
/**
|
|
116
119
|
* {@inheritDoc @sisense/sdk-ui!LineChartProps.onDataPointsSelected}
|
|
117
120
|
*
|
|
118
121
|
* @category Callbacks
|
|
119
122
|
*/
|
|
120
|
-
dataPointsSelect: EventEmitter<
|
|
123
|
+
dataPointsSelect: EventEmitter<DataPointsEvent>;
|
|
121
124
|
/** @internal */
|
|
122
125
|
chartType: ChartType;
|
|
123
126
|
static ɵfac: i0.ɵɵFactoryDeclaration<LineChartComponent, never>;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { type ChartType } from '../../sdk-ui-core-exports';
|
|
3
|
-
import { type PieChartProps } from '@sisense/sdk-ui-preact';
|
|
4
|
-
import {
|
|
3
|
+
import { type PieChartProps as PieChartPropsPreact } from '@sisense/sdk-ui-preact';
|
|
4
|
+
import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
|
|
5
|
+
import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export interface PieChartProps extends WithoutPreactChartEventProps<PieChartPropsPreact>, RegularChartEventProps {
|
|
8
|
+
}
|
|
6
9
|
/**
|
|
7
10
|
* A component representing data in a circular graph with the data shown as slices of a whole,
|
|
8
11
|
* with each slice representing a proportion of the total.
|
|
@@ -94,32 +97,32 @@ export declare class PieChartComponent {
|
|
|
94
97
|
*
|
|
95
98
|
* @category Callbacks
|
|
96
99
|
*/
|
|
97
|
-
beforeRender: PieChartProps['
|
|
100
|
+
beforeRender: PieChartProps['beforeRender'];
|
|
98
101
|
/**
|
|
99
102
|
* {@inheritDoc @sisense/sdk-ui!PieChartProps.onDataReady}
|
|
100
103
|
*
|
|
101
104
|
* @category Callbacks
|
|
102
105
|
* @internal
|
|
103
106
|
*/
|
|
104
|
-
dataReady: PieChartProps['
|
|
107
|
+
dataReady: PieChartProps['dataReady'];
|
|
105
108
|
/**
|
|
106
109
|
* {@inheritDoc @sisense/sdk-ui!PieChartProps.onDataPointClick}
|
|
107
110
|
*
|
|
108
111
|
* @category Callbacks
|
|
109
112
|
*/
|
|
110
|
-
dataPointClick: EventEmitter<
|
|
113
|
+
dataPointClick: EventEmitter<DataPointEvent>;
|
|
111
114
|
/**
|
|
112
115
|
* {@inheritDoc @sisense/sdk-ui!PieChartProps.onDataPointContextMenu}
|
|
113
116
|
*
|
|
114
117
|
* @category Callbacks
|
|
115
118
|
*/
|
|
116
|
-
dataPointContextMenu: EventEmitter<
|
|
119
|
+
dataPointContextMenu: EventEmitter<DataPointEvent>;
|
|
117
120
|
/**
|
|
118
121
|
* {@inheritDoc @sisense/sdk-ui!PieChartProps.onDataPointsSelected}
|
|
119
122
|
*
|
|
120
123
|
* @category Callbacks
|
|
121
124
|
*/
|
|
122
|
-
dataPointsSelect: EventEmitter<
|
|
125
|
+
dataPointsSelect: EventEmitter<DataPointsEvent>;
|
|
123
126
|
/** @internal */
|
|
124
127
|
chartType: ChartType;
|
|
125
128
|
static ɵfac: i0.ɵɵFactoryDeclaration<PieChartComponent, never>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { type PivotTableProps } from '@sisense/sdk-ui-preact';
|
|
2
|
+
import { type PivotTableProps as PivotTablePropsPreact } from '@sisense/sdk-ui-preact';
|
|
3
3
|
import { SisenseContextService } from '../../services';
|
|
4
4
|
import { ThemeService } from '../../services';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
export interface PivotTableProps extends PivotTablePropsPreact {
|
|
7
|
+
}
|
|
6
8
|
/**
|
|
7
9
|
* Pivot Table with and pagination.
|
|
8
10
|
*
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { type ChartType } from '../../sdk-ui-core-exports';
|
|
3
|
-
import { type PolarChartProps } from '@sisense/sdk-ui-preact';
|
|
4
|
-
import {
|
|
3
|
+
import { type PolarChartProps as PolarChartPropsPreact } from '@sisense/sdk-ui-preact';
|
|
4
|
+
import { RegularChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
|
|
5
|
+
import { DataPointEvent, DataPointsEvent } from '../../types/data-point';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export interface PolarChartProps extends WithoutPreactChartEventProps<PolarChartPropsPreact>, RegularChartEventProps {
|
|
8
|
+
}
|
|
6
9
|
/**
|
|
7
10
|
* A component comparing multiple categories/variables with a spacial perspective in a radial chart.
|
|
8
11
|
*
|
|
@@ -93,32 +96,32 @@ export declare class PolarChartComponent {
|
|
|
93
96
|
*
|
|
94
97
|
* @category Callbacks
|
|
95
98
|
*/
|
|
96
|
-
beforeRender: PolarChartProps['
|
|
99
|
+
beforeRender: PolarChartProps['beforeRender'];
|
|
97
100
|
/**
|
|
98
101
|
* {@inheritDoc @sisense/sdk-ui!PolarChartProps.onDataReady}
|
|
99
102
|
*
|
|
100
103
|
* @category Callbacks
|
|
101
104
|
* @internal
|
|
102
105
|
*/
|
|
103
|
-
dataReady: PolarChartProps['
|
|
106
|
+
dataReady: PolarChartProps['dataReady'];
|
|
104
107
|
/**
|
|
105
108
|
* {@inheritDoc @sisense/sdk-ui!PolarChartProps.onDataPointClick}
|
|
106
109
|
*
|
|
107
110
|
* @category Callbacks
|
|
108
111
|
*/
|
|
109
|
-
dataPointClick: EventEmitter<
|
|
112
|
+
dataPointClick: EventEmitter<DataPointEvent>;
|
|
110
113
|
/**
|
|
111
114
|
* {@inheritDoc @sisense/sdk-ui!PolarChartProps.onDataPointContextMenu}
|
|
112
115
|
*
|
|
113
116
|
* @category Callbacks
|
|
114
117
|
*/
|
|
115
|
-
dataPointContextMenu: EventEmitter<
|
|
118
|
+
dataPointContextMenu: EventEmitter<DataPointEvent>;
|
|
116
119
|
/**
|
|
117
120
|
* {@inheritDoc @sisense/sdk-ui!PolarChartProps.onDataPointsSelected}
|
|
118
121
|
*
|
|
119
122
|
* @category Callbacks
|
|
120
123
|
*/
|
|
121
|
-
dataPointsSelect: EventEmitter<
|
|
124
|
+
dataPointsSelect: EventEmitter<DataPointsEvent>;
|
|
122
125
|
/** @internal */
|
|
123
126
|
chartType: ChartType;
|
|
124
127
|
static ɵfac: i0.ɵɵFactoryDeclaration<PolarChartComponent, never>;
|