@sisense/sdk-ui-angular 1.15.0 → 1.16.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/line-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/pie-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/polar-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/scatter-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/dashboard/dashboard-by-id.component.mjs +3 -1
- package/dist/esm2020/lib/components/dashboard/dashboard.component.mjs +7 -2
- package/dist/esm2020/lib/components/widgets/dashboard-widget.component.mjs +1 -1
- package/dist/esm2020/lib/components/widgets/drilldown-widget.component.mjs +6 -1
- package/dist/esm2020/lib/services/dashboard.service.mjs +3 -1
- package/dist/esm2020/version.mjs +2 -2
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs +16 -2
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs +16 -2
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/lib/components/charts/line-chart.component.d.ts +1 -1
- package/dist/lib/components/charts/pie-chart.component.d.ts +1 -1
- package/dist/lib/components/charts/polar-chart.component.d.ts +1 -1
- package/dist/lib/components/charts/scatter-chart.component.d.ts +1 -1
- package/dist/lib/components/dashboard/dashboard-by-id.component.d.ts +2 -0
- package/dist/lib/components/dashboard/dashboard.component.d.ts +7 -1
- package/dist/lib/components/widgets/dashboard-widget.component.d.ts +41 -1
- package/dist/lib/components/widgets/drilldown-widget.component.d.ts +15 -0
- package/dist/lib/services/dashboard.service.d.ts +2 -0
- package/dist/lib/services/query.service.d.ts +1 -2
- package/dist/lib/services/theme.service.d.ts +14 -0
- package/dist/package.json +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -6,6 +6,8 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
/**
|
|
7
7
|
* An Angular component used for easily rendering a dashboard by its ID created in a Sisense Fusion instance.
|
|
8
8
|
*
|
|
9
|
+
* **Note:** Dashboard extensions based on JS scripts and add-ons in Fusion are not supported.
|
|
10
|
+
*
|
|
9
11
|
* @example
|
|
10
12
|
* ```html
|
|
11
13
|
* <csdk-dashboard-by-id
|
|
@@ -6,6 +6,8 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
/**
|
|
7
7
|
* An Angular component used for easily rendering a dashboard.
|
|
8
8
|
*
|
|
9
|
+
* **Note:** Dashboard extensions based on JS scripts and add-ons in Fusion are not supported.
|
|
10
|
+
*
|
|
9
11
|
* @example
|
|
10
12
|
* ```html
|
|
11
13
|
* <csdk-dashboard
|
|
@@ -82,6 +84,10 @@ export declare class DashboardComponent implements AfterViewInit, OnChanges, OnD
|
|
|
82
84
|
* {@inheritDoc @sisense/sdk-ui!DashboardProps.widgetFilterOptions}
|
|
83
85
|
*/
|
|
84
86
|
widgetFilterOptions: DashboardProps['widgetFilterOptions'];
|
|
87
|
+
/**
|
|
88
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardProps.styleOptions}
|
|
89
|
+
*/
|
|
90
|
+
styleOptions: DashboardProps['styleOptions'];
|
|
85
91
|
private componentAdapter;
|
|
86
92
|
/**
|
|
87
93
|
* Constructor for the `Dashboard` component.
|
|
@@ -116,5 +122,5 @@ export declare class DashboardComponent implements AfterViewInit, OnChanges, OnD
|
|
|
116
122
|
*/
|
|
117
123
|
ngOnDestroy(): void;
|
|
118
124
|
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardComponent, never>;
|
|
119
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardComponent, "csdk-dashboard", never, { "title": "title"; "layout": "layout"; "widgets": "widgets"; "filters": "filters"; "defaultDataSource": "defaultDataSource"; "widgetFilterOptions": "widgetFilterOptions"; }, {}, never, never, false, never>;
|
|
125
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardComponent, "csdk-dashboard", never, { "title": "title"; "layout": "layout"; "widgets": "widgets"; "filters": "filters"; "defaultDataSource": "defaultDataSource"; "widgetFilterOptions": "widgetFilterOptions"; "styleOptions": "styleOptions"; }, {}, never, never, false, never>;
|
|
120
126
|
}
|
|
@@ -41,18 +41,53 @@ export declare class DashboardWidgetComponent implements AfterViewInit, OnChange
|
|
|
41
41
|
private themeService;
|
|
42
42
|
/** @internal */
|
|
43
43
|
preactRef: ElementRef<HTMLDivElement>;
|
|
44
|
+
/**
|
|
45
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardWidgetProps.widgetOid}
|
|
46
|
+
*
|
|
47
|
+
* @category Widget
|
|
48
|
+
*/
|
|
44
49
|
widgetOid: DashboardWidgetProps['widgetOid'];
|
|
50
|
+
/**
|
|
51
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardWidgetProps.dashboardOid}
|
|
52
|
+
*
|
|
53
|
+
* @category Widget
|
|
54
|
+
*/
|
|
45
55
|
dashboardOid: DashboardWidgetProps['dashboardOid'];
|
|
46
56
|
/**
|
|
47
|
-
* {@inheritDoc @sisense/sdk-ui!
|
|
57
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardWidgetProps.filters}
|
|
48
58
|
*
|
|
49
59
|
* @category Data
|
|
50
60
|
*/
|
|
51
61
|
filters: DashboardWidgetProps['filters'];
|
|
62
|
+
/**
|
|
63
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardWidgetProps.highlights}
|
|
64
|
+
*
|
|
65
|
+
* @category Data
|
|
66
|
+
*/
|
|
52
67
|
highlights: DashboardWidgetProps['highlights'];
|
|
68
|
+
/**
|
|
69
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardWidgetProps.filtersMergeStrategy}
|
|
70
|
+
*
|
|
71
|
+
* @category Data
|
|
72
|
+
*/
|
|
53
73
|
filtersMergeStrategy: DashboardWidgetProps['filtersMergeStrategy'];
|
|
74
|
+
/**
|
|
75
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardWidgetProps.includeDashboardFilters}
|
|
76
|
+
*
|
|
77
|
+
* @category Data
|
|
78
|
+
*/
|
|
54
79
|
includeDashboardFilters: DashboardWidgetProps['includeDashboardFilters'];
|
|
80
|
+
/**
|
|
81
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardWidgetProps.title}
|
|
82
|
+
*
|
|
83
|
+
* @category Widget
|
|
84
|
+
*/
|
|
55
85
|
title: DashboardWidgetProps['title'];
|
|
86
|
+
/**
|
|
87
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardWidgetProps.description}
|
|
88
|
+
*
|
|
89
|
+
* @category Widget
|
|
90
|
+
*/
|
|
56
91
|
description: DashboardWidgetProps['description'];
|
|
57
92
|
/**
|
|
58
93
|
* {@inheritDoc @sisense/sdk-ui!DashboardWidgetProps.styleOptions}
|
|
@@ -60,6 +95,11 @@ export declare class DashboardWidgetComponent implements AfterViewInit, OnChange
|
|
|
60
95
|
* @category Widget
|
|
61
96
|
*/
|
|
62
97
|
styleOptions: DashboardWidgetProps['styleOptions'];
|
|
98
|
+
/**
|
|
99
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardWidgetProps.highlightSelectionDisabled}
|
|
100
|
+
*
|
|
101
|
+
* @category Widget
|
|
102
|
+
*/
|
|
63
103
|
highlightSelectionDisabled: DashboardWidgetProps['highlightSelectionDisabled'];
|
|
64
104
|
/** @internal */
|
|
65
105
|
drilldownOptions: DashboardWidgetProps['drilldownOptions'];
|
|
@@ -100,16 +100,31 @@ export declare class DrilldownWidgetComponent implements AfterViewInit, OnChange
|
|
|
100
100
|
preactContentRef: ElementRef<HTMLDivElement>;
|
|
101
101
|
/**
|
|
102
102
|
* {@inheritDoc @sisense/sdk-ui!DrilldownWidgetProps.drilldownDimensions}
|
|
103
|
+
*
|
|
104
|
+
* @category Widget
|
|
105
|
+
*
|
|
103
106
|
*/
|
|
104
107
|
drilldownDimensions: DrilldownWidgetProps['drilldownDimensions'];
|
|
105
108
|
/**
|
|
106
109
|
* {@inheritDoc @sisense/sdk-ui!DrilldownWidgetProps.initialDimension}
|
|
110
|
+
*
|
|
111
|
+
* @category Widget
|
|
107
112
|
*/
|
|
108
113
|
initialDimension: DrilldownWidgetProps['initialDimension'];
|
|
114
|
+
/**
|
|
115
|
+
* {@inheritDoc @sisense/sdk-ui!DrilldownWidgetProps.config}
|
|
116
|
+
*
|
|
117
|
+
* @category Widget
|
|
118
|
+
*/
|
|
109
119
|
config?: Omit<DrilldownWidgetProps['config'], 'breadcrumbsComponent | contextMenuComponent'> & {
|
|
110
120
|
breadcrumbsComponent?: (drilldownBreadcrumbsProps: DrilldownBreadcrumbsProps) => HTMLDivElement;
|
|
111
121
|
contextMenuComponent?: (contextMenuProps: ContextMenuProps) => HTMLDivElement;
|
|
112
122
|
};
|
|
123
|
+
/**
|
|
124
|
+
* Drilldown result change handler callback
|
|
125
|
+
*
|
|
126
|
+
* @category Callbacks
|
|
127
|
+
*/
|
|
113
128
|
drilldownResultChange: EventEmitter<CustomDrilldownResult>;
|
|
114
129
|
private componentAdapter;
|
|
115
130
|
/**
|
|
@@ -40,8 +40,7 @@ export declare class QueryService {
|
|
|
40
40
|
*/
|
|
41
41
|
executeQueryByWidgetId(params: ExecuteQueryByWidgetIdParams): Promise<{
|
|
42
42
|
data: import("@sisense/sdk-data").QueryResultData;
|
|
43
|
-
|
|
44
|
-
}>;
|
|
43
|
+
} & import("@sisense/sdk-ui-preact").QueryByWidgetIdQueryParams>;
|
|
45
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<QueryService, never>;
|
|
46
45
|
static ɵprov: i0.ɵɵInjectableDeclaration<QueryService>;
|
|
47
46
|
}
|
|
@@ -74,6 +74,20 @@ export declare class ThemeService {
|
|
|
74
74
|
primaryButtonTextColor: string;
|
|
75
75
|
primaryButtonHoverColor: string;
|
|
76
76
|
};
|
|
77
|
+
widget: {
|
|
78
|
+
spaceAround: import("@sisense/sdk-ui-preact").SpaceSizes;
|
|
79
|
+
cornerRadius: import("@sisense/sdk-ui-preact").RadiusSizes;
|
|
80
|
+
shadow: import("@sisense/sdk-ui-preact").ShadowsTypes;
|
|
81
|
+
border: boolean;
|
|
82
|
+
borderColor: string;
|
|
83
|
+
header: {
|
|
84
|
+
titleTextColor: string;
|
|
85
|
+
titleAlignment: import("@sisense/sdk-ui-preact").AlignmentTypes;
|
|
86
|
+
dividerLine: boolean;
|
|
87
|
+
dividerLineColor: string;
|
|
88
|
+
backgroundColor: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
77
91
|
aiChat: {
|
|
78
92
|
backgroundColor: string;
|
|
79
93
|
primaryTextColor: string;
|
package/dist/package.json
CHANGED
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "1.
|
|
1
|
+
declare const _default: "1.16.0";
|
|
2
2
|
export default _default;
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"Sisense",
|
|
12
12
|
"Compose SDK"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.16.0",
|
|
15
15
|
"author": "Sisense",
|
|
16
16
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
17
17
|
"main": "dist",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"@angular/core": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@sisense/sdk-data": "^1.
|
|
49
|
-
"@sisense/sdk-tracking": "^1.
|
|
50
|
-
"@sisense/sdk-ui-preact": "^1.
|
|
48
|
+
"@sisense/sdk-data": "^1.16.0",
|
|
49
|
+
"@sisense/sdk-tracking": "^1.16.0",
|
|
50
|
+
"@sisense/sdk-ui-preact": "^1.16.0",
|
|
51
51
|
"rxjs": "^7.8.1",
|
|
52
52
|
"ts-deepmerge": "^6.2.0",
|
|
53
53
|
"tslib": "^2.3.0"
|