@sentio/ui-dashboard 0.2.6 → 0.2.7

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/index.d.mts CHANGED
@@ -589,6 +589,34 @@ interface PieChartProps {
589
589
  }
590
590
  declare const PieChart: react.ForwardRefExoticComponent<PieChartProps & react.RefAttributes<EChartsHandle>>;
591
591
 
592
+ interface BarGaugeChartProps {
593
+ /** Already-computed series (app runs the worker compute and passes the result). */
594
+ series: PieSeriesInput[];
595
+ legend?: string[];
596
+ /** Formats a bar value for the label / value-axis. */
597
+ valueFormatter: (value: number) => string;
598
+ config?: ChartConfigLike;
599
+ title?: string;
600
+ minHeight?: number;
601
+ loading?: boolean;
602
+ style?: CSSProperties;
603
+ onInitChart?: (chart: ECharts) => void;
604
+ }
605
+ declare const BarGaugeChart: react.ForwardRefExoticComponent<BarGaugeChartProps & react.RefAttributes<EChartsHandle>>;
606
+
607
+ interface QueryValueChartProps {
608
+ /** Worker-resolved render inputs (app runs the QueryValue worker compute). */
609
+ series: any[];
610
+ valueText?: string;
611
+ textColor?: string;
612
+ backgroundColor?: string;
613
+ minHeight?: number;
614
+ loading?: boolean;
615
+ style?: CSSProperties;
616
+ onInitChart?: (chart: ECharts) => void;
617
+ }
618
+ declare const QueryValueChart: react.ForwardRefExoticComponent<QueryValueChartProps & react.RefAttributes<EChartsHandle>>;
619
+
592
620
  interface Props$e {
593
621
  config?: LineConfigLike;
594
622
  defaultOpen?: boolean;
@@ -1442,4 +1470,4 @@ interface Props {
1442
1470
  }
1443
1471
  declare const SvgIcon: ({ className }: Props) => react_jsx_runtime.JSX.Element;
1444
1472
 
1445
- export { AggregateInput, SvgIcon$6 as AreaIcon, type ArgumentDef, ArgumentInput, ArgumentType, BarGaugeControls, SvgIcon$4 as BarGuageIcon, SvgIcon$5 as BarIcon, type ChartConfigLike, ChartLegend, type ChartLike, ChartTooltip, ChartTypeButtonGroup, type ChartTypeLike, type DashboardExtraLike, type DashboardLike, type DashboardVisibilityLike, type DataSourceTypeLike, type EChartsHandle, type EChartsOption, EventsFunctionCategories, EventsFunctionMap, type FunctionDef, FunctionInput, FunctionMap, FunctionsCategories, FunctionsPanel, type GroupLike, type GroupStyleLike, LabelControls, LabelSearchProvider, LabelsInput, type LayoutItemLike, type LayoutsLike, LineControls, SvgIcon$7 as LineIcon, type NoteAlignmentLike, type NoteFontSizeLike, type NoteLike, type NoteVerticalAlignmentLike, type OverlayGraphLike, type PanelLike, PieChart, PieChartControls, type PieChartProps, SvgIcon$3 as PieIcon, type PieSeriesInput, SvgIcon$2 as QueryValueIcon, ReactEChartsBase, type ReactEChartsProps, RefreshButton, RefreshContext, type ResponsiveLayoutsLike, ScatterChartTooltip, SvgIcon$1 as ScatterIcon, SystemLabels, SvgIcon as TableIcon, type TemplateVariableLike, type TemplateViewLike, ValueControls, type ValueFormatter, ValueFormatters, ValueOptions, ValueStringMapping, type YAxisConfigLike, defaultConfig$2 as defaultBarGaugeConfig, defaultConfig$3 as defaultPieConfig, defaultConfig$1 as defaultValueConfig, defaultConfig as defaultValueControlsConfig, isAggrOrRollupFunction, sentioColors, sentioTheme, sentioThemeDark, sortMetricByName, useLabelSearch, useLabelSearchContext };
1473
+ export { AggregateInput, SvgIcon$6 as AreaIcon, type ArgumentDef, ArgumentInput, ArgumentType, BarGaugeChart, type BarGaugeChartProps, BarGaugeControls, SvgIcon$4 as BarGuageIcon, SvgIcon$5 as BarIcon, type ChartConfigLike, ChartLegend, type ChartLike, ChartTooltip, ChartTypeButtonGroup, type ChartTypeLike, type DashboardExtraLike, type DashboardLike, type DashboardVisibilityLike, type DataSourceTypeLike, type EChartsHandle, type EChartsOption, EventsFunctionCategories, EventsFunctionMap, type FunctionDef, FunctionInput, FunctionMap, FunctionsCategories, FunctionsPanel, type GroupLike, type GroupStyleLike, LabelControls, LabelSearchProvider, LabelsInput, type LayoutItemLike, type LayoutsLike, LineControls, SvgIcon$7 as LineIcon, type NoteAlignmentLike, type NoteFontSizeLike, type NoteLike, type NoteVerticalAlignmentLike, type OverlayGraphLike, type PanelLike, PieChart, PieChartControls, type PieChartProps, SvgIcon$3 as PieIcon, type PieSeriesInput, QueryValueChart, type QueryValueChartProps, SvgIcon$2 as QueryValueIcon, ReactEChartsBase, type ReactEChartsProps, RefreshButton, RefreshContext, type ResponsiveLayoutsLike, ScatterChartTooltip, SvgIcon$1 as ScatterIcon, SystemLabels, SvgIcon as TableIcon, type TemplateVariableLike, type TemplateViewLike, ValueControls, type ValueFormatter, ValueFormatters, ValueOptions, ValueStringMapping, type YAxisConfigLike, defaultConfig$2 as defaultBarGaugeConfig, defaultConfig$3 as defaultPieConfig, defaultConfig$1 as defaultValueConfig, defaultConfig as defaultValueControlsConfig, isAggrOrRollupFunction, sentioColors, sentioTheme, sentioThemeDark, sortMetricByName, useLabelSearch, useLabelSearchContext };
package/dist/index.d.ts CHANGED
@@ -589,6 +589,34 @@ interface PieChartProps {
589
589
  }
590
590
  declare const PieChart: react.ForwardRefExoticComponent<PieChartProps & react.RefAttributes<EChartsHandle>>;
591
591
 
592
+ interface BarGaugeChartProps {
593
+ /** Already-computed series (app runs the worker compute and passes the result). */
594
+ series: PieSeriesInput[];
595
+ legend?: string[];
596
+ /** Formats a bar value for the label / value-axis. */
597
+ valueFormatter: (value: number) => string;
598
+ config?: ChartConfigLike;
599
+ title?: string;
600
+ minHeight?: number;
601
+ loading?: boolean;
602
+ style?: CSSProperties;
603
+ onInitChart?: (chart: ECharts) => void;
604
+ }
605
+ declare const BarGaugeChart: react.ForwardRefExoticComponent<BarGaugeChartProps & react.RefAttributes<EChartsHandle>>;
606
+
607
+ interface QueryValueChartProps {
608
+ /** Worker-resolved render inputs (app runs the QueryValue worker compute). */
609
+ series: any[];
610
+ valueText?: string;
611
+ textColor?: string;
612
+ backgroundColor?: string;
613
+ minHeight?: number;
614
+ loading?: boolean;
615
+ style?: CSSProperties;
616
+ onInitChart?: (chart: ECharts) => void;
617
+ }
618
+ declare const QueryValueChart: react.ForwardRefExoticComponent<QueryValueChartProps & react.RefAttributes<EChartsHandle>>;
619
+
592
620
  interface Props$e {
593
621
  config?: LineConfigLike;
594
622
  defaultOpen?: boolean;
@@ -1442,4 +1470,4 @@ interface Props {
1442
1470
  }
1443
1471
  declare const SvgIcon: ({ className }: Props) => react_jsx_runtime.JSX.Element;
1444
1472
 
1445
- export { AggregateInput, SvgIcon$6 as AreaIcon, type ArgumentDef, ArgumentInput, ArgumentType, BarGaugeControls, SvgIcon$4 as BarGuageIcon, SvgIcon$5 as BarIcon, type ChartConfigLike, ChartLegend, type ChartLike, ChartTooltip, ChartTypeButtonGroup, type ChartTypeLike, type DashboardExtraLike, type DashboardLike, type DashboardVisibilityLike, type DataSourceTypeLike, type EChartsHandle, type EChartsOption, EventsFunctionCategories, EventsFunctionMap, type FunctionDef, FunctionInput, FunctionMap, FunctionsCategories, FunctionsPanel, type GroupLike, type GroupStyleLike, LabelControls, LabelSearchProvider, LabelsInput, type LayoutItemLike, type LayoutsLike, LineControls, SvgIcon$7 as LineIcon, type NoteAlignmentLike, type NoteFontSizeLike, type NoteLike, type NoteVerticalAlignmentLike, type OverlayGraphLike, type PanelLike, PieChart, PieChartControls, type PieChartProps, SvgIcon$3 as PieIcon, type PieSeriesInput, SvgIcon$2 as QueryValueIcon, ReactEChartsBase, type ReactEChartsProps, RefreshButton, RefreshContext, type ResponsiveLayoutsLike, ScatterChartTooltip, SvgIcon$1 as ScatterIcon, SystemLabels, SvgIcon as TableIcon, type TemplateVariableLike, type TemplateViewLike, ValueControls, type ValueFormatter, ValueFormatters, ValueOptions, ValueStringMapping, type YAxisConfigLike, defaultConfig$2 as defaultBarGaugeConfig, defaultConfig$3 as defaultPieConfig, defaultConfig$1 as defaultValueConfig, defaultConfig as defaultValueControlsConfig, isAggrOrRollupFunction, sentioColors, sentioTheme, sentioThemeDark, sortMetricByName, useLabelSearch, useLabelSearchContext };
1473
+ export { AggregateInput, SvgIcon$6 as AreaIcon, type ArgumentDef, ArgumentInput, ArgumentType, BarGaugeChart, type BarGaugeChartProps, BarGaugeControls, SvgIcon$4 as BarGuageIcon, SvgIcon$5 as BarIcon, type ChartConfigLike, ChartLegend, type ChartLike, ChartTooltip, ChartTypeButtonGroup, type ChartTypeLike, type DashboardExtraLike, type DashboardLike, type DashboardVisibilityLike, type DataSourceTypeLike, type EChartsHandle, type EChartsOption, EventsFunctionCategories, EventsFunctionMap, type FunctionDef, FunctionInput, FunctionMap, FunctionsCategories, FunctionsPanel, type GroupLike, type GroupStyleLike, LabelControls, LabelSearchProvider, LabelsInput, type LayoutItemLike, type LayoutsLike, LineControls, SvgIcon$7 as LineIcon, type NoteAlignmentLike, type NoteFontSizeLike, type NoteLike, type NoteVerticalAlignmentLike, type OverlayGraphLike, type PanelLike, PieChart, PieChartControls, type PieChartProps, SvgIcon$3 as PieIcon, type PieSeriesInput, QueryValueChart, type QueryValueChartProps, SvgIcon$2 as QueryValueIcon, ReactEChartsBase, type ReactEChartsProps, RefreshButton, RefreshContext, type ResponsiveLayoutsLike, ScatterChartTooltip, SvgIcon$1 as ScatterIcon, SystemLabels, SvgIcon as TableIcon, type TemplateVariableLike, type TemplateViewLike, ValueControls, type ValueFormatter, ValueFormatters, ValueOptions, ValueStringMapping, type YAxisConfigLike, defaultConfig$2 as defaultBarGaugeConfig, defaultConfig$3 as defaultPieConfig, defaultConfig$1 as defaultValueConfig, defaultConfig as defaultValueControlsConfig, isAggrOrRollupFunction, sentioColors, sentioTheme, sentioThemeDark, sortMetricByName, useLabelSearch, useLabelSearchContext };