@sisense/sdk-ui 0.14.0 → 0.15.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/api/chat-api-context.d.ts +12 -0
- package/dist/ai/api/chat-rest-api.d.ts +28 -0
- package/dist/ai/api/hooks.d.ts +74 -0
- package/dist/ai/api/types.d.ts +139 -0
- package/dist/ai/chat-box.d.ts +6 -0
- package/dist/ai/chat-frame.d.ts +8 -0
- package/dist/ai/chat-home.d.ts +2 -0
- package/dist/ai/chat-input.d.ts +7 -0
- package/dist/ai/chatbot-context.d.ts +11 -0
- package/dist/ai/chatbot.d.ts +27 -0
- package/dist/ai/data-topics/data-topic-item.d.ts +8 -0
- package/dist/ai/data-topics/data-topic-list.d.ts +10 -0
- package/dist/ai/data-topics/index.d.ts +2 -0
- package/dist/ai/icons/arrow-left-icon.d.ts +2 -0
- package/dist/ai/icons/clear-chat-icon.d.ts +2 -0
- package/dist/ai/icons/close-dialog-icon.d.ts +2 -0
- package/dist/ai/icons/expand-icon.d.ts +2 -0
- package/dist/ai/icons/info-icon.d.ts +2 -0
- package/dist/ai/icons/light-bulb-icon.d.ts +2 -0
- package/dist/ai/icons/loading-dots-icon.d.ts +2 -0
- package/dist/ai/icons/magic-wand-icon.d.ts +2 -0
- package/dist/ai/icons/message-icon.d.ts +2 -0
- package/dist/ai/icons/refresh-icon.d.ts +2 -0
- package/dist/ai/icons/sisense-logo.d.ts +2 -0
- package/dist/ai/icons/three-dots-icon.d.ts +2 -0
- package/dist/ai/index.d.ts +4 -0
- package/dist/ai/magic-wand-dropdown.d.ts +7 -0
- package/dist/ai/messages/chart-message-toolbar.d.ts +8 -0
- package/dist/ai/messages/chart-message.d.ts +8 -0
- package/dist/ai/messages/clear-history-message.d.ts +6 -0
- package/dist/ai/messages/get-widget-options.d.ts +13 -0
- package/dist/ai/messages/insights-message.d.ts +10 -0
- package/dist/ai/messages/jaql-element.d.ts +25 -0
- package/dist/ai/messages/message-list-resolver.d.ts +7 -0
- package/dist/ai/messages/message-resolver.d.ts +11 -0
- package/dist/ai/messages/text-message.d.ts +8 -0
- package/dist/ai/nav-back-button.d.ts +6 -0
- package/dist/ai/nlg-query-result.d.ts +20 -0
- package/dist/ai/suggestions/index.d.ts +4 -0
- package/dist/ai/suggestions/suggestion-dropdown-item.d.ts +7 -0
- package/dist/ai/suggestions/suggestion-dropdown-list.d.ts +7 -0
- package/dist/ai/suggestions/suggestion-item.d.ts +7 -0
- package/dist/ai/suggestions/suggestion-list-skeleton.d.ts +2 -0
- package/dist/ai/suggestions/suggestion-list.d.ts +7 -0
- package/dist/ai/suggestions/suggestions-with-intro.d.ts +8 -0
- package/dist/ai/toolbar.d.ts +8 -0
- package/dist/ai/use-chat-session.d.ts +22 -0
- package/dist/ai.d.ts +1 -0
- package/dist/ai.js +3390 -0
- package/dist/api/types/dashboard-dto.d.ts +2 -1
- package/dist/charts/indicator/chart/indicator.d.ts +1 -1
- package/dist/charts/indicator/chart/ticker.d.ts +2 -2
- package/dist/charts/indicator/indicator-legacy-chart-options/default-options.d.ts +2 -1
- package/dist/charts/indicator/types.d.ts +47 -6
- package/dist/common/components/loading-indicator.d.ts +33 -0
- package/dist/common/icons/loading-icon.d.ts +6 -0
- package/dist/dashboard-widget/translate-dashboard-filters.d.ts +2 -2
- package/dist/dashboard-widget/translate-widget-data-options.d.ts +2 -2
- package/dist/dashboard-widget/translate-widget-filters.d.ts +4 -16
- package/dist/dashboard-widget/types.d.ts +1 -54
- package/dist/dashboard-widget/utils.d.ts +2 -2
- package/dist/filters/components/common/index.d.ts +2 -0
- package/dist/filters/components/common/triangle-indicator.d.ts +2 -0
- package/dist/filters/components/criteria-filter-tile/criteria-filter-display.d.ts +25 -0
- package/dist/filters/components/criteria-filter-tile/criteria-filter-menu.d.ts +20 -0
- package/dist/filters/components/criteria-filter-tile/criteria-filter-operations.d.ts +62 -0
- package/dist/filters/components/criteria-filter-tile/criteria-filter-tile.d.ts +27 -0
- package/dist/filters/components/criteria-filter-tile/index.d.ts +2 -0
- package/dist/filters/components/date-filter/date-filter/date-filter.d.ts +4 -0
- package/dist/filters/components/date-filter/date-range-filter-tile/date-range-filter-tile.d.ts +11 -3
- package/dist/filters/components/date-filter/date-range-filter-tile/use-date-limits.d.ts +2 -2
- package/dist/filters/components/filter-tile.d.ts +3 -0
- package/dist/filters/components/member-filter-tile/basic-member-filter-tile.d.ts +2 -0
- package/dist/filters/components/member-filter-tile/member-filter-tile.d.ts +3 -1
- package/dist/filters/index.d.ts +1 -0
- package/dist/formulas/fetch-formula.d.ts +16 -0
- package/dist/formulas/index.d.ts +1 -0
- package/dist/formulas/use-get-shared-formula.d.ts +95 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +8180 -71481
- package/dist/models/dashboard/get-dashboard-models.d.ts +1 -1
- package/dist/models/dashboard/use-get-dashboard-model.d.ts +1 -1
- package/dist/props.d.ts +30 -11
- package/dist/table-widget-7b20ecf7.js +64167 -0
- package/dist/themes/colors.d.ts +86 -0
- package/dist/translation/resources/en.d.ts +25 -0
- package/dist/translation/resources/index.d.ts +50 -0
- package/dist/types.d.ts +6 -0
- package/dist/widgets/common/widget-header-info-button.d.ts +8 -0
- package/dist/widgets/common/widget-header.d.ts +1 -1
- package/package.json +18 -8
|
@@ -3,7 +3,7 @@ export interface GetDashboardModelsOptions {
|
|
|
3
3
|
/**
|
|
4
4
|
* Dashboard title to search by
|
|
5
5
|
*
|
|
6
|
-
*
|
|
6
|
+
* Dashboard titles are not necessarily unique, so the result may contain multiple dashboards.
|
|
7
7
|
*/
|
|
8
8
|
searchByTitle?: string;
|
|
9
9
|
/**
|
|
@@ -6,7 +6,7 @@ import { HookEnableParam } from '../../common/hooks/types';
|
|
|
6
6
|
*/
|
|
7
7
|
export interface GetDashboardModelParams extends GetDashboardModelOptions, HookEnableParam {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Dashboard identifier
|
|
10
10
|
*/
|
|
11
11
|
dashboardOid: string;
|
|
12
12
|
}
|
package/dist/props.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { DataPointEventHandler, DataPointsEventHandler, ScatterDataPointEventHan
|
|
|
7
7
|
import { AppConfig } from './app/client-application';
|
|
8
8
|
import { ExecuteQueryParams } from './query-execution';
|
|
9
9
|
import { FiltersMergeStrategy } from './dashboard-widget/types';
|
|
10
|
+
import { HookEnableParam } from './common/hooks/types';
|
|
10
11
|
export type { ScatterDataPointEventHandler, ScatterDataPointsEventHandler, DataPointEventHandler, DataPointsEventHandler, MenuItemSection, HighchartsOptions, };
|
|
11
12
|
/**
|
|
12
13
|
* Configurations for Sisense Context
|
|
@@ -613,7 +614,6 @@ export interface ChartWidgetProps extends BaseChartEventProps {
|
|
|
613
614
|
/**
|
|
614
615
|
* List of categories to allow drilldowns on
|
|
615
616
|
*
|
|
616
|
-
* @deprecated Use {@link DrilldownWidget} instead
|
|
617
617
|
* @category Widget
|
|
618
618
|
*/
|
|
619
619
|
drilldownOptions?: DrilldownOptions;
|
|
@@ -821,21 +821,21 @@ export interface SunburstChartProps extends BaseChartProps, ChartEventProps {
|
|
|
821
821
|
/**
|
|
822
822
|
* Props for {@link ContextMenu} component.
|
|
823
823
|
*/
|
|
824
|
-
export
|
|
824
|
+
export interface ContextMenuProps {
|
|
825
825
|
/**
|
|
826
|
-
*
|
|
826
|
+
* Context menu position
|
|
827
827
|
*
|
|
828
828
|
* @category Widget
|
|
829
829
|
*/
|
|
830
830
|
position?: MenuPosition | null;
|
|
831
831
|
/**
|
|
832
|
-
* Callback function that is evaluated when context menu is closed
|
|
832
|
+
* Callback function that is evaluated when the context menu is closed
|
|
833
833
|
*
|
|
834
834
|
* @category Widget
|
|
835
835
|
*/
|
|
836
836
|
closeContextMenu: () => void;
|
|
837
837
|
/**
|
|
838
|
-
*
|
|
838
|
+
* Menu item sections
|
|
839
839
|
*
|
|
840
840
|
* @category Widget
|
|
841
841
|
*/
|
|
@@ -846,8 +846,8 @@ export type ContextMenuProps = {
|
|
|
846
846
|
* @category Widget
|
|
847
847
|
*/
|
|
848
848
|
children?: React.ReactNode;
|
|
849
|
-
}
|
|
850
|
-
export
|
|
849
|
+
}
|
|
850
|
+
export interface DrilldownBreadcrumbsProps {
|
|
851
851
|
/**
|
|
852
852
|
* List of drilldown filters formatted to be displayed as breadcrumbs
|
|
853
853
|
*
|
|
@@ -861,7 +861,7 @@ export type DrilldownBreadcrumbsProps = {
|
|
|
861
861
|
*/
|
|
862
862
|
currentDimension: Attribute;
|
|
863
863
|
/**
|
|
864
|
-
* Callback function that is evaluated when X button is clicked
|
|
864
|
+
* Callback function that is evaluated when the close (X) button is clicked
|
|
865
865
|
*
|
|
866
866
|
* @category Widget
|
|
867
867
|
*/
|
|
@@ -872,7 +872,7 @@ export type DrilldownBreadcrumbsProps = {
|
|
|
872
872
|
* @category Widget
|
|
873
873
|
*/
|
|
874
874
|
sliceDrilldownSelections: (i: number) => void;
|
|
875
|
-
}
|
|
875
|
+
}
|
|
876
876
|
/**
|
|
877
877
|
* An object that allows users to pass advanced configuration options as a prop for the {@link DrilldownWidget} component
|
|
878
878
|
*/
|
|
@@ -901,7 +901,7 @@ export type DrilldownWidgetConfig = {
|
|
|
901
901
|
/**
|
|
902
902
|
* Props for the {@link DrilldownWidget} component
|
|
903
903
|
*/
|
|
904
|
-
export
|
|
904
|
+
export interface DrilldownWidgetProps {
|
|
905
905
|
/**
|
|
906
906
|
* List of dimensions to allow drilldowns on
|
|
907
907
|
*
|
|
@@ -928,4 +928,23 @@ export type DrilldownWidgetProps = {
|
|
|
928
928
|
* @category Widget
|
|
929
929
|
*/
|
|
930
930
|
children: (customDrilldownResult: CustomDrilldownResult) => ReactNode;
|
|
931
|
-
}
|
|
931
|
+
}
|
|
932
|
+
/**
|
|
933
|
+
* Params of the {@link useGetSharedFormula} hook
|
|
934
|
+
*
|
|
935
|
+
* Can consist either of an oid or a name/dataSource pair
|
|
936
|
+
*/
|
|
937
|
+
export interface UseGetSharedFormulaParams extends HookEnableParam {
|
|
938
|
+
/**
|
|
939
|
+
* Formula identifier
|
|
940
|
+
*/
|
|
941
|
+
oid?: string;
|
|
942
|
+
/**
|
|
943
|
+
* Formula name
|
|
944
|
+
*/
|
|
945
|
+
name?: string;
|
|
946
|
+
/**
|
|
947
|
+
* Data source - e.g. `Sample ECommerce`
|
|
948
|
+
*/
|
|
949
|
+
dataSource?: DataSource;
|
|
950
|
+
}
|