@sisense/sdk-ui 1.7.2 → 1.8.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/ai-disclaimer.d.ts +2 -0
- package/dist/ai/chat-config.d.ts +6 -0
- package/dist/ai/messages/chat-welcome-message.d.ts +1 -1
- package/dist/ai/messages/clickable-message.d.ts +9 -0
- package/dist/ai/messages/feedback-wrapper.d.ts +2 -2
- package/dist/ai/messages/insights-message.d.ts +5 -5
- package/dist/ai/messages/text-message.d.ts +1 -2
- package/dist/ai/translators/model-translator.d.ts +1 -0
- package/dist/ai/translators/query-translator.d.ts +16 -1
- package/dist/ai/translators/translate-filters-to-code.d.ts +2 -0
- package/dist/ai/translators/translate-props-to-code.d.ts +1 -1
- package/dist/ai/translators/utils.d.ts +10 -0
- package/dist/ai.js +1723 -1612
- package/dist/area-chart.d.ts +14 -18
- package/dist/areamap-chart.d.ts +13 -15
- package/dist/bar-chart.d.ts +13 -18
- package/dist/boxplot-chart.d.ts +11 -25
- package/dist/chart/chart.d.ts +8 -66
- package/dist/chart-data/cartesian-data.d.ts +1 -1
- package/dist/chart-data/chart-data-service.d.ts +1 -2
- package/dist/chart-data/data-coloring/types.d.ts +1 -7
- package/dist/chart-data-options/types.d.ts +5 -3
- package/dist/column-chart.d.ts +15 -18
- package/dist/dashboard-widget/dashboard-widget.d.ts +10 -7
- package/dist/dashboard-widget/translate-widget-data-options.d.ts +1 -1
- package/dist/dashboard-widget/translate-widget-filters.d.ts +22 -14
- package/dist/dashboard-widget/types.d.ts +2 -2
- package/dist/dashboard-widget/utils.d.ts +2 -2
- package/dist/formulas/use-get-shared-formula.d.ts +3 -3
- package/dist/funnel-chart.d.ts +9 -36
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1619 -1620
- package/dist/indicator-chart.d.ts +0 -1
- package/dist/line-chart.d.ts +14 -17
- package/dist/models/widget/use-get-widget-model.d.ts +16 -21
- package/dist/pie-chart.d.ts +14 -16
- package/dist/pivot-table/pivot-table.d.ts +43 -3
- package/dist/polar-chart.d.ts +14 -17
- package/dist/props.d.ts +12 -12
- package/dist/query-execution/use-execute-pivot-query.d.ts +11 -29
- package/dist/query-execution/use-execute-query.d.ts +19 -26
- package/dist/scatter-chart.d.ts +11 -49
- package/dist/scattermap-chart.d.ts +9 -22
- package/dist/sunburst-chart.d.ts +10 -15
- package/dist/table/table.d.ts +7 -37
- package/dist/translation/resources/en.d.ts +1 -0
- package/dist/translation/resources/index.d.ts +2 -0
- package/dist/treemap-chart.d.ts +10 -21
- package/dist/types.d.ts +2 -3
- package/dist/{useQuery-76ecbd20.js → useQuery-cb11e76c.js} +18866 -18607
- package/dist/widgets/common/drilldown.d.ts +1 -20
- package/dist/widgets/drilldown-widget.d.ts +21 -33
- package/package.json +7 -7
package/dist/treemap-chart.d.ts
CHANGED
|
@@ -2,31 +2,20 @@
|
|
|
2
2
|
import { TreemapChartProps } from './props';
|
|
3
3
|
/**
|
|
4
4
|
* A React component displaying hierarchical data in the form of nested rectangles.
|
|
5
|
+
*
|
|
5
6
|
* This type of chart can be used instead of a column chart for comparing a large number of categories and sub-categories.
|
|
6
|
-
* See [Treemap Chart](https://docs.sisense.com/main/SisenseLinux/treemap.htm) for more information.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* isColored: true,
|
|
18
|
-
* },
|
|
19
|
-
* DM.Commerce.Date.Years
|
|
20
|
-
* ],
|
|
21
|
-
* value: [measureFactory.sum(DM.Commerce.Quantity)],
|
|
22
|
-
* }}
|
|
23
|
-
* onDataPointClick= {(point, nativeEvent) => {
|
|
24
|
-
* console.log('clicked', point, nativeEvent);
|
|
25
|
-
* }}
|
|
8
|
+
* ## Example
|
|
9
|
+
*
|
|
10
|
+
* Tree map chart displaying total revenue, categorized by condition and age range, from the Sample ECommerce data model.
|
|
11
|
+
*
|
|
12
|
+
* <iframe
|
|
13
|
+
* src='https://csdk-playground.sisense.com/?example=charts%2Ftreemap-chart&mode=docs'
|
|
14
|
+
* width=800
|
|
15
|
+
* height=870
|
|
16
|
+
* style='border:none;'
|
|
26
17
|
* />
|
|
27
|
-
* ```
|
|
28
18
|
*
|
|
29
|
-
* <img src="media://treemap-chart-example-1.png" width="600px" />
|
|
30
19
|
* @param props - Treemap chart properties
|
|
31
20
|
* @returns Treemap Chart component
|
|
32
21
|
* @group Charts
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Attribute, MembersFilter } from '@sisense/sdk-data';
|
|
2
|
+
import type { Attribute, MembersFilter } from '@sisense/sdk-data';
|
|
3
3
|
import { DeepRequired } from 'ts-essentials';
|
|
4
4
|
import { AreaSubtype, BoxplotSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype } from './chart-options-processor/subtype-to-design-options';
|
|
5
5
|
import { IndicatorComponents } from './chart-options-processor/translations/design-options';
|
|
@@ -10,6 +10,7 @@ import { DataPointsEventHandler } from './props';
|
|
|
10
10
|
import { LegendPosition } from './chart-options-processor/translations/legend-section';
|
|
11
11
|
import { GeoDataElement, RawGeoDataElement } from './chart-data/types';
|
|
12
12
|
import { Coordinates } from './charts/map-charts/scattermap/types';
|
|
13
|
+
export type { SortDirection, PivotRowsSort } from '@sisense/sdk-data';
|
|
13
14
|
export type { AppConfig } from './app/client-application';
|
|
14
15
|
export type { DateConfig } from './query/date-formats';
|
|
15
16
|
export type { CartesianChartDataOptions, CategoricalChartDataOptions, ChartDataOptions, ScatterChartDataOptions, IndicatorChartDataOptions, StyledColumn, StyledMeasureColumn, } from './chart-data-options/types';
|
|
@@ -482,8 +483,6 @@ export type ChartType = CartesianChartType | CategoricalChartType | ScatterChart
|
|
|
482
483
|
export type SeriesChartType = 'auto' | 'line' | 'spline' | 'areaspline' | 'bar' | 'area' | 'column' | 'scatter';
|
|
483
484
|
/** The number of decimal places */
|
|
484
485
|
export type DecimalScale = number | 'auto';
|
|
485
|
-
/** Sorting direction, either by Ascending order, Descending order, or None */
|
|
486
|
-
export type SortDirection = 'sortAsc' | 'sortDesc' | 'sortNone';
|
|
487
486
|
/**
|
|
488
487
|
* Configuration for number formatting.
|
|
489
488
|
*/
|