@sisense/sdk-ui 1.9.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 +1 -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 +1 -1
- package/dist/ai/chat-dropup.d.ts +1 -2
- package/dist/ai/chat-frame.d.ts +1 -1
- package/dist/ai/chat-home.d.ts +1 -2
- package/dist/ai/chat-input.d.ts +1 -2
- package/dist/ai/chat-router.d.ts +1 -2
- package/dist/ai/common/collapsible.d.ts +1 -2
- package/dist/ai/common/dropup-section.d.ts +1 -2
- package/dist/ai/common/error-container.d.ts +1 -2
- package/dist/ai/common/icon-button.d.ts +1 -1
- package/dist/ai/common/tooltip.d.ts +1 -2
- 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 +1 -2
- package/dist/ai/icons/clear-chat-icon.d.ts +1 -2
- package/dist/ai/icons/close-dialog-icon.d.ts +1 -2
- package/dist/ai/icons/expand-icon.d.ts +1 -2
- package/dist/ai/icons/info-icon.d.ts +1 -2
- package/dist/ai/icons/light-bulb-icon.d.ts +1 -2
- package/dist/ai/icons/loading-dots-icon.d.ts +1 -2
- package/dist/ai/icons/message-icon.d.ts +1 -2
- package/dist/ai/icons/refresh-icon.d.ts +1 -2
- package/dist/ai/icons/sisense-logo.d.ts +1 -2
- package/dist/ai/icons/three-dots-icon.d.ts +1 -2
- package/dist/ai/icons/thumbs-down-hovered-icon.d.ts +1 -2
- package/dist/ai/icons/thumbs-down-icon.d.ts +1 -2
- package/dist/ai/icons/thumbs-up-hovered-icon.d.ts +1 -2
- package/dist/ai/icons/thumbs-up-icon.d.ts +1 -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 +1 -1
- package/dist/ai/messages/feedback-wrapper.d.ts +1 -1
- 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/message-list-resolver.d.ts +1 -2
- package/dist/ai/messages/message-resolver.d.ts +1 -1
- package/dist/ai/messages/nlq-message-group.d.ts +1 -2
- package/dist/ai/nav-back-button.d.ts +1 -2
- 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 +1276 -6688
- package/dist/alert-box/alert-box.d.ts +1 -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-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/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/common/components/loading-dots.d.ts +1 -2
- package/dist/common/components/loading-indicator.d.ts +1 -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/utils.d.ts +7 -0
- package/dist/{debounce-Cc9bQD5m.js → debounce-2yQ2123W.js} +64211 -64112
- package/dist/decorators/component-decorators/with-tracking/use-track-component-init.d.ts +1 -1
- package/dist/dynamic-size-container/dynamic-size-container.d.ts +1 -1
- 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/switch.d.ts +2 -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 +1 -0
- package/dist/index.js +23613 -34464
- package/dist/indicator-canvas.d.ts +4 -9
- package/dist/no-results-overlay/no-results-overlay.d.ts +1 -2
- package/dist/props.d.ts +1 -1
- package/dist/sisense-chart/sisense-chart.d.ts +4 -6
- package/dist/translation/i18n-provider.d.ts +1 -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-header-info-button.d.ts +1 -2
- package/dist/widgets/drilldown-widget.d.ts +1 -2
- package/package.json +16 -18
- 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
|
@@ -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,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
|
};
|
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;
|
|
@@ -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;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CompleteThemeSettings } from '../../types';
|
|
3
2
|
/**
|
|
4
3
|
* Component that displays a loading indicator.
|
|
@@ -114,4 +113,4 @@ export declare const LoadingIndicator: ({ themeSettings, onCancel, }: {
|
|
|
114
113
|
};
|
|
115
114
|
} | undefined;
|
|
116
115
|
onCancel?: (() => void) | undefined;
|
|
117
|
-
}) => 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 {};
|
|
@@ -11,6 +11,13 @@ export declare function isPivotWidget(widgetType: WidgetTypeOrString): boolean;
|
|
|
11
11
|
export declare function isTabularWidget(widgetType: WidgetTypeOrString): boolean;
|
|
12
12
|
export declare function getEnabledPanelItems(panels: Panel[], panelName: string): PanelItem[];
|
|
13
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
|
+
*/
|
|
14
21
|
export declare function getSortType(jaqlSort: JaqlSortDirection | undefined): SortDirection;
|
|
15
22
|
/**
|
|
16
23
|
* Merges two arrays of filter objects, prioritizing 'targetFilters' over 'sourceFilters',
|