@sisense/sdk-ui 1.8.0 → 1.10.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 -4
- package/dist/ai/ai-disclaimer.d.ts +4 -2
- package/dist/ai/api/chat-api-provider.d.ts +1 -1
- package/dist/ai/buttons/insights-button.d.ts +3 -0
- package/dist/ai/buttons/thumbs-down-button.d.ts +1 -2
- package/dist/ai/buttons/thumbs-up-button.d.ts +1 -2
- package/dist/ai/chat-box.d.ts +1 -2
- package/dist/ai/chat-config.d.ts +21 -1
- package/dist/ai/chat-dropup.d.ts +11 -0
- package/dist/ai/chat-frame.d.ts +7 -4
- package/dist/ai/chat-home.d.ts +1 -2
- package/dist/ai/chat-input.d.ts +4 -2
- package/dist/ai/chat-router.d.ts +1 -2
- package/dist/ai/chatbot.d.ts +0 -7
- package/dist/ai/common/collapsible.d.ts +1 -2
- package/dist/ai/common/dropup-section.d.ts +7 -0
- package/dist/ai/common/error-container.d.ts +1 -2
- package/dist/ai/common/icon-button.d.ts +12 -0
- package/dist/ai/{toolbar.d.ts → common/toolbar.d.ts} +5 -0
- package/dist/ai/common/tooltip.d.ts +2 -3
- package/dist/ai/data-topics/data-topic-item.d.ts +1 -2
- package/dist/ai/data-topics/data-topic-list.d.ts +1 -2
- package/dist/ai/icons/arrow-left-icon.d.ts +5 -2
- package/dist/ai/icons/clear-chat-icon.d.ts +2 -2
- package/dist/ai/icons/close-dialog-icon.d.ts +1 -2
- package/dist/ai/icons/expand-icon.d.ts +3 -2
- package/dist/ai/icons/info-icon.d.ts +3 -2
- package/dist/ai/icons/light-bulb-icon.d.ts +3 -2
- package/dist/ai/icons/loading-dots-icon.d.ts +1 -2
- package/dist/ai/icons/message-icon.d.ts +2 -2
- package/dist/ai/icons/refresh-icon.d.ts +1 -2
- package/dist/ai/icons/sisense-logo.d.ts +5 -2
- package/dist/ai/icons/three-dots-icon.d.ts +3 -2
- package/dist/ai/icons/thumbs-down-hovered-icon.d.ts +2 -2
- package/dist/ai/icons/thumbs-down-icon.d.ts +2 -2
- package/dist/ai/icons/thumbs-up-hovered-icon.d.ts +2 -2
- package/dist/ai/icons/thumbs-up-icon.d.ts +2 -2
- package/dist/ai/index.d.ts +3 -1
- package/dist/ai/messages/chart-message-toolbar.d.ts +1 -2
- package/dist/ai/messages/chart-message.d.ts +1 -2
- package/dist/ai/messages/chat-welcome-message.d.ts +1 -2
- package/dist/ai/messages/clear-history-message.d.ts +1 -2
- package/dist/ai/messages/clear-history-success-message.d.ts +1 -2
- package/dist/ai/messages/clickable-message.d.ts +4 -2
- package/dist/ai/messages/feedback-wrapper.d.ts +2 -2
- package/dist/ai/messages/get-widget-options.d.ts +14 -0
- package/dist/ai/messages/insights-message.d.ts +1 -7
- package/dist/ai/messages/jaql-element.d.ts +5 -2
- package/dist/ai/messages/message-list-resolver.d.ts +1 -2
- package/dist/ai/messages/message-resolver.d.ts +2 -1
- package/dist/ai/messages/nlq-message-group.d.ts +6 -4
- package/dist/ai/messages/text-message.d.ts +4 -5
- package/dist/ai/nav-back-button.d.ts +6 -4
- package/dist/ai/suggestions/suggestion-item.d.ts +1 -2
- package/dist/ai/suggestions/suggestion-list-skeleton.d.ts +1 -2
- package/dist/ai/suggestions/suggestion-list.d.ts +1 -2
- package/dist/ai/suggestions/suggestions-with-intro.d.ts +1 -2
- package/dist/ai/{translators/use-get-data-source.d.ts → use-get-data-source-fields.d.ts} +2 -2
- package/dist/ai.js +2130 -7264
- package/dist/alert-box/alert-box.d.ts +1 -2
- package/dist/api/types/dashboard-dto.d.ts +16 -0
- package/dist/app/client-application.d.ts +6 -2
- package/dist/area-chart.d.ts +3 -3
- package/dist/bar-chart.d.ts +2 -2
- package/dist/chart/helpers/use-translated-data-options.d.ts +2 -2
- package/dist/chart-data-options/get-translated-data-options.d.ts +2 -2
- package/dist/chart-data-options/utils.d.ts +10 -0
- package/dist/chart-options-processor/style-to-design-options-translator/prepare-design-options.d.ts +4 -2
- package/dist/chart-options-processor/style-to-design-options-translator/translate-to-highcharts-options.d.ts +7 -4
- package/dist/chart-options-processor/theme-option-service.d.ts +0 -8
- package/dist/chart-options-processor/translations/design-options.d.ts +9 -7
- package/dist/chart-options-processor/translations/types.d.ts +7 -6
- package/dist/charts/map-charts/areamap/areamap.d.ts +3 -6
- package/dist/charts/map-charts/scattermap/scattermap.d.ts +5 -9
- package/dist/charts/table/data-table-wrapper.d.ts +1 -2
- package/dist/charts/table/header/field-type-icon.d.ts +1 -2
- package/dist/charts/table/pure-table.d.ts +1 -2
- package/dist/column-chart.d.ts +2 -2
- package/dist/common/components/loading-dots.d.ts +1 -2
- package/dist/common/components/loading-indicator.d.ts +83 -2
- package/dist/common/components/loading-overlay.d.ts +1 -1
- package/dist/common/components/loading-spinner.d.ts +1 -2
- package/dist/common/icons/exclamation-mark-icon.d.ts +1 -2
- package/dist/common/icons/loading-icon.d.ts +1 -2
- package/dist/dashboard-widget/translate-widget-style-options.d.ts +3 -2
- package/dist/dashboard-widget/types.d.ts +22 -2
- package/dist/dashboard-widget/use-fetch-widget-dto-model.d.ts +1 -0
- package/dist/dashboard-widget/utils.d.ts +9 -0
- package/dist/debounce-2yQ2123W.js +76298 -0
- package/dist/decorators/component-decorators/with-tracking/use-track-component-init.d.ts +1 -1
- package/dist/dynamic-size-container/default-size.d.ts +5 -1
- package/dist/dynamic-size-container/dynamic-size-container.d.ts +12 -3
- package/dist/error-boundary/error-boundary-box.d.ts +1 -2
- package/dist/error-boundary/error-boundary.d.ts +1 -1
- package/dist/filters/components/common/dropdown.d.ts +1 -1
- package/dist/filters/components/common/switch.d.ts +4 -1
- package/dist/filters/components/common/triangle-indicator.d.ts +1 -2
- package/dist/filters/components/date-filter/date-filter/calendar-date-selector.d.ts +1 -2
- package/dist/filters/components/date-filter/date-filter/calendar-header.d.ts +1 -2
- package/dist/filters/components/date-filter/date-filter/date-filter.d.ts +1 -2
- package/dist/filters/components/date-filter/date-filter/quick-date-selection-buttons.d.ts +1 -2
- package/dist/filters/components/icons/arrow-down-icon.d.ts +1 -1
- package/dist/filters/components/icons/arrow-right-icon.d.ts +1 -1
- package/dist/filters/components/icons/date-icon.d.ts +1 -1
- package/dist/filters/components/icons/double-arrow-right-icon.d.ts +1 -1
- package/dist/filters/components/icons/menu-icon.d.ts +1 -1
- package/dist/filters/components/icons/pencil-icon.d.ts +1 -1
- package/dist/filters/components/icons/plus-icon.d.ts +1 -1
- package/dist/filters/components/icons/search-icon.d.ts +1 -1
- package/dist/filters/components/icons/trash-icon.d.ts +1 -1
- package/dist/highcharts-memorized.d.ts +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +35808 -7229
- package/dist/indicator-canvas.d.ts +4 -9
- package/dist/line-chart.d.ts +2 -2
- package/dist/models/dashboard/translate-dashboard.d.ts +3 -2
- package/dist/models/dashboard/types.d.ts +6 -8
- package/dist/models/widget/use-get-widget-model.d.ts +1 -1
- package/dist/models/widget/widget-model.d.ts +50 -6
- package/dist/no-results-overlay/no-results-overlay.d.ts +1 -2
- package/dist/pie-chart.d.ts +2 -2
- package/dist/pivot-table/helpers/prepare-pivot-styling-props.d.ts +20 -0
- package/dist/pivot-table/sorting-utils.d.ts +11 -55
- package/dist/pivot-table/use-get-pivot-table-query.d.ts +10 -2
- package/dist/pivot-table/use-pivot-table-data-options-internal.d.ts +15 -0
- package/dist/polar-chart.d.ts +2 -2
- package/dist/props.d.ts +61 -2
- package/dist/query-execution/use-execute-query.d.ts +1 -1
- package/dist/scatter-chart.d.ts +1 -1
- package/dist/sisense-chart/sisense-chart.d.ts +4 -6
- package/dist/theme-provider/default-theme-settings.d.ts +9 -0
- package/dist/theme-provider/types.d.ts +7 -0
- package/dist/translation/i18n-provider.d.ts +1 -1
- package/dist/translation/resources/en.d.ts +3 -1
- package/dist/translation/resources/index.d.ts +6 -2
- package/dist/types.d.ts +170 -1
- package/dist/widgets/common/context-menu.d.ts +1 -2
- package/dist/widgets/common/drilldown-breadcrumbs/styled-buttons.d.ts +2 -2
- package/dist/widgets/common/widget-container.d.ts +15 -0
- package/dist/widgets/common/widget-header-info-button.d.ts +1 -2
- package/dist/widgets/drilldown-widget.d.ts +2 -3
- package/dist/widgets/pivot-table-widget.d.ts +22 -0
- package/package.json +18 -19
- package/dist/ai/chat-style-provider.d.ts +0 -22
- package/dist/ai/icons/magic-wand-icon.d.ts +0 -2
- package/dist/ai/magic-wand-dropdown.d.ts +0 -7
- package/dist/ai/suggestions/suggestion-dropdown-item.d.ts +0 -7
- package/dist/ai/suggestions/suggestion-dropdown-list.d.ts +0 -7
- package/dist/ai/translators/code-templates.d.ts +0 -11
- package/dist/ai/translators/generate-code.d.ts +0 -9
- package/dist/ai/translators/index.d.ts +0 -4
- package/dist/ai/translators/model-translator.d.ts +0 -51
- package/dist/ai/translators/query-translator.d.ts +0 -137
- package/dist/ai/translators/translate-filters-to-code.d.ts +0 -2
- package/dist/ai/translators/translate-props-to-code.d.ts +0 -8
- package/dist/ai/translators/types.d.ts +0 -105
- package/dist/ai/translators/utils.d.ts +0 -12
- package/dist/useQuery-cb11e76c.js +0 -121619
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface Props {
|
|
3
2
|
alerts?: string[];
|
|
4
3
|
}
|
|
5
|
-
export declare const AlertBox: ({ alerts }: Props) => JSX.Element;
|
|
4
|
+
export declare const AlertBox: ({ alerts }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
export default AlertBox;
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import { WidgetDto, Datasource } from '../../dashboard-widget/types';
|
|
2
2
|
import { FilterJaql, FilterRelationsModel } from '@sisense/sdk-data';
|
|
3
3
|
import { AnyObject } from '../../utils/utility-types';
|
|
4
|
+
/** @internal */
|
|
5
|
+
export type Layout = {
|
|
6
|
+
columns: {
|
|
7
|
+
width: number;
|
|
8
|
+
cells: {
|
|
9
|
+
subcells: {
|
|
10
|
+
width: number;
|
|
11
|
+
elements: {
|
|
12
|
+
height: number | string;
|
|
13
|
+
widgetid: string;
|
|
14
|
+
}[];
|
|
15
|
+
}[];
|
|
16
|
+
}[];
|
|
17
|
+
}[];
|
|
18
|
+
};
|
|
4
19
|
export type Filter = {
|
|
5
20
|
isCascading?: false;
|
|
6
21
|
jaql: FilterJaql & AnyObject;
|
|
@@ -22,4 +37,5 @@ export type DashboardDto = {
|
|
|
22
37
|
filterRelations?: {
|
|
23
38
|
filterRelations: FilterRelationsModel;
|
|
24
39
|
}[];
|
|
40
|
+
layout?: Layout;
|
|
25
41
|
} & AnyObject;
|
|
@@ -47,9 +47,13 @@ export type AppConfig = {
|
|
|
47
47
|
*/
|
|
48
48
|
queryLimit?: number;
|
|
49
49
|
/**
|
|
50
|
-
* Accessibility configuration
|
|
50
|
+
* Accessibility configuration. Set the `accessibilityConfig.enabled` property to `true` to enable accessibility features for charts built with Highcharts.
|
|
51
51
|
*
|
|
52
|
-
*
|
|
52
|
+
* Once the accessibility configuration in enabled, you can use the default descriptions or choose to create custom configurations for the descriptions of a chart, its axes, its series, and values description formatting. To create custom configurations, use the `highchartsOptions` object that is passed to the {@link BeforeRenderHandler} of the chart's `onBeforeRender` callback. Modify the object using the accessibility options as described in the [Accessibility module documentation](https://www.highcharts.com/docs/accessibility/accessibility-module).
|
|
53
|
+
*
|
|
54
|
+
* Note that enabling accessibility also causes markers to appear in charts even if they are disabled using the chart's `styleOptions`.
|
|
55
|
+
*
|
|
56
|
+
* This feature is in alpha.
|
|
53
57
|
*/
|
|
54
58
|
accessibilityConfig?: {
|
|
55
59
|
/**
|
package/dist/area-chart.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { AreaChartProps } from './props';
|
|
|
9
9
|
* Area chart displaying total revenue per quarter from the Sample ECommerce data model.
|
|
10
10
|
*
|
|
11
11
|
* <iframe
|
|
12
|
-
* src='https://
|
|
12
|
+
* src='https://csdk-playground.sisense.com/?example=charts%2Farea-chart&mode=docs'
|
|
13
13
|
* width=800
|
|
14
14
|
* height=870
|
|
15
15
|
* style='border:none;'
|
|
@@ -17,8 +17,8 @@ import { AreaChartProps } from './props';
|
|
|
17
17
|
*
|
|
18
18
|
* Additional Area Chart examples:
|
|
19
19
|
*
|
|
20
|
-
* - [Stacked Area Chart](https://
|
|
21
|
-
* - [Stacked Percentage Area Chart](https://
|
|
20
|
+
* - [Stacked Area Chart](https://www.sisense.com/platform/compose-sdk/playground/?example=charts%2Farea-chart-stacked)
|
|
21
|
+
* - [Stacked Percentage Area Chart](https://www.sisense.com/platform/compose-sdk/playground/?example=charts%2Farea-chart-stacked100)
|
|
22
22
|
*
|
|
23
23
|
* @param props - Area chart properties
|
|
24
24
|
* @returns Area Chart component
|
package/dist/bar-chart.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ import { BarChartProps } from './props';
|
|
|
17
17
|
*
|
|
18
18
|
* Additional Bar Chart examples:
|
|
19
19
|
*
|
|
20
|
-
* - [Stacked Bar Chart](https://
|
|
21
|
-
* - [Stacked Percentage Bar Chart](https://
|
|
20
|
+
* - [Stacked Bar Chart](https://www.sisense.com/platform/compose-sdk/playground/?example=charts%2Fbar-chart-stacked)
|
|
21
|
+
* - [Stacked Percentage Bar Chart](https://www.sisense.com/platform/compose-sdk/playground/?example=charts%2Fbar-chart-stacked100)
|
|
22
22
|
*
|
|
23
23
|
* @param props - Bar chart properties
|
|
24
24
|
* @returns Bar Chart component
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChartDataOptions, ChartType } from '../../types';
|
|
2
|
-
export declare const useTranslatedDataOptions: (
|
|
3
|
-
|
|
2
|
+
export declare const useTranslatedDataOptions: (chartDataOptions: ChartDataOptions, chartType: ChartType) => {
|
|
3
|
+
dataOptions: import("../..").ChartDataOptionsInternal;
|
|
4
4
|
attributes: import("@sisense/sdk-data").Attribute[];
|
|
5
5
|
measures: import("@sisense/sdk-data").Measure[];
|
|
6
6
|
dataColumnNamesMapping: import('../../chart-data-options/validate-data-options').DataColumnNamesMapping;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChartDataOptions, ChartType } from '../types';
|
|
2
|
-
export declare function getTranslatedDataOptions(
|
|
3
|
-
|
|
2
|
+
export declare function getTranslatedDataOptions(chartDataOptions: ChartDataOptions, chartType: ChartType): {
|
|
3
|
+
dataOptions: import("./types").ChartDataOptionsInternal;
|
|
4
4
|
attributes: import("@sisense/sdk-data").Attribute[];
|
|
5
5
|
measures: import("@sisense/sdk-data").Measure[];
|
|
6
6
|
};
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import { Attribute, CalculatedMeasureColumn, Column, Measure, MeasureColumn } from '@sisense/sdk-data';
|
|
2
2
|
import { Category, Value, StyledColumn, StyledMeasureColumn, AnyColumn, CategoryStyle } from './types';
|
|
3
|
+
type AnyObject = Record<string, any>;
|
|
4
|
+
/**
|
|
5
|
+
* Combines two objects into a single one with saving prototype inheritance of "sourceWithInheritance" argument
|
|
6
|
+
*
|
|
7
|
+
* @param sourceWithInheritance - The object that has own and inherited properties.
|
|
8
|
+
* @param sourceToAbsorb - The object whose properties will be copied as own properties.
|
|
9
|
+
* @returns - A new object that combines the properties of the two input objects.
|
|
10
|
+
*/
|
|
11
|
+
export declare const safeCombine: <T extends AnyObject>(sourceWithInheritance: T, sourceToAbsorb: AnyObject) => T;
|
|
3
12
|
export declare const splitColumn: (c: StyledColumn | Column) => {
|
|
4
13
|
column: Column;
|
|
5
14
|
style: CategoryStyle | undefined;
|
|
@@ -14,3 +23,4 @@ export declare const translateCategoryToAttribute: (category: Category) => Attri
|
|
|
14
23
|
export declare const getDataOptionTitle: (option: Category | Value) => string;
|
|
15
24
|
export declare const translateColumnToAttribure: (c: StyledColumn | Column) => Attribute;
|
|
16
25
|
export declare const translateColumnToMeasure: (c: MeasureColumn | CalculatedMeasureColumn | StyledMeasureColumn) => Measure;
|
|
26
|
+
export {};
|
package/dist/chart-options-processor/style-to-design-options-translator/prepare-design-options.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { ChartDataOptionsInternal } from '../../chart-data-options/types';
|
|
2
2
|
import { ChartStyleOptions, ChartType } from '../../types';
|
|
3
|
-
import {
|
|
4
|
-
export declare function prepareChartDesignOptions(chartType: ChartType, dataOptionsInternal: ChartDataOptionsInternal, styleOptions?: ChartStyleOptions):
|
|
3
|
+
import { DesignOptions, SeriesDesignOptions } from '../translations/types';
|
|
4
|
+
export declare function prepareChartDesignOptions(chartType: ChartType, dataOptionsInternal: ChartDataOptionsInternal, styleOptions?: ChartStyleOptions): DesignOptions;
|
|
5
|
+
export declare function extendStyleOptionsWithDefaults(styleOptions: ChartStyleOptions, defaults: ChartStyleOptions): ChartStyleOptions;
|
|
6
|
+
export declare function getDesignOptionsPerSeries(dataOptionsInternal: ChartDataOptionsInternal, chartType: ChartType, styleOptions: ChartStyleOptions): Record<string, SeriesDesignOptions>;
|
|
@@ -2,17 +2,20 @@ import { Legend, PolarStyleOptions, PieStyleOptions, StackableStyleOptions, Line
|
|
|
2
2
|
import { StackableChartDesignOptions, LineChartDesignOptions, PieChartDesignOptions, FunnelChartDesignOptions, PolarChartDesignOptions, ScatterChartDesignOptions, AreaChartDesignOptions, TreemapChartDesignOptions, SunburstChartDesignOptions, BoxplotChartDesignOptions, ScattermapChartDesignOptions } from '../translations/design-options';
|
|
3
3
|
import { LegendPosition } from '../translations/legend-section';
|
|
4
4
|
import { StackType } from '../translations/translations-to-highcharts';
|
|
5
|
+
import { ChartDataOptionsInternal, ChartStyleOptions, ChartType } from '../../index';
|
|
6
|
+
import { SeriesDesignOptions } from '../translations/types';
|
|
5
7
|
export declare const getLegend: (legend?: Legend) => LegendPosition;
|
|
6
8
|
export declare const DefaultStackType: StackType;
|
|
7
|
-
export declare const getStackableChartDesignOptions: (styleOptions: AreaStyleOptions | StackableStyleOptions, hasY2Axis: boolean) => StackableChartDesignOptions;
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
9
|
+
export declare const getStackableChartDesignOptions: (styleOptions: AreaStyleOptions | StackableStyleOptions, dataOptions: ChartDataOptionsInternal, hasY2Axis: boolean, chartType: ChartType) => StackableChartDesignOptions;
|
|
10
|
+
export declare const getSeriesChartDesignOptions: (chartType: ChartType, styleOptions: ChartStyleOptions) => SeriesDesignOptions;
|
|
11
|
+
export declare const getLineChartDesignOptions: (styleOptions: LineStyleOptions, dataOptions: ChartDataOptionsInternal, hasY2Axis: boolean) => LineChartDesignOptions;
|
|
12
|
+
export declare const getAreaChartDesignOptions: (styleOptions: AreaStyleOptions, dataOptions: ChartDataOptionsInternal, hasY2Axis: boolean) => AreaChartDesignOptions;
|
|
10
13
|
export declare const DefaultPieType = "classic";
|
|
11
14
|
export declare const getPieChartDesignOptions: (styleOptions: PieStyleOptions) => PieChartDesignOptions;
|
|
12
15
|
export declare const getFunnelChartDesignOptions: (styleOptions: FunnelStyleOptions) => FunnelChartDesignOptions;
|
|
13
16
|
export declare const getTreemapChartDesignOptions: (styleOptions: TreemapStyleOptions) => TreemapChartDesignOptions;
|
|
14
17
|
export declare const getSunburstChartDesignOptions: (styleOptions: SunburstStyleOptions) => SunburstChartDesignOptions;
|
|
15
|
-
export declare const getPolarChartDesignOptions: (styleOptions: PolarStyleOptions) => PolarChartDesignOptions;
|
|
18
|
+
export declare const getPolarChartDesignOptions: (styleOptions: PolarStyleOptions, dataOptions: ChartDataOptionsInternal) => PolarChartDesignOptions;
|
|
16
19
|
export declare const getScatterChartDesignOptions: (styleOptions: ScatterStyleOptions) => ScatterChartDesignOptions;
|
|
17
20
|
export declare const getBoxplotChartDesignOptions: (styleOptions: BoxplotStyleOptions) => BoxplotChartDesignOptions;
|
|
18
21
|
export declare const getScattermapChartDesignOptions: (styleOptions: ScattermapStyleOptions) => ScattermapChartDesignOptions;
|
|
@@ -1,11 +1,3 @@
|
|
|
1
1
|
import { CompleteThemeSettings } from '../types';
|
|
2
2
|
import { HighchartsOptionsInternal } from './chart-options-service';
|
|
3
3
|
export declare const applyThemeToChart: (chartOptions: HighchartsOptionsInternal, themeSettings?: CompleteThemeSettings) => HighchartsOptionsInternal;
|
|
4
|
-
/**
|
|
5
|
-
* Returns default theme settings, which can be used as base for custom theme options.
|
|
6
|
-
*
|
|
7
|
-
* @param isDarkMode - Boolean value whether to get theme settings for dark mode
|
|
8
|
-
* @returns Theme settings object
|
|
9
|
-
* @internal
|
|
10
|
-
*/
|
|
11
|
-
export declare const getDefaultThemeSettings: (isDarkMode?: boolean) => CompleteThemeSettings;
|
|
@@ -7,6 +7,7 @@ import { PieType, PieLabels } from './pie-plot-options';
|
|
|
7
7
|
import { FunnelSize, FunnelType, FunnelDirection, FunnelLabels } from './funnel-plot-options';
|
|
8
8
|
import { AreamapType, Convolution, ScattermapMarkers, SunburstStyleOptions, TreemapStyleOptions } from '../../types';
|
|
9
9
|
import { ScatterMarkerSize } from './scatter-plot-options';
|
|
10
|
+
import { DesignPerSeries } from './types';
|
|
10
11
|
type DataLimits = {
|
|
11
12
|
seriesCapacity: number;
|
|
12
13
|
categoriesCapacity: number;
|
|
@@ -24,14 +25,19 @@ export type BaseDesignOptionsType = {
|
|
|
24
25
|
autoZoom: boolean;
|
|
25
26
|
dataLimits: DataLimits;
|
|
26
27
|
};
|
|
27
|
-
export type
|
|
28
|
-
export type StackableChartDesignOptions =
|
|
28
|
+
export type CartesianChartDesignOptions = BaseDesignOptionsType & DesignPerSeries;
|
|
29
|
+
export type StackableChartDesignOptions = CartesianChartDesignOptions & {
|
|
29
30
|
stackType: StackType;
|
|
30
31
|
showTotal?: boolean;
|
|
31
|
-
};
|
|
32
|
+
} & DesignPerSeries;
|
|
33
|
+
export type LineChartDesignOptions = CartesianChartDesignOptions;
|
|
32
34
|
export type AreaChartDesignOptions = StackableChartDesignOptions;
|
|
33
35
|
export type BarChartDesignOptions = StackableChartDesignOptions;
|
|
34
36
|
export type ColumnChartDesignOptions = StackableChartDesignOptions;
|
|
37
|
+
export type PolarType = 'line' | 'area' | 'column';
|
|
38
|
+
export type PolarChartDesignOptions = CartesianChartDesignOptions & {
|
|
39
|
+
polarType: PolarType;
|
|
40
|
+
};
|
|
35
41
|
export type PieChartDesignOptions = BaseDesignOptionsType & {
|
|
36
42
|
pieType?: PieType;
|
|
37
43
|
pieLabels?: PieLabels;
|
|
@@ -120,10 +126,6 @@ export type NumericSpecificDesignOptions<NumericSubtype extends NumericIndicator
|
|
|
120
126
|
numericSubtype: NumericSubtype;
|
|
121
127
|
skin: NumericSubtype extends 'numericSimple' ? 'vertical' | 'horizontal' : never;
|
|
122
128
|
};
|
|
123
|
-
export type PolarType = 'line' | 'area' | 'column';
|
|
124
|
-
export type PolarChartDesignOptions = BaseDesignOptionsType & {
|
|
125
|
-
polarType: PolarType;
|
|
126
|
-
};
|
|
127
129
|
export type BoxplotType = 'full' | 'hollow';
|
|
128
130
|
export type BoxplotChartDesignOptions = BaseDesignOptionsType & {
|
|
129
131
|
boxplotType: BoxplotType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChartType } from '../../types';
|
|
2
|
-
import { LineChartDesignOptions, AreaChartDesignOptions, BarChartDesignOptions, ColumnChartDesignOptions, PieChartDesignOptions, FunnelChartDesignOptions, IndicatorChartDesignOptions, PolarChartDesignOptions, ScatterChartDesignOptions, TreemapChartDesignOptions, BoxplotChartDesignOptions, AreamapChartDesignOptions, ScattermapChartDesignOptions } from './design-options';
|
|
2
|
+
import { LineChartDesignOptions, AreaChartDesignOptions, BarChartDesignOptions, ColumnChartDesignOptions, PieChartDesignOptions, FunnelChartDesignOptions, IndicatorChartDesignOptions, PolarChartDesignOptions, ScatterChartDesignOptions, TreemapChartDesignOptions, BoxplotChartDesignOptions, AreamapChartDesignOptions, ScattermapChartDesignOptions, BaseDesignOptionsType } from './design-options';
|
|
3
3
|
export declare const POLAR_CHART_TYPES: readonly ["polar"];
|
|
4
4
|
export type PolarChartType = (typeof POLAR_CHART_TYPES)[number];
|
|
5
5
|
export declare const CARTESIAN_CHART_TYPES: readonly ["line", "area", "bar", "column", "polar"];
|
|
@@ -39,15 +39,16 @@ type SeriesId = string;
|
|
|
39
39
|
* Design options for a chart.
|
|
40
40
|
* This includes global design options and specific design options per series.
|
|
41
41
|
*/
|
|
42
|
-
export type ChartDesignOptions<SpecificChartType extends ChartType = ChartType> =
|
|
43
|
-
globalDesign: DesignOptions<SpecificChartType>;
|
|
44
|
-
designPerSeries: Record<SeriesId, SeriesDesignOptions>;
|
|
45
|
-
};
|
|
42
|
+
export type ChartDesignOptions<SpecificChartType extends ChartType = ChartType> = DesignOptions<SpecificChartType>;
|
|
46
43
|
/**
|
|
47
44
|
* Design options, limited to the only series relevant options.
|
|
45
|
+
*
|
|
48
46
|
* @internal
|
|
49
47
|
*/
|
|
50
|
-
export type SeriesDesignOptions = Pick<
|
|
48
|
+
export type SeriesDesignOptions = Pick<BaseDesignOptionsType, 'lineWidth' | 'marker'>;
|
|
49
|
+
export type DesignPerSeries = {
|
|
50
|
+
designPerSeries: Record<SeriesId, SeriesDesignOptions>;
|
|
51
|
+
};
|
|
51
52
|
export declare const isCartesian: (chartType: ChartType) => chartType is "area" | "line" | "bar" | "column" | "polar";
|
|
52
53
|
export declare const isCategorical: (chartType: ChartType) => chartType is "pie" | "funnel" | "treemap" | "sunburst";
|
|
53
54
|
export declare const isScatter: (chartType: ChartType) => chartType is "scatter";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { AreamapChartDataOptionsInternal
|
|
3
|
-
import { AreamapData
|
|
2
|
+
import { AreamapChartDataOptionsInternal } from '../../../chart-data-options/types.js';
|
|
3
|
+
import { AreamapData } from '../../../chart-data/types.js';
|
|
4
4
|
import { AreamapChartDesignOptions } from '../../../chart-options-processor/translations/design-options.js';
|
|
5
|
-
import { DesignOptions } from '../../../chart-options-processor/translations/types.js';
|
|
6
5
|
import { ThemeSettings } from '../../../types.js';
|
|
7
6
|
import { AreamapDataPointEventHandler } from '../../../props';
|
|
8
7
|
export type AreamapProps = {
|
|
@@ -13,6 +12,4 @@ export type AreamapProps = {
|
|
|
13
12
|
onDataPointClick?: AreamapDataPointEventHandler;
|
|
14
13
|
};
|
|
15
14
|
export declare const Areamap: React.FC<AreamapProps>;
|
|
16
|
-
export declare const
|
|
17
|
-
export declare const isAreamapDataOptions: (dataOptions: ChartDataOptionsInternal) => dataOptions is AreamapChartDataOptionsInternal;
|
|
18
|
-
export declare const isAreamapChartDesignOptions: (designOptions: DesignOptions) => designOptions is AreamapChartDesignOptions;
|
|
15
|
+
export declare const isAreamapProps: (props: AreamapProps) => boolean;
|
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
import { ChartData, ScattermapChartData } from '../../../chart-data/types.js';
|
|
1
|
+
import { ScattermapChartData } from '../../../chart-data/types.js';
|
|
3
2
|
import { ScattermapDataPointEventHandler } from '../../../props.js';
|
|
4
|
-
import {
|
|
3
|
+
import { ScattermapChartDataOptionsInternal } from '../../../chart-data-options/types.js';
|
|
5
4
|
import { ScattermapChartDesignOptions } from '../../../chart-options-processor/translations/design-options.js';
|
|
6
5
|
import { DataSource, Filter, FilterRelations } from '@sisense/sdk-data';
|
|
7
|
-
import { DesignOptions } from '../../../chart-options-processor/translations/types.js';
|
|
8
6
|
export type ScattermapProps = {
|
|
9
7
|
chartData: ScattermapChartData;
|
|
10
8
|
dataOptions: ScattermapChartDataOptionsInternal;
|
|
11
9
|
designOptions: ScattermapChartDesignOptions;
|
|
12
10
|
dataSource: DataSource | null;
|
|
13
11
|
filters?: Filter[] | FilterRelations;
|
|
14
|
-
|
|
12
|
+
onDataPointClick?: ScattermapDataPointEventHandler;
|
|
15
13
|
};
|
|
16
|
-
export declare const Scattermap: ({ chartData, dataOptions, dataSource, filters, designOptions,
|
|
17
|
-
export declare const
|
|
18
|
-
export declare const isScattermapDataOptions: (dataOptions: ChartDataOptionsInternal) => dataOptions is ScattermapChartDataOptionsInternal;
|
|
19
|
-
export declare const isScattermapChartDesignOptions: (designOptions: DesignOptions) => designOptions is ScattermapChartDesignOptions;
|
|
14
|
+
export declare const Scattermap: ({ chartData, dataOptions, dataSource, filters, designOptions, onDataPointClick, }: ScattermapProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const isScattermapProps: (props: ScattermapProps) => boolean;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DataTableWrapperProps } from './types';
|
|
3
|
-
export declare const DataTableWrapper: ({ dataTable, dataOptions, isLoading, height, width, customStyles, themeSettings, onSortUpdate, }: DataTableWrapperProps) => JSX.Element;
|
|
2
|
+
export declare const DataTableWrapper: ({ dataTable, dataOptions, isLoading, height, width, customStyles, themeSettings, onSortUpdate, }: DataTableWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
type Props = {
|
|
3
2
|
columnType: string;
|
|
4
3
|
};
|
|
5
|
-
export declare const FieldTypeIcon: ({ columnType }: Props) => JSX.Element;
|
|
4
|
+
export declare const FieldTypeIcon: ({ columnType }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TableProps } from './types';
|
|
3
2
|
/**
|
|
4
3
|
* PureTable Component. Table without any data fetch or aggregation logic.
|
|
5
4
|
*
|
|
6
5
|
* @returns Pure Table component
|
|
7
6
|
*/
|
|
8
|
-
export declare const PureTable: ({ dataTable, dataOptions, designOptions, onSortUpdate, themeSettings, width, height, }: TableProps) => JSX.Element;
|
|
7
|
+
export declare const PureTable: ({ dataTable, dataOptions, designOptions, onSortUpdate, themeSettings, width, height, }: TableProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/column-chart.d.ts
CHANGED
|
@@ -20,8 +20,8 @@ import { ColumnChartProps } from './props';
|
|
|
20
20
|
*
|
|
21
21
|
* Additional Column Chart examples:
|
|
22
22
|
*
|
|
23
|
-
* - [Stacked Column Chart](https://
|
|
24
|
-
* - [Stacked Percentage Column Chart](https://
|
|
23
|
+
* - [Stacked Column Chart](https://www.sisense.com/platform/compose-sdk/playground/?example=charts%2Fcolumn-chart-stacked)
|
|
24
|
+
* - [Stacked Percentage Column Chart](https://www.sisense.com/platform/compose-sdk/playground/?example=charts%2Fcolumn-chart-stacked100)
|
|
25
25
|
*
|
|
26
26
|
* @param props - Column chart properties
|
|
27
27
|
* @returns Column Chart component
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CompleteThemeSettings } from '../../types';
|
|
3
2
|
/**
|
|
4
3
|
* Component that displays a loading indicator.
|
|
@@ -30,6 +29,88 @@ export declare const LoadingIndicator: ({ themeSettings, onCancel, }: {
|
|
|
30
29
|
primaryButtonTextColor: string;
|
|
31
30
|
primaryButtonHoverColor: string;
|
|
32
31
|
};
|
|
32
|
+
aiChat: {
|
|
33
|
+
backgroundColor: string;
|
|
34
|
+
primaryTextColor: string;
|
|
35
|
+
secondaryTextColor: string;
|
|
36
|
+
primaryFontSize: [fontSize: string, lineHeight: string];
|
|
37
|
+
border: string | false;
|
|
38
|
+
borderRadius: string | false;
|
|
39
|
+
body: {
|
|
40
|
+
paddingLeft: string;
|
|
41
|
+
paddingRight: string;
|
|
42
|
+
paddingTop: string;
|
|
43
|
+
paddingBottom: string;
|
|
44
|
+
gapBetweenMessages: string;
|
|
45
|
+
};
|
|
46
|
+
footer: {
|
|
47
|
+
paddingLeft: string;
|
|
48
|
+
paddingRight: string;
|
|
49
|
+
paddingTop: string;
|
|
50
|
+
paddingBottom: string;
|
|
51
|
+
};
|
|
52
|
+
userMessages: {
|
|
53
|
+
backgroundColor: string;
|
|
54
|
+
};
|
|
55
|
+
systemMessages: {
|
|
56
|
+
backgroundColor: string;
|
|
57
|
+
};
|
|
58
|
+
input: {
|
|
59
|
+
backgroundColor: string;
|
|
60
|
+
focus: {
|
|
61
|
+
outlineColor: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
header: {
|
|
65
|
+
backgroundColor: string;
|
|
66
|
+
textColor: string;
|
|
67
|
+
};
|
|
68
|
+
dropup: {
|
|
69
|
+
backgroundColor: string;
|
|
70
|
+
boxShadow: string;
|
|
71
|
+
borderRadius: string;
|
|
72
|
+
headers: {
|
|
73
|
+
textColor: string;
|
|
74
|
+
hover: {
|
|
75
|
+
backgroundColor: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
items: {
|
|
79
|
+
textColor: string;
|
|
80
|
+
hover: {
|
|
81
|
+
backgroundColor: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
suggestions: {
|
|
86
|
+
textColor: string;
|
|
87
|
+
backgroundColor: string;
|
|
88
|
+
border: string;
|
|
89
|
+
borderGradient: [string, string] | null;
|
|
90
|
+
borderRadius: string;
|
|
91
|
+
hover: {
|
|
92
|
+
backgroundColor: string;
|
|
93
|
+
textColor: string;
|
|
94
|
+
};
|
|
95
|
+
loadingGradient: [string, string];
|
|
96
|
+
gap: string;
|
|
97
|
+
};
|
|
98
|
+
clickableMessages: {
|
|
99
|
+
backgroundColor: string;
|
|
100
|
+
textColor: string;
|
|
101
|
+
border: string | false;
|
|
102
|
+
hover: {
|
|
103
|
+
textColor: string;
|
|
104
|
+
backgroundColor: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
icons: {
|
|
108
|
+
color: string;
|
|
109
|
+
hover: {
|
|
110
|
+
color: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
};
|
|
33
114
|
} | undefined;
|
|
34
115
|
onCancel?: (() => void) | undefined;
|
|
35
|
-
}) => JSX.Element;
|
|
116
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
type LoadingIconProps = {
|
|
3
2
|
spin?: boolean;
|
|
4
3
|
};
|
|
5
|
-
export default function LoadingIcon({ spin }: LoadingIconProps): JSX.Element;
|
|
4
|
+
export default function LoadingIcon({ spin }: LoadingIconProps): import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ChartStyleOptions, TableStyleOptions, NumericBarIndicatorStyleOptions, NumericSimpleIndicatorStyleOptions, GaugeIndicatorStyleOptions } from '../types';
|
|
2
|
-
import { Panel, WidgetStyle, WidgetSubtype, WidgetType, TableWidgetStyle, IndicatorWidgetStyle } from './types';
|
|
1
|
+
import { ChartStyleOptions, TableStyleOptions, NumericBarIndicatorStyleOptions, NumericSimpleIndicatorStyleOptions, GaugeIndicatorStyleOptions, PivotTableStyleOptions } from '../types';
|
|
2
|
+
import { Panel, WidgetStyle, WidgetSubtype, WidgetType, TableWidgetStyle, IndicatorWidgetStyle, PivotWidgetStyle } from './types';
|
|
3
3
|
export declare function extractTableChartStyleOptions(widgetStyle: TableWidgetStyle): TableStyleOptions;
|
|
4
4
|
export declare const getIndicatorTypeSpecificOptions: (widgetSubtype: WidgetSubtype, widgetStyle: IndicatorWidgetStyle) => NumericSimpleIndicatorStyleOptions | NumericBarIndicatorStyleOptions | GaugeIndicatorStyleOptions;
|
|
5
|
+
export declare function extractPivotTableStyleOptions(widgetStyle: PivotWidgetStyle): PivotTableStyleOptions;
|
|
5
6
|
export declare function extractStyleOptions<WType extends WidgetType>(widgetType: WType, widgetSubtype: WidgetSubtype, style: WidgetStyle, panels: Panel[]): ChartStyleOptions | TableStyleOptions;
|
|
@@ -10,7 +10,7 @@ export type CategoricalWidgetType = 'chart/pie' | 'chart/funnel' | 'treemap' | '
|
|
|
10
10
|
/**
|
|
11
11
|
* The type of a widget on a dashboard that is a variant of tabular widget.
|
|
12
12
|
*/
|
|
13
|
-
export type TabularWidgetType = 'tablewidget' | 'tablewidgetagg' | 'pivot2';
|
|
13
|
+
export type TabularWidgetType = 'tablewidget' | 'tablewidgetagg' | 'pivot' | 'pivot2';
|
|
14
14
|
/**
|
|
15
15
|
* The type of a widget on a dashboard.
|
|
16
16
|
*/
|
|
@@ -102,6 +102,8 @@ export type PanelItem = {
|
|
|
102
102
|
color?: PanelColorFormat;
|
|
103
103
|
mask?: DatetimeMask | NumericMask;
|
|
104
104
|
members?: PanelMembersFormat;
|
|
105
|
+
subtotal?: boolean;
|
|
106
|
+
databars?: boolean;
|
|
105
107
|
};
|
|
106
108
|
jaql: Jaql;
|
|
107
109
|
disabled?: boolean;
|
|
@@ -112,6 +114,10 @@ export type PanelItem = {
|
|
|
112
114
|
categoriesSorting?: JaqlSortDirection;
|
|
113
115
|
isColored?: boolean;
|
|
114
116
|
geoLevel?: 'country' | 'state' | 'city';
|
|
117
|
+
field?: {
|
|
118
|
+
id: string;
|
|
119
|
+
index: number;
|
|
120
|
+
};
|
|
115
121
|
};
|
|
116
122
|
export type PanelColorFormat = PanelColorFormatSingle | PanelColorFormatRange | PanelColorFormatConditional;
|
|
117
123
|
export type PanelMembersFormat = Record<string, {
|
|
@@ -326,11 +332,25 @@ export type ScattermapWidgetStyle = {
|
|
|
326
332
|
};
|
|
327
333
|
/** Currently, WidgetStyle for areamap is an empty object */
|
|
328
334
|
export type AreamapWidgetStyle = {};
|
|
329
|
-
export type WidgetStyle = CartesianWidgetStyle | PolarWidgetStyle | FunnelWidgetStyle | ScatterWidgetStyle | TableWidgetStyle | IndicatorWidgetStyle | TreemapWidgetStyle | SunburstWidgetStyle | BoxplotWidgetStyle | ScattermapWidgetStyle | AreamapWidgetStyle;
|
|
335
|
+
export type WidgetStyle = CartesianWidgetStyle | PolarWidgetStyle | FunnelWidgetStyle | ScatterWidgetStyle | TableWidgetStyle | IndicatorWidgetStyle | TreemapWidgetStyle | SunburstWidgetStyle | BoxplotWidgetStyle | ScattermapWidgetStyle | AreamapWidgetStyle | PivotWidgetStyle;
|
|
330
336
|
export declare enum FiltersMergeStrategyEnum {
|
|
331
337
|
WIDGET_FIRST = "widgetFirst",
|
|
332
338
|
CODE_FIRST = "codeFirst",
|
|
333
339
|
CODE_ONLY = "codeOnly"
|
|
334
340
|
}
|
|
335
341
|
export type FiltersMergeStrategy = `${FiltersMergeStrategyEnum}`;
|
|
342
|
+
export type PivotWidgetStyle = {
|
|
343
|
+
rowsGrandTotal?: boolean;
|
|
344
|
+
columnsGrandTotal?: boolean;
|
|
345
|
+
colors?: {
|
|
346
|
+
rows?: boolean;
|
|
347
|
+
columns?: boolean;
|
|
348
|
+
headers?: boolean;
|
|
349
|
+
members?: boolean;
|
|
350
|
+
totals?: boolean;
|
|
351
|
+
};
|
|
352
|
+
pageSize?: number | string;
|
|
353
|
+
rowHeight?: number;
|
|
354
|
+
automaticHeight?: boolean;
|
|
355
|
+
};
|
|
336
356
|
export {};
|
|
@@ -28,6 +28,7 @@ export declare const fetchWidgetDtoModel: ({ widgetOid, dashboardOid, includeDas
|
|
|
28
28
|
filterRelations?: {
|
|
29
29
|
filterRelations: import("@sisense/sdk-data").FilterRelationsModel;
|
|
30
30
|
}[] | undefined;
|
|
31
|
+
layout?: import("../api/types/dashboard-dto").Layout | undefined;
|
|
31
32
|
} & import("../utils/utility-types").AnyObject) | undefined;
|
|
32
33
|
}>;
|
|
33
34
|
/**
|
|
@@ -6,9 +6,18 @@ export declare function getChartType(widgetType: WidgetType): ChartType;
|
|
|
6
6
|
export declare function getChartSubtype(widgetSubtype: WidgetSubtype): ChartSubtype | undefined;
|
|
7
7
|
type WidgetTypeOrString = string | WidgetType;
|
|
8
8
|
export declare function isSupportedWidgetType(widgetType: WidgetTypeOrString): widgetType is WidgetType;
|
|
9
|
+
export declare function isTableWidget(widgetType: WidgetTypeOrString): boolean;
|
|
10
|
+
export declare function isPivotWidget(widgetType: WidgetTypeOrString): boolean;
|
|
9
11
|
export declare function isTabularWidget(widgetType: WidgetTypeOrString): boolean;
|
|
10
12
|
export declare function getEnabledPanelItems(panels: Panel[], panelName: string): PanelItem[];
|
|
11
13
|
export declare function getRootPanelItem(item: PanelItem): PanelItem;
|
|
14
|
+
/**
|
|
15
|
+
* Gets the sort type based on the jaql sort direction.
|
|
16
|
+
*
|
|
17
|
+
* @param jaqlSort - The jaql sort direction.
|
|
18
|
+
* @returns The sort direction.
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
12
21
|
export declare function getSortType(jaqlSort: JaqlSortDirection | undefined): SortDirection;
|
|
13
22
|
/**
|
|
14
23
|
* Merges two arrays of filter objects, prioritizing 'targetFilters' over 'sourceFilters',
|