@devtable/dashboard 13.38.0 → 13.39.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.
@@ -0,0 +1 @@
1
+ export * from './radius-slider';
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ type PropValue = [string, string];
3
+ type Props = {
4
+ value: PropValue;
5
+ onChange: (v: PropValue) => void;
6
+ label: string;
7
+ };
8
+ export declare const RadiusSlider: import('./react').ForwardRefExoticComponent<Props & import('./react').RefAttributes<unknown>>;
9
+ export {};
@@ -17,7 +17,7 @@ export declare function getOption(conf: IPieChartConf, data: TPanelData, width:
17
17
  } | {
18
18
  type: string;
19
19
  name: string;
20
- radius: string[];
20
+ radius: [string, string];
21
21
  itemStyle: {
22
22
  color: ({ data }: {
23
23
  data: {
@@ -20,7 +20,7 @@ export declare function getSeries(conf: IPieChartConf, data: TPanelData, width:
20
20
  } | {
21
21
  type: string;
22
22
  name: string;
23
- radius: string[];
23
+ radius: [string, string];
24
24
  itemStyle: {
25
25
  color: ({ data }: {
26
26
  data: TDataItem;
@@ -2,5 +2,6 @@ export interface IPieChartConf {
2
2
  label_field: TDataKey;
3
3
  value_field: TDataKey;
4
4
  color_field: TDataKey;
5
+ radius: [string, string];
5
6
  }
6
7
  export declare const DEFAULT_CONFIG: IPieChartConf;
@@ -1,2 +1,2 @@
1
1
  import { VizConfigProps } from '../../../../types/plugin';
2
- export declare function VizPieChartEditor({ context }: VizConfigProps): import('./react/jsx-runtime').JSX.Element;
2
+ export declare function VizPieChartEditor(props: VizConfigProps): import('./react/jsx-runtime').JSX.Element | null;