@sisense/sdk-ui 1.17.1 → 1.18.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 +55 -55
- package/dist/analytics-composer.cjs +1 -1
- package/dist/analytics-composer.js +1 -1
- package/dist/api/types/dashboard-dto.d.ts +3 -0
- package/dist/app/client-application.d.ts +2 -2
- package/dist/chart-data-options/types.d.ts +2 -2
- package/dist/chart-options-processor/advanced-analytics/tooltips/forecast-tooltip.d.ts +14 -0
- package/dist/chart-options-processor/advanced-analytics/tooltips/tooltip-footer.d.ts +6 -0
- package/dist/chart-options-processor/advanced-analytics/tooltips/tooltip-row.d.ts +6 -0
- package/dist/chart-options-processor/advanced-analytics/tooltips/tooltip-title.d.ts +6 -0
- package/dist/chart-options-processor/advanced-analytics/tooltips/trend-tooltip.d.ts +24 -0
- package/dist/chart-options-processor/advanced-chart-options.d.ts +3 -4
- package/dist/chart-options-processor/boxplot-chart-options.d.ts +2 -2
- package/dist/chart-options-processor/translations/axis-section.d.ts +2 -2
- package/dist/chart-options-processor/translations/boxplot/boxplot-series.d.ts +2 -2
- package/dist/chart-options-processor/translations/design-options.d.ts +7 -1
- package/dist/chart-options-processor/translations/navigator.d.ts +2 -1
- package/dist/chart-options-processor/translations/sunburst/sunburst-series.d.ts +6 -0
- package/dist/chart-options-processor/translations/tooltip-utils.d.ts +6 -0
- package/dist/chart-options-processor/translations/translations-to-highcharts.d.ts +6 -0
- package/dist/common/components/loading-indicator.d.ts +6 -0
- package/dist/dashboard/dashboard-by-id.d.ts +18 -0
- package/dist/dashboard/dashboard.d.ts +34 -0
- package/dist/dashboard-widget/translate-dashboard-filters.d.ts +19 -1
- package/dist/dashboard-widget/translate-widget-data-options.d.ts +14 -0
- package/dist/dashboard-widget/translate-widget-filters.d.ts +1 -1
- package/dist/dashboard-widget/translate-widget-style-options.d.ts +7 -3
- package/dist/dashboard-widget/types.d.ts +51 -0
- package/dist/dashboard-widget/utils.d.ts +2 -1
- package/dist/get-widget-options-CDWzHX-s.cjs +271 -0
- package/dist/get-widget-options-DJexR5_Z.js +43751 -0
- package/dist/index.cjs +167 -172
- package/dist/index.d.ts +4 -0
- package/dist/index.js +17247 -19557
- package/dist/props.d.ts +8 -1
- package/dist/translation/resources/en.d.ts +10 -0
- package/dist/translation/resources/index.d.ts +20 -0
- package/dist/types.d.ts +20 -1
- package/dist/{useQuery-DLPVGDKo.js → useQuery-Bkuiz8XK.js} +10245 -9427
- package/dist/useQuery-CZAKQmD7.cjs +433 -0
- package/package.json +8 -8
- package/dist/get-widget-options-D4UHj7o5.cjs +0 -198
- package/dist/get-widget-options-D88MkBTJ.js +0 -37924
- package/dist/useQuery-CFlf48eQ.cjs +0 -433
package/dist/props.d.ts
CHANGED
|
@@ -55,6 +55,14 @@ export interface SisenseContextProviderProps {
|
|
|
55
55
|
* @category Sisense Authentication
|
|
56
56
|
*/
|
|
57
57
|
wat?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* Flag to delegate authentication to Fusion.
|
|
60
|
+
*
|
|
61
|
+
* Defaults to `false`.
|
|
62
|
+
*
|
|
63
|
+
* @category Sisense Authentication
|
|
64
|
+
*/
|
|
65
|
+
useFusionAuth?: boolean;
|
|
58
66
|
/**
|
|
59
67
|
* Application specific configurations such as locale and date formats.
|
|
60
68
|
*
|
|
@@ -79,7 +87,6 @@ export interface SisenseContextProviderProps {
|
|
|
79
87
|
* such as incorrect configuration, invalid authentication, or network-related issues.
|
|
80
88
|
*
|
|
81
89
|
* @param error - The error object containing details about the issue.
|
|
82
|
-
*
|
|
83
90
|
* @category Sisense App Error Handling
|
|
84
91
|
*/
|
|
85
92
|
onError?: (error: Error) => void;
|
|
@@ -94,6 +94,16 @@ export declare const translation: {
|
|
|
94
94
|
forecastValue: string;
|
|
95
95
|
forecast: string;
|
|
96
96
|
trend: string;
|
|
97
|
+
trendLocalValue: string;
|
|
98
|
+
confidenceInterval: string;
|
|
99
|
+
trendType: string;
|
|
100
|
+
trendDataKey: string;
|
|
101
|
+
trendData: {
|
|
102
|
+
min: string;
|
|
103
|
+
max: string;
|
|
104
|
+
median: string;
|
|
105
|
+
average: string;
|
|
106
|
+
};
|
|
97
107
|
};
|
|
98
108
|
};
|
|
99
109
|
arearange: {
|
|
@@ -98,6 +98,16 @@ export declare const resources: {
|
|
|
98
98
|
forecastValue: string;
|
|
99
99
|
forecast: string;
|
|
100
100
|
trend: string;
|
|
101
|
+
trendLocalValue: string;
|
|
102
|
+
confidenceInterval: string;
|
|
103
|
+
trendType: string;
|
|
104
|
+
trendDataKey: string;
|
|
105
|
+
trendData: {
|
|
106
|
+
min: string;
|
|
107
|
+
max: string;
|
|
108
|
+
median: string;
|
|
109
|
+
average: string;
|
|
110
|
+
};
|
|
101
111
|
};
|
|
102
112
|
};
|
|
103
113
|
arearange: {
|
|
@@ -211,6 +221,16 @@ export declare const resources: {
|
|
|
211
221
|
forecastValue: string;
|
|
212
222
|
forecast: string;
|
|
213
223
|
trend: string;
|
|
224
|
+
trendLocalValue: string;
|
|
225
|
+
confidenceInterval: string;
|
|
226
|
+
trendType: string;
|
|
227
|
+
trendDataKey: string;
|
|
228
|
+
trendData: {
|
|
229
|
+
min: string;
|
|
230
|
+
max: string;
|
|
231
|
+
median: string;
|
|
232
|
+
average: string;
|
|
233
|
+
};
|
|
214
234
|
};
|
|
215
235
|
};
|
|
216
236
|
arearange: {
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { AutoZoomNavigatorScrollerLocation } from './dashboard-widget/types';
|
|
2
3
|
import type { Attribute, MembersFilter } from '@sisense/sdk-data';
|
|
3
4
|
import { DeepRequired } from 'ts-essentials';
|
|
4
5
|
import { AreaSubtype, BoxplotSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, AreaRangeSubtype } from './chart-options-processor/subtype-to-design-options';
|
|
@@ -29,6 +30,7 @@ export type Components = {
|
|
|
29
30
|
export type Navigator = {
|
|
30
31
|
/** Boolean flag that defines if navigator should be shown on the chart */
|
|
31
32
|
enabled: boolean;
|
|
33
|
+
scrollerLocation?: AutoZoomNavigatorScrollerLocation;
|
|
32
34
|
};
|
|
33
35
|
/** Configuration that defines line width */
|
|
34
36
|
export type LineWidth = {
|
|
@@ -632,7 +634,11 @@ export interface ChartThemeSettings {
|
|
|
632
634
|
secondaryTextColor?: string;
|
|
633
635
|
/** Background color */
|
|
634
636
|
backgroundColor?: string;
|
|
635
|
-
/**
|
|
637
|
+
/**
|
|
638
|
+
* Toolbar Background color, can be used as a secondary background color
|
|
639
|
+
*
|
|
640
|
+
* @deprecated
|
|
641
|
+
* */
|
|
636
642
|
panelBackgroundColor?: string;
|
|
637
643
|
/** Animation options */
|
|
638
644
|
animation?: {
|
|
@@ -895,6 +901,17 @@ export type DashboardThemeSettings = {
|
|
|
895
901
|
/** Divider line color */
|
|
896
902
|
dividerLineColor?: string;
|
|
897
903
|
};
|
|
904
|
+
/**
|
|
905
|
+
* Filter theme settings
|
|
906
|
+
*/
|
|
907
|
+
export type FilterThemeSettings = {
|
|
908
|
+
panel: {
|
|
909
|
+
/** Title color */
|
|
910
|
+
titleColor?: string;
|
|
911
|
+
/** Background color */
|
|
912
|
+
backgroundColor?: string;
|
|
913
|
+
};
|
|
914
|
+
};
|
|
898
915
|
/** Theme settings defining the look and feel of components. */
|
|
899
916
|
export interface ThemeSettings {
|
|
900
917
|
/** Chart theme settings */
|
|
@@ -913,6 +930,8 @@ export interface ThemeSettings {
|
|
|
913
930
|
* @internal
|
|
914
931
|
*/
|
|
915
932
|
dashboard?: DashboardThemeSettings;
|
|
933
|
+
/** Filter theme settings */
|
|
934
|
+
filter?: FilterThemeSettings;
|
|
916
935
|
/**
|
|
917
936
|
* Theme settings specific to the AI Chatbot component
|
|
918
937
|
*/
|