@databrainhq/plugin 0.11.15 → 0.11.17
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/components/AceEditorSql/AceEditorSql.d.ts +1 -1
- package/dist/components/Alert/index.d.ts +1 -1
- package/dist/components/Button/index.d.ts +1 -1
- package/dist/components/Chart/SingleValueChart.d.ts +1 -1
- package/dist/components/Chart/index.d.ts +1 -1
- package/dist/components/ChartModal/ChartConfig.d.ts +1 -1
- package/dist/components/ChartModal/ChartModalOptions.d.ts +2 -2
- package/dist/components/ChartModal/SelectField.d.ts +2 -2
- package/dist/components/ChartPopup/components/UnderlyingData/index.d.ts +1 -1
- package/dist/components/ChartPopup/index.d.ts +2 -2
- package/dist/components/ChartSettingsPopup/ChartSettingsPopup.d.ts +1 -1
- package/dist/components/ChartSettingsPopup/components/ChartConfigure/index.d.ts +1 -1
- package/dist/components/ChartSettingsPopup/components/ChartSettings/index.d.ts +1 -1
- package/dist/components/Charts/AreaChart.d.ts +2 -2
- package/dist/components/Charts/BarChart.d.ts +1 -1
- package/dist/components/Charts/BoxPlot.d.ts +2 -2
- package/dist/components/Charts/BubbleChart.d.ts +2 -2
- package/dist/components/Charts/ComboChart.d.ts +2 -2
- package/dist/components/Charts/DoughnutChart.d.ts +2 -2
- package/dist/components/Charts/FunnelChart.d.ts +2 -2
- package/dist/components/Charts/GaugeChart.d.ts +2 -2
- package/dist/components/Charts/Histogram.d.ts +2 -2
- package/dist/components/Charts/LineChart.d.ts +1 -1
- package/dist/components/Charts/PieChart.d.ts +2 -2
- package/dist/components/Charts/RowChart.d.ts +2 -2
- package/dist/components/Charts/SankeyChart.d.ts +2 -2
- package/dist/components/Charts/ScatterChart.d.ts +2 -2
- package/dist/components/Charts/SingleValueChart/index.d.ts +2 -2
- package/dist/components/Charts/StackedBarChart.d.ts +2 -2
- package/dist/components/Charts/SteppedAreaChart.d.ts +2 -2
- package/dist/components/Charts/Table/TableChart.d.ts +1 -1
- package/dist/components/Charts/TimeSeriesChart.d.ts +2 -2
- package/dist/components/Charts/WaterfallChart.d.ts +2 -2
- package/dist/components/DataType/index.d.ts +2 -2
- package/dist/components/DrillBreadCrumb/index.d.ts +2 -2
- package/dist/components/Error/index.d.ts +2 -2
- package/dist/components/ErrorFallback/index.d.ts +2 -2
- package/dist/components/FilterDropDown/index.d.ts +1 -1
- package/dist/components/FloatingDropDown/index.d.ts +1 -1
- package/dist/components/FullScreenChart/index.d.ts +2 -2
- package/dist/components/GlobalFilters/AddFilter.d.ts +1 -1
- package/dist/components/GlobalFilters/AppliedFilter.d.ts +1 -1
- package/dist/components/GlobalFilters/NumberFilterField.d.ts +2 -2
- package/dist/components/InputField/index.d.ts +1 -1
- package/dist/components/InternetFailure/index.d.ts +2 -2
- package/dist/components/Loader/index.d.ts +2 -2
- package/dist/components/MetricChart/ChartImageDownloadButton.d.ts +1 -1
- package/dist/components/MetricChart/MetricChart.d.ts +1 -1
- package/dist/components/MetricChart/PivotCsvDownloadButton.d.ts +12 -0
- package/dist/components/MetricCreation/MetricCreation.d.ts +2 -2
- package/dist/components/MetricCreation/components/ConstructMetric/ConstructMetric.d.ts +2 -2
- package/dist/components/MetricCreation/components/ConstructMetric/components/MetricForm/index.d.ts +2 -2
- package/dist/components/MetricCreation/components/Dataset/index.d.ts +2 -2
- package/dist/components/MetricCreation/components/Header/index.d.ts +2 -2
- package/dist/components/MetricCreation/components/MetricOutput/MetricOutput.d.ts +2 -2
- package/dist/components/MetricCreation/components/MetricOutput/components/ChartTab/index.d.ts +1 -1
- package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/components/InputTables/index.d.ts +2 -2
- package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/index.d.ts +1 -1
- package/dist/components/MetricFilterDropDown/index.d.ts +2 -2
- package/dist/components/MetricList/components/ArchiveMetricModal/index.d.ts +2 -2
- package/dist/components/MetricList/components/DownloadRawCsvModal/index.d.ts +2 -2
- package/dist/components/MetricList/components/FullScreenView/AddMetricFilter.d.ts +2 -2
- package/dist/components/MetricList/components/FullScreenView/DownloadButton.d.ts +3 -1
- package/dist/components/MetricList/components/FullScreenView/index.d.ts +2 -2
- package/dist/components/MetricList/components/LayoutAlert/index.d.ts +2 -2
- package/dist/components/MetricList/components/MetricCards/MetricCard.d.ts +2 -2
- package/dist/components/MetricList/components/MetricCards/NoDataLoading.d.ts +1 -1
- package/dist/components/MetricList/components/TableViewModal/index.d.ts +2 -2
- package/dist/components/MetricTable/index.d.ts +2 -2
- package/dist/components/PivotTable/index.d.ts +2 -2
- package/dist/components/ScheduleEmail/ScheduleEmailForm/index.d.ts +2 -2
- package/dist/components/ScheduleEmail/index.d.ts +2 -2
- package/dist/components/SearchTab/index.d.ts +2 -2
- package/dist/components/Select/index.d.ts +5 -5
- package/dist/components/Tab/index.d.ts +1 -1
- package/dist/components/Table/DebouncedInput.d.ts +1 -1
- package/dist/components/Table/index.d.ts +1 -1
- package/dist/components/TagInputField/index.d.ts +2 -2
- package/dist/components/Text/index.d.ts +1 -1
- package/dist/components/TextAreaField/index.d.ts +2 -2
- package/dist/components/TimeGrainField/index.d.ts +1 -1
- package/dist/components/TimeSeriesSettings/index.d.ts +2 -2
- package/dist/containers/Dashboard/Dashboard.d.ts +2 -2
- package/dist/containers/Dashboard/DashboardProvider.d.ts +2 -2
- package/dist/containers/Dashboard/EmbededDashboard.d.ts +1 -1
- package/dist/containers/Metric/EmbeddedMetric.d.ts +1 -1
- package/dist/containers/Metric/index.d.ts +1 -1
- package/dist/containers/PluginProvider.d.ts +2 -2
- package/dist/hooks/useDownloadRawCsv.d.ts +1 -1
- package/dist/hooks/useScheduleEmail.d.ts +1 -1
- package/dist/index.es.js +31115 -30299
- package/dist/index.umd.js +199 -189
- package/dist/style.css +1 -1
- package/dist/utils/pivotDataTransform.d.ts +7 -0
- package/dist/webcomponents.es.js +30831 -30049
- package/dist/webcomponents.umd.js +197 -187
- package/package.json +3 -3
- package/src/index.ts +7 -0
|
@@ -6,5 +6,5 @@ interface Props {
|
|
|
6
6
|
onExecute?: (value?: string) => void;
|
|
7
7
|
editorRef: React.RefObject<ReactAce>;
|
|
8
8
|
}
|
|
9
|
-
declare const AceEditorSql: ({ onChange, value, onExecute, editorRef }: Props) => JSX.Element;
|
|
9
|
+
declare const AceEditorSql: ({ onChange, value, onExecute, editorRef }: Props) => React.JSX.Element;
|
|
10
10
|
export default AceEditorSql;
|
|
@@ -4,4 +4,4 @@ export type AlertProps = {
|
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
variant?: 'primary' | 'warning' | 'error' | 'success';
|
|
6
6
|
};
|
|
7
|
-
export declare const Alert: ({ variant, text, children }: AlertProps) => JSX.Element;
|
|
7
|
+
export declare const Alert: ({ variant, text, children }: AlertProps) => React.JSX.Element;
|
|
@@ -4,5 +4,5 @@ interface Props extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
4
4
|
variant: 'primary' | 'secondary' | 'reject' | 'custom' | 'outlined' | 'tertiary';
|
|
5
5
|
size?: 'xs' | 'small' | 'default' | 'medium' | 'large' | '11rem' | 'none';
|
|
6
6
|
}
|
|
7
|
-
export declare const Button: ({ isDisabled, type, className, children, variant, size, onClick, title, ...props }: Props) => JSX.Element;
|
|
7
|
+
export declare const Button: ({ isDisabled, type, className, children, variant, size, onClick, title, ...props }: Props) => React.JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -20,5 +20,5 @@ export type SingleValueChartProps = {
|
|
|
20
20
|
trendLineOptions?: any;
|
|
21
21
|
events: any;
|
|
22
22
|
};
|
|
23
|
-
declare const _default: React.MemoExoticComponent<({ value, settings, chartClickConfig, hideBorder, className, onChartReady, comparisonValue, trendLineOptions, events, }: SingleValueChartProps) => JSX.Element>;
|
|
23
|
+
declare const _default: React.MemoExoticComponent<({ value, settings, chartClickConfig, hideBorder, className, onChartReady, comparisonValue, trendLineOptions, events, }: SingleValueChartProps) => React.JSX.Element>;
|
|
24
24
|
export default _default;
|
|
@@ -18,4 +18,4 @@ export type ChartProps = {
|
|
|
18
18
|
* @prop colors (optional) - the admin provided chart color palettes.
|
|
19
19
|
* @returns JSX - chart visaulization content.
|
|
20
20
|
*/
|
|
21
|
-
export declare const Chart: React.MemoExoticComponent<({ chartOptions, data, events, colors, config, className }: ChartProps) => JSX.Element>;
|
|
21
|
+
export declare const Chart: React.MemoExoticComponent<({ chartOptions, data, events, colors, config, className }: ChartProps) => React.JSX.Element>;
|
|
@@ -6,5 +6,5 @@ type Props = {
|
|
|
6
6
|
setChartSettings: React.Dispatch<React.SetStateAction<ChartSettingsType>>;
|
|
7
7
|
groupbyList: any[];
|
|
8
8
|
};
|
|
9
|
-
export declare const ChartConfig: ({ data, chartSettings, setChartSettings, groupbyList, }: Props) => JSX.Element;
|
|
9
|
+
export declare const ChartConfig: ({ data, chartSettings, setChartSettings, groupbyList, }: Props) => React.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { CHART_TYPES } from '@/consts';
|
|
3
3
|
type ChartType = keyof typeof CHART_TYPES;
|
|
4
4
|
type Props = {
|
|
@@ -7,5 +7,5 @@ type Props = {
|
|
|
7
7
|
isEnableTimeSeries: boolean;
|
|
8
8
|
isEnablePivotTable: boolean;
|
|
9
9
|
};
|
|
10
|
-
export declare const ChartModalOptions: ({ chartType, onChartChange, isEnableTimeSeries, isEnablePivotTable, }: Props) => JSX.Element;
|
|
10
|
+
export declare const ChartModalOptions: ({ chartType, onChartChange, isEnableTimeSeries, isEnablePivotTable, }: Props) => React.JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const SelectField: ({ value, options, control }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const SelectField: ({ value, options, control }: any) => React.JSX.Element;
|
|
@@ -8,5 +8,5 @@ type UnderlyingDataProps = {
|
|
|
8
8
|
columnName: string | undefined;
|
|
9
9
|
isSingleValueChart: boolean;
|
|
10
10
|
};
|
|
11
|
-
declare const _default: React.MemoExoticComponent<({ isShowUnderlyingData, setShowUnderlyingData, getUnderlyingData, columnName, value, isSingleValueChart, }: UnderlyingDataProps) => JSX.Element>;
|
|
11
|
+
declare const _default: React.MemoExoticComponent<({ isShowUnderlyingData, setShowUnderlyingData, getUnderlyingData, columnName, value, isSingleValueChart, }: UnderlyingDataProps) => React.JSX.Element>;
|
|
12
12
|
export default _default;
|
|
@@ -16,6 +16,6 @@ export type ChartPopupProps = React.PropsWithChildren & {
|
|
|
16
16
|
isSingleValueChart: boolean;
|
|
17
17
|
position?: 'left' | 'right' | 'top' | 'bottom' | 'left-bottom-end' | 'right-bottom-end' | 'left-top-end' | 'right-top-end' | 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right' | 'left-bottom' | 'left-top' | 'right-bottom' | 'right-top' | 'center' | 'dynamic';
|
|
18
18
|
};
|
|
19
|
-
export declare const ChartPopup: ({ position, menuContainerClass, menuClass, isOpen, setOpen, value, columnName, getUnderlyingData, clickBehaviourConfigs, elementRef, isSingleValueChart, }: ChartPopupProps) => JSX.Element;
|
|
20
|
-
declare const _default: React.MemoExoticComponent<({ position, menuContainerClass, menuClass, isOpen, setOpen, value, columnName, getUnderlyingData, clickBehaviourConfigs, elementRef, isSingleValueChart, }: ChartPopupProps) => JSX.Element>;
|
|
19
|
+
export declare const ChartPopup: ({ position, menuContainerClass, menuClass, isOpen, setOpen, value, columnName, getUnderlyingData, clickBehaviourConfigs, elementRef, isSingleValueChart, }: ChartPopupProps) => React.JSX.Element;
|
|
20
|
+
declare const _default: React.MemoExoticComponent<({ position, menuContainerClass, menuClass, isOpen, setOpen, value, columnName, getUnderlyingData, clickBehaviourConfigs, elementRef, isSingleValueChart, }: ChartPopupProps) => React.JSX.Element>;
|
|
21
21
|
export default _default;
|
|
@@ -8,4 +8,4 @@ export type ChartSettingsPopupProps = Partial<Pick<PopoverMenuProps, 'buttonClas
|
|
|
8
8
|
isEnablePivotTable: boolean;
|
|
9
9
|
groupbyList: any[];
|
|
10
10
|
};
|
|
11
|
-
export declare const ChartSettingsPopup: ({ data, settings, setSettings, buttonClass, menuClass, menuContainerClass, className, position, isEnablePivotTable, groupbyList, }: ChartSettingsPopupProps) => JSX.Element;
|
|
11
|
+
export declare const ChartSettingsPopup: ({ data, settings, setSettings, buttonClass, menuClass, menuContainerClass, className, position, isEnablePivotTable, groupbyList, }: ChartSettingsPopupProps) => React.JSX.Element;
|
|
@@ -4,5 +4,5 @@ type Props = {
|
|
|
4
4
|
chartSettings: ChartSettingsType;
|
|
5
5
|
setChartSettings: React.Dispatch<React.SetStateAction<ChartSettingsType>>;
|
|
6
6
|
};
|
|
7
|
-
export declare const ChartConfigure: ({ chartSettings, setChartSettings }: Props) => JSX.Element;
|
|
7
|
+
export declare const ChartConfigure: ({ chartSettings, setChartSettings }: Props) => React.JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -7,5 +7,5 @@ type Props = {
|
|
|
7
7
|
isEnablePivotTable: boolean;
|
|
8
8
|
groupbyList: any[];
|
|
9
9
|
};
|
|
10
|
-
export declare const ChartSettings: ({ data, chartSettings, setChartSettings, isEnablePivotTable, groupbyList, }: Props) => JSX.Element;
|
|
10
|
+
export declare const ChartSettings: ({ data, chartSettings, setChartSettings, isEnablePivotTable, groupbyList, }: Props) => React.JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const AreaChart: ({ data, margins, legendSettings, labelSettings, axisSettings, colors, backGroundColor, customSettings, chartRef, handleChartClick, setShowChartPopup, drilldown, }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const AreaChart: ({ data, margins, legendSettings, labelSettings, axisSettings, colors, backGroundColor, customSettings, chartRef, handleChartClick, setShowChartPopup, drilldown, }: any) => React.JSX.Element;
|
|
3
3
|
export default AreaChart;
|
|
@@ -21,5 +21,5 @@ type Props = {
|
|
|
21
21
|
setShowChartPopup?: any;
|
|
22
22
|
drilldown?: () => void;
|
|
23
23
|
};
|
|
24
|
-
declare const BarChart: ({ data, colors, backGroundColor, legendSettings, labelSettings, axisSettings, margins, customSettings, chartRef, handleChartClick, setShowChartPopup, drilldown, }: Props) => JSX.Element;
|
|
24
|
+
declare const BarChart: ({ data, colors, backGroundColor, legendSettings, labelSettings, axisSettings, margins, customSettings, chartRef, handleChartClick, setShowChartPopup, drilldown, }: Props) => React.JSX.Element;
|
|
25
25
|
export default BarChart;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const BoxPlot: ({ data, margins, legendSettings, axisSettings, colors, customSettings, chartRef, handleChartClick, setShowChartPopup, drilldown, }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const BoxPlot: ({ data, margins, legendSettings, axisSettings, colors, customSettings, chartRef, handleChartClick, setShowChartPopup, drilldown, }: any) => React.JSX.Element;
|
|
3
3
|
export default BoxPlot;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const BubbleChart: ({ data, margins, legendSettings, labelSettings, axisSettings, colors, customSettings, chartRef, handleChartClick, setShowChartPopup, drilldown, }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const BubbleChart: ({ data, margins, legendSettings, labelSettings, axisSettings, colors, customSettings, chartRef, handleChartClick, setShowChartPopup, drilldown, }: any) => React.JSX.Element;
|
|
3
3
|
export default BubbleChart;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const ComboChart: ({ data, margins, legendSettings, labelSettings, colors, backGroundColor, customSettings, chartRef, handleChartClick, setShowChartPopup, drilldown, }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const ComboChart: ({ data, margins, legendSettings, labelSettings, colors, backGroundColor, customSettings, chartRef, handleChartClick, setShowChartPopup, drilldown, }: any) => React.JSX.Element;
|
|
3
3
|
export default ComboChart;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const DoughnutChart: ({ data, margins, legendSettings, labelSettings, colors, chartRef, handleChartClick, setShowChartPopup, drilldown, }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const DoughnutChart: ({ data, margins, legendSettings, labelSettings, colors, chartRef, handleChartClick, setShowChartPopup, drilldown, }: any) => React.JSX.Element;
|
|
3
3
|
export default DoughnutChart;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const FunnelChart: ({ funnelData, margins, legendSettings, labelSettings, colors, chartRef, handleChartClick, setShowChartPopup, drilldown, customSettings, }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const FunnelChart: ({ funnelData, margins, legendSettings, labelSettings, colors, chartRef, handleChartClick, setShowChartPopup, drilldown, customSettings, }: any) => React.JSX.Element;
|
|
3
3
|
export default FunnelChart;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const GaugeChart: ({ gaugeData, margins, legendSettings, colors, chartRef, handleChartClick, setShowChartPopup, drilldown, }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const GaugeChart: ({ gaugeData, margins, legendSettings, colors, chartRef, handleChartClick, setShowChartPopup, drilldown, }: any) => React.JSX.Element;
|
|
3
3
|
export default GaugeChart;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const Histogram: ({ data, margins, legendSettings, labelSettings, axisSettings, chartRef, colors, backGroundColor, customSettings, handleChartClick, setShowChartPopup, drilldown, }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const Histogram: ({ data, margins, legendSettings, labelSettings, axisSettings, chartRef, colors, backGroundColor, customSettings, handleChartClick, setShowChartPopup, drilldown, }: any) => React.JSX.Element;
|
|
3
3
|
export default Histogram;
|
|
@@ -21,5 +21,5 @@ type Props = {
|
|
|
21
21
|
setShowChartPopup?: any;
|
|
22
22
|
drilldown?: () => void;
|
|
23
23
|
};
|
|
24
|
-
declare const LineChart: ({ data, margins, legendSettings, labelSettings, axisSettings, colors, customSettings, chartRef, handleChartClick, setShowChartPopup, drilldown, }: Props) => JSX.Element;
|
|
24
|
+
declare const LineChart: ({ data, margins, legendSettings, labelSettings, axisSettings, colors, customSettings, chartRef, handleChartClick, setShowChartPopup, drilldown, }: Props) => React.JSX.Element;
|
|
25
25
|
export default LineChart;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const PieChart: ({ data, margins, legendSettings, labelSettings, chartRef, colors, handleChartClick, setShowChartPopup, drilldown, }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const PieChart: ({ data, margins, legendSettings, labelSettings, chartRef, colors, handleChartClick, setShowChartPopup, drilldown, }: any) => React.JSX.Element;
|
|
3
3
|
export default PieChart;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const RowChart: ({ data, margins, legendSettings, labelSettings, chartRef, colors, backGroundColor, customSettings, handleChartClick, setShowChartPopup, drilldown, }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const RowChart: ({ data, margins, legendSettings, labelSettings, chartRef, colors, backGroundColor, customSettings, handleChartClick, setShowChartPopup, drilldown, }: any) => React.JSX.Element;
|
|
3
3
|
export default RowChart;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const SankeyChart: ({ data, margins, chartRef, colors, backGroundColor, handleChartClick, setShowChartPopup, drilldown, }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const SankeyChart: ({ data, margins, chartRef, colors, backGroundColor, handleChartClick, setShowChartPopup, drilldown, }: any) => React.JSX.Element;
|
|
3
3
|
export default SankeyChart;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const ScatterChart: ({ data, margins, legendSettings, labelSettings, axisSettings, chartRef, colors, isEnableGroupBy, backGroundColor, customSettings, handleChartClick, setShowChartPopup, drilldown, }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const ScatterChart: ({ data, margins, legendSettings, labelSettings, axisSettings, chartRef, colors, isEnableGroupBy, backGroundColor, customSettings, handleChartClick, setShowChartPopup, drilldown, }: any) => React.JSX.Element;
|
|
3
3
|
export default ScatterChart;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const SingleValueChart: ({ data, customSettings, chartClickConfig, hideBorder, }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const SingleValueChart: ({ data, customSettings, chartClickConfig, hideBorder, }: any) => React.JSX.Element;
|
|
3
3
|
export default SingleValueChart;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const StackedBarChart: ({ data, margins, legendSettings, labelSettings, axisSettings, chartRef, colors, backGroundColor, customSettings, handleChartClick, setShowChartPopup, drilldown, }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const StackedBarChart: ({ data, margins, legendSettings, labelSettings, axisSettings, chartRef, colors, backGroundColor, customSettings, handleChartClick, setShowChartPopup, drilldown, }: any) => React.JSX.Element;
|
|
3
3
|
export default StackedBarChart;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const SteppedAreaChart: ({ data, margins, legendSettings, labelSettings, axisSettings, chartRef, colors, backGroundColor, customSettings, handleChartClick, setShowChartPopup, drilldown, }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const SteppedAreaChart: ({ data, margins, legendSettings, labelSettings, axisSettings, chartRef, colors, backGroundColor, customSettings, handleChartClick, setShowChartPopup, drilldown, }: any) => React.JSX.Element;
|
|
3
3
|
export default SteppedAreaChart;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: React.MemoExoticComponent<({ data, chartClickConfig, tableSettings, tableName, }: any) => JSX.Element>;
|
|
2
|
+
declare const _default: React.MemoExoticComponent<({ data, chartClickConfig, tableSettings, tableName, }: any) => React.JSX.Element>;
|
|
3
3
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { TimeSeriesChartProps } from '@/types';
|
|
3
|
-
declare const TimeSeriesChart: ({ dataArray, groupBy, timeStampKey, type, valuekeys, margins, colors, customSettings, axisSettings, labelSettings, legendSettings, backGroundColor, }: TimeSeriesChartProps) => JSX.Element;
|
|
3
|
+
declare const TimeSeriesChart: ({ dataArray, groupBy, timeStampKey, type, valuekeys, margins, colors, customSettings, axisSettings, labelSettings, legendSettings, backGroundColor, }: TimeSeriesChartProps) => React.JSX.Element;
|
|
4
4
|
export default TimeSeriesChart;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const WaterFallChart: ({ data, margins, labelSettings, axisSettings, chartRef, colors, backGroundColor, customSettings, handleChartClick, setShowChartPopup, drilldown, }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const WaterFallChart: ({ data, margins, labelSettings, axisSettings, chartRef, colors, backGroundColor, customSettings, handleChartClick, setShowChartPopup, drilldown, }: any) => React.JSX.Element;
|
|
3
3
|
export default WaterFallChart;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
type Props = {
|
|
3
3
|
datatype: string;
|
|
4
4
|
className?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare const DataType: ({ datatype, className }: Props) => JSX.Element;
|
|
6
|
+
export declare const DataType: ({ datatype, className }: Props) => React.JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare const DrillBreadCrumb: ({ dimensions, drilledLevel, onResetLevel, }: {
|
|
3
3
|
dimensions: string[];
|
|
4
4
|
drilledLevel: number;
|
|
5
5
|
onResetLevel: () => void;
|
|
6
|
-
}) => JSX.Element;
|
|
6
|
+
}) => React.JSX.Element;
|
|
7
7
|
export default DrillBreadCrumb;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
type ErrorMessageProps = {
|
|
3
3
|
message?: string;
|
|
4
4
|
};
|
|
5
|
-
export declare const Error: ({ message }: ErrorMessageProps) => JSX.Element;
|
|
5
|
+
export declare const Error: ({ message }: ErrorMessageProps) => React.JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const ErrorFallback: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ErrorFallback: () => React.JSX.Element;
|
|
@@ -8,6 +8,6 @@ export type FilterDropDownProps = Omit<FloatingDropDownProps, 'options' | 'isDis
|
|
|
8
8
|
integrationId: string;
|
|
9
9
|
integrationName: string;
|
|
10
10
|
};
|
|
11
|
-
export declare const FilterDropDown: ({ companyId, filter, onChange, selectedOption, autoSelected, integrationId, integrationName, ...rest }: FilterDropDownProps) => JSX.Element;
|
|
11
|
+
export declare const FilterDropDown: ({ companyId, filter, onChange, selectedOption, autoSelected, integrationId, integrationName, ...rest }: FilterDropDownProps) => React.JSX.Element;
|
|
12
12
|
export type MultiFilterDropDownProps = Pick<FilterDropDownProps, 'autoSelected' | 'companyId' | 'filter' | 'label' | 'integrationId' | 'integrationName'> & Omit<MultiFloatingDropDownProps, 'options' | 'isDisabled'>;
|
|
13
13
|
export declare const MultiFilterDropdown: React.FC<MultiFilterDropDownProps>;
|
|
@@ -17,7 +17,7 @@ export type FloatingDropDownProps = {
|
|
|
17
17
|
};
|
|
18
18
|
dropdownAbove?: boolean;
|
|
19
19
|
};
|
|
20
|
-
export declare const FloatingDropDown: ({ label, labelVariant, selectedOption, onChange, className, buttonClass, options, isDisabled, children, icon, isSearchEnabled, closeControl, dropdownAbove, }: FloatingDropDownProps) => JSX.Element;
|
|
20
|
+
export declare const FloatingDropDown: ({ label, labelVariant, selectedOption, onChange, className, buttonClass, options, isDisabled, children, icon, isSearchEnabled, closeControl, dropdownAbove, }: FloatingDropDownProps) => React.JSX.Element;
|
|
21
21
|
export type MultiFloatingDropDownProps = Omit<FloatingDropDownProps, 'selectedOption' | 'onChange'> & {
|
|
22
22
|
selectedOptions: FloatingDropDownOption[];
|
|
23
23
|
onChange: (options: FloatingDropDownOption[]) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ChartProps } from '@/components/Chart';
|
|
3
3
|
type Props = ChartProps & {
|
|
4
4
|
isShow: boolean;
|
|
5
5
|
onCancel: () => void;
|
|
6
6
|
};
|
|
7
|
-
export declare const FullScreenChart: ({ isShow, onCancel, ...rest }: Props) => JSX.Element;
|
|
7
|
+
export declare const FullScreenChart: ({ isShow, onCancel, ...rest }: Props) => React.JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -11,5 +11,5 @@ type Props = {
|
|
|
11
11
|
setFilterList: React.Dispatch<React.SetStateAction<Filter[]>>;
|
|
12
12
|
filterList: Filter[];
|
|
13
13
|
};
|
|
14
|
-
declare const AddFilter: ({ columnList, filterList, setFilterList }: Props) => JSX.Element;
|
|
14
|
+
declare const AddFilter: ({ columnList, filterList, setFilterList }: Props) => React.JSX.Element;
|
|
15
15
|
export default AddFilter;
|
|
@@ -5,5 +5,5 @@ type AppliedFilterProps = {
|
|
|
5
5
|
setAppliedFilters: React.Dispatch<React.SetStateAction<FilterFieldType[]>>;
|
|
6
6
|
onChangeFilters: (updatedFilters: FilterFieldType[]) => void;
|
|
7
7
|
};
|
|
8
|
-
export declare const AppliedFilter: ({ appliedFilter, setAppliedFilters, onChangeFilters, }: AppliedFilterProps) => JSX.Element;
|
|
8
|
+
export declare const AppliedFilter: ({ appliedFilter, setAppliedFilters, onChangeFilters, }: AppliedFilterProps) => React.JSX.Element;
|
|
9
9
|
export default AppliedFilter;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
type NumberFieldProps = {
|
|
3
3
|
setAppliedFilters?: any;
|
|
4
4
|
column?: {
|
|
@@ -20,5 +20,5 @@ type NumberFieldProps = {
|
|
|
20
20
|
}) => void;
|
|
21
21
|
label?: string;
|
|
22
22
|
};
|
|
23
|
-
export declare const NumberFilterField: ({ setAppliedFilters, column, defaultValues, className, onChange, label, }: NumberFieldProps) => JSX.Element;
|
|
23
|
+
export declare const NumberFilterField: ({ setAppliedFilters, column, defaultValues, className, onChange, label, }: NumberFieldProps) => React.JSX.Element;
|
|
24
24
|
export default NumberFilterField;
|
|
@@ -11,5 +11,5 @@ interface Props extends React.HTMLProps<HTMLInputElement> {
|
|
|
11
11
|
inputClass?: string;
|
|
12
12
|
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
13
13
|
}
|
|
14
|
-
export declare const InputField: ({ type, register, error, icon, label, isDisabled, labelClass, inputClass, className, labelVariant, id, ...rest }: Props) => JSX.Element;
|
|
14
|
+
export declare const InputField: ({ type, register, error, icon, label, isDisabled, labelClass, inputClass, className, labelVariant, id, ...rest }: Props) => React.JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const InternetFailure: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const InternetFailure: () => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const Loader: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Loader: () => React.JSX.Element;
|
|
@@ -7,5 +7,5 @@ type DownloadButtonProps = {
|
|
|
7
7
|
chartRef: React.RefObject<EChartsReact>;
|
|
8
8
|
fileName?: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const ChartImageDownloadButton: ({ className, iconClass, fileName, text, chartRef, }: DownloadButtonProps) => JSX.Element;
|
|
10
|
+
export declare const ChartImageDownloadButton: ({ className, iconClass, fileName, text, chartRef, }: DownloadButtonProps) => React.JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -42,4 +42,4 @@ export type MetricChartProps = {
|
|
|
42
42
|
xAxis: string;
|
|
43
43
|
yAxisList: string[];
|
|
44
44
|
};
|
|
45
|
-
export declare const MetricChart: ({ labels, data, chartType, funnelData, sankeyData, singleValueData, margins, legendSettings, labelSettings, axisSettings, customSettings, enableSaveAs, colors, backGroundColor, chartClickConfig, tableSettings, chartRef, tableName, handleChartClick, drilldown, setShowChartPopup, rawData, timeSeriesSettings, xAxis, yAxisList, }: MetricChartProps) => JSX.Element;
|
|
45
|
+
export declare const MetricChart: ({ labels, data, chartType, funnelData, sankeyData, singleValueData, margins, legendSettings, labelSettings, axisSettings, customSettings, enableSaveAs, colors, backGroundColor, chartClickConfig, tableSettings, chartRef, tableName, handleChartClick, drilldown, setShowChartPopup, rawData, timeSeriesSettings, xAxis, yAxisList, }: MetricChartProps) => React.JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ChartSettingsType } from '@/types';
|
|
3
|
+
type PivotDownloadButtonProps = {
|
|
4
|
+
className?: string;
|
|
5
|
+
data: Record<string, string>[];
|
|
6
|
+
fileName: string;
|
|
7
|
+
iconClass?: string;
|
|
8
|
+
text?: string;
|
|
9
|
+
chartOptions?: ChartSettingsType;
|
|
10
|
+
};
|
|
11
|
+
export declare const PivotDownloadButton: React.FC<PivotDownloadButtonProps>;
|
|
12
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { EmbeddedMetricCreationProps } from '@/types/metricCreate';
|
|
3
|
-
export declare const EmbeddedMetricCreation: ({ clientId, companyId, isLiveMode, externalDashboardId, userProvidedDashboardId, chartColors, isShowMetricCreateModal, setShowMetricCreateModal, metric, metricData, workspaceId, }: EmbeddedMetricCreationProps) => JSX.Element;
|
|
3
|
+
export declare const EmbeddedMetricCreation: ({ clientId, companyId, isLiveMode, externalDashboardId, userProvidedDashboardId, chartColors, isShowMetricCreateModal, setShowMetricCreateModal, metric, metricData, workspaceId, }: EmbeddedMetricCreationProps) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ConstructMetricProps } from '@/types/metricCreate';
|
|
3
|
-
export declare const ConstructMetric: ({ dateTimeColumnList, columnList, database, companyId, tableName, setData, setError, setLoading, setQuery, clientId, clientColumn, databaseId, datasetSettings, setDatasetSettings, }: ConstructMetricProps) => JSX.Element;
|
|
3
|
+
export declare const ConstructMetric: ({ dateTimeColumnList, columnList, database, companyId, tableName, setData, setError, setLoading, setQuery, clientId, clientColumn, databaseId, datasetSettings, setDatasetSettings, }: ConstructMetricProps) => React.JSX.Element;
|
package/dist/components/MetricCreation/components/ConstructMetric/components/MetricForm/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ConstructMetricProps } from '@/types/metricCreate';
|
|
3
|
-
export declare const MetricForm: ({ dateTimeColumnList, columnList, database, tableName, setData, setError, setLoading, setQuery, clientId, clientColumn, databaseId, datasetSettings, setDatasetSettings, }: ConstructMetricProps) => JSX.Element;
|
|
3
|
+
export declare const MetricForm: ({ dateTimeColumnList, columnList, database, tableName, setData, setError, setLoading, setQuery, clientId, clientColumn, databaseId, datasetSettings, setDatasetSettings, }: ConstructMetricProps) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { DatasetProps } from '@/types/metricCreate';
|
|
3
|
-
export declare const Dataset: ({ setselectTable, selectTable, tableList, columnList, }: DatasetProps) => JSX.Element;
|
|
3
|
+
export declare const Dataset: ({ setselectTable, selectTable, tableList, columnList, }: DatasetProps) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { HeaderProps } from '@/types/metricCreate';
|
|
3
|
-
export declare const Header: ({ setShowMetricCreateModal, isDisableSaveBtn, Heading, setShowSaveMetricModal, }: HeaderProps) => JSX.Element;
|
|
3
|
+
export declare const Header: ({ setShowMetricCreateModal, isDisableSaveBtn, Heading, setShowSaveMetricModal, }: HeaderProps) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { MetricOutputProps } from '@/types/metricCreate';
|
|
3
|
-
export declare const MetricOutput: ({ data, error, isLoading, previewTableDataList, moreTabs, chartColors, chartSettings, setChartSettings, isUpdateMetric, isDisableSqlBtn, setShowSqlModal, isEnablePivotTable, groupbyList, }: MetricOutputProps) => JSX.Element;
|
|
3
|
+
export declare const MetricOutput: ({ data, error, isLoading, previewTableDataList, moreTabs, chartColors, chartSettings, setChartSettings, isUpdateMetric, isDisableSqlBtn, setShowSqlModal, isEnablePivotTable, groupbyList, }: MetricOutputProps) => React.JSX.Element;
|
package/dist/components/MetricCreation/components/MetricOutput/components/ChartTab/index.d.ts
CHANGED
|
@@ -13,5 +13,5 @@ type Props = {
|
|
|
13
13
|
isEnablePivotTable: boolean;
|
|
14
14
|
groupbyList: any[];
|
|
15
15
|
};
|
|
16
|
-
export declare const ChartTab: ({ data, isLoading, headerChild, chartSettings, setChartSettings, chartColors, handleChartRightClick, chartClickConfig, chartPopupChild, isEnablePivotTable, groupbyList, }: Props) => JSX.Element;
|
|
16
|
+
export declare const ChartTab: ({ data, isLoading, headerChild, chartSettings, setChartSettings, chartColors, handleChartRightClick, chartClickConfig, chartPopupChild, isEnablePivotTable, groupbyList, }: Props) => React.JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const InputTables: ({ previewTableDataList }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const InputTables: ({ previewTableDataList }: any) => React.JSX.Element;
|
package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/index.d.ts
CHANGED
|
@@ -8,5 +8,5 @@ type Props = {
|
|
|
8
8
|
isDisableSqlBtn: boolean;
|
|
9
9
|
setShowSqlModal: React.Dispatch<React.SetStateAction<boolean>>;
|
|
10
10
|
};
|
|
11
|
-
export declare const TableTab: ({ outpuTableData, outputError, isOutputLoading, previewTableDataList, isUpdateMetric, isDisableSqlBtn, setShowSqlModal, }: Props) => JSX.Element;
|
|
11
|
+
export declare const TableTab: ({ outpuTableData, outputError, isOutputLoading, previewTableDataList, isUpdateMetric, isDisableSqlBtn, setShowSqlModal, }: Props) => React.JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { FloatingDropDownOption, RlsCondition } from '@/types';
|
|
3
3
|
type Props = {
|
|
4
4
|
rlsConditions?: RlsCondition;
|
|
@@ -7,5 +7,5 @@ type Props = {
|
|
|
7
7
|
integrationId: string;
|
|
8
8
|
integrationName: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const MetricFilterDropDown: ({ rlsConditions, onChangeFilterValue, companyId, integrationId, integrationName, }: Props) => JSX.Element;
|
|
10
|
+
export declare const MetricFilterDropDown: ({ rlsConditions, onChangeFilterValue, companyId, integrationId, integrationName, }: Props) => React.JSX.Element;
|
|
11
11
|
export default MetricFilterDropDown;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ModalProps } from '@/components/Modal';
|
|
3
3
|
export interface ArchiveMetricModalProps extends Omit<ModalProps, 'headerTitle'> {
|
|
4
4
|
onArchive: () => void;
|
|
5
5
|
isLoading: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const ArchiveMetricModal: ({ isOpen, onClose, onArchive, isLoading, }: ArchiveMetricModalProps) => JSX.Element;
|
|
7
|
+
export declare const ArchiveMetricModal: ({ isOpen, onClose, onArchive, isLoading, }: ArchiveMetricModalProps) => React.JSX.Element;
|
|
@@ -9,6 +9,6 @@ type Props = {
|
|
|
9
9
|
filterValues?: Record<string, string>;
|
|
10
10
|
sharingSettingsId?: string;
|
|
11
11
|
};
|
|
12
|
-
export declare const DownloadRawCsvModal: ({ onCloseModal, isShowRawCsvModal, metricItem, client, companyTenancyType, filterValues, sharingSettingsId, }: Props) => JSX.Element;
|
|
13
|
-
declare const _default: React.MemoExoticComponent<({ onCloseModal, isShowRawCsvModal, metricItem, client, companyTenancyType, filterValues, sharingSettingsId, }: Props) => JSX.Element>;
|
|
12
|
+
export declare const DownloadRawCsvModal: ({ onCloseModal, isShowRawCsvModal, metricItem, client, companyTenancyType, filterValues, sharingSettingsId, }: Props) => React.JSX.Element;
|
|
13
|
+
declare const _default: React.MemoExoticComponent<({ onCloseModal, isShowRawCsvModal, metricItem, client, companyTenancyType, filterValues, sharingSettingsId, }: Props) => React.JSX.Element>;
|
|
14
14
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { RlsCondition } from '@/types';
|
|
3
3
|
type AddMetricFilterProps = {
|
|
4
4
|
filters: RlsCondition[];
|
|
5
5
|
updateFilter: (filter: RlsCondition) => void;
|
|
6
6
|
};
|
|
7
|
-
declare const AddMetricFilter: ({ filters, updateFilter }: AddMetricFilterProps) => JSX.Element;
|
|
7
|
+
declare const AddMetricFilter: ({ filters, updateFilter }: AddMetricFilterProps) => React.JSX.Element;
|
|
8
8
|
export default AddMetricFilter;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import EChartsReact from 'echarts-for-react';
|
|
3
|
+
import { ChartSettingsType } from '@/types';
|
|
3
4
|
export type DownloadButtonProps = {
|
|
4
5
|
data: Record<string, any>[];
|
|
5
6
|
chartRef?: React.RefObject<EChartsReact>;
|
|
6
7
|
metricName: string;
|
|
7
8
|
onRawCsvData: () => void;
|
|
9
|
+
chartOptions?: ChartSettingsType;
|
|
8
10
|
};
|
|
9
|
-
export declare const DownloadButton: ({ data, chartRef, metricName, onRawCsvData, }: DownloadButtonProps) => JSX.Element;
|
|
11
|
+
export declare const DownloadButton: ({ data, chartRef, metricName, onRawCsvData, chartOptions, }: DownloadButtonProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ExternalMetrics } from '@/utils/generated/graphql';
|
|
3
3
|
export type FullScreenViewProps = {
|
|
4
4
|
metric: ExternalMetrics;
|
|
@@ -16,4 +16,4 @@ export type FullScreenViewProps = {
|
|
|
16
16
|
isAllowedToUpdateMetrics?: boolean;
|
|
17
17
|
sharingSettingsId?: string;
|
|
18
18
|
};
|
|
19
|
-
export declare const FullScreenView: ({ metric, colors, rlsFilters, onMinimize, clientId, tenancyLevel, companyId, externalDashboardId, userProvidedDashboardId, isAllowedToUpdateMetrics, sharingSettingsId, }: FullScreenViewProps) => JSX.Element;
|
|
19
|
+
export declare const FullScreenView: ({ metric, colors, rlsFilters, onMinimize, clientId, tenancyLevel, companyId, externalDashboardId, userProvidedDashboardId, isAllowedToUpdateMetrics, sharingSettingsId, }: FullScreenViewProps) => React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export type LayoutAlertProps = {
|
|
3
3
|
onCancel: () => void;
|
|
4
4
|
onSave: () => void;
|
|
5
5
|
isLoading: boolean;
|
|
6
6
|
};
|
|
7
|
-
export declare const LayoutAlert: ({ onCancel, onSave, isLoading, }: LayoutAlertProps) => JSX.Element;
|
|
7
|
+
export declare const LayoutAlert: ({ onCancel, onSave, isLoading, }: LayoutAlertProps) => React.JSX.Element;
|