@sisense/sdk-ui 1.7.1 → 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 +11 -0
- 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 +230 -226
- 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-a7ee8c12.js → useQuery-76ecbd20.js} +7925 -7871
- 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
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CompleteThemeSettings } from '../types';
|
|
3
|
+
export declare const ThemeContext: import("react").Context<{
|
|
4
|
+
themeSettings: CompleteThemeSettings;
|
|
5
|
+
}>;
|
|
6
|
+
/**
|
|
7
|
+
* Hook to get the current theme settings.
|
|
8
|
+
*
|
|
9
|
+
* @returns The current theme settings
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export declare const useThemeContext: () => {
|
|
13
|
+
themeSettings: CompleteThemeSettings;
|
|
14
|
+
};
|
|
@@ -1,18 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ThemeProviderProps } from '../props';
|
|
3
|
-
import { CompleteThemeSettings } from '../types';
|
|
4
|
-
export declare const ThemeContext: import("react").Context<{
|
|
5
|
-
themeSettings: CompleteThemeSettings;
|
|
6
|
-
}>;
|
|
7
|
-
/**
|
|
8
|
-
* Hook to get the current theme settings.
|
|
9
|
-
*
|
|
10
|
-
* @returns The current theme settings
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
export declare const useThemeContext: () => {
|
|
14
|
-
themeSettings: CompleteThemeSettings;
|
|
15
|
-
};
|
|
16
3
|
/**
|
|
17
4
|
* Theme provider, which allows you to adjust the look and feel of child components.
|
|
18
5
|
*
|
|
@@ -6,6 +6,7 @@ export declare const translation: {
|
|
|
6
6
|
chartNoSisenseContext: string;
|
|
7
7
|
dashboardWidgetNoSisenseContext: string;
|
|
8
8
|
dashboardWidgetInvalidIdentifiers: string;
|
|
9
|
+
dashboardWidgetsInvalidIdentifiers: string;
|
|
9
10
|
executeQueryNoSisenseContext: string;
|
|
10
11
|
executeQueryNoDataSource: string;
|
|
11
12
|
dataOptions: {
|
|
@@ -10,6 +10,7 @@ export declare const resources: {
|
|
|
10
10
|
chartNoSisenseContext: string;
|
|
11
11
|
dashboardWidgetNoSisenseContext: string;
|
|
12
12
|
dashboardWidgetInvalidIdentifiers: string;
|
|
13
|
+
dashboardWidgetsInvalidIdentifiers: string;
|
|
13
14
|
executeQueryNoSisenseContext: string;
|
|
14
15
|
executeQueryNoDataSource: string;
|
|
15
16
|
dataOptions: {
|
|
@@ -94,6 +95,7 @@ export declare const resources: {
|
|
|
94
95
|
chartNoSisenseContext: string;
|
|
95
96
|
dashboardWidgetNoSisenseContext: string;
|
|
96
97
|
dashboardWidgetInvalidIdentifiers: string;
|
|
98
|
+
dashboardWidgetsInvalidIdentifiers: string;
|
|
97
99
|
executeQueryNoSisenseContext: string;
|
|
98
100
|
executeQueryNoDataSource: string;
|
|
99
101
|
dataOptions: {
|
package/dist/types.d.ts
CHANGED
|
@@ -624,7 +624,7 @@ export interface WidgetStyleOptions {
|
|
|
624
624
|
*
|
|
625
625
|
* @internal
|
|
626
626
|
*/
|
|
627
|
-
renderToolbar?: (onRefresh: () => void) => JSX.Element;
|
|
627
|
+
renderToolbar?: (onRefresh: () => void) => JSX.Element | null;
|
|
628
628
|
};
|
|
629
629
|
}
|
|
630
630
|
/** Style settings defining the look and feel of DashboardWidget */
|