@sisense/sdk-ui-angular 1.12.0 → 1.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/charts/area-range-chart.component.mjs +150 -0
- package/dist/esm2020/lib/components/charts/index.mjs +2 -1
- package/dist/esm2020/lib/components/dashboard/dashboard-by-id.component.mjs +101 -0
- package/dist/esm2020/lib/components/dashboard/dashboard.component.mjs +129 -0
- package/dist/esm2020/lib/components/dashboard/index.mjs +3 -0
- package/dist/esm2020/lib/components/index.mjs +2 -1
- package/dist/esm2020/lib/decorators/trackable.decorator.mjs +2 -2
- package/dist/esm2020/lib/sdk-ui-core-exports.mjs +1 -1
- package/dist/esm2020/lib/sdk-ui.module.mjs +16 -4
- package/dist/esm2020/lib/services/theme.service.mjs +3 -1
- package/dist/esm2020/public-api.mjs +14 -2
- package/dist/esm2020/version.mjs +2 -2
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs +396 -7
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs +396 -7
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/lib/components/charts/area-range-chart.component.d.ts +134 -0
- package/dist/lib/components/charts/index.d.ts +1 -0
- package/dist/lib/components/dashboard/dashboard-by-id.component.d.ts +87 -0
- package/dist/lib/components/dashboard/dashboard.component.d.ts +120 -0
- package/dist/lib/components/dashboard/index.d.ts +2 -0
- package/dist/lib/components/index.d.ts +1 -0
- package/dist/lib/sdk-ui-core-exports.d.ts +1 -1
- package/dist/lib/sdk-ui.module.d.ts +25 -22
- package/dist/lib/services/theme.service.d.ts +2 -0
- package/dist/package.json +1 -1
- package/dist/public-api.d.ts +13 -1
- package/dist/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -44,6 +44,8 @@ export const THEME_CONFIG_TOKEN = new InjectionToken('theme configuration');
|
|
|
44
44
|
/**
|
|
45
45
|
* Service for working with Sisense Fusion themes.
|
|
46
46
|
*
|
|
47
|
+
* If no theme service is used, the current Fusion theme is applied by default.
|
|
48
|
+
*
|
|
47
49
|
* @group Contexts
|
|
48
50
|
*/
|
|
49
51
|
let ThemeService = class ThemeService {
|
|
@@ -100,4 +102,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
100
102
|
type: Inject,
|
|
101
103
|
args: [THEME_CONFIG_TOKEN]
|
|
102
104
|
}] }]; } });
|
|
103
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
105
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhlbWUuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvc2VydmljZXMvdGhlbWUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsY0FBYyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM3RSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQ3ZDLE9BQU8sS0FBSyxNQUFNLGNBQWMsQ0FBQztBQUNqQyxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLHFCQUFxQixHQUd0QixNQUFNLHdCQUF3QixDQUFDO0FBR2hDLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLG1DQUFtQyxDQUFDOzs7QUFJckU7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQWlDRztBQUNILE1BQU0sQ0FBQyxNQUFNLGtCQUFrQixHQUFHLElBQUksY0FBYyxDQUFjLHFCQUFxQixDQUFDLENBQUM7QUFFekY7Ozs7OztHQU1HO0FBS0ksSUFBTSxZ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2VydmFibGUoKTtcbiAgfVxuXG4gIGFzeW5jIHVwZGF0ZVRoZW1lU2V0dGluZ3ModGhlbWU6IHN0cmluZyB8IFRoZW1lU2V0dGluZ3MpIHtcbiAgICBhd2FpdCB0aGlzLmFwcGx5VGhlbWVTZXR0aW5ncyh0aGVtZSk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -5,8 +5,20 @@
|
|
|
5
5
|
* @packageDocumentation
|
|
6
6
|
* @groupDescription Charts
|
|
7
7
|
* Angular components for charts
|
|
8
|
+
* @groupDescription Chart Utilities
|
|
9
|
+
* Utilities to be used with charts
|
|
10
|
+
* @groupDescription Data Grids
|
|
11
|
+
* Angular components for data grids
|
|
12
|
+
* @groupDescription Drilldown
|
|
13
|
+
* Angular components for creating drilldown experiences
|
|
14
|
+
* @groupDescription Filter Tiles
|
|
15
|
+
* Angular filter tile components
|
|
16
|
+
* @groupDescription Contexts
|
|
17
|
+
* Angular context modules, services, and variables
|
|
18
|
+
* @groupDescription Queries
|
|
19
|
+
* Angular query service
|
|
8
20
|
* @groupDescription Fusion Embed
|
|
9
|
-
* Fusion
|
|
21
|
+
* Angular modules, services, and components for working with Fusion Embed dashboards, widgets, queries, and formulas
|
|
10
22
|
* @groupDescription Interfaces
|
|
11
23
|
* TypeScript interfaces for components and services listed above
|
|
12
24
|
* @groupDescription Type Aliases
|
|
@@ -16,4 +28,4 @@ export * from './lib/sdk-ui.module';
|
|
|
16
28
|
export * from './lib/components';
|
|
17
29
|
export * from './lib/services';
|
|
18
30
|
export * from './lib/sdk-ui-core-exports';
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO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9kdWxlcywgc2VydmljZXMsIGFuZCBjb21wb25lbnRzIGZvciB3b3JraW5nIHdpdGggRnVzaW9uIEVtYmVkIGRhc2hib2FyZHMsIHdpZGdldHMsIHF1ZXJpZXMsIGFuZCBmb3JtdWxhc1xuICogQGdyb3VwRGVzY3JpcHRpb24gSW50ZXJmYWNlc1xuICogVHlwZVNjcmlwdCBpbnRlcmZhY2VzIGZvciBjb21wb25lbnRzIGFuZCBzZXJ2aWNlcyBsaXN0ZWQgYWJvdmVcbiAqIEBncm91cERlc2NyaXB0aW9uIFR5cGUgQWxpYXNlc1xuICogVHlwZVNjcmlwdCB0eXBlIGFsaWFzZXMgZm9yIGNvbXBvbmVudHMgYW5kIHNlcnZpY2VzIGxpc3RlZCBhYm92ZVxuICovXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZGstdWkubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvc2VydmljZXMnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvc2RrLXVpLWNvcmUtZXhwb3J0cyc7XG4iXX0=
|
package/dist/esm2020/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export default '1.
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export default '1.14.0';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGVBQWUsUUFBUSxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGRlZmF1bHQgJzEuMTQuMCciXX0=
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { EventEmitter, Component, ViewChild, Input, Output, InjectionToken, Injectable, Inject, NgModule, Optional } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
|
-
import { ComponentAdapter, createElement, BasicMemberFilterTile, createContextProviderRenderer, CustomThemeProvider, CustomSisenseContextProvider, createClientApplication, executeQuery, executeQueryByWidgetId, getDashboardModel, getDashboardModels, getWidgetModel, getDefaultThemeSettings, getThemeSettingsByOid, MemberFilterTile, DateRangeFilterTile, Chart, Table, PivotTable, TableWidget, DashboardWidget, createWrapperElementHandler, createWrapperElement, DrilldownWidget, createComponentRenderer, ChartWidget, DrilldownBreadcrumbs, ContextMenu } from '@sisense/sdk-ui-preact';
|
|
4
|
+
import { ComponentAdapter, createElement, BasicMemberFilterTile, createContextProviderRenderer, CustomThemeProvider, CustomSisenseContextProvider, createClientApplication, executeQuery, executeQueryByWidgetId, getDashboardModel, getDashboardModels, getWidgetModel, getDefaultThemeSettings, getThemeSettingsByOid, MemberFilterTile, DateRangeFilterTile, Chart, Table, PivotTable, TableWidget, DashboardWidget, createWrapperElementHandler, createWrapperElement, DrilldownWidget, createComponentRenderer, ChartWidget, DashboardById, Dashboard, DrilldownBreadcrumbs, ContextMenu } from '@sisense/sdk-ui-preact';
|
|
5
5
|
export { boxWhiskerProcessResult } from '@sisense/sdk-ui-preact';
|
|
6
6
|
import { __awaiter, __decorate } from 'tslib';
|
|
7
7
|
import { map, BehaviorSubject } from 'rxjs';
|
|
@@ -347,7 +347,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
347
347
|
}]
|
|
348
348
|
}], ctorParameters: function () { return [{ type: SisenseContextService }]; } });
|
|
349
349
|
|
|
350
|
-
var packageVersion = '1.
|
|
350
|
+
var packageVersion = '1.14.0';
|
|
351
351
|
|
|
352
352
|
function Trackable(target, propertyKey, descriptor) {
|
|
353
353
|
const originalMethod = descriptor.value;
|
|
@@ -381,7 +381,7 @@ function track(action, methodName) {
|
|
|
381
381
|
packageVersion,
|
|
382
382
|
methodName,
|
|
383
383
|
};
|
|
384
|
-
void trackProductEvent(action, payload, app.httpClient, !enableTracking)
|
|
384
|
+
void trackProductEvent(action, payload, app.httpClient, !enableTracking);
|
|
385
385
|
}
|
|
386
386
|
}
|
|
387
387
|
catch (e) {
|
|
@@ -428,6 +428,8 @@ const THEME_CONFIG_TOKEN = new InjectionToken('theme configuration');
|
|
|
428
428
|
/**
|
|
429
429
|
* Service for working with Sisense Fusion themes.
|
|
430
430
|
*
|
|
431
|
+
* If no theme service is used, the current Fusion theme is applied by default.
|
|
432
|
+
*
|
|
431
433
|
* @group Contexts
|
|
432
434
|
*/
|
|
433
435
|
let ThemeService = class ThemeService {
|
|
@@ -2869,6 +2871,153 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2869
2871
|
type: Input
|
|
2870
2872
|
}] } });
|
|
2871
2873
|
|
|
2874
|
+
/**
|
|
2875
|
+
* A component that displays a range of data over a given time period or across multiple categories.
|
|
2876
|
+
* It is particularly useful for visualizing the minimum and maximum values in a dataset, along with
|
|
2877
|
+
* the area between these values.
|
|
2878
|
+
*
|
|
2879
|
+
* @example
|
|
2880
|
+
* ```html
|
|
2881
|
+
* <csdk-area-range-chart
|
|
2882
|
+
* [dataSet]="chart.dataSet"
|
|
2883
|
+
* [dataOptions]="chart.dataOptions"
|
|
2884
|
+
* [highlights]="filters"
|
|
2885
|
+
* [beforeRender]="onBeforeRender"
|
|
2886
|
+
* (dataPointClick)="logArguments($event)"
|
|
2887
|
+
* (dataPointContextMenu)="logArguments($event)"
|
|
2888
|
+
* (dataPointsSelect)="logArguments($event)"
|
|
2889
|
+
* />
|
|
2890
|
+
* ```
|
|
2891
|
+
* ```ts
|
|
2892
|
+
import { Component } from '@angular/core';
|
|
2893
|
+
import { measureFactory, filterFactory, Filter } from '@sisense/sdk-data';
|
|
2894
|
+
import * as DM from '../../assets/sample-healthcare-model';
|
|
2895
|
+
import type { ChartType, RangeChartDataOptions } from '@sisense/sdk-ui-angular';
|
|
2896
|
+
|
|
2897
|
+
@Component({
|
|
2898
|
+
selector: 'app-analytics',
|
|
2899
|
+
templateUrl: './analytics.component.html',
|
|
2900
|
+
styleUrls: ['./analytics.component.scss'],
|
|
2901
|
+
})
|
|
2902
|
+
export class AnalyticsComponent {
|
|
2903
|
+
DM = DM;
|
|
2904
|
+
filters = [filterFactory.members(DM.Divisions.Divison_name, ['Cardiology', 'Neurology'])];
|
|
2905
|
+
chart = {
|
|
2906
|
+
chartType: 'arearange' as ChartType,
|
|
2907
|
+
dataSet: DM.DataSource,
|
|
2908
|
+
dataOptions: {
|
|
2909
|
+
category: [DM.Admissions.Admission_Time.Years],
|
|
2910
|
+
value: [
|
|
2911
|
+
{
|
|
2912
|
+
title: 'Admission Cost Range',
|
|
2913
|
+
upperBound: measureFactory.multiply(
|
|
2914
|
+
measureFactory.sum(DM.Admissions.Cost_of_admission, 'Lower Admission'),
|
|
2915
|
+
0.6,
|
|
2916
|
+
),
|
|
2917
|
+
lowerBound: measureFactory.multiply(
|
|
2918
|
+
measureFactory.sum(DM.Admissions.Cost_of_admission, 'Upper Admission'),
|
|
2919
|
+
1.4,
|
|
2920
|
+
),
|
|
2921
|
+
}
|
|
2922
|
+
],
|
|
2923
|
+
breakBy: [],
|
|
2924
|
+
} as RangeChartDataOptions,
|
|
2925
|
+
};
|
|
2926
|
+
|
|
2927
|
+
onBeforeRender(options: any) {
|
|
2928
|
+
console.log('beforeRender');
|
|
2929
|
+
console.log(options);
|
|
2930
|
+
return options;
|
|
2931
|
+
}
|
|
2932
|
+
|
|
2933
|
+
logArguments(...args: any[]) {
|
|
2934
|
+
console.log(args);
|
|
2935
|
+
}
|
|
2936
|
+
}
|
|
2937
|
+
* ```
|
|
2938
|
+
* <img src="media://angular-area-range-chart-example.png" width="800px" />
|
|
2939
|
+
*
|
|
2940
|
+
* @group Charts
|
|
2941
|
+
* @beta
|
|
2942
|
+
*/
|
|
2943
|
+
class AreaRangeChartComponent {
|
|
2944
|
+
constructor() {
|
|
2945
|
+
/**
|
|
2946
|
+
* {@inheritDoc @sisense/sdk-ui!AreaRangeChartProps.onDataPointClick}
|
|
2947
|
+
*
|
|
2948
|
+
* @category Callbacks
|
|
2949
|
+
*/
|
|
2950
|
+
this.dataPointClick = new EventEmitter();
|
|
2951
|
+
/**
|
|
2952
|
+
* {@inheritDoc @sisense/sdk-ui!AreaRangeChartProps.onDataPointContextMenu}
|
|
2953
|
+
*
|
|
2954
|
+
* @category Callbacks
|
|
2955
|
+
*/
|
|
2956
|
+
this.dataPointContextMenu = new EventEmitter();
|
|
2957
|
+
/**
|
|
2958
|
+
* {@inheritDoc @sisense/sdk-ui!AreaRangeChartProps.onDataPointsSelected}
|
|
2959
|
+
*
|
|
2960
|
+
* @category Callbacks
|
|
2961
|
+
*/
|
|
2962
|
+
this.dataPointsSelect = new EventEmitter();
|
|
2963
|
+
/** @internal */
|
|
2964
|
+
this.chartType = 'arearange';
|
|
2965
|
+
}
|
|
2966
|
+
}
|
|
2967
|
+
AreaRangeChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AreaRangeChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2968
|
+
AreaRangeChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AreaRangeChartComponent, selector: "csdk-area-range-chart", inputs: { dataSet: "dataSet", dataOptions: "dataOptions", filters: "filters", highlights: "highlights", styleOptions: "styleOptions", beforeRender: "beforeRender" }, outputs: { dataPointClick: "dataPointClick", dataPointContextMenu: "dataPointContextMenu", dataPointsSelect: "dataPointsSelect" }, ngImport: i0, template: `
|
|
2969
|
+
<csdk-chart
|
|
2970
|
+
[chartType]="chartType"
|
|
2971
|
+
[dataSet]="dataSet"
|
|
2972
|
+
[dataOptions]="dataOptions"
|
|
2973
|
+
[filters]="filters"
|
|
2974
|
+
[highlights]="highlights"
|
|
2975
|
+
[styleOptions]="styleOptions"
|
|
2976
|
+
[beforeRender]="beforeRender"
|
|
2977
|
+
(dataPointClick)="dataPointClick.emit($event)"
|
|
2978
|
+
(dataPointContextMenu)="dataPointContextMenu.emit($event)"
|
|
2979
|
+
(dataPointsSelect)="dataPointsSelect.emit($event)"
|
|
2980
|
+
/>
|
|
2981
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ChartComponent, selector: "csdk-chart", inputs: ["chartType", "dataSet", "dataOptions", "filters", "highlights", "styleOptions", "beforeRender"], outputs: ["dataPointClick", "dataPointContextMenu", "dataPointsSelect"] }] });
|
|
2982
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AreaRangeChartComponent, decorators: [{
|
|
2983
|
+
type: Component,
|
|
2984
|
+
args: [{
|
|
2985
|
+
selector: 'csdk-area-range-chart',
|
|
2986
|
+
template: `
|
|
2987
|
+
<csdk-chart
|
|
2988
|
+
[chartType]="chartType"
|
|
2989
|
+
[dataSet]="dataSet"
|
|
2990
|
+
[dataOptions]="dataOptions"
|
|
2991
|
+
[filters]="filters"
|
|
2992
|
+
[highlights]="highlights"
|
|
2993
|
+
[styleOptions]="styleOptions"
|
|
2994
|
+
[beforeRender]="beforeRender"
|
|
2995
|
+
(dataPointClick)="dataPointClick.emit($event)"
|
|
2996
|
+
(dataPointContextMenu)="dataPointContextMenu.emit($event)"
|
|
2997
|
+
(dataPointsSelect)="dataPointsSelect.emit($event)"
|
|
2998
|
+
/>
|
|
2999
|
+
`,
|
|
3000
|
+
}]
|
|
3001
|
+
}], propDecorators: { dataSet: [{
|
|
3002
|
+
type: Input
|
|
3003
|
+
}], dataOptions: [{
|
|
3004
|
+
type: Input
|
|
3005
|
+
}], filters: [{
|
|
3006
|
+
type: Input
|
|
3007
|
+
}], highlights: [{
|
|
3008
|
+
type: Input
|
|
3009
|
+
}], styleOptions: [{
|
|
3010
|
+
type: Input
|
|
3011
|
+
}], beforeRender: [{
|
|
3012
|
+
type: Input
|
|
3013
|
+
}], dataPointClick: [{
|
|
3014
|
+
type: Output
|
|
3015
|
+
}], dataPointContextMenu: [{
|
|
3016
|
+
type: Output
|
|
3017
|
+
}], dataPointsSelect: [{
|
|
3018
|
+
type: Output
|
|
3019
|
+
}] } });
|
|
3020
|
+
|
|
2872
3021
|
/**
|
|
2873
3022
|
* The Table Widget component extending {@link TableComponent} component to support widget style options.
|
|
2874
3023
|
*
|
|
@@ -3397,6 +3546,222 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3397
3546
|
type: Output
|
|
3398
3547
|
}] } });
|
|
3399
3548
|
|
|
3549
|
+
/**
|
|
3550
|
+
* An Angular component used for easily rendering a dashboard by its ID created in a Sisense Fusion instance.
|
|
3551
|
+
*
|
|
3552
|
+
* @example
|
|
3553
|
+
* ```html
|
|
3554
|
+
* <csdk-dashboard-by-id
|
|
3555
|
+
* [dashboardOid]="dashboardOid"
|
|
3556
|
+
* />
|
|
3557
|
+
* ```
|
|
3558
|
+
* ```ts
|
|
3559
|
+
* import { Component } from '@angular/core';
|
|
3560
|
+
*
|
|
3561
|
+
* @Component({
|
|
3562
|
+
* selector: 'app-dashboard',
|
|
3563
|
+
* templateUrl: './dashboard.component.html',
|
|
3564
|
+
* styleUrls: ['./dashboard.component.scss'],
|
|
3565
|
+
* })
|
|
3566
|
+
* export class DashboardComponent {
|
|
3567
|
+
* dashboardOid: string = '60f3e3e3e4b0e3e3e4b0e3e3';
|
|
3568
|
+
* }
|
|
3569
|
+
* ```
|
|
3570
|
+
* @group Fusion Embed
|
|
3571
|
+
* @fusionEmbed
|
|
3572
|
+
* @internal
|
|
3573
|
+
*/
|
|
3574
|
+
class DashboardByIdComponent {
|
|
3575
|
+
/**
|
|
3576
|
+
* Constructor for the `DashboardById` component.
|
|
3577
|
+
*
|
|
3578
|
+
* @param sisenseContextService - Sisense context service
|
|
3579
|
+
* @param themeService - Theme service
|
|
3580
|
+
*/
|
|
3581
|
+
constructor(
|
|
3582
|
+
/**
|
|
3583
|
+
* Sisense context service
|
|
3584
|
+
*
|
|
3585
|
+
* @category Constructor
|
|
3586
|
+
*/
|
|
3587
|
+
sisenseContextService,
|
|
3588
|
+
/**
|
|
3589
|
+
* Theme service
|
|
3590
|
+
*
|
|
3591
|
+
* @category Constructor
|
|
3592
|
+
*/
|
|
3593
|
+
themeService) {
|
|
3594
|
+
this.sisenseContextService = sisenseContextService;
|
|
3595
|
+
this.themeService = themeService;
|
|
3596
|
+
this.componentAdapter = new ComponentAdapter(() => this.createPreactComponent(), [
|
|
3597
|
+
createSisenseContextConnector(this.sisenseContextService),
|
|
3598
|
+
createThemeContextConnector(this.themeService),
|
|
3599
|
+
]);
|
|
3600
|
+
}
|
|
3601
|
+
/**
|
|
3602
|
+
* @internal
|
|
3603
|
+
*/
|
|
3604
|
+
ngAfterViewInit() {
|
|
3605
|
+
this.componentAdapter.render(this.preactRef.nativeElement);
|
|
3606
|
+
}
|
|
3607
|
+
/**
|
|
3608
|
+
* @internal
|
|
3609
|
+
*/
|
|
3610
|
+
ngOnChanges() {
|
|
3611
|
+
if (this.preactRef) {
|
|
3612
|
+
this.componentAdapter.render(this.preactRef.nativeElement);
|
|
3613
|
+
}
|
|
3614
|
+
}
|
|
3615
|
+
createPreactComponent() {
|
|
3616
|
+
const props = {
|
|
3617
|
+
dashboardOid: this.dashboardOid,
|
|
3618
|
+
};
|
|
3619
|
+
return createElement(DashboardById, props);
|
|
3620
|
+
}
|
|
3621
|
+
/**
|
|
3622
|
+
* @internal
|
|
3623
|
+
*/
|
|
3624
|
+
ngOnDestroy() {
|
|
3625
|
+
this.componentAdapter.destroy();
|
|
3626
|
+
}
|
|
3627
|
+
}
|
|
3628
|
+
DashboardByIdComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DashboardByIdComponent, deps: [{ token: SisenseContextService }, { token: ThemeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3629
|
+
DashboardByIdComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DashboardByIdComponent, selector: "csdk-dashboard-by-id", inputs: { dashboardOid: "dashboardOid" }, viewQueries: [{ propertyName: "preactRef", first: true, predicate: ["preact"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "\n <div #preact style=\"width: 100%; height: 100%\"></div>\n", isInline: true });
|
|
3630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DashboardByIdComponent, decorators: [{
|
|
3631
|
+
type: Component,
|
|
3632
|
+
args: [{
|
|
3633
|
+
selector: 'csdk-dashboard-by-id',
|
|
3634
|
+
template,
|
|
3635
|
+
}]
|
|
3636
|
+
}], ctorParameters: function () { return [{ type: SisenseContextService }, { type: ThemeService }]; }, propDecorators: { preactRef: [{
|
|
3637
|
+
type: ViewChild,
|
|
3638
|
+
args: [rootId]
|
|
3639
|
+
}], dashboardOid: [{
|
|
3640
|
+
type: Input
|
|
3641
|
+
}] } });
|
|
3642
|
+
|
|
3643
|
+
/**
|
|
3644
|
+
* An Angular component used for easily rendering a dashboard.
|
|
3645
|
+
*
|
|
3646
|
+
* @example
|
|
3647
|
+
* ```html
|
|
3648
|
+
* <csdk-dashboard
|
|
3649
|
+
* *ngIf="dashboard"
|
|
3650
|
+
* [title]="dashboard!.title"
|
|
3651
|
+
* [layout]="dashboard!.layout"
|
|
3652
|
+
* [widgets]="dashboard!.widgets"
|
|
3653
|
+
* [filters]="dashboard!.filters"
|
|
3654
|
+
* [defaultDataSource]="dashboard!.dataSource"
|
|
3655
|
+
* [widgetFilterOptions]="dashboard!.widgetFilterOptions"
|
|
3656
|
+
* />
|
|
3657
|
+
* ```
|
|
3658
|
+
* ```ts
|
|
3659
|
+
* import { Component } from '@angular/core';
|
|
3660
|
+
* import { type DashboardModel, DashboardService } from '@sisense/sdk-ui-angular';
|
|
3661
|
+
*
|
|
3662
|
+
* @Component({
|
|
3663
|
+
* selector: 'app-dashboard',
|
|
3664
|
+
* templateUrl: './dashboard.component.html',
|
|
3665
|
+
* styleUrls: ['./dashboard.component.scss'],
|
|
3666
|
+
* })
|
|
3667
|
+
* export class DashboardComponent {
|
|
3668
|
+
*
|
|
3669
|
+
* dashboard: DashboardModel | null = null;
|
|
3670
|
+
*
|
|
3671
|
+
* constructor(private dashboardService: DashboardService) {}
|
|
3672
|
+
*
|
|
3673
|
+
* async ngOnInit(): Promise<void> {
|
|
3674
|
+
* this.dashboard = await this.dashboardService.getDashboardModel('60f3e3e3e4b0e3e3e4b0e3e3', { includeWidgets: true, includeFilters: true });
|
|
3675
|
+
* }
|
|
3676
|
+
* ```
|
|
3677
|
+
* @group Fusion Embed
|
|
3678
|
+
* @fusionEmbed
|
|
3679
|
+
* @internal
|
|
3680
|
+
*/
|
|
3681
|
+
class DashboardComponent {
|
|
3682
|
+
/**
|
|
3683
|
+
* Constructor for the `Dashboard` component.
|
|
3684
|
+
*
|
|
3685
|
+
* @param sisenseContextService - Sisense context service
|
|
3686
|
+
* @param themeService - Theme service
|
|
3687
|
+
*/
|
|
3688
|
+
constructor(
|
|
3689
|
+
/**
|
|
3690
|
+
* Sisense context service
|
|
3691
|
+
*
|
|
3692
|
+
* @category Constructor
|
|
3693
|
+
*/
|
|
3694
|
+
sisenseContextService,
|
|
3695
|
+
/**
|
|
3696
|
+
* Theme service
|
|
3697
|
+
*
|
|
3698
|
+
* @category Constructor
|
|
3699
|
+
*/
|
|
3700
|
+
themeService) {
|
|
3701
|
+
this.sisenseContextService = sisenseContextService;
|
|
3702
|
+
this.themeService = themeService;
|
|
3703
|
+
this.componentAdapter = new ComponentAdapter(() => this.createPreactComponent(), [
|
|
3704
|
+
createSisenseContextConnector(this.sisenseContextService),
|
|
3705
|
+
createThemeContextConnector(this.themeService),
|
|
3706
|
+
]);
|
|
3707
|
+
}
|
|
3708
|
+
/**
|
|
3709
|
+
* @internal
|
|
3710
|
+
*/
|
|
3711
|
+
ngAfterViewInit() {
|
|
3712
|
+
this.componentAdapter.render(this.preactRef.nativeElement);
|
|
3713
|
+
}
|
|
3714
|
+
/**
|
|
3715
|
+
* @internal
|
|
3716
|
+
*/
|
|
3717
|
+
ngOnChanges() {
|
|
3718
|
+
if (this.preactRef) {
|
|
3719
|
+
this.componentAdapter.render(this.preactRef.nativeElement);
|
|
3720
|
+
}
|
|
3721
|
+
}
|
|
3722
|
+
createPreactComponent() {
|
|
3723
|
+
const props = {
|
|
3724
|
+
title: this.title,
|
|
3725
|
+
layout: this.layout,
|
|
3726
|
+
widgets: this.widgets,
|
|
3727
|
+
filters: this.filters,
|
|
3728
|
+
defaultDataSource: this.defaultDataSource,
|
|
3729
|
+
widgetFilterOptions: this.widgetFilterOptions,
|
|
3730
|
+
};
|
|
3731
|
+
return createElement(Dashboard, props);
|
|
3732
|
+
}
|
|
3733
|
+
/**
|
|
3734
|
+
* @internal
|
|
3735
|
+
*/
|
|
3736
|
+
ngOnDestroy() {
|
|
3737
|
+
this.componentAdapter.destroy();
|
|
3738
|
+
}
|
|
3739
|
+
}
|
|
3740
|
+
DashboardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DashboardComponent, deps: [{ token: SisenseContextService }, { token: ThemeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3741
|
+
DashboardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DashboardComponent, selector: "csdk-dashboard", inputs: { title: "title", layout: "layout", widgets: "widgets", filters: "filters", defaultDataSource: "defaultDataSource", widgetFilterOptions: "widgetFilterOptions" }, viewQueries: [{ propertyName: "preactRef", first: true, predicate: ["preact"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "\n <div #preact style=\"width: 100%; height: 100%\"></div>\n", isInline: true });
|
|
3742
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DashboardComponent, decorators: [{
|
|
3743
|
+
type: Component,
|
|
3744
|
+
args: [{
|
|
3745
|
+
selector: 'csdk-dashboard',
|
|
3746
|
+
template,
|
|
3747
|
+
}]
|
|
3748
|
+
}], ctorParameters: function () { return [{ type: SisenseContextService }, { type: ThemeService }]; }, propDecorators: { preactRef: [{
|
|
3749
|
+
type: ViewChild,
|
|
3750
|
+
args: [rootId]
|
|
3751
|
+
}], title: [{
|
|
3752
|
+
type: Input
|
|
3753
|
+
}], layout: [{
|
|
3754
|
+
type: Input
|
|
3755
|
+
}], widgets: [{
|
|
3756
|
+
type: Input
|
|
3757
|
+
}], filters: [{
|
|
3758
|
+
type: Input
|
|
3759
|
+
}], defaultDataSource: [{
|
|
3760
|
+
type: Input
|
|
3761
|
+
}], widgetFilterOptions: [{
|
|
3762
|
+
type: Input
|
|
3763
|
+
}] } });
|
|
3764
|
+
|
|
3400
3765
|
/**
|
|
3401
3766
|
* Drilldown Breadcrumbs Component
|
|
3402
3767
|
*
|
|
@@ -3617,6 +3982,7 @@ SdkUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "1
|
|
|
3617
3982
|
ColumnChartComponent,
|
|
3618
3983
|
BarChartComponent,
|
|
3619
3984
|
AreaChartComponent,
|
|
3985
|
+
AreaRangeChartComponent,
|
|
3620
3986
|
LineChartComponent,
|
|
3621
3987
|
IndicatorChartComponent,
|
|
3622
3988
|
ScatterChartComponent,
|
|
@@ -3635,13 +4001,16 @@ SdkUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "1
|
|
|
3635
4001
|
BoxplotChartComponent,
|
|
3636
4002
|
ScattermapChartComponent,
|
|
3637
4003
|
AreamapChartComponent,
|
|
3638
|
-
PivotTableComponent
|
|
4004
|
+
PivotTableComponent,
|
|
4005
|
+
DashboardByIdComponent,
|
|
4006
|
+
DashboardComponent], imports: [CommonModule, DecoratorsModule], exports: [BasicMemberFilterTileComponent,
|
|
3639
4007
|
ChartComponent,
|
|
3640
4008
|
TableComponent,
|
|
3641
4009
|
ChartWidgetComponent,
|
|
3642
4010
|
ColumnChartComponent,
|
|
3643
4011
|
BarChartComponent,
|
|
3644
4012
|
AreaChartComponent,
|
|
4013
|
+
AreaRangeChartComponent,
|
|
3645
4014
|
LineChartComponent,
|
|
3646
4015
|
IndicatorChartComponent,
|
|
3647
4016
|
ScatterChartComponent,
|
|
@@ -3660,7 +4029,9 @@ SdkUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "1
|
|
|
3660
4029
|
BoxplotChartComponent,
|
|
3661
4030
|
ScattermapChartComponent,
|
|
3662
4031
|
AreamapChartComponent,
|
|
3663
|
-
PivotTableComponent
|
|
4032
|
+
PivotTableComponent,
|
|
4033
|
+
DashboardByIdComponent,
|
|
4034
|
+
DashboardComponent] });
|
|
3664
4035
|
SdkUiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SdkUiModule, imports: [CommonModule, DecoratorsModule] });
|
|
3665
4036
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SdkUiModule, decorators: [{
|
|
3666
4037
|
type: NgModule,
|
|
@@ -3673,6 +4044,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3673
4044
|
ColumnChartComponent,
|
|
3674
4045
|
BarChartComponent,
|
|
3675
4046
|
AreaChartComponent,
|
|
4047
|
+
AreaRangeChartComponent,
|
|
3676
4048
|
LineChartComponent,
|
|
3677
4049
|
IndicatorChartComponent,
|
|
3678
4050
|
ScatterChartComponent,
|
|
@@ -3692,6 +4064,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3692
4064
|
ScattermapChartComponent,
|
|
3693
4065
|
AreamapChartComponent,
|
|
3694
4066
|
PivotTableComponent,
|
|
4067
|
+
DashboardByIdComponent,
|
|
4068
|
+
DashboardComponent,
|
|
3695
4069
|
],
|
|
3696
4070
|
imports: [CommonModule, DecoratorsModule],
|
|
3697
4071
|
exports: [
|
|
@@ -3702,6 +4076,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3702
4076
|
ColumnChartComponent,
|
|
3703
4077
|
BarChartComponent,
|
|
3704
4078
|
AreaChartComponent,
|
|
4079
|
+
AreaRangeChartComponent,
|
|
3705
4080
|
LineChartComponent,
|
|
3706
4081
|
IndicatorChartComponent,
|
|
3707
4082
|
ScatterChartComponent,
|
|
@@ -3721,6 +4096,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3721
4096
|
ScattermapChartComponent,
|
|
3722
4097
|
AreamapChartComponent,
|
|
3723
4098
|
PivotTableComponent,
|
|
4099
|
+
DashboardByIdComponent,
|
|
4100
|
+
DashboardComponent,
|
|
3724
4101
|
],
|
|
3725
4102
|
providers: [],
|
|
3726
4103
|
}]
|
|
@@ -3736,8 +4113,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3736
4113
|
* @packageDocumentation
|
|
3737
4114
|
* @groupDescription Charts
|
|
3738
4115
|
* Angular components for charts
|
|
4116
|
+
* @groupDescription Chart Utilities
|
|
4117
|
+
* Utilities to be used with charts
|
|
4118
|
+
* @groupDescription Data Grids
|
|
4119
|
+
* Angular components for data grids
|
|
4120
|
+
* @groupDescription Drilldown
|
|
4121
|
+
* Angular components for creating drilldown experiences
|
|
4122
|
+
* @groupDescription Filter Tiles
|
|
4123
|
+
* Angular filter tile components
|
|
4124
|
+
* @groupDescription Contexts
|
|
4125
|
+
* Angular context modules, services, and variables
|
|
4126
|
+
* @groupDescription Queries
|
|
4127
|
+
* Angular query service
|
|
3739
4128
|
* @groupDescription Fusion Embed
|
|
3740
|
-
* Fusion
|
|
4129
|
+
* Angular modules, services, and components for working with Fusion Embed dashboards, widgets, queries, and formulas
|
|
3741
4130
|
* @groupDescription Interfaces
|
|
3742
4131
|
* TypeScript interfaces for components and services listed above
|
|
3743
4132
|
* @groupDescription Type Aliases
|
|
@@ -3748,5 +4137,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3748
4137
|
* Generated bundle index. Do not edit.
|
|
3749
4138
|
*/
|
|
3750
4139
|
|
|
3751
|
-
export { AreaChartComponent, AreamapChartComponent, BarChartComponent, BasicMemberFilterTileComponent, BoxplotChartComponent, ChartComponent, ChartWidgetComponent, ColumnChartComponent, ContextMenuComponent, DashboardService, DashboardWidgetComponent, DateRangeFilterTileComponent, DrilldownBreadcrumbsComponent, DrilldownWidgetComponent, FunnelChartComponent, IndicatorChartComponent, LineChartComponent, MemberFilterTileComponent, PieChartComponent, PivotTableComponent, PolarChartComponent, QueryService, SISENSE_CONTEXT_CONFIG_TOKEN, ScatterChartComponent, ScattermapChartComponent, SdkUiModule, SisenseContextService, SunburstChartComponent, THEME_CONFIG_TOKEN, TableComponent, TableWidgetComponent, ThemeService, TreemapChartComponent, WidgetService };
|
|
4140
|
+
export { AreaChartComponent, AreaRangeChartComponent, AreamapChartComponent, BarChartComponent, BasicMemberFilterTileComponent, BoxplotChartComponent, ChartComponent, ChartWidgetComponent, ColumnChartComponent, ContextMenuComponent, DashboardByIdComponent, DashboardComponent, DashboardService, DashboardWidgetComponent, DateRangeFilterTileComponent, DrilldownBreadcrumbsComponent, DrilldownWidgetComponent, FunnelChartComponent, IndicatorChartComponent, LineChartComponent, MemberFilterTileComponent, PieChartComponent, PivotTableComponent, PolarChartComponent, QueryService, SISENSE_CONTEXT_CONFIG_TOKEN, ScatterChartComponent, ScattermapChartComponent, SdkUiModule, SisenseContextService, SunburstChartComponent, THEME_CONFIG_TOKEN, TableComponent, TableWidgetComponent, ThemeService, TreemapChartComponent, WidgetService };
|
|
3752
4141
|
//# sourceMappingURL=sisense-sdk-ui-angular.mjs.map
|