@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
|
@@ -44,6 +44,7 @@ export interface WidgetDto {
|
|
|
44
44
|
metadata: {
|
|
45
45
|
ignore?: FiltersIgnoringRules;
|
|
46
46
|
panels: Panel[];
|
|
47
|
+
drillHistory?: PanelItem[];
|
|
47
48
|
};
|
|
48
49
|
style: WidgetStyle;
|
|
49
50
|
title: string;
|
|
@@ -51,6 +52,7 @@ export interface WidgetDto {
|
|
|
51
52
|
options?: {
|
|
52
53
|
dashboardFiltersMode: `${WidgetDashboardFilterMode}`;
|
|
53
54
|
selector: boolean;
|
|
55
|
+
drillToAnywhere?: boolean;
|
|
54
56
|
};
|
|
55
57
|
}
|
|
56
58
|
export type WidgetDesign = {
|
|
@@ -121,6 +123,7 @@ export type PanelItem = {
|
|
|
121
123
|
subtotal?: boolean;
|
|
122
124
|
databars?: boolean;
|
|
123
125
|
width?: number;
|
|
126
|
+
colorIndex?: number;
|
|
124
127
|
};
|
|
125
128
|
jaql: Jaql;
|
|
126
129
|
disabled?: boolean;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { ErrorEventOptions } from '@sisense/sdk-tracking';
|
|
1
2
|
import { HttpClient } from '@sisense/sdk-rest-client';
|
|
2
3
|
import { Component, ReactNode } from 'react';
|
|
3
4
|
import { SisenseContextPayload } from '../../../sisense-context/sisense-context';
|
|
4
5
|
type ErrorTrackerProps = {
|
|
5
6
|
children: ReactNode;
|
|
7
|
+
handler: (options: ErrorEventOptions) => Promise<void>;
|
|
6
8
|
componentName: string;
|
|
7
9
|
};
|
|
8
10
|
export declare class ErrorTracker extends Component<ErrorTrackerProps, {
|
|
@@ -10,6 +12,7 @@ export declare class ErrorTracker extends Component<ErrorTrackerProps, {
|
|
|
10
12
|
}> {
|
|
11
13
|
componentName: string;
|
|
12
14
|
context: SisenseContextPayload;
|
|
15
|
+
handler: (options: ErrorEventOptions) => Promise<void>;
|
|
13
16
|
httpClient?: HttpClient;
|
|
14
17
|
postponedErrors: Error[];
|
|
15
18
|
constructor(props: ErrorTrackerProps);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { DataSource, Filter } from '@sisense/sdk-data';
|
|
2
3
|
/**
|
|
3
4
|
* Props of the {@link FiltersPanel} component
|
|
@@ -17,4 +18,4 @@ export type FiltersPanelProps = {
|
|
|
17
18
|
*
|
|
18
19
|
* @internal
|
|
19
20
|
*/
|
|
20
|
-
export declare const FiltersPanel:
|
|
21
|
+
export declare const FiltersPanel: import("react").FunctionComponent<FiltersPanelProps>;
|