@sisense/sdk-ui 1.16.0 → 1.17.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.cjs +1 -1
- package/dist/ai.js +28 -28
- package/dist/analytics-composer.cjs +1 -1
- package/dist/analytics-composer.js +1 -1
- package/dist/app/client-application.d.ts +22 -2
- package/dist/chart-data/types.d.ts +1 -1
- package/dist/chart-data-options/types.d.ts +4 -2
- package/dist/chart-data-processor/table-processor.d.ts +1 -1
- package/dist/chart-options-processor/common-highcharts-option-service.d.ts +2 -1
- package/dist/charts/map-charts/scattermap/utils/map.d.ts +6 -2
- package/dist/charts/map-charts/scattermap/utils/markers.d.ts +1 -1
- package/dist/charts/table/data-table-wrapper.d.ts +1 -1
- package/dist/charts/table/helpers/calc-column-widths.d.ts +1 -1
- package/dist/charts/table/types.d.ts +0 -1
- package/dist/common/components/loading-indicator.d.ts +13 -0
- package/dist/common/hooks/use-has-changed.d.ts +1 -1
- package/dist/common/hooks/use-tracking.d.ts +7 -0
- package/dist/common-filters/selection-utils.d.ts +1 -1
- package/dist/common-filters/types.d.ts +9 -3
- package/dist/common-filters/utils.d.ts +0 -4
- package/dist/dashboard/dashboard-by-id.d.ts +6 -3
- package/dist/dashboard/dashboard.d.ts +6 -4
- package/dist/dashboard/index.d.ts +1 -1
- package/dist/dashboard/types.d.ts +11 -6
- package/dist/dashboard-widget/translate-widget-drilldown-options.d.ts +2 -2
- package/dist/dashboard-widget/types.d.ts +3 -0
- package/dist/decorators/component-decorators/with-tracking/error-tracker.d.ts +3 -0
- package/dist/filters/components/filters-panel/filters-panel.d.ts +2 -1
- package/dist/get-widget-options-D4UHj7o5.cjs +198 -0
- package/dist/get-widget-options-D88MkBTJ.js +37924 -0
- package/dist/index.cjs +181 -207
- package/dist/index.d.ts +3 -3
- package/dist/index.js +20411 -24315
- package/dist/models/dashboard/get-dashboard-model.d.ts +1 -1
- package/dist/models/dashboard/types.d.ts +17 -3
- package/dist/models/widget/get-widget-model.d.ts +1 -1
- package/dist/models/widget/translate-widget.d.ts +1 -0
- package/dist/pivot-table/helpers/prepare-pivot-styling-props.d.ts +16 -15
- package/dist/pivot-table/{use-apply-pivot-table-formatting.d.ts → hooks/use-apply-pivot-table-formatting.d.ts} +1 -1
- package/dist/pivot-table/{use-get-pivot-table-query.d.ts → hooks/use-get-pivot-table-query.d.ts} +2 -2
- package/dist/pivot-table/hooks/use-pivot-data-loading.d.ts +15 -0
- package/dist/pivot-table/hooks/use-pivot-data-service.d.ts +10 -0
- package/dist/pivot-table/{use-pivot-table-data-options-internal.d.ts → hooks/use-pivot-table-data-options-internal.d.ts} +2 -2
- package/dist/pivot-table/hooks/use-render-pivot.d.ts +24 -0
- package/dist/pivot-table/pivot-table.d.ts +2 -2
- package/dist/props.d.ts +32 -5
- package/dist/sisense-context/sisense-context.d.ts +2 -0
- package/dist/theme-provider/default-theme-settings.d.ts +2 -0
- package/dist/types.d.ts +38 -0
- package/dist/{useQuery-DeK1uDeJ.js → useQuery-C6PPvTP0.js} +11776 -11315
- package/dist/useQuery-ChZNmTT3.cjs +433 -0
- package/dist/utils/color/color-interpolation.d.ts +9 -0
- package/dist/utils/combine-handlers.d.ts +3 -0
- package/dist/utils/filters.d.ts +13 -1
- package/dist/widgets/common/drilldown-connector.d.ts +19 -0
- package/dist/widgets/common/{custom-drilldown.d.ts → use-drilldown.d.ts} +7 -3
- package/dist/widgets/use-highlight-selection.d.ts +10 -0
- package/package.json +7 -8
- package/dist/filters/utils.d.ts +0 -8
- package/dist/get-widget-options-D008Wku-.cjs +0 -172
- package/dist/get-widget-options-Xskksk4X.js +0 -34154
- package/dist/useQuery-aWnvBOTu.cjs +0 -433
- package/dist/widgets/chart-widget-deprecated.d.ts +0 -30
- package/dist/widgets/common/drilldown.d.ts +0 -25
- package/dist/widgets/common/use-widget-drilldown.d.ts +0 -2
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { type FunctionComponent } from 'react';
|
|
2
|
-
import { ChartWidgetProps } from '../props';
|
|
3
|
-
/**
|
|
4
|
-
* The Chart Widget component extending the {@link Chart} component to support advanced BI
|
|
5
|
-
* capabilities such as drilldown.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* Example of using the `ChartWidget` component to
|
|
9
|
-
* plot a bar chart of the `Sample ECommerce` data source hosted in a Sisense instance.
|
|
10
|
-
* Drill-down capability is enabled.
|
|
11
|
-
* ```tsx
|
|
12
|
-
* <ChartWidget
|
|
13
|
-
* dataSource={DM.DataSource}
|
|
14
|
-
* chartType="bar"
|
|
15
|
-
* dataOptions={{
|
|
16
|
-
* category: [DM.Category.Category],
|
|
17
|
-
* value: [measureFactory.sum(DM.Commerce.Revenue)],
|
|
18
|
-
* breakBy: [],
|
|
19
|
-
* }}
|
|
20
|
-
* drilldownOptions={{
|
|
21
|
-
* drilldownDimensions: [DM.Commerce.AgeRange, DM.Commerce.Gender, DM.Commerce.Condition],
|
|
22
|
-
* }}
|
|
23
|
-
* />
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* <img src="media://chart-widget-with-drilldown-example-1.png" width="800px" />
|
|
27
|
-
* @param props - ChartWidget properties
|
|
28
|
-
* @returns ChartWidget component representing a chart type as specified in `ChartWidgetProps.`{@link ChartWidgetProps.chartType}
|
|
29
|
-
*/
|
|
30
|
-
export declare const ChartWidgetDeprecated: FunctionComponent<ChartWidgetProps>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ChartDataOptions, ChartDataPoint, DataPoint, DrilldownOptions, DrilldownSelection } from '../../types';
|
|
2
|
-
import { Attribute, MembersFilter } from '@sisense/sdk-data';
|
|
3
|
-
export declare const useDrilldown: (dataOptions: ChartDataOptions, drilldownOptions?: DrilldownOptions) => {
|
|
4
|
-
drilldownFilters: never[];
|
|
5
|
-
drilldownFiltersDisplayValues: never[];
|
|
6
|
-
drilldownDimension: undefined;
|
|
7
|
-
dataOptionsWithDrilldown: ChartDataOptions;
|
|
8
|
-
selectDrilldown: (points: DataPoint[], nextDimension: Attribute) => void;
|
|
9
|
-
sliceDrilldownSelections: (i: number) => void;
|
|
10
|
-
clearDrilldownSelections: () => void;
|
|
11
|
-
drilldownSelections: DrilldownSelection[];
|
|
12
|
-
availableDrilldowns: Attribute[];
|
|
13
|
-
} | {
|
|
14
|
-
drilldownFilters: MembersFilter[];
|
|
15
|
-
drilldownFiltersDisplayValues: string[][];
|
|
16
|
-
drilldownDimension: Attribute;
|
|
17
|
-
dataOptionsWithDrilldown: ChartDataOptions;
|
|
18
|
-
selectDrilldown: (points: DataPoint[], nextDimension: Attribute) => void;
|
|
19
|
-
sliceDrilldownSelections: (i: number) => void;
|
|
20
|
-
clearDrilldownSelections: () => void;
|
|
21
|
-
drilldownSelections: DrilldownSelection[];
|
|
22
|
-
availableDrilldowns: Attribute[];
|
|
23
|
-
};
|
|
24
|
-
export declare function getMemberNameFromDataPoint(point: ChartDataPoint): string;
|
|
25
|
-
export declare function getDisplayMemberNameFromDataPoint(point: ChartDataPoint): string;
|