@sisense/sdk-ui 0.12.1 → 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/api/types/dashboard-dto.d.ts +11 -4
- package/dist/chart-data-options/types.d.ts +12 -6
- package/dist/chart-options-processor/chart-options-service.d.ts +6 -2
- package/dist/chart-options-processor/style-to-design-options-translator/translate-to-highcharts-options.d.ts +5 -2
- package/dist/chart-options-processor/subtype-to-design-options.d.ts +2 -1
- package/dist/chart-options-processor/tooltip.d.ts +1 -0
- package/dist/chart-options-processor/translations/axis-section.d.ts +1 -0
- package/dist/chart-options-processor/translations/design-options.d.ts +2 -1
- package/dist/chart-options-processor/translations/scatter-series.d.ts +1 -0
- package/dist/chart-options-processor/translations/sunburst/sunburst-levels.d.ts +12 -0
- package/dist/chart-options-processor/translations/sunburst/sunburst-options.d.ts +6 -0
- package/dist/chart-options-processor/translations/sunburst/sunburst-series.d.ts +38 -0
- package/dist/chart-options-processor/translations/translations-to-highcharts.d.ts +5 -2
- package/dist/chart-options-processor/translations/treemap/treemap-tooltip.d.ts +8 -2
- package/dist/chart-options-processor/translations/types.d.ts +2 -2
- package/dist/chart.d.ts +1 -1
- package/dist/dashboard-widget/translate-dashboard-filters.d.ts +13 -0
- package/dist/dashboard-widget/translate-panel-color-format.d.ts +3 -2
- package/dist/dashboard-widget/translate-widget-filters.d.ts +31 -0
- package/dist/dashboard-widget/types.d.ts +26 -4
- package/dist/dashboard-widget/use-fetch-widget-dto-model.d.ts +48 -0
- package/dist/dashboard-widget/utils.d.ts +1 -1
- package/dist/decorators/{with-tracking → component-decorators/with-tracking}/error-tracker.d.ts +1 -1
- package/dist/decorators/hook-decorators/index.d.ts +1 -0
- package/dist/decorators/hook-decorators/with-tracking.d.ts +2 -0
- package/dist/filters/components/common/basic-input.d.ts +8 -0
- package/dist/filters/components/common/index.d.ts +1 -0
- package/dist/filters/components/date-filter/date-range-filter-tile/date-range-filter-tile.d.ts +1 -1
- package/dist/filters/components/filter-tile.d.ts +2 -2
- package/dist/filters/components/member-filter-tile/member-filter-tile.d.ts +1 -1
- package/dist/funnel-chart.d.ts +1 -1
- package/dist/highcharts-memorized.d.ts +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +33180 -32481
- package/dist/indicator-chart.d.ts +1 -1
- package/dist/models/dashboard/use-get-dashboard-model.d.ts +5 -0
- package/dist/models/dashboard/use-get-dashboard-models.d.ts +6 -1
- package/dist/no-results-overlay/images/index.d.ts +1 -1
- package/dist/pie-chart.d.ts +1 -1
- package/dist/props.d.ts +95 -46
- package/dist/query/execute-query.d.ts +13 -2
- package/dist/query-execution/use-execute-query-by-widget-id.d.ts +20 -5
- package/dist/query-execution/use-execute-query.d.ts +11 -3
- package/dist/scatter-chart.d.ts +1 -1
- package/dist/sunburst-chart.d.ts +27 -0
- package/dist/theme-provider/theme-provider.d.ts +1 -1
- package/dist/treemap-chart.d.ts +1 -2
- package/dist/types.d.ts +24 -2
- package/dist/widgets/chart-widget-deprecated.d.ts +30 -0
- package/dist/widgets/chart-widget.d.ts +3 -7
- package/dist/widgets/common/drilldown.d.ts +1 -1
- package/dist/widgets/table-widget.d.ts +1 -2
- package/package.json +7 -6
- /package/dist/decorators/{as-sisense-component.d.ts → component-decorators/as-sisense-component.d.ts} +0 -0
- /package/dist/decorators/{with-default-translations.d.ts → component-decorators/with-default-translations.d.ts} +0 -0
- /package/dist/decorators/{with-error-boundary.d.ts → component-decorators/with-error-boundary.d.ts} +0 -0
- /package/dist/decorators/{with-sisense-context-validation.d.ts → component-decorators/with-sisense-context-validation.d.ts} +0 -0
- /package/dist/decorators/{with-tracking → component-decorators/with-tracking}/index.d.ts +0 -0
- /package/dist/decorators/{with-tracking → component-decorators/with-tracking}/use-track-component-init.d.ts +0 -0
- /package/dist/decorators/{with-tracking → component-decorators/with-tracking}/with-tracking.d.ts +0 -0
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { type FunctionComponent } from 'react';
|
|
2
2
|
import { ChartWidgetProps } from '../props';
|
|
3
3
|
/**
|
|
4
|
-
* The Chart Widget component extending the {@link Chart} component to support
|
|
5
|
-
*
|
|
4
|
+
* The Chart Widget component extending the {@link Chart} component to support widget style options.
|
|
5
|
+
* It can be used along with the {@link DrilldownWidget} component to support advanced data drilldown.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* Example of using the `ChartWidget` component to
|
|
9
9
|
* plot a bar chart of the `Sample ECommerce` data source hosted in a Sisense instance.
|
|
10
|
-
* Drill-down capability is enabled.
|
|
11
10
|
* ```tsx
|
|
12
11
|
* <ChartWidget
|
|
13
12
|
* dataSource={DM.DataSource}
|
|
@@ -17,14 +16,11 @@ import { ChartWidgetProps } from '../props';
|
|
|
17
16
|
* value: [measures.sum(DM.Commerce.Revenue)],
|
|
18
17
|
* breakBy: [],
|
|
19
18
|
* }}
|
|
20
|
-
* drilldownOptions={{
|
|
21
|
-
* drilldownDimensions: [DM.Commerce.AgeRange, DM.Commerce.Gender, DM.Commerce.Condition],
|
|
22
|
-
* }}
|
|
23
19
|
* />
|
|
24
20
|
* ```
|
|
25
21
|
*
|
|
26
22
|
* <img src="media://chart-widget-with-drilldown-example-1.png" width="800px" />
|
|
27
23
|
* @param props - ChartWidget properties
|
|
28
|
-
* @returns ChartWidget component representing a chart type as specified in `ChartWidgetProps.`{@link ChartWidgetProps.chartType}
|
|
24
|
+
* @returns ChartWidget component representing a chart type as specified in `ChartWidgetProps.`{@link ChartWidgetProps.chartType | chartType}
|
|
29
25
|
*/
|
|
30
26
|
export declare const ChartWidget: FunctionComponent<ChartWidgetProps>;
|
|
@@ -22,7 +22,7 @@ export declare const useDrilldown: (dataOptions: ChartDataOptions, drilldownOpti
|
|
|
22
22
|
} | {
|
|
23
23
|
category: (import("@sisense/sdk-data").Column | import("../../types").StyledColumn)[];
|
|
24
24
|
value: (import("@sisense/sdk-data").MeasureColumn | import("@sisense/sdk-data").CalculatedMeasureColumn | import("../../types").StyledMeasureColumn)[];
|
|
25
|
-
seriesToColorMap?: import("../../types").ValueToColorMap | undefined;
|
|
25
|
+
seriesToColorMap?: import("../../types").ValueToColorMap | import("../../types").MultiColumnValueToColorMap | undefined;
|
|
26
26
|
};
|
|
27
27
|
selectDrilldown: (points: DataPoint[], nextDimension: Attribute) => void;
|
|
28
28
|
sliceDrilldownSelections: (i: number) => void;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { type FunctionComponent } from 'react';
|
|
2
2
|
import { TableWidgetProps } from '../props';
|
|
3
3
|
/**
|
|
4
|
-
* The TableWidget component extending the {@link Table} component to support
|
|
5
|
-
* capabilities such as header.
|
|
4
|
+
* The TableWidget component extending the {@link Table} component to support widget style options.
|
|
6
5
|
*
|
|
7
6
|
* @example
|
|
8
7
|
* Example of using the `Widget` component to
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sisense/sdk-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": "./dist/index.js",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -12,10 +12,11 @@
|
|
|
12
12
|
"@emotion/react": "^11.10.5",
|
|
13
13
|
"@emotion/styled": "^11.10.5",
|
|
14
14
|
"@mui/material": "^5.11.6",
|
|
15
|
-
"@sisense/sdk-common": "^0.
|
|
16
|
-
"@sisense/sdk-data": "^0.
|
|
17
|
-
"@sisense/sdk-query-client": "^0.
|
|
18
|
-
"@sisense/sdk-rest-client": "^0.
|
|
15
|
+
"@sisense/sdk-common": "^0.14.0",
|
|
16
|
+
"@sisense/sdk-data": "^0.14.0",
|
|
17
|
+
"@sisense/sdk-query-client": "^0.14.0",
|
|
18
|
+
"@sisense/sdk-rest-client": "^0.14.0",
|
|
19
|
+
"@sisense/sdk-tracking": "^0.14.0",
|
|
19
20
|
"@sisense/sisense-charts": "5.1.0-alpha-04052758.0",
|
|
20
21
|
"classnames": "^2.3.2",
|
|
21
22
|
"colorjs.io": "^0.4.3",
|
|
@@ -31,6 +32,7 @@
|
|
|
31
32
|
"react-datepicker": "^4.16.0",
|
|
32
33
|
"react-i18next": "^13.2.2",
|
|
33
34
|
"react-number-format": "^5.1.0",
|
|
35
|
+
"react-query": "^3.39.3",
|
|
34
36
|
"ts-deepmerge": "6.0.2",
|
|
35
37
|
"ts-essentials": "^9.3.0",
|
|
36
38
|
"whatwg-fetch": "^3.6.2"
|
|
@@ -60,7 +62,6 @@
|
|
|
60
62
|
"@babel/preset-env": "^7.20.2",
|
|
61
63
|
"@mui/icons-material": "^5.14.9",
|
|
62
64
|
"@mui/x-data-grid": "^6.16.0",
|
|
63
|
-
"@mui/x-data-grid-generator": "^6.16.0",
|
|
64
65
|
"@mui/x-data-grid-pro": "^6.16.0",
|
|
65
66
|
"@storybook/addon-actions": "7.0.24",
|
|
66
67
|
"@storybook/addon-docs": "7.0.24",
|
|
File without changes
|
|
File without changes
|
/package/dist/decorators/{with-error-boundary.d.ts → component-decorators/with-error-boundary.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/decorators/{with-tracking → component-decorators/with-tracking}/with-tracking.d.ts
RENAMED
|
File without changes
|