@databrainhq/plugin 0.14.57 → 0.14.58
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/Chart/index.d.ts +2 -1
- package/dist/components/ChartSettingsPopup/components/ChartConfigure/index.d.ts +2 -1
- package/dist/components/Icons/icons.d.ts +1 -1
- package/dist/components/List/index.d.ts +3 -1
- package/dist/components/TimeSeriesSettings/index.d.ts +1 -1
- package/dist/consts/app.d.ts +1 -1
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/timeseriesOption.d.ts +198 -0
- package/dist/hooks/useMetricCard.d.ts +3 -0
- package/dist/types/app.d.ts +2 -1
- package/dist/types/queryTypes.d.ts +4 -0
- package/dist/utils/getChartOptions.d.ts +2 -1
- package/dist/webcomponents.es.js +36662 -36099
- package/dist/webcomponents.umd.js +189 -185
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ export type ChartProps = {
|
|
|
13
13
|
onMaximize?: () => void;
|
|
14
14
|
onDrillPivotTable?: (value: OnDrillPivotTableParams) => void;
|
|
15
15
|
pivotDrillState: PivotDrillState;
|
|
16
|
+
isPythonMode?: boolean;
|
|
16
17
|
};
|
|
17
18
|
/**
|
|
18
19
|
* @name Chart - The metric visualization component.
|
|
@@ -24,4 +25,4 @@ export type ChartProps = {
|
|
|
24
25
|
* @prop colors (optional) - the admin provided chart color palettes.
|
|
25
26
|
* @returns JSX - chart visaulization content.
|
|
26
27
|
*/
|
|
27
|
-
export declare const Chart: React.MemoExoticComponent<({ chartOptions, data, events, colors, config, className, isShowFullScreen, isShowFullScreenEnabled, onMaximize, onDrillPivotTable, pivotDrillState, }: ChartProps) => React.JSX.Element>;
|
|
28
|
+
export declare const Chart: React.MemoExoticComponent<({ chartOptions, data, events, colors, config, className, isShowFullScreen, isShowFullScreenEnabled, onMaximize, onDrillPivotTable, pivotDrillState, isPythonMode, }: ChartProps) => React.JSX.Element>;
|
|
@@ -16,6 +16,7 @@ type Props = {
|
|
|
16
16
|
}>>;
|
|
17
17
|
comparisonLagProps?: ComparisonLagProps;
|
|
18
18
|
setResetPallete?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
19
|
+
onChangeTimeseriesFormat: (value: FloatingDropDownOption) => void;
|
|
19
20
|
};
|
|
20
|
-
export declare const ChartConfigure: ({ chartSettings, setChartSettings, setBarRadius, comparisonLagProps, setResetPallete, }: Props) => React.JSX.Element;
|
|
21
|
+
export declare const ChartConfigure: ({ chartSettings, setChartSettings, setBarRadius, comparisonLagProps, setResetPallete, onChangeTimeseriesFormat, }: Props) => React.JSX.Element;
|
|
21
22
|
export {};
|