@sisense/sdk-ui 1.7.0 → 1.7.2
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/chat-config.d.ts +2 -0
- package/dist/ai/chat-style-provider.d.ts +7 -0
- package/dist/ai/messages/chat-welcome-message.d.ts +2 -0
- package/dist/ai.js +2672 -2587
- package/dist/api/rest-api.d.ts +4 -1
- package/dist/app/client-application.d.ts +24 -0
- package/dist/chart-options-processor/common-highcharts-option-service.d.ts +1 -1
- package/dist/chart-options-processor/theme-option-service.d.ts +2 -1
- package/dist/common/icons/exclamation-mark-icon.d.ts +4 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +234 -227
- package/dist/theme-provider/index.d.ts +1 -0
- package/dist/theme-provider/theme-context.d.ts +14 -0
- package/dist/theme-provider/theme-provider.d.ts +0 -13
- package/dist/translation/resources/en.d.ts +1 -0
- package/dist/translation/resources/index.d.ts +2 -0
- package/dist/types.d.ts +1 -1
- package/dist/{useQuery-aa258c0d.js → useQuery-76ecbd20.js} +7932 -7873
- package/package.json +7 -7
- package/dist/ai/chat-intro-blurb.d.ts +0 -4
- package/dist/ai/icons/loading-dots-gif-base64.d.ts +0 -2
- package/dist/common/icons/yellow-exclamation-mark-icon.d.ts +0 -2
package/dist/api/rest-api.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ type GetDashboardsOptions = {
|
|
|
9
9
|
};
|
|
10
10
|
type GetDashboardOptions = {
|
|
11
11
|
fields?: string[];
|
|
12
|
-
expand?: string[];
|
|
13
12
|
};
|
|
14
13
|
export declare class RestApi {
|
|
15
14
|
private httpClient;
|
|
@@ -22,6 +21,10 @@ export declare class RestApi {
|
|
|
22
21
|
* Get a specific dashboard
|
|
23
22
|
*/
|
|
24
23
|
getDashboard: (dashboardOid: string, options?: GetDashboardOptions) => Promise<DashboardDto>;
|
|
24
|
+
/**
|
|
25
|
+
* Get all widgets of a specific dashboard
|
|
26
|
+
*/
|
|
27
|
+
getDashboardWidgets: (dashboardOid: string) => Promise<WidgetDto[]>;
|
|
25
28
|
/**
|
|
26
29
|
* Get a specific widget from a dashboard
|
|
27
30
|
*/
|
|
@@ -46,6 +46,30 @@ export type AppConfig = {
|
|
|
46
46
|
* @default 20000
|
|
47
47
|
*/
|
|
48
48
|
queryLimit?: number;
|
|
49
|
+
/**
|
|
50
|
+
* Accessibility configuration
|
|
51
|
+
*
|
|
52
|
+
* This feature is in alpha
|
|
53
|
+
*/
|
|
54
|
+
accessibilityConfig?: {
|
|
55
|
+
/**
|
|
56
|
+
* Whether to enable accessibility features
|
|
57
|
+
*
|
|
58
|
+
* If not specified, the default value is `false`
|
|
59
|
+
*/
|
|
60
|
+
enabled?: boolean;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Configuration of the component that is rendered in case of an error
|
|
64
|
+
*/
|
|
65
|
+
errorBoundaryConfig?: {
|
|
66
|
+
/**
|
|
67
|
+
* Whether to show error text without hovering over the error icon
|
|
68
|
+
*
|
|
69
|
+
* If not specified, the default value is `false`
|
|
70
|
+
*/
|
|
71
|
+
alwaysShowErrorText?: boolean;
|
|
72
|
+
};
|
|
49
73
|
};
|
|
50
74
|
/**
|
|
51
75
|
* Stands for a Sisense Client Application which connects to a Sisense Environment
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { HighchartsOptionsInternal } from './chart-options-service';
|
|
2
2
|
export declare const DEFAULT_ANIMATION_DURATION_MS_INIT = 600;
|
|
3
3
|
export declare const DEFAULT_ANIMATION_DURATION_MS_UPDATE = 300;
|
|
4
|
-
export declare const applyCommonHighchartsOptions: (chartOptions: HighchartsOptionsInternal) => HighchartsOptionsInternal;
|
|
4
|
+
export declare const applyCommonHighchartsOptions: (chartOptions: HighchartsOptionsInternal, accessibilityEnabled: boolean) => HighchartsOptionsInternal;
|
|
@@ -4,7 +4,8 @@ export declare const applyThemeToChart: (chartOptions: HighchartsOptionsInternal
|
|
|
4
4
|
/**
|
|
5
5
|
* Returns default theme settings, which can be used as base for custom theme options.
|
|
6
6
|
*
|
|
7
|
+
* @param isDarkMode - Boolean value whether to get theme settings for dark mode
|
|
7
8
|
* @returns Theme settings object
|
|
8
9
|
* @internal
|
|
9
10
|
*/
|
|
10
|
-
export declare const getDefaultThemeSettings: () => CompleteThemeSettings;
|
|
11
|
+
export declare const getDefaultThemeSettings: (isDarkMode?: boolean) => CompleteThemeSettings;
|
package/dist/index.d.ts
CHANGED
|
@@ -44,6 +44,6 @@ export { trackHook } from './decorators/hook-decorators';
|
|
|
44
44
|
export * from './common/hooks/data-load-state-reducer';
|
|
45
45
|
export { createDataOptionsFromPanels } from './dashboard-widget/translate-widget-data-options';
|
|
46
46
|
export { createFilterFromJaql } from './dashboard-widget/translate-widget-filters';
|
|
47
|
-
export { useThemeContext } from './theme-provider
|
|
47
|
+
export { useThemeContext } from './theme-provider';
|
|
48
48
|
export { LoadingIndicator } from './common/components/loading-indicator';
|
|
49
49
|
export { useFetch, type RequestConfig, type UseQueryResult } from './common/hooks/use-fetch';
|