@sisense/sdk-ui-angular 0.13.0 → 0.14.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/area-chart.component.mjs +4 -2
- package/dist/esm2020/lib/components/bar-chart.component.mjs +4 -2
- package/dist/esm2020/lib/components/chart-widget.component.mjs +6 -3
- package/dist/esm2020/lib/components/column-chart.component.mjs +4 -2
- package/dist/esm2020/lib/components/dashboard-widget.component.mjs +3 -2
- package/dist/esm2020/lib/components/funnel-chart.component.mjs +3 -2
- package/dist/esm2020/lib/components/indicator-chart.component.mjs +3 -2
- package/dist/esm2020/lib/components/line-chart.component.mjs +3 -2
- package/dist/esm2020/lib/components/pie-chart.component.mjs +4 -2
- package/dist/esm2020/lib/components/polar-chart.component.mjs +3 -2
- package/dist/esm2020/lib/components/scatter-chart.component.mjs +10 -2
- package/dist/esm2020/lib/components/table-widget.component.mjs +2 -2
- package/dist/esm2020/lib/components/table.component.mjs +2 -2
- package/dist/esm2020/lib/components/treemap-chart.component.mjs +4 -2
- package/dist/esm2020/lib/services/query.service.mjs +13 -1
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs +53 -15
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs +53 -15
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/lib/components/area-chart.component.d.ts +3 -1
- package/dist/lib/components/bar-chart.component.d.ts +3 -1
- package/dist/lib/components/chart-widget.component.d.ts +47 -5
- package/dist/lib/components/column-chart.component.d.ts +9 -2
- package/dist/lib/components/dashboard-widget.component.d.ts +2 -1
- package/dist/lib/components/funnel-chart.component.d.ts +2 -1
- package/dist/lib/components/indicator-chart.component.d.ts +2 -1
- package/dist/lib/components/line-chart.component.d.ts +2 -1
- package/dist/lib/components/pie-chart.component.d.ts +3 -1
- package/dist/lib/components/polar-chart.component.d.ts +2 -1
- package/dist/lib/components/scatter-chart.component.d.ts +9 -1
- package/dist/lib/components/table-widget.component.d.ts +29 -3
- package/dist/lib/components/table.component.d.ts +5 -5
- package/dist/lib/components/treemap-chart.component.d.ts +3 -1
- package/dist/lib/services/query.service.d.ts +12 -0
- package/dist/package.json +1 -1
- package/package.json +3 -3
|
@@ -3,7 +3,9 @@ import { type ChartType, type ColumnChartProps } from '@sisense/sdk-ui-preact';
|
|
|
3
3
|
import { type ArgumentsAsObject } from '../utility-types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* A component representing categorical data with vertical rectangular bars
|
|
7
|
+
* whose heights are proportional to the values that they represent.
|
|
8
|
+
* See [Column Chart](https://docs.sisense.com/main/SisenseLinux/column-chart.htm) for more information.
|
|
7
9
|
*/
|
|
8
10
|
export declare class ColumnChartComponent {
|
|
9
11
|
/**
|
|
@@ -24,12 +26,17 @@ export declare class ColumnChartComponent {
|
|
|
24
26
|
* @category Data
|
|
25
27
|
*/
|
|
26
28
|
filters: ColumnChartProps['filters'];
|
|
29
|
+
/**
|
|
30
|
+
* {@inheritDoc @sisense/sdk-ui!ColumnChartProps.highlights}
|
|
31
|
+
*
|
|
32
|
+
* @category Data
|
|
33
|
+
*/
|
|
34
|
+
highlights: ColumnChartProps['highlights'];
|
|
27
35
|
/**
|
|
28
36
|
* {@inheritDoc @sisense/sdk-ui!ColumnChartProps.styleOptions}
|
|
29
37
|
*
|
|
30
38
|
* @category Chart
|
|
31
39
|
*/
|
|
32
|
-
highlights: ColumnChartProps['highlights'];
|
|
33
40
|
styleOptions: ColumnChartProps['styleOptions'];
|
|
34
41
|
/**
|
|
35
42
|
* {@inheritDoc @sisense/sdk-ui!ColumnChartProps.onBeforeRender}
|
|
@@ -4,7 +4,8 @@ import { SisenseContextService } from '../services/sisense-context.service';
|
|
|
4
4
|
import { ThemeService } from '../services/theme.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
|
-
* Dashboard Widget
|
|
7
|
+
* The Dashboard Widget component, which is a thin wrapper on {@link ChartWidgetComponent},
|
|
8
|
+
* used to render a widget created in the Sisense instance.
|
|
8
9
|
*/
|
|
9
10
|
export declare class DashboardWidgetComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
10
11
|
private sisenseContextService;
|
|
@@ -3,7 +3,8 @@ import { type ChartType, type FunnelChartProps } from '@sisense/sdk-ui-preact';
|
|
|
3
3
|
import { type ArgumentsAsObject } from '../utility-types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* A component representing data progressively decreasing in size or quantity through a funnel shape.
|
|
7
|
+
* See [Funnel Chart](https://docs.sisense.com/main/SisenseLinux/funnel-chart.htm) for more information.
|
|
7
8
|
*/
|
|
8
9
|
export declare class FunnelChartComponent {
|
|
9
10
|
/**
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { type ChartType, type IndicatorChartProps } from '@sisense/sdk-ui-preact';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* A component that provides various options for displaying one or two numeric values as a number, gauge or ticker.
|
|
5
|
+
* See [Indicator](https://docs.sisense.com/main/SisenseLinux/indicator.htm) for more information.
|
|
5
6
|
*/
|
|
6
7
|
export declare class IndicatorChartComponent {
|
|
7
8
|
/**
|
|
@@ -3,7 +3,8 @@ import { type ChartType, type LineChartProps } from '@sisense/sdk-ui-preact';
|
|
|
3
3
|
import { type ArgumentsAsObject } from '../utility-types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* A component displaying data as a series of points connected by a line. Used to show trends or changes over time.
|
|
7
|
+
* See [Line Chart](https://docs.sisense.com/main/SisenseLinux/line-chart.htm) for more information.
|
|
7
8
|
*/
|
|
8
9
|
export declare class LineChartComponent {
|
|
9
10
|
/**
|
|
@@ -3,7 +3,9 @@ import { type ChartType, type PieChartProps } from '@sisense/sdk-ui-preact';
|
|
|
3
3
|
import { type ArgumentsAsObject } from '../utility-types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* A component representing data in a circular graph with the data shown as slices of a whole,
|
|
7
|
+
* with each slice representing a proportion of the total.
|
|
8
|
+
* See [Pie Chart](https://docs.sisense.com/main/SisenseLinux/pie-chart.htm) for more information.
|
|
7
9
|
*/
|
|
8
10
|
export declare class PieChartComponent {
|
|
9
11
|
/**
|
|
@@ -3,7 +3,8 @@ import { type ChartType, type PolarChartProps } from '@sisense/sdk-ui-preact';
|
|
|
3
3
|
import { type ArgumentsAsObject } from '../utility-types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* A component comparing multiple categories/variables with a spacial perspective in a radial chart.
|
|
7
|
+
* See [Polar Chart](https://docs.sisense.com/main/SisenseLinux/polar-chart.htm) for more information.
|
|
7
8
|
*/
|
|
8
9
|
export declare class PolarChartComponent {
|
|
9
10
|
/**
|
|
@@ -3,7 +3,15 @@ import { type ChartType, type ScatterChartProps } from '@sisense/sdk-ui-preact';
|
|
|
3
3
|
import { type ArgumentsAsObject } from '../utility-types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* A component displaying the distribution of two variables on an X-Axis, Y-Axis,
|
|
7
|
+
* and two additional fields of data that are shown as colored circles scattered across the chart.
|
|
8
|
+
*
|
|
9
|
+
* **Point**: A field that for each of its members a scatter point is drawn. The maximum amount of data points is 500.
|
|
10
|
+
*
|
|
11
|
+
* **Size**: An optional field represented by the size of the circles.
|
|
12
|
+
* If omitted, all scatter points are equal in size. If used, the circle sizes are relative to their values.
|
|
13
|
+
*
|
|
14
|
+
* See [Scatter Chart](https://docs.sisense.com/main/SisenseLinux/scatter-chart.htm) for more information.
|
|
7
15
|
*/
|
|
8
16
|
export declare class ScatterChartComponent {
|
|
9
17
|
/**
|
|
@@ -4,30 +4,56 @@ import { SisenseContextService } from '../services/sisense-context.service';
|
|
|
4
4
|
import { ThemeService } from '../services/theme.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
|
-
* Table Widget
|
|
7
|
+
* The Table Widget component extending {@link TableComponent} component to support widget style options.
|
|
8
8
|
*
|
|
9
9
|
* @internal
|
|
10
10
|
*/
|
|
11
11
|
export declare class TableWidgetComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
12
12
|
private sisenseContextService;
|
|
13
13
|
private themeService;
|
|
14
|
+
/** @internal */
|
|
14
15
|
preactRef: ElementRef<HTMLDivElement>;
|
|
16
|
+
/**
|
|
17
|
+
* {@inheritDoc @sisense/sdk-ui!TableWidgetProps.dataSource}
|
|
18
|
+
*
|
|
19
|
+
* @category Data
|
|
20
|
+
*/
|
|
15
21
|
dataSource: TableWidgetProps['dataSource'];
|
|
22
|
+
/**
|
|
23
|
+
* {@inheritDoc @sisense/sdk-ui!TableWidgetProps.dataOptions}
|
|
24
|
+
*
|
|
25
|
+
* @category Data
|
|
26
|
+
*/
|
|
16
27
|
dataOptions: TableWidgetProps['dataOptions'];
|
|
17
28
|
/**
|
|
18
|
-
* {@inheritDoc @sisense/sdk-ui!
|
|
29
|
+
* {@inheritDoc @sisense/sdk-ui!TableWidgetProps.filters}
|
|
19
30
|
*
|
|
20
31
|
* @category Data
|
|
21
32
|
*/
|
|
22
33
|
filters: TableWidgetProps['filters'];
|
|
23
34
|
/**
|
|
24
|
-
* {@inheritDoc @sisense/sdk-ui!
|
|
35
|
+
* {@inheritDoc @sisense/sdk-ui!TableWidgetProps.styleOptions}
|
|
25
36
|
*
|
|
26
37
|
* @category Representation
|
|
27
38
|
*/
|
|
28
39
|
styleOptions: TableWidgetProps['styleOptions'];
|
|
40
|
+
/**
|
|
41
|
+
* {@inheritDoc @sisense/sdk-ui!TableWidgetProps.widgetStyleOptions}
|
|
42
|
+
*
|
|
43
|
+
* @category Representation
|
|
44
|
+
*/
|
|
29
45
|
widgetStyleOptions: TableWidgetProps['widgetStyleOptions'];
|
|
46
|
+
/**
|
|
47
|
+
* {@inheritDoc @sisense/sdk-ui!TableWidgetProps.title}
|
|
48
|
+
*
|
|
49
|
+
* @category Widget
|
|
50
|
+
*/
|
|
30
51
|
title: TableWidgetProps['title'];
|
|
52
|
+
/**
|
|
53
|
+
* {@inheritDoc @sisense/sdk-ui!TableWidgetProps.description}
|
|
54
|
+
*
|
|
55
|
+
* @category Widget
|
|
56
|
+
*/
|
|
31
57
|
description: TableWidgetProps['description'];
|
|
32
58
|
private componentAdapter;
|
|
33
59
|
constructor(sisenseContextService: SisenseContextService, themeService: ThemeService);
|
|
@@ -4,7 +4,7 @@ import { SisenseContextService } from '../services/sisense-context.service';
|
|
|
4
4
|
import { ThemeService } from '../services/theme.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
|
-
* Table
|
|
7
|
+
* Table with aggregation and pagination.
|
|
8
8
|
*/
|
|
9
9
|
export declare class TableComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
10
10
|
private sisenseContextService;
|
|
@@ -12,25 +12,25 @@ export declare class TableComponent implements AfterViewInit, OnChanges, OnDestr
|
|
|
12
12
|
/** @internal */
|
|
13
13
|
preactRef: ElementRef<HTMLDivElement>;
|
|
14
14
|
/**
|
|
15
|
-
* {@inheritDoc @sisense/sdk-ui!
|
|
15
|
+
* {@inheritDoc @sisense/sdk-ui!TableProps.dataSet}
|
|
16
16
|
*
|
|
17
17
|
* @category Data
|
|
18
18
|
*/
|
|
19
19
|
dataSet: TableProps['dataSet'];
|
|
20
20
|
/**
|
|
21
|
-
* {@inheritDoc @sisense/sdk-ui!
|
|
21
|
+
* {@inheritDoc @sisense/sdk-ui!TableProps.dataOptions}
|
|
22
22
|
*
|
|
23
23
|
* @category Data
|
|
24
24
|
*/
|
|
25
25
|
dataOptions: TableProps['dataOptions'];
|
|
26
26
|
/**
|
|
27
|
-
* {@inheritDoc @sisense/sdk-ui!
|
|
27
|
+
* {@inheritDoc @sisense/sdk-ui!TableProps.filters}
|
|
28
28
|
*
|
|
29
29
|
* @category Data
|
|
30
30
|
*/
|
|
31
31
|
filters: TableProps['filters'];
|
|
32
32
|
/**
|
|
33
|
-
* {@inheritDoc @sisense/sdk-ui!
|
|
33
|
+
* {@inheritDoc @sisense/sdk-ui!TableProps.styleOptions}
|
|
34
34
|
*
|
|
35
35
|
* @category Representation
|
|
36
36
|
*/
|
|
@@ -3,7 +3,9 @@ import { type ChartType, type TreemapChartProps } from '@sisense/sdk-ui-preact';
|
|
|
3
3
|
import { type ArgumentsAsObject } from '../utility-types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* A component displaying hierarchical data in the form of nested rectangles.
|
|
7
|
+
* This type of chart can be used instead of a column chart for comparing a large number of categories and sub-categories.
|
|
8
|
+
* See [Treemap Chart](https://docs.sisense.com/main/SisenseLinux/treemap.htm) for more information.
|
|
7
9
|
*/
|
|
8
10
|
export declare class TreemapChartComponent {
|
|
9
11
|
/**
|
|
@@ -4,9 +4,21 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class QueryService {
|
|
5
5
|
private sisenseContextService;
|
|
6
6
|
constructor(sisenseContextService: SisenseContextService);
|
|
7
|
+
/**
|
|
8
|
+
* Executes a data query.
|
|
9
|
+
*
|
|
10
|
+
* @param params - Query parameters
|
|
11
|
+
* return Query result
|
|
12
|
+
*/
|
|
7
13
|
executeQuery(params: ExecuteQueryParams): Promise<{
|
|
8
14
|
data: import("@sisense/sdk-data").QueryResultData;
|
|
9
15
|
}>;
|
|
16
|
+
/**
|
|
17
|
+
* Executes a data query extracted from an existing widget in the Sisense instance.
|
|
18
|
+
*
|
|
19
|
+
* @param params - Parameters to identify the target widget
|
|
20
|
+
* @returns Query result
|
|
21
|
+
*/
|
|
10
22
|
executeQueryByWidgetId(params: ExecuteQueryByWidgetIdParams): Promise<{
|
|
11
23
|
data: import("@sisense/sdk-data").QueryResultData;
|
|
12
24
|
query: ExecuteQueryParams;
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sisense/sdk-ui-angular",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist",
|
|
6
6
|
"module": "./dist",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@angular/core": "^15.0.0 || ^16.0.0"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@sisense/sdk-ui-preact": "^0.
|
|
31
|
+
"@sisense/sdk-ui-preact": "^0.14.0",
|
|
32
32
|
"rxjs": "^7.8.1",
|
|
33
33
|
"ts-deepmerge": "^6.2.0",
|
|
34
34
|
"tslib": "^2.3.0"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@angular/compiler": "^15.2.0",
|
|
41
41
|
"@angular/compiler-cli": "^15.2.0",
|
|
42
42
|
"@angular/core": "^15.2.0",
|
|
43
|
-
"@sisense/sdk-data": "^0.
|
|
43
|
+
"@sisense/sdk-data": "^0.14.0",
|
|
44
44
|
"eslint": "^8.40.0",
|
|
45
45
|
"ng-packagr": "^15.2.2",
|
|
46
46
|
"prettier": "2.8.4",
|