@sisense/sdk-ui 1.13.0 → 1.14.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/ai-context-provider.d.ts +1 -1
- package/dist/ai/api/chat-rest-api.d.ts +8 -8
- package/dist/ai/chat-config.d.ts +4 -3
- package/dist/ai/chat-home.d.ts +2 -1
- package/dist/ai/chatbot.d.ts +1 -1
- package/dist/ai/get-nlg-query-result.d.ts +1 -1
- package/dist/ai/use-get-nlg-query-result.d.ts +1 -1
- package/dist/ai/use-get-query-recommendations.d.ts +1 -1
- package/dist/ai.cjs +67 -75
- package/dist/ai.js +593 -614
- package/dist/api/rest-api.d.ts +7 -7
- package/dist/api/types/dashboard-dto.d.ts +2 -0
- package/dist/chart-options-processor/translations/axis-section.d.ts +1 -0
- package/dist/chart-options-processor/translations/sunburst/sunburst-series.d.ts +2 -0
- package/dist/chart-options-processor/translations/translations-to-highcharts.d.ts +2 -0
- package/dist/common-filters/types.d.ts +4 -0
- package/dist/common-filters/utils.d.ts +1 -1
- package/dist/dashboard/index.d.ts +3 -0
- package/dist/dashboard-widget/use-fetch-widget-dto-model.d.ts +2 -12
- package/dist/decorators/hook-decorators/with-tracking.d.ts +1 -2
- package/dist/filters/components/cascading-filter-tile/cascading-filter-tile.d.ts +7 -1
- package/dist/filters/components/cascading-filter-tile/cascading-level-filter.d.ts +8 -2
- package/dist/filters/components/criteria-filter-tile/criteria-filter-tile.d.ts +1 -0
- package/dist/filters/components/custom-filter-tile.d.ts +3 -0
- package/dist/filters/components/date-filter/date-range-filter-tile/date-range-filter-tile.d.ts +2 -0
- package/dist/filters/components/date-filter/relative-date-filter-tile/relative-date-filter-tile.d.ts +1 -0
- package/dist/filters/components/filter-tile.d.ts +3 -0
- package/dist/filters/components/icons/background-filter-icon.d.ts +5 -0
- package/dist/filters/components/icons/index.d.ts +1 -0
- package/dist/filters/components/icons/lock-icon.d.ts +2 -0
- package/dist/index.cjs +174 -126
- package/dist/index.d.ts +2 -2
- package/dist/index.js +11866 -11666
- package/dist/pivot-table/formatters/utils.d.ts +1 -1
- package/dist/props.d.ts +12 -12
- package/dist/query/query-result-date-formatting.d.ts +0 -1
- package/dist/table/hooks/use-table-data.d.ts +1 -1
- package/dist/table/table-component.d.ts +4 -4
- package/dist/theme-provider/theme-provider.d.ts +2 -0
- package/dist/translation/resources/en.d.ts +1 -0
- package/dist/translation/resources/index.d.ts +2 -0
- package/dist/types.d.ts +195 -183
- package/dist/{useQuery-D5W0RM1R.js → useQuery-Cxcx_l05.js} +15251 -15187
- package/dist/useQuery-_biaqvma.cjs +603 -0
- package/dist/utils/color/color-interpolation.d.ts +1 -0
- package/package.json +7 -7
- package/dist/useQuery-C8plkncQ.cjs +0 -603
|
@@ -6,7 +6,7 @@ export type AiContextProviderProps = {
|
|
|
6
6
|
* React component that wraps all generative AI components and hooks.
|
|
7
7
|
*
|
|
8
8
|
* ::: warning Note
|
|
9
|
-
* This component is currently under beta release for
|
|
9
|
+
* This component is currently under beta release for our managed cloud customers on version L2024.2 or above. It is subject to changes as we make fixes and improvements.
|
|
10
10
|
* :::
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
@@ -16,17 +16,17 @@ export declare class ChatRestApi {
|
|
|
16
16
|
private sendFeedback;
|
|
17
17
|
private getDataSourceFields;
|
|
18
18
|
ai: {
|
|
19
|
-
getNlgQueryResult: (request: GetNlgQueryResultRequest) => Promise<GetNlgQueryResultResponse>;
|
|
20
|
-
getQueryRecommendations: (contextTitle: string, config: QueryRecommendationConfig) => Promise<QueryRecommendationResponse>;
|
|
19
|
+
getNlgQueryResult: (request: GetNlgQueryResultRequest) => Promise<GetNlgQueryResultResponse | undefined>;
|
|
20
|
+
getQueryRecommendations: (contextTitle: string, config: QueryRecommendationConfig) => Promise<QueryRecommendationResponse | undefined>;
|
|
21
21
|
setLlmConfig: (config: LlmConfig) => Promise<unknown>;
|
|
22
22
|
sendFeedback: (request: SendFeedbackRequest) => Promise<unknown>;
|
|
23
|
-
getDataSourceFields: (dataSource: string) => Promise<DataSourceField[]>;
|
|
23
|
+
getDataSourceFields: (dataSource: string) => Promise<DataSourceField[] | undefined>;
|
|
24
24
|
chat: {
|
|
25
|
-
getAll: () => Promise<ChatWithoutHistory[]>;
|
|
26
|
-
getById: (chatId: string) => Promise<Chat>;
|
|
27
|
-
create: (sourceId: string) => Promise<Chat>;
|
|
28
|
-
post: (chatId: string, request: ChatRequest) => Promise<ChatResponse>;
|
|
29
|
-
clearHistory: (chatId: string) => Promise<void>;
|
|
25
|
+
getAll: () => Promise<ChatWithoutHistory[] | undefined>;
|
|
26
|
+
getById: (chatId: string) => Promise<Chat | undefined>;
|
|
27
|
+
create: (sourceId: string) => Promise<Chat | undefined>;
|
|
28
|
+
post: (chatId: string, request: ChatRequest) => Promise<ChatResponse | undefined>;
|
|
29
|
+
clearHistory: (chatId: string) => Promise<void | undefined>;
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
}
|
package/dist/ai/chat-config.d.ts
CHANGED
|
@@ -20,11 +20,12 @@ export interface ChatConfig {
|
|
|
20
20
|
*/
|
|
21
21
|
numOfRecentPrompts: number;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* List of titles representing allowed contexts (data models or perspectives) for a chat session.
|
|
24
24
|
*
|
|
25
|
-
*
|
|
25
|
+
* Each context will be validated and checked for availability.
|
|
26
|
+
* If only one context is specified, the data topic selector screen will not be shown.
|
|
26
27
|
*/
|
|
27
|
-
|
|
28
|
+
dataTopicsList?: string[];
|
|
28
29
|
/**
|
|
29
30
|
* The chat mode to use for a chat session.
|
|
30
31
|
*
|
package/dist/ai/chat-home.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
type ChatHomeProps = {
|
|
2
|
+
dataTopicsList: string[];
|
|
2
3
|
onDataTopicClick: (title: string) => void;
|
|
3
4
|
};
|
|
4
|
-
export default function ChatHome({ onDataTopicClick }: ChatHomeProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export default function ChatHome({ dataTopicsList, onDataTopicClick }: ChatHomeProps): import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
export {};
|
package/dist/ai/chatbot.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export type ChatbotProps = {
|
|
|
25
25
|
* React component that renders a chatbot with data topic selection. You can optionally provide `width` and/or `height`.
|
|
26
26
|
*
|
|
27
27
|
* ::: warning Note
|
|
28
|
-
* This component is currently under beta release for
|
|
28
|
+
* This component is currently under beta release for our managed cloud customers on version L2024.2 or above. It is subject to changes as we make fixes and improvements.
|
|
29
29
|
* :::
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
@@ -10,7 +10,7 @@ export interface GetNlgQueryResultProps extends Omit<UseGetNlgQueryResultParams,
|
|
|
10
10
|
* Specifying a query is similar to providing parameters to a {@link useExecuteQuery} hook, using dimensions, measures, and filters.
|
|
11
11
|
*
|
|
12
12
|
* ::: warning Note
|
|
13
|
-
* This component is currently under beta release for
|
|
13
|
+
* This component is currently under beta release for our managed cloud customers on version L2024.2 or above. It is subject to changes as we make fixes and improvements.
|
|
14
14
|
* :::
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
@@ -46,7 +46,7 @@ export declare const useGetNlgQueryResultInternal: (params: GetNlgQueryResultPro
|
|
|
46
46
|
* Specifying a query is similar to providing parameters to a {@link useExecuteQuery} hook, using dimensions, measures, and filters.
|
|
47
47
|
*
|
|
48
48
|
* ::: warning Note
|
|
49
|
-
* This hook is currently under beta release for
|
|
49
|
+
* This hook is currently under beta release for our managed cloud customers on version L2024.2 or above. It is subject to changes as we make fixes and improvements.
|
|
50
50
|
* :::
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
@@ -36,7 +36,7 @@ export declare const useGetQueryRecommendationsInternal: (params: UseGetQueryRec
|
|
|
36
36
|
* This hook includes the same code that fetches the initial suggested questions in the chatbot.
|
|
37
37
|
*
|
|
38
38
|
* ::: warning Note
|
|
39
|
-
* This hook is currently under beta release for
|
|
39
|
+
* This hook is currently under beta release for our managed cloud customers on version L2024.2 or above. It is subject to changes as we make fixes and improvements.
|
|
40
40
|
* :::
|
|
41
41
|
*
|
|
42
42
|
* @example
|