@sisense/sdk-ui-angular 2.9.0 → 2.11.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/ai/lib/services/ai.service.d.ts +2 -2
- package/dist/esm2020/ai/lib/services/ai.service.mjs +5 -5
- package/dist/esm2020/lib/component-wrapper-helpers/context-connectors.mjs +34 -22
- package/dist/esm2020/lib/components/charts/calendar-heatmap-chart.component.mjs +133 -0
- package/dist/esm2020/lib/components/charts/index.mjs +2 -1
- package/dist/esm2020/lib/components/widgets/widget-by-id.component.mjs +2 -2
- package/dist/esm2020/lib/sdk-ui-core-exports.mjs +1 -1
- package/dist/esm2020/lib/sdk-ui.module.mjs +6 -2
- package/dist/esm2020/lib/services/sisense-context.service.mjs +100 -13
- package/dist/esm2020/lib/services/theme.service.mjs +14 -2
- package/dist/esm2020/lib/types/chart-event-props.mjs +1 -1
- package/dist/esm2020/lib/types/data-point.mjs +1 -1
- package/dist/esm2020/public-api.mjs +1 -1
- package/dist/esm2020/version.mjs +2 -2
- package/dist/fesm2015/sisense-sdk-ui-angular-ai.mjs +4 -4
- package/dist/fesm2015/sisense-sdk-ui-angular-ai.mjs.map +1 -1
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs +283 -34
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/fesm2020/sisense-sdk-ui-angular-ai.mjs +4 -4
- package/dist/fesm2020/sisense-sdk-ui-angular-ai.mjs.map +1 -1
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs +281 -37
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/lib/components/charts/calendar-heatmap-chart.component.d.ts +125 -0
- package/dist/lib/components/charts/index.d.ts +1 -0
- package/dist/lib/components/widgets/widget-by-id.component.d.ts +1 -1
- package/dist/lib/sdk-ui-core-exports.d.ts +1 -1
- package/dist/lib/sdk-ui.module.d.ts +32 -31
- package/dist/lib/services/sisense-context.service.d.ts +90 -7
- package/dist/lib/types/chart-event-props.d.ts +25 -1
- package/dist/lib/types/data-point.d.ts +24 -4
- package/dist/package.json +2 -2
- package/dist/public-api.d.ts +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +5 -5
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, Injectable, Inject, createComponent, NgModule,
|
|
2
|
+
import { InjectionToken, Injectable, Optional, Inject, createComponent, NgModule, EventEmitter, Component, ViewChild, Input, Output } from '@angular/core';
|
|
3
3
|
import { DataObserver, CustomThemeProvider, CustomSisenseContextProvider, CustomWidgetsProviderAdapter, createClientApplication, createWrapperElement, getDashboardModel, getDashboardModels, HookAdapter, useComposedDashboardInternal, createHookApiFacade, useGetFilterMembers, getHierarchyModels, executeQuery, executeQueryByWidgetId, executePivotQuery, useExecuteCsvQueryInternal, useExecuteCustomWidgetQueryInternal, getWidgetModel, getDefaultThemeSettings, getThemeSettingsByOid, ComponentAdapter, Chart, PivotTable, Table, ContextMenu, Dashboard, DashboardById, DrilldownBreadcrumbs, CriteriaFilterTile, DateRangeFilterTile, FilterTile, FiltersPanel, MemberFilterTile, RelativeDateFilterTile, ChartWidget, DrilldownWidget, createWrapperElementHandler, createComponentRenderer, PivotTableWidget, TableWidget, Widget, WidgetById, dashboardModelTranslator as dashboardModelTranslator$1, dashboardHelpers as dashboardHelpers$1, widgetModelTranslator as widgetModelTranslator$1 } from '@sisense/sdk-ui-preact';
|
|
4
4
|
export { boxWhiskerProcessResult, extractDimensionsAndMeasures } from '@sisense/sdk-ui-preact';
|
|
5
|
-
import {
|
|
6
|
-
import { BehaviorSubject } from 'rxjs';
|
|
5
|
+
import { __awaiter, __rest, __decorate } from 'tslib';
|
|
6
|
+
import { ReplaySubject, firstValueFrom, concat, of, BehaviorSubject, skip } from 'rxjs';
|
|
7
7
|
import merge from 'ts-deepmerge';
|
|
8
8
|
import { trackProductEvent } from '@sisense/sdk-tracking';
|
|
9
9
|
import { getFilterListAndRelationsJaql } from '@sisense/sdk-data';
|
|
@@ -38,38 +38,50 @@ const createThemeContextConnector = (themeService) => {
|
|
|
38
38
|
providerComponent: CustomThemeProvider,
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
*/
|
|
47
|
-
const createSisenseContextConnector = (sisenseContextService) => {
|
|
48
|
-
var _a, _b;
|
|
49
|
-
const { showRuntimeErrors, appConfig } = sisenseContextService.getConfig();
|
|
50
|
-
const defaultSisenseContext = {
|
|
51
|
-
isInitialized: true,
|
|
41
|
+
function getBaseSisenseContext(sisenseContextService) {
|
|
42
|
+
var _a, _b, _c;
|
|
43
|
+
const { showRuntimeErrors, appConfig } = (_a = sisenseContextService.getConfig()) !== null && _a !== void 0 ? _a : {};
|
|
44
|
+
return {
|
|
45
|
+
isInitialized: sisenseContextService.isInitialized,
|
|
52
46
|
tracking: {
|
|
53
47
|
// if tracking is configured in appConfig, use it
|
|
54
48
|
// if none is set, default to true
|
|
55
|
-
enabled: (
|
|
49
|
+
enabled: (_c = (_b = appConfig === null || appConfig === void 0 ? void 0 : appConfig.trackingConfig) === null || _b === void 0 ? void 0 : _b.enabled) !== null && _c !== void 0 ? _c : true,
|
|
56
50
|
packageName: 'sdk-ui-angular',
|
|
57
51
|
},
|
|
58
52
|
errorBoundary: {
|
|
59
53
|
showErrorBox: showRuntimeErrors !== null && showRuntimeErrors !== void 0 ? showRuntimeErrors : true,
|
|
60
54
|
},
|
|
61
55
|
};
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Creates Sisense context connector
|
|
59
|
+
*
|
|
60
|
+
* @param sisenseContextService - The Sisense context service
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
const createSisenseContextConnector = (sisenseContextService) => {
|
|
62
64
|
const propsObserver = new DataObserver({
|
|
63
|
-
context:
|
|
65
|
+
context: getBaseSisenseContext(sisenseContextService),
|
|
66
|
+
});
|
|
67
|
+
sisenseContextService.getApp$().subscribe({
|
|
68
|
+
next: ({ app, error }) => {
|
|
69
|
+
if (error) {
|
|
70
|
+
propsObserver.setValue({
|
|
71
|
+
error,
|
|
72
|
+
});
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
propsObserver.setValue({
|
|
76
|
+
context: Object.assign(Object.assign({}, getBaseSisenseContext(sisenseContextService)), { app }),
|
|
77
|
+
});
|
|
78
|
+
},
|
|
79
|
+
error: (error) => {
|
|
80
|
+
propsObserver.setValue({
|
|
81
|
+
error,
|
|
82
|
+
});
|
|
83
|
+
},
|
|
64
84
|
});
|
|
65
|
-
sisenseContextService
|
|
66
|
-
.getApp()
|
|
67
|
-
.then((app) => propsObserver.setValue({
|
|
68
|
-
context: Object.assign(Object.assign({}, defaultSisenseContext), { app }),
|
|
69
|
-
}))
|
|
70
|
-
.catch((error) => propsObserver.setValue({
|
|
71
|
-
error,
|
|
72
|
-
}));
|
|
73
85
|
return {
|
|
74
86
|
propsObserver,
|
|
75
87
|
providerComponent: CustomSisenseContextProvider,
|
|
@@ -152,25 +164,114 @@ const styles = [
|
|
|
152
164
|
*/
|
|
153
165
|
const SISENSE_CONTEXT_CONFIG_TOKEN = new InjectionToken('Props for connecting to Sisense instance');
|
|
154
166
|
/**
|
|
155
|
-
* Service for
|
|
167
|
+
* Service for managing Sisense Fusion context and client application lifecycle.
|
|
168
|
+
*
|
|
169
|
+
* This service provides a centralized way to configure and manage the connection to a Sisense instance within Angular applications.
|
|
156
170
|
*
|
|
157
171
|
* @group Contexts
|
|
158
172
|
*/
|
|
159
173
|
class SisenseContextService {
|
|
160
174
|
constructor(sisenseContextConfig) {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
175
|
+
/**
|
|
176
|
+
* Flag indicating whether the service has been initialized with configuration.
|
|
177
|
+
*
|
|
178
|
+
* @internal
|
|
179
|
+
*/
|
|
180
|
+
this.isInitialized = false;
|
|
181
|
+
// The buffer size of 1 ensures only the most recent state is cached.
|
|
182
|
+
this.app$ = new ReplaySubject(1);
|
|
183
|
+
if (sisenseContextConfig) {
|
|
184
|
+
// Auto-configure if config is provided via DI
|
|
185
|
+
void this.setConfig(sisenseContextConfig);
|
|
186
|
+
}
|
|
164
187
|
}
|
|
165
|
-
/**
|
|
188
|
+
/**
|
|
189
|
+
* Retrieves the initialized Sisense client application.
|
|
190
|
+
*
|
|
191
|
+
* This method provides access to the client application instance.
|
|
192
|
+
* It waits for the latest state from the reactive stream and either returns
|
|
193
|
+
* the application or throws the error if initialization failed.
|
|
194
|
+
*
|
|
195
|
+
* @returns Promise that resolves to the ClientApplication instance
|
|
196
|
+
* @throws {Error} When the service is not initialized or when application creation failed
|
|
197
|
+
*
|
|
198
|
+
* @internal
|
|
199
|
+
*/
|
|
166
200
|
getApp() {
|
|
167
|
-
return this
|
|
201
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
202
|
+
if (!this.isInitialized) {
|
|
203
|
+
throw new Error('Sisense context is not initialized');
|
|
204
|
+
}
|
|
205
|
+
const { app, error } = yield firstValueFrom(this.app$);
|
|
206
|
+
if (error) {
|
|
207
|
+
throw error;
|
|
208
|
+
}
|
|
209
|
+
return app;
|
|
210
|
+
});
|
|
168
211
|
}
|
|
212
|
+
/**
|
|
213
|
+
* Provides reactive access to the Sisense application state.
|
|
214
|
+
*
|
|
215
|
+
* This method returns an Observable that emits the current application state
|
|
216
|
+
* and all subsequent state changes. It's the preferred way to reactively
|
|
217
|
+
* handle application lifecycle events in Angular components.
|
|
218
|
+
*
|
|
219
|
+
* If the service is not initialized, it immediately emits an error state
|
|
220
|
+
* followed by any future state changes once initialization occurs.
|
|
221
|
+
*
|
|
222
|
+
* @returns Observable stream of AppState changes
|
|
223
|
+
*
|
|
224
|
+
* @internal
|
|
225
|
+
*/
|
|
226
|
+
getApp$() {
|
|
227
|
+
if (!this.isInitialized) {
|
|
228
|
+
return concat(of({ error: new Error('Sisense context is not initialized') }), this.app$);
|
|
229
|
+
}
|
|
230
|
+
return this.app$;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Retrieves the current {@link SisenseContextConfig} configuration object.
|
|
234
|
+
*
|
|
235
|
+
* @returns The current configuration object, or undefined if not yet configured
|
|
236
|
+
*/
|
|
169
237
|
getConfig() {
|
|
170
238
|
return this.config;
|
|
171
239
|
}
|
|
240
|
+
/**
|
|
241
|
+
* Configures and initializes the Sisense context with the provided settings.
|
|
242
|
+
*
|
|
243
|
+
* This method allows to establish a connection to a Sisense instance.
|
|
244
|
+
* It could be used as runtime alternative to {@link SISENSE_CONTEXT_CONFIG_TOKEN} based configuration.
|
|
245
|
+
*
|
|
246
|
+
* @param config - Configuration object
|
|
247
|
+
* @returns Promise that resolves when configuration is complete (success or failure)
|
|
248
|
+
*
|
|
249
|
+
* @example
|
|
250
|
+
* Basic configuration:
|
|
251
|
+
* ```ts
|
|
252
|
+
* await SisenseContextService.setConfig({
|
|
253
|
+
* url: 'https://your-sisense-instance.com',
|
|
254
|
+
* token: 'your-api-token',
|
|
255
|
+
* defaultDataSource: 'Sample ECommerce'
|
|
256
|
+
* });
|
|
257
|
+
* ```
|
|
258
|
+
*/
|
|
259
|
+
setConfig(config) {
|
|
260
|
+
var _a;
|
|
261
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
262
|
+
this.config = Object.assign(Object.assign({}, config), { showRuntimeErrors: (_a = config.showRuntimeErrors) !== null && _a !== void 0 ? _a : true });
|
|
263
|
+
this.isInitialized = true;
|
|
264
|
+
try {
|
|
265
|
+
const app = yield createClientApplication(this.config);
|
|
266
|
+
this.app$.next({ app });
|
|
267
|
+
}
|
|
268
|
+
catch (error) {
|
|
269
|
+
this.app$.next({ error: error });
|
|
270
|
+
}
|
|
271
|
+
});
|
|
272
|
+
}
|
|
172
273
|
}
|
|
173
|
-
SisenseContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SisenseContextService, deps: [{ token: SISENSE_CONTEXT_CONFIG_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
274
|
+
SisenseContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SisenseContextService, deps: [{ token: SISENSE_CONTEXT_CONFIG_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
174
275
|
SisenseContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SisenseContextService, providedIn: 'root' });
|
|
175
276
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SisenseContextService, decorators: [{
|
|
176
277
|
type: Injectable,
|
|
@@ -179,12 +280,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
179
280
|
}]
|
|
180
281
|
}], ctorParameters: function () {
|
|
181
282
|
return [{ type: undefined, decorators: [{
|
|
283
|
+
type: Optional
|
|
284
|
+
}, {
|
|
182
285
|
type: Inject,
|
|
183
286
|
args: [SISENSE_CONTEXT_CONFIG_TOKEN]
|
|
184
287
|
}] }];
|
|
185
288
|
} });
|
|
186
289
|
|
|
187
|
-
var packageVersion = '2.
|
|
290
|
+
var packageVersion = '2.11.0';
|
|
188
291
|
|
|
189
292
|
/**
|
|
190
293
|
* Service for rendering components dynamically.
|
|
@@ -841,6 +944,18 @@ let ThemeService = class ThemeService {
|
|
|
841
944
|
this.initializationPromise = Promise.resolve();
|
|
842
945
|
this.themeSettings$ = new BehaviorSubject(getDefaultThemeSettings());
|
|
843
946
|
this.initializationPromise = this.initThemeSettings(themeConfig === null || themeConfig === void 0 ? void 0 : themeConfig.theme);
|
|
947
|
+
this.sisenseContextService
|
|
948
|
+
.getApp$()
|
|
949
|
+
// Skip current app value
|
|
950
|
+
.pipe(skip(1))
|
|
951
|
+
// Subscribe to new app values
|
|
952
|
+
.subscribe({
|
|
953
|
+
next: ({ app }) => {
|
|
954
|
+
if (app) {
|
|
955
|
+
this.initializationPromise = this.applyThemeSettings(app.settings.serverThemeSettings);
|
|
956
|
+
}
|
|
957
|
+
},
|
|
958
|
+
});
|
|
844
959
|
}
|
|
845
960
|
initThemeSettings(theme) {
|
|
846
961
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1720,6 +1835,136 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1720
1835
|
type: Output
|
|
1721
1836
|
}] } });
|
|
1722
1837
|
|
|
1838
|
+
/**
|
|
1839
|
+
* A component that visualizes values over days in a calendar-like view,
|
|
1840
|
+
* making it easy to identify daily patterns or anomalies
|
|
1841
|
+
*
|
|
1842
|
+
* @example
|
|
1843
|
+
* ```html
|
|
1844
|
+
* <csdk-calendar-heatmap-chart
|
|
1845
|
+
* [dataSet]="chart.dataSet"
|
|
1846
|
+
* [dataOptions]="chart.dataOptions"
|
|
1847
|
+
* [highlights]="chart.highlights"
|
|
1848
|
+
* [styleOptions]="chart.styleOptions"
|
|
1849
|
+
* />
|
|
1850
|
+
* ```
|
|
1851
|
+
* ```ts
|
|
1852
|
+
import { Component } from '@angular/core';
|
|
1853
|
+
import { measureFactory, filterFactory } from '@sisense/sdk-data';
|
|
1854
|
+
import * as DM from '../../assets/sample-ecommerce';
|
|
1855
|
+
import type { CalendarHeatmapChartProps } from '@sisense/sdk-ui-angular';
|
|
1856
|
+
|
|
1857
|
+
@Component({
|
|
1858
|
+
selector: 'app-analytics',
|
|
1859
|
+
templateUrl: './analytics.component.html',
|
|
1860
|
+
styleUrls: ['./analytics.component.scss'],
|
|
1861
|
+
})
|
|
1862
|
+
export class AnalyticsComponent {
|
|
1863
|
+
DM = DM;
|
|
1864
|
+
chart = {
|
|
1865
|
+
dataSet: DM.DataSource,
|
|
1866
|
+
dataOptions: {
|
|
1867
|
+
date: DM.Commerce.Date.Days,
|
|
1868
|
+
value: measureFactory.sum(DM.Commerce.Cost),
|
|
1869
|
+
},
|
|
1870
|
+
highlights: [
|
|
1871
|
+
filterFactory.dateRange(
|
|
1872
|
+
DM.Commerce.Date.Days,
|
|
1873
|
+
'2009-11-29',
|
|
1874
|
+
'2009-12-15'
|
|
1875
|
+
),
|
|
1876
|
+
],
|
|
1877
|
+
styleOptions: {
|
|
1878
|
+
viewType: 'quarter',
|
|
1879
|
+
},
|
|
1880
|
+
};
|
|
1881
|
+
}
|
|
1882
|
+
* ```
|
|
1883
|
+
* <img src="media://angular-calendar-heatmap-chart-example.png" width="800px" />
|
|
1884
|
+
* @group Charts
|
|
1885
|
+
*/
|
|
1886
|
+
class CalendarHeatmapChartComponent {
|
|
1887
|
+
constructor() {
|
|
1888
|
+
/**
|
|
1889
|
+
* {@inheritDoc @sisense/sdk-ui!CalendarHeatmapChartProps.onDataPointClick}
|
|
1890
|
+
*
|
|
1891
|
+
* @category Callbacks
|
|
1892
|
+
*/
|
|
1893
|
+
this.dataPointClick = new EventEmitter();
|
|
1894
|
+
/**
|
|
1895
|
+
* {@inheritDoc @sisense/sdk-ui!CalendarHeatmapChartProps.onDataPointContextMenu}
|
|
1896
|
+
*
|
|
1897
|
+
* @category Callbacks
|
|
1898
|
+
*/
|
|
1899
|
+
this.dataPointContextMenu = new EventEmitter();
|
|
1900
|
+
/**
|
|
1901
|
+
* {@inheritDoc @sisense/sdk-ui!CalendarHeatmapChartProps.onDataPointsSelected}
|
|
1902
|
+
*
|
|
1903
|
+
* @category Callbacks
|
|
1904
|
+
*/
|
|
1905
|
+
this.dataPointsSelect = new EventEmitter();
|
|
1906
|
+
/** @internal */
|
|
1907
|
+
this.chartType = 'calendar-heatmap';
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
CalendarHeatmapChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarHeatmapChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1911
|
+
CalendarHeatmapChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CalendarHeatmapChartComponent, selector: "csdk-calendar-heatmap-chart", inputs: { dataSet: "dataSet", dataOptions: "dataOptions", filters: "filters", highlights: "highlights", styleOptions: "styleOptions", beforeRender: "beforeRender", dataReady: "dataReady" }, outputs: { dataPointClick: "dataPointClick", dataPointContextMenu: "dataPointContextMenu", dataPointsSelect: "dataPointsSelect" }, ngImport: i0, template: `
|
|
1912
|
+
<csdk-chart
|
|
1913
|
+
[chartType]="chartType"
|
|
1914
|
+
[dataSet]="dataSet"
|
|
1915
|
+
[dataOptions]="dataOptions"
|
|
1916
|
+
[filters]="filters"
|
|
1917
|
+
[highlights]="highlights"
|
|
1918
|
+
[styleOptions]="styleOptions"
|
|
1919
|
+
[beforeRender]="beforeRender"
|
|
1920
|
+
[dataReady]="dataReady"
|
|
1921
|
+
(dataPointClick)="dataPointClick.emit($any($event))"
|
|
1922
|
+
(dataPointContextMenu)="dataPointContextMenu.emit($any($event))"
|
|
1923
|
+
(dataPointsSelect)="dataPointsSelect.emit($any($event))"
|
|
1924
|
+
/>
|
|
1925
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ChartComponent, selector: "csdk-chart", inputs: ["chartType", "dataSet", "dataOptions", "filters", "highlights", "styleOptions", "beforeRender", "dataReady"], outputs: ["dataPointClick", "dataPointContextMenu", "dataPointsSelect"] }] });
|
|
1926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarHeatmapChartComponent, decorators: [{
|
|
1927
|
+
type: Component,
|
|
1928
|
+
args: [{
|
|
1929
|
+
selector: 'csdk-calendar-heatmap-chart',
|
|
1930
|
+
template: `
|
|
1931
|
+
<csdk-chart
|
|
1932
|
+
[chartType]="chartType"
|
|
1933
|
+
[dataSet]="dataSet"
|
|
1934
|
+
[dataOptions]="dataOptions"
|
|
1935
|
+
[filters]="filters"
|
|
1936
|
+
[highlights]="highlights"
|
|
1937
|
+
[styleOptions]="styleOptions"
|
|
1938
|
+
[beforeRender]="beforeRender"
|
|
1939
|
+
[dataReady]="dataReady"
|
|
1940
|
+
(dataPointClick)="dataPointClick.emit($any($event))"
|
|
1941
|
+
(dataPointContextMenu)="dataPointContextMenu.emit($any($event))"
|
|
1942
|
+
(dataPointsSelect)="dataPointsSelect.emit($any($event))"
|
|
1943
|
+
/>
|
|
1944
|
+
`,
|
|
1945
|
+
}]
|
|
1946
|
+
}], propDecorators: { dataSet: [{
|
|
1947
|
+
type: Input
|
|
1948
|
+
}], dataOptions: [{
|
|
1949
|
+
type: Input
|
|
1950
|
+
}], filters: [{
|
|
1951
|
+
type: Input
|
|
1952
|
+
}], highlights: [{
|
|
1953
|
+
type: Input
|
|
1954
|
+
}], styleOptions: [{
|
|
1955
|
+
type: Input
|
|
1956
|
+
}], beforeRender: [{
|
|
1957
|
+
type: Input
|
|
1958
|
+
}], dataReady: [{
|
|
1959
|
+
type: Input
|
|
1960
|
+
}], dataPointClick: [{
|
|
1961
|
+
type: Output
|
|
1962
|
+
}], dataPointContextMenu: [{
|
|
1963
|
+
type: Output
|
|
1964
|
+
}], dataPointsSelect: [{
|
|
1965
|
+
type: Output
|
|
1966
|
+
}] } });
|
|
1967
|
+
|
|
1723
1968
|
/**
|
|
1724
1969
|
* A component representing categorical data with vertical rectangular bars
|
|
1725
1970
|
* whose heights are proportional to the values that they represent.
|
|
@@ -5105,7 +5350,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5105
5350
|
* is used to render a widget created in a Sisense Fusion instance.
|
|
5106
5351
|
*
|
|
5107
5352
|
* To learn more about using Sisense Fusion Widgets in Compose SDK, see
|
|
5108
|
-
* [Sisense Fusion Widgets](https://sisense.
|
|
5353
|
+
* [Sisense Fusion Widgets](https://developer.sisense.com/guides/sdk/guides/charts/guide-fusion-widgets.html).
|
|
5109
5354
|
*
|
|
5110
5355
|
* @example
|
|
5111
5356
|
* ```html
|
|
@@ -5243,6 +5488,7 @@ SdkUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "1
|
|
|
5243
5488
|
ColumnChartComponent,
|
|
5244
5489
|
BarChartComponent,
|
|
5245
5490
|
AreaChartComponent,
|
|
5491
|
+
CalendarHeatmapChartComponent,
|
|
5246
5492
|
AreaRangeChartComponent,
|
|
5247
5493
|
LineChartComponent,
|
|
5248
5494
|
IndicatorChartComponent,
|
|
@@ -5276,6 +5522,7 @@ SdkUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "1
|
|
|
5276
5522
|
ColumnChartComponent,
|
|
5277
5523
|
BarChartComponent,
|
|
5278
5524
|
AreaChartComponent,
|
|
5525
|
+
CalendarHeatmapChartComponent,
|
|
5279
5526
|
AreaRangeChartComponent,
|
|
5280
5527
|
LineChartComponent,
|
|
5281
5528
|
IndicatorChartComponent,
|
|
@@ -5315,6 +5562,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5315
5562
|
ColumnChartComponent,
|
|
5316
5563
|
BarChartComponent,
|
|
5317
5564
|
AreaChartComponent,
|
|
5565
|
+
CalendarHeatmapChartComponent,
|
|
5318
5566
|
AreaRangeChartComponent,
|
|
5319
5567
|
LineChartComponent,
|
|
5320
5568
|
IndicatorChartComponent,
|
|
@@ -5352,6 +5600,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5352
5600
|
ColumnChartComponent,
|
|
5353
5601
|
BarChartComponent,
|
|
5354
5602
|
AreaChartComponent,
|
|
5603
|
+
CalendarHeatmapChartComponent,
|
|
5355
5604
|
AreaRangeChartComponent,
|
|
5356
5605
|
LineChartComponent,
|
|
5357
5606
|
IndicatorChartComponent,
|
|
@@ -5879,5 +6128,5 @@ var widgetModelTranslator = /*#__PURE__*/Object.freeze({
|
|
|
5879
6128
|
* Generated bundle index. Do not edit.
|
|
5880
6129
|
*/
|
|
5881
6130
|
|
|
5882
|
-
export { AreaChartComponent, AreaRangeChartComponent, AreamapChartComponent, BarChartComponent, BoxplotChartComponent, ChartComponent, ChartWidgetComponent, ColumnChartComponent, ContextMenuComponent, CriteriaFilterTileComponent, CustomWidgetsService, DashboardByIdComponent, DashboardComponent, DashboardService, DateRangeFilterTileComponent, DrilldownBreadcrumbsComponent, DrilldownWidgetComponent, FilterService, FilterTileComponent, FiltersPanelComponent, FunnelChartComponent, HierarchyService, IndicatorChartComponent, LineChartComponent, MemberFilterTileComponent, PieChartComponent, PivotTableComponent, PivotTableWidgetComponent, PolarChartComponent, QueryService, RelativeDateFilterTileComponent, SISENSE_CONTEXT_CONFIG_TOKEN, ScatterChartComponent, ScattermapChartComponent, SdkUiModule, SisenseContextService, SunburstChartComponent, THEME_CONFIG_TOKEN, TableComponent, TableWidgetComponent, ThemeService, TrackableService, TreemapChartComponent, WidgetByIdComponent, WidgetComponent, WidgetService, createCustomWidgetsContextConnector, createSisenseContextConnector, createThemeContextConnector, dashboardHelpers, dashboardModelTranslator, widgetModelTranslator };
|
|
6131
|
+
export { AreaChartComponent, AreaRangeChartComponent, AreamapChartComponent, BarChartComponent, BoxplotChartComponent, CalendarHeatmapChartComponent, ChartComponent, ChartWidgetComponent, ColumnChartComponent, ContextMenuComponent, CriteriaFilterTileComponent, CustomWidgetsService, DashboardByIdComponent, DashboardComponent, DashboardService, DateRangeFilterTileComponent, DrilldownBreadcrumbsComponent, DrilldownWidgetComponent, FilterService, FilterTileComponent, FiltersPanelComponent, FunnelChartComponent, HierarchyService, IndicatorChartComponent, LineChartComponent, MemberFilterTileComponent, PieChartComponent, PivotTableComponent, PivotTableWidgetComponent, PolarChartComponent, QueryService, RelativeDateFilterTileComponent, SISENSE_CONTEXT_CONFIG_TOKEN, ScatterChartComponent, ScattermapChartComponent, SdkUiModule, SisenseContextService, SunburstChartComponent, THEME_CONFIG_TOKEN, TableComponent, TableWidgetComponent, ThemeService, TrackableService, TreemapChartComponent, WidgetByIdComponent, WidgetComponent, WidgetService, createCustomWidgetsContextConnector, createSisenseContextConnector, createThemeContextConnector, dashboardHelpers, dashboardModelTranslator, widgetModelTranslator };
|
|
5883
6132
|
//# sourceMappingURL=sisense-sdk-ui-angular.mjs.map
|