@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 ScatterChartProps } from '@sisense/sdk-ui-preact';
|
|
4
|
-
import {
|
|
3
|
+
import { type ScatterChartProps as ScatterChartPropsPreact } 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 ScatterChartProps extends WithoutPreactChartEventProps<ScatterChartPropsPreact>, RegularChartEventProps {
|
|
8
|
+
}
|
|
6
9
|
/**
|
|
7
10
|
* A component displaying the distribution of two variables on an X-Axis, Y-Axis,
|
|
8
11
|
* and two additional fields of data that are shown as colored circles scattered across the chart.
|
|
@@ -96,32 +99,32 @@ export declare class ScatterChartComponent {
|
|
|
96
99
|
*
|
|
97
100
|
* @category Callbacks
|
|
98
101
|
*/
|
|
99
|
-
beforeRender: ScatterChartProps['
|
|
102
|
+
beforeRender: ScatterChartProps['beforeRender'];
|
|
100
103
|
/**
|
|
101
104
|
* {@inheritDoc @sisense/sdk-ui!ScatterChartProps.onDataReady}
|
|
102
105
|
*
|
|
103
106
|
* @category Callbacks
|
|
104
107
|
* @internal
|
|
105
108
|
*/
|
|
106
|
-
dataReady: ScatterChartProps['
|
|
109
|
+
dataReady: ScatterChartProps['dataReady'];
|
|
107
110
|
/**
|
|
108
111
|
* {@inheritDoc @sisense/sdk-ui!ScatterChartProps.onDataPointClick}
|
|
109
112
|
*
|
|
110
113
|
* @category Callbacks
|
|
111
114
|
*/
|
|
112
|
-
dataPointClick: EventEmitter<
|
|
115
|
+
dataPointClick: EventEmitter<DataPointEvent>;
|
|
113
116
|
/**
|
|
114
117
|
* {@inheritDoc @sisense/sdk-ui!ScatterChartProps.onDataPointContextMenu}
|
|
115
118
|
*
|
|
116
119
|
* @category Callbacks
|
|
117
120
|
*/
|
|
118
|
-
dataPointContextMenu: EventEmitter<
|
|
121
|
+
dataPointContextMenu: EventEmitter<DataPointEvent>;
|
|
119
122
|
/**
|
|
120
123
|
* {@inheritDoc @sisense/sdk-ui!ScatterChartProps.onDataPointsSelected}
|
|
121
124
|
*
|
|
122
125
|
* @category Callbacks
|
|
123
126
|
*/
|
|
124
|
-
dataPointsSelect: EventEmitter<
|
|
127
|
+
dataPointsSelect: EventEmitter<DataPointsEvent>;
|
|
125
128
|
/** @internal */
|
|
126
129
|
chartType: ChartType;
|
|
127
130
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScatterChartComponent, never>;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { type ChartType } from '../../sdk-ui-core-exports';
|
|
3
|
-
import { type ScattermapChartProps } from '@sisense/sdk-ui-preact';
|
|
4
|
-
import {
|
|
3
|
+
import { type ScattermapChartProps as ScattermapChartPropsPreact } from '@sisense/sdk-ui-preact';
|
|
4
|
+
import { BaseChartEventProps, WithoutPreactChartEventProps } from '../../types/chart-event-props';
|
|
5
|
+
import { DataPointEvent, DataPointEventHandler } from '../../types/data-point';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export interface ScattermapChartProps extends WithoutPreactChartEventProps<ScattermapChartPropsPreact>, BaseChartEventProps {
|
|
8
|
+
dataPointClick?: DataPointEventHandler;
|
|
9
|
+
}
|
|
6
10
|
/**
|
|
7
11
|
* An Angular component that allows to visualize geographical data as data points on a map.
|
|
8
12
|
*
|
|
@@ -90,13 +94,13 @@ export declare class ScattermapChartComponent {
|
|
|
90
94
|
* @category Callbacks
|
|
91
95
|
* @internal
|
|
92
96
|
*/
|
|
93
|
-
dataReady: ScattermapChartProps['
|
|
97
|
+
dataReady: ScattermapChartProps['dataReady'];
|
|
94
98
|
/**
|
|
95
99
|
* {@inheritDoc @sisense/sdk-ui!ScattermapChartProps.onDataPointClick}
|
|
96
100
|
*
|
|
97
101
|
* @category Callbacks
|
|
98
102
|
*/
|
|
99
|
-
dataPointClick: EventEmitter<
|
|
103
|
+
dataPointClick: EventEmitter<DataPointEvent>;
|
|
100
104
|
/** @internal */
|
|
101
105
|
chartType: ChartType;
|
|
102
106
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScattermapChartComponent, 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 SunburstChartProps } from '@sisense/sdk-ui-preact';
|
|
4
|
-
import {
|
|
3
|
+
import { type SunburstChartProps as SunburstChartPropsPreact } 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 SunburstChartProps extends WithoutPreactChartEventProps<SunburstChartPropsPreact>, RegularChartEventProps {
|
|
8
|
+
}
|
|
6
9
|
/**
|
|
7
10
|
* A component displaying hierarchical data in the form of nested slices.
|
|
8
11
|
* This type of chart can be used instead of a pie chart for comparing a large number of categories and sub-categories.
|
|
@@ -94,32 +97,32 @@ export declare class SunburstChartComponent {
|
|
|
94
97
|
*
|
|
95
98
|
* @category Callbacks
|
|
96
99
|
*/
|
|
97
|
-
beforeRender: SunburstChartProps['
|
|
100
|
+
beforeRender: SunburstChartProps['beforeRender'];
|
|
98
101
|
/**
|
|
99
102
|
* {@inheritDoc @sisense/sdk-ui!SunburstChartProps.onDataReady}
|
|
100
103
|
*
|
|
101
104
|
* @category Callbacks
|
|
102
105
|
* @internal
|
|
103
106
|
*/
|
|
104
|
-
dataReady: SunburstChartProps['
|
|
107
|
+
dataReady: SunburstChartProps['dataReady'];
|
|
105
108
|
/**
|
|
106
109
|
* {@inheritDoc @sisense/sdk-ui!SunburstChartProps.onDataPointClick}
|
|
107
110
|
*
|
|
108
111
|
* @category Callbacks
|
|
109
112
|
*/
|
|
110
|
-
dataPointClick: EventEmitter<
|
|
113
|
+
dataPointClick: EventEmitter<DataPointEvent>;
|
|
111
114
|
/**
|
|
112
115
|
* {@inheritDoc @sisense/sdk-ui!SunburstChartProps.onDataPointContextMenu}
|
|
113
116
|
*
|
|
114
117
|
* @category Callbacks
|
|
115
118
|
*/
|
|
116
|
-
dataPointContextMenu: EventEmitter<
|
|
119
|
+
dataPointContextMenu: EventEmitter<DataPointEvent>;
|
|
117
120
|
/**
|
|
118
121
|
* {@inheritDoc @sisense/sdk-ui!SunburstChartProps.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<SunburstChartComponent, never>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { type TableProps } from '@sisense/sdk-ui-preact';
|
|
2
|
+
import { type TableProps as TablePropsPreact } from '@sisense/sdk-ui-preact';
|
|
3
3
|
import { SisenseContextService } from '../../services/sisense-context.service';
|
|
4
4
|
import { ThemeService } from '../../services/theme.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
export interface TableProps extends TablePropsPreact {
|
|
7
|
+
}
|
|
6
8
|
/**
|
|
7
9
|
* Table with aggregation 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 TreemapChartProps } from '@sisense/sdk-ui-preact';
|
|
4
|
-
import {
|
|
3
|
+
import { type TreemapChartProps as TreemapChartPropsPreact } 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 TreemapChartProps extends WithoutPreactChartEventProps<TreemapChartPropsPreact>, RegularChartEventProps {
|
|
8
|
+
}
|
|
6
9
|
/**
|
|
7
10
|
* A component displaying hierarchical data in the form of nested rectangles.
|
|
8
11
|
* This type of chart can be used instead of a column chart for comparing a large number of categories and sub-categories.
|
|
@@ -94,32 +97,32 @@ export declare class TreemapChartComponent {
|
|
|
94
97
|
*
|
|
95
98
|
* @category Callbacks
|
|
96
99
|
*/
|
|
97
|
-
beforeRender: TreemapChartProps['
|
|
100
|
+
beforeRender: TreemapChartProps['beforeRender'];
|
|
98
101
|
/**
|
|
99
102
|
* {@inheritDoc @sisense/sdk-ui!TreemapChartProps.onDataReady}
|
|
100
103
|
*
|
|
101
104
|
* @category Callbacks
|
|
102
105
|
* @internal
|
|
103
106
|
*/
|
|
104
|
-
dataReady: TreemapChartProps['
|
|
107
|
+
dataReady: TreemapChartProps['dataReady'];
|
|
105
108
|
/**
|
|
106
109
|
* {@inheritDoc @sisense/sdk-ui!TreemapChartProps.onDataPointClick}
|
|
107
110
|
*
|
|
108
111
|
* @category Callbacks
|
|
109
112
|
*/
|
|
110
|
-
dataPointClick: EventEmitter<
|
|
113
|
+
dataPointClick: EventEmitter<DataPointEvent>;
|
|
111
114
|
/**
|
|
112
115
|
* {@inheritDoc @sisense/sdk-ui!TreemapChartProps.onDataPointContextMenu}
|
|
113
116
|
*
|
|
114
117
|
* @category Callbacks
|
|
115
118
|
*/
|
|
116
|
-
dataPointContextMenu: EventEmitter<
|
|
119
|
+
dataPointContextMenu: EventEmitter<DataPointEvent>;
|
|
117
120
|
/**
|
|
118
121
|
* {@inheritDoc @sisense/sdk-ui!TreemapChartProps.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<TreemapChartComponent, never>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { type DashboardByIdProps } from '@sisense/sdk-ui-preact';
|
|
2
|
+
import { type DashboardByIdProps as DashboardByIdPropsPreact } from '@sisense/sdk-ui-preact';
|
|
3
3
|
import { SisenseContextService } from '../../services/sisense-context.service';
|
|
4
4
|
import { ThemeService } from '../../services/theme.service';
|
|
5
5
|
import { PluginsService } from '../../services/plugins.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export interface DashboardByIdProps extends DashboardByIdPropsPreact {
|
|
8
|
+
}
|
|
7
9
|
/**
|
|
8
10
|
* An Angular component used for easily rendering a dashboard by its ID created in a Sisense Fusion instance.
|
|
9
11
|
*
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { type DashboardProps } from '@sisense/sdk-ui-preact';
|
|
2
|
+
import { type DashboardProps as DashboardPropsPreact } from '@sisense/sdk-ui-preact';
|
|
3
3
|
import { SisenseContextService } from '../../services/sisense-context.service';
|
|
4
4
|
import { ThemeService } from '../../services/theme.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
export interface DashboardProps extends DashboardPropsPreact {
|
|
7
|
+
}
|
|
6
8
|
/**
|
|
7
9
|
* An Angular component used for easily rendering a dashboard created in Sisense Fusion.
|
|
8
10
|
*
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { type DrilldownBreadcrumbsProps } from '@sisense/sdk-ui-preact';
|
|
2
|
+
import { type DrilldownBreadcrumbsProps as DrilldownBreadcrumbsPropsPreact } from '@sisense/sdk-ui-preact';
|
|
3
3
|
import { SisenseContextService } from '../services/sisense-context.service';
|
|
4
4
|
import { ThemeService } from '../services/theme.service';
|
|
5
|
-
import type { ArgumentsAsObject } from '../types/utility-types';
|
|
5
|
+
import type { Arguments, ArgumentsAsObject } from '../types/utility-types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export interface DrilldownBreadcrumbsProps extends Omit<DrilldownBreadcrumbsPropsPreact, 'clearDrilldownSelections'> {
|
|
8
|
+
drilldownSelectionsClear?: () => void;
|
|
9
|
+
drilldownSelectionsSlice?: (event: {
|
|
10
|
+
i: Arguments<DrilldownBreadcrumbsPropsPreact['sliceDrilldownSelections']>[0];
|
|
11
|
+
}) => void;
|
|
12
|
+
}
|
|
7
13
|
/**
|
|
8
14
|
* Drilldown Breadcrumbs Component
|
|
9
15
|
*
|
|
@@ -2,7 +2,7 @@ import { AfterViewInit } from '@angular/core';
|
|
|
2
2
|
import { OnChanges } from '@angular/core';
|
|
3
3
|
import { OnDestroy } from '@angular/core';
|
|
4
4
|
import { ElementRef, EventEmitter } from '@angular/core';
|
|
5
|
-
import { BasicMemberFilterTileProps } from '@sisense/sdk-ui-preact';
|
|
5
|
+
import { type BasicMemberFilterTileProps } from '@sisense/sdk-ui-preact';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Basic Member Filter Tile Component
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { type CriteriaFilterTileProps } from '@sisense/sdk-ui-preact';
|
|
2
|
+
import { type CriteriaFilterTileProps as CriteriaFilterTilePropsPreact } from '@sisense/sdk-ui-preact';
|
|
3
3
|
import { SisenseContextService } from '../../services/sisense-context.service';
|
|
4
4
|
import { ThemeService } from '../../services/theme.service';
|
|
5
|
-
import type { ArgumentsAsObject } from '../../types/utility-types';
|
|
5
|
+
import type { Arguments, ArgumentsAsObject } from '../../types/utility-types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export interface CriteriaFilterTileProps extends Omit<CriteriaFilterTilePropsPreact, 'onUpdate'> {
|
|
8
|
+
filterChange?: (filter: Arguments<CriteriaFilterTilePropsPreact['onUpdate']>[0]) => void;
|
|
9
|
+
}
|
|
7
10
|
/**
|
|
8
11
|
* Criteria Filter Tile Component
|
|
9
12
|
*
|
|
@@ -76,7 +79,7 @@ export declare class CriteriaFilterTileComponent implements AfterViewInit, OnCha
|
|
|
76
79
|
/** @internal */
|
|
77
80
|
tileDesignOptions: CriteriaFilterTileProps['tileDesignOptions'];
|
|
78
81
|
/**
|
|
79
|
-
* {@inheritDoc @sisense/sdk-ui!
|
|
82
|
+
* {@inheritDoc @sisense/sdk-ui!CriteriaFilterTileProps.onUpdate}
|
|
80
83
|
*/
|
|
81
84
|
filterChange: EventEmitter<ArgumentsAsObject<(filter: import("@sisense/sdk-data").Filter | null) => void, ["filter"]>>;
|
|
82
85
|
private componentAdapter;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { type DateRangeFilterTileProps } from '@sisense/sdk-ui-preact';
|
|
2
|
+
import { type DateRangeFilterTileProps as DateRangeFilterTilePropsPreact } from '@sisense/sdk-ui-preact';
|
|
3
3
|
import { SisenseContextService } from '../../services/sisense-context.service';
|
|
4
4
|
import { ThemeService } from '../../services/theme.service';
|
|
5
|
-
import type { ArgumentsAsObject } from '../../types/utility-types';
|
|
5
|
+
import type { Arguments, ArgumentsAsObject } from '../../types/utility-types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export interface DateRangeFilterTileProps extends Omit<DateRangeFilterTilePropsPreact, 'onChange'> {
|
|
8
|
+
filterChange?: (filter: Arguments<DateRangeFilterTilePropsPreact['onChange']>[0]) => void;
|
|
9
|
+
}
|
|
7
10
|
/**
|
|
8
11
|
* Date Range Filter Tile Component
|
|
9
12
|
*
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { type MemberFilterTileProps } from '@sisense/sdk-ui-preact';
|
|
2
|
+
import { type MemberFilterTileProps as MemberFilterTilePropsPreact } from '@sisense/sdk-ui-preact';
|
|
3
3
|
import { SisenseContextService } from '../../services/sisense-context.service';
|
|
4
4
|
import { ThemeService } from '../../services/theme.service';
|
|
5
|
-
import type { ArgumentsAsObject } from '../../types/utility-types';
|
|
5
|
+
import type { Arguments, ArgumentsAsObject } from '../../types/utility-types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export interface MemberFilterTileProps extends Omit<MemberFilterTilePropsPreact, 'onChange'> {
|
|
8
|
+
filterChange?: (filter: Arguments<MemberFilterTilePropsPreact['onChange']>[0]) => void;
|
|
9
|
+
}
|
|
7
10
|
/**
|
|
8
11
|
* Member Filter Tile Component
|
|
9
12
|
*
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { type RelativeDateFilterTileProps } from '@sisense/sdk-ui-preact';
|
|
2
|
+
import { type RelativeDateFilterTileProps as RelativeDateFilterTilePropsPreact } from '@sisense/sdk-ui-preact';
|
|
3
3
|
import { SisenseContextService } from '../../services/sisense-context.service';
|
|
4
4
|
import { ThemeService } from '../../services/theme.service';
|
|
5
|
-
import type { ArgumentsAsObject } from '../../types/utility-types';
|
|
5
|
+
import type { Arguments, ArgumentsAsObject } from '../../types/utility-types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export interface RelativeDateFilterTileProps extends Omit<RelativeDateFilterTilePropsPreact, 'onUpdate'> {
|
|
8
|
+
filterChange?: (filter: Arguments<RelativeDateFilterTilePropsPreact['onUpdate']>[0]) => void;
|
|
9
|
+
}
|
|
7
10
|
/**
|
|
8
11
|
* Relative Date Filter Tile Component
|
|
9
12
|
*
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { type ChartWidgetProps } from '@sisense/sdk-ui-preact';
|
|
2
|
+
import { type ChartWidgetProps as ChartWidgetPropsPreact } 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 ChartWidgetProps extends WithoutPreactChartEventProps<ChartWidgetPropsPreact>, ChartEventProps {
|
|
9
|
+
}
|
|
7
10
|
/**
|
|
8
11
|
* The Chart Widget component extending {@link ChartComponent} to support widget style options.
|
|
9
12
|
*
|
|
@@ -133,25 +136,25 @@ export declare class ChartWidgetComponent implements AfterViewInit, OnChanges, O
|
|
|
133
136
|
*
|
|
134
137
|
* @category Callbacks
|
|
135
138
|
*/
|
|
136
|
-
beforeRender: ChartWidgetProps['
|
|
139
|
+
beforeRender: ChartWidgetProps['beforeRender'];
|
|
137
140
|
/**
|
|
138
141
|
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointClick}
|
|
139
142
|
*
|
|
140
143
|
* @category Callbacks
|
|
141
144
|
*/
|
|
142
|
-
dataPointClick: EventEmitter<
|
|
145
|
+
dataPointClick: EventEmitter<ChartDataPointEvent>;
|
|
143
146
|
/**
|
|
144
147
|
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointContextMenu}
|
|
145
148
|
*
|
|
146
149
|
* @category Callbacks
|
|
147
150
|
*/
|
|
148
|
-
dataPointContextMenu: EventEmitter<
|
|
151
|
+
dataPointContextMenu: EventEmitter<ChartDataPointEvent>;
|
|
149
152
|
/**
|
|
150
153
|
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointsSelected}
|
|
151
154
|
*
|
|
152
155
|
* @category Callbacks
|
|
153
156
|
*/
|
|
154
|
-
dataPointsSelect: EventEmitter<
|
|
157
|
+
dataPointsSelect: EventEmitter<ChartDataPointsEvent>;
|
|
155
158
|
private componentAdapter;
|
|
156
159
|
constructor(sisenseContextService: SisenseContextService, themeService: ThemeService);
|
|
157
160
|
/** @internal */
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { type TableWidgetProps } from '@sisense/sdk-ui-preact';
|
|
2
|
+
import { type TableWidgetProps as TableWidgetPropsPreact } from '@sisense/sdk-ui-preact';
|
|
3
3
|
import { SisenseContextService } from '../../services/sisense-context.service';
|
|
4
4
|
import { ThemeService } from '../../services/theme.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
export interface TableWidgetProps extends TableWidgetPropsPreact {
|
|
7
|
+
}
|
|
6
8
|
/**
|
|
7
9
|
* The Table Widget component extending {@link TableComponent} component to support widget style options.
|
|
8
10
|
*
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { type WidgetByIdProps } from '@sisense/sdk-ui-preact';
|
|
2
|
+
import { type WidgetByIdProps as WidgetByIdPropsPreact } from '@sisense/sdk-ui-preact';
|
|
3
3
|
import { SisenseContextService } from '../../services/sisense-context.service';
|
|
4
4
|
import { ThemeService } from '../../services/theme.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
export interface WidgetByIdProps extends WidgetByIdPropsPreact {
|
|
7
|
+
}
|
|
6
8
|
/**
|
|
7
9
|
* The `WidgetById` component, which is a thin wrapper on {@link ChartWidgetComponent},
|
|
8
10
|
* is used to render a widget created in a Sisense Fusion instance.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { boxWhiskerProcessResult, widgetModelTranslator, dashboardModelTranslator, dashboardHelpers, } from '@sisense/sdk-ui-preact';
|
|
2
|
-
export type { ChartType, CartesianChartType, CategoricalChartType, ScatterChartType, IndicatorChartType, BoxplotChartType, ScattermapChartType, AreamapChartType, RangeChartType, TableType, AreaSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, BoxplotSubtype, WidgetType, CartesianWidgetType, CategoricalWidgetType, TabularWidgetType, ChartDataOptions, CartesianChartDataOptions, CategoricalChartDataOptions, ScatterChartDataOptions, IndicatorChartDataOptions, BoxplotChartDataOptions, BoxplotChartCustomDataOptions, ScattermapChartDataOptions, AreamapChartDataOptions, TableDataOptions, PivotTableDataOptions, WidgetDataOptions, RangeChartDataOptions, NumberFormatConfig, DecimalScale, DataColorCondition, ConditionalDataColorOptions, DataColorOptions, RangeDataColorOptions, UniformDataColorOptions, ValueToColorMap, MultiColumnValueToColorMap, SortDirection, BoxWhiskerType, ScattermapLocationLevel, StyledColumn, StyledMeasureColumn, PivotRowsSort, ChartStyleOptions, LineStyleOptions, AreaStyleOptions, StackableStyleOptions, PieStyleOptions, FunnelStyleOptions, PolarStyleOptions, IndicatorStyleOptions, NumericSimpleIndicatorStyleOptions, NumericBarIndicatorStyleOptions, GaugeIndicatorStyleOptions, ScatterStyleOptions, TreemapStyleOptions, SunburstStyleOptions, BoxplotStyleOptions, ScattermapStyleOptions, AreamapStyleOptions, ChartWidgetStyleOptions, WidgetStyleOptions, DashboardWidgetStyleOptions, WidgetByIdStyleOptions, TableStyleOptions, PivotTableStyleOptions, PivotTableWidgetStyleOptions, AreaRangeStyleOptions, DataLimits, Legend, Markers, Labels, IndicatorComponents, ScatterMarkerSize, LineWidth, AxisLabel, Convolution, SeriesLabels, X2Title, ScattermapMarkers, WidgetModel, DashboardModel, HierarchyModel, BeforeRenderHandler, DataPoint, ScatterDataPoint, HighchartsOptions, BoxplotDataPoint, IndicatorBeforeRenderHandler, IndicatorRenderOptions,
|
|
2
|
+
export type { ChartType, CartesianChartType, CategoricalChartType, ScatterChartType, IndicatorChartType, BoxplotChartType, ScattermapChartType, AreamapChartType, RangeChartType, TableType, AreaSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, BoxplotSubtype, WidgetType, CartesianWidgetType, CategoricalWidgetType, TabularWidgetType, ChartDataOptions, CartesianChartDataOptions, CategoricalChartDataOptions, ScatterChartDataOptions, IndicatorChartDataOptions, BoxplotChartDataOptions, BoxplotChartCustomDataOptions, ScattermapChartDataOptions, AreamapChartDataOptions, TableDataOptions, PivotTableDataOptions, WidgetDataOptions, RangeChartDataOptions, NumberFormatConfig, DecimalScale, DataColorCondition, ConditionalDataColorOptions, DataColorOptions, RangeDataColorOptions, UniformDataColorOptions, ValueToColorMap, MultiColumnValueToColorMap, SortDirection, BoxWhiskerType, ScattermapLocationLevel, StyledColumn, StyledMeasureColumn, PivotRowsSort, ChartStyleOptions, LineStyleOptions, AreaStyleOptions, StackableStyleOptions, PieStyleOptions, FunnelStyleOptions, PolarStyleOptions, IndicatorStyleOptions, NumericSimpleIndicatorStyleOptions, NumericBarIndicatorStyleOptions, GaugeIndicatorStyleOptions, ScatterStyleOptions, TreemapStyleOptions, SunburstStyleOptions, BoxplotStyleOptions, ScattermapStyleOptions, AreamapStyleOptions, ChartWidgetStyleOptions, WidgetStyleOptions, DashboardWidgetStyleOptions, WidgetByIdStyleOptions, TableStyleOptions, PivotTableStyleOptions, PivotTableWidgetStyleOptions, AreaRangeStyleOptions, DataLimits, Legend, Markers, Labels, IndicatorComponents, ScatterMarkerSize, LineWidth, AxisLabel, Convolution, SeriesLabels, X2Title, ScattermapMarkers, WidgetModel, DashboardModel, HierarchyModel, BeforeRenderHandler, DataPoint, ScatterDataPoint, HighchartsOptions, BoxplotDataPoint, IndicatorBeforeRenderHandler, IndicatorRenderOptions, DashboardLayoutOptions, DashboardConfig, WidgetsPanelLayout, WidgetsPanelColumnLayout, WidgetId, WidgetsOptions, AppConfig, DateConfig, MenuItemSection, MonthOfYear, DayOfWeek, DateLevel, ThemeOid, GetDashboardModelOptions, GetDashboardModelsOptions, SeriesChartType, MenuPosition, ThemeSettings, Color, ColorPaletteTheme, Navigator, DrilldownOptions, DrilldownSelection, CriteriaFilterType, Member, FilterVariant, Hierarchy, CommonWidgetProps, WidgetProps, } from '@sisense/sdk-ui-preact';
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import type { Data } from '@sisense/sdk-data';
|
|
2
|
+
import type { BeforeRenderHandler, IndicatorBeforeRenderHandler } from '@sisense/sdk-ui-preact';
|
|
3
|
+
import type { AreamapDataPointEventHandler, BoxplotDataPointEventHandler, DataPointEventHandler, DataPointsEventHandler, ScatterDataPointEventHandler, ScatterDataPointsEventHandler, ScattermapDataPointEventHandler } from './data-point';
|
|
4
|
+
export interface HighchartsBasedChartEventProps {
|
|
5
|
+
/**
|
|
6
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.onBeforeRender}
|
|
7
|
+
*
|
|
8
|
+
* @category Callbacks
|
|
9
|
+
*/
|
|
10
|
+
beforeRender?: BeforeRenderHandler;
|
|
11
|
+
}
|
|
12
|
+
export interface BaseChartEventProps {
|
|
13
|
+
/**
|
|
14
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataReady}
|
|
15
|
+
*
|
|
16
|
+
* @category Callbacks
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
dataReady?: (data: Data) => Data;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Event props for regular (non-specific) charts which uses DataPoint type
|
|
23
|
+
* to describe data points for events.
|
|
24
|
+
*/
|
|
25
|
+
export interface RegularChartEventProps extends BaseChartEventProps, HighchartsBasedChartEventProps {
|
|
26
|
+
/**
|
|
27
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointClick}
|
|
28
|
+
*
|
|
29
|
+
* @category Callbacks
|
|
30
|
+
*/
|
|
31
|
+
dataPointClick?: DataPointEventHandler;
|
|
32
|
+
/**
|
|
33
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointContextMenu}
|
|
34
|
+
*
|
|
35
|
+
* @category Callbacks
|
|
36
|
+
*/
|
|
37
|
+
dataPointContextMenu?: DataPointEventHandler;
|
|
38
|
+
/**
|
|
39
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointsSelected}
|
|
40
|
+
*
|
|
41
|
+
* @category Callbacks
|
|
42
|
+
*/
|
|
43
|
+
dataPointsSelected?: DataPointsEventHandler;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Event props for Scatter chart which uses ScatterDataPoint type
|
|
47
|
+
* to describe data points for events.
|
|
48
|
+
*/
|
|
49
|
+
export interface ScatterChartEventProps extends BaseChartEventProps, HighchartsBasedChartEventProps {
|
|
50
|
+
/**
|
|
51
|
+
* {@inheritDoc @sisense/sdk-ui!ScatterChartProps.onDataPointClick}
|
|
52
|
+
*
|
|
53
|
+
* @category Callbacks
|
|
54
|
+
*/
|
|
55
|
+
dataPointClick?: ScatterDataPointEventHandler;
|
|
56
|
+
/**
|
|
57
|
+
* {@inheritDoc @sisense/sdk-ui!ScatterChartProps.onDataPointContextMenu}
|
|
58
|
+
*
|
|
59
|
+
* @category Callbacks
|
|
60
|
+
*/
|
|
61
|
+
dataPointContextMenu?: ScatterDataPointEventHandler;
|
|
62
|
+
/**
|
|
63
|
+
* {@inheritDoc @sisense/sdk-ui!ScatterChartProps.onDataPointsSelected}
|
|
64
|
+
*
|
|
65
|
+
* @category Callbacks
|
|
66
|
+
*/
|
|
67
|
+
dataPointsSelected?: ScatterDataPointsEventHandler;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Event props for Areamap chart which uses AreamapDataPoint type
|
|
71
|
+
* to describe data points for events.
|
|
72
|
+
*/
|
|
73
|
+
export interface AreamapChartEventProps {
|
|
74
|
+
/**
|
|
75
|
+
* {@inheritDoc @sisense/sdk-ui!AreamapChartProps.onDataPointClick}
|
|
76
|
+
*
|
|
77
|
+
* @category Callbacks
|
|
78
|
+
*/
|
|
79
|
+
dataPointClick?: AreamapDataPointEventHandler;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Event props for Scattermap chart which uses ScattermapDataPoint type
|
|
83
|
+
* to describe data points for events.
|
|
84
|
+
*/
|
|
85
|
+
export interface ScattermapChartEventProps {
|
|
86
|
+
/**
|
|
87
|
+
* {@inheritDoc @sisense/sdk-ui!ScattermapChartProps.onDataPointClick}
|
|
88
|
+
*
|
|
89
|
+
* @category Callbacks
|
|
90
|
+
*/
|
|
91
|
+
dataPointClick?: ScattermapDataPointEventHandler;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Event props for Boxplot chart which uses BoxplotDataPoint type
|
|
95
|
+
* to describe data points for events.
|
|
96
|
+
*/
|
|
97
|
+
export interface BoxplotChartEventProps extends BaseChartEventProps, HighchartsBasedChartEventProps {
|
|
98
|
+
/**
|
|
99
|
+
* {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.onDataPointClick}
|
|
100
|
+
*
|
|
101
|
+
* @category Callbacks
|
|
102
|
+
*/
|
|
103
|
+
dataPointClick?: BoxplotDataPointEventHandler;
|
|
104
|
+
/**
|
|
105
|
+
* {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.onDataPointContextMenu}
|
|
106
|
+
*
|
|
107
|
+
* @category Callbacks
|
|
108
|
+
*/
|
|
109
|
+
dataPointContextMenu?: BoxplotDataPointEventHandler;
|
|
110
|
+
/**
|
|
111
|
+
* {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.onDataPointsSelected}
|
|
112
|
+
*
|
|
113
|
+
* @category Callbacks
|
|
114
|
+
*/
|
|
115
|
+
dataPointsSelected?: DataPointsEventHandler;
|
|
116
|
+
}
|
|
117
|
+
export interface IndicatorChartEventProps extends BaseChartEventProps {
|
|
118
|
+
/**
|
|
119
|
+
* {@inheritDoc @sisense/sdk-ui!IndicatorChartProps.onBeforeRender}
|
|
120
|
+
*
|
|
121
|
+
* @category Callbacks
|
|
122
|
+
*/
|
|
123
|
+
beforeRender?: IndicatorBeforeRenderHandler;
|
|
124
|
+
}
|
|
125
|
+
export interface ChartEventProps extends BaseChartEventProps {
|
|
126
|
+
/**
|
|
127
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointClick}
|
|
128
|
+
*
|
|
129
|
+
* @category Callbacks
|
|
130
|
+
*/
|
|
131
|
+
dataPointClick?: DataPointEventHandler | ScatterDataPointEventHandler | AreamapDataPointEventHandler | BoxplotDataPointEventHandler | ScattermapDataPointEventHandler;
|
|
132
|
+
/**
|
|
133
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointContextMenu}
|
|
134
|
+
*
|
|
135
|
+
* @category Callbacks
|
|
136
|
+
*/
|
|
137
|
+
dataPointContextMenu?: DataPointEventHandler | ScatterDataPointEventHandler | BoxplotDataPointEventHandler;
|
|
138
|
+
/**
|
|
139
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointsSelected}
|
|
140
|
+
*
|
|
141
|
+
* @category Callbacks
|
|
142
|
+
*/
|
|
143
|
+
dataPointsSelected?: DataPointsEventHandler | ScatterDataPointsEventHandler;
|
|
144
|
+
/**
|
|
145
|
+
* {@inheritDoc @sisense/sdk-ui!ChartProps.onBeforeRender}
|
|
146
|
+
*
|
|
147
|
+
* @category Callbacks
|
|
148
|
+
*/
|
|
149
|
+
beforeRender?: HighchartsBasedChartEventProps['beforeRender'] | IndicatorChartEventProps['beforeRender'];
|
|
150
|
+
}
|
|
151
|
+
export type WithoutPreactChartEventProps<T> = Omit<T, 'onBeforeRender' | 'onDataReady' | 'onDataPointClick' | 'onDataPointContextMenu' | 'onDataPointsSelected'>;
|