@sentio/ui-dashboard 0.2.6 → 0.2.8

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
@@ -383,12 +383,12 @@ interface MetricInfoLike {
383
383
  };
384
384
  }
385
385
 
386
- interface Props$n {
386
+ interface Props$s {
387
387
  metric?: MetricInfoLike;
388
388
  value: QueryLike;
389
389
  onChange: (value: QueryLike) => void;
390
390
  }
391
- declare function AggregateInput({ metric, value, onChange }: Props$n): react_jsx_runtime.JSX.Element;
391
+ declare function AggregateInput({ metric, value, onChange }: Props$s): react_jsx_runtime.JSX.Element;
392
392
 
393
393
  declare enum ArgumentType {
394
394
  String = 0,
@@ -423,28 +423,28 @@ declare const EventsFunctionMap: {
423
423
  [name: string]: FunctionDef;
424
424
  };
425
425
 
426
- interface Props$m {
426
+ interface Props$r {
427
427
  argument: ArgumentDef;
428
428
  value?: ArgumentLike;
429
429
  onChange?: (value: ArgumentLike) => void;
430
430
  className?: string;
431
431
  }
432
- declare function ArgumentInput({ className, argument, value, onChange }: Props$m): react_jsx_runtime.JSX.Element;
432
+ declare function ArgumentInput({ className, argument, value, onChange }: Props$r): react_jsx_runtime.JSX.Element;
433
433
 
434
- interface Props$l {
434
+ interface Props$q {
435
435
  value: QueryLike;
436
436
  onChange: (value: QueryLike) => void;
437
437
  }
438
- declare function FunctionInput({ value, onChange }: Props$l): react_jsx_runtime.JSX.Element;
438
+ declare function FunctionInput({ value, onChange }: Props$q): react_jsx_runtime.JSX.Element;
439
439
 
440
- interface Props$k {
440
+ interface Props$p {
441
441
  onClick: (func: FunctionDef) => void;
442
442
  functionCategories?: typeof FunctionsCategories;
443
443
  defaultFunc?: string;
444
444
  }
445
- declare function FunctionsPanel({ onClick, functionCategories, defaultFunc }: Props$k): react_jsx_runtime.JSX.Element;
445
+ declare function FunctionsPanel({ onClick, functionCategories, defaultFunc }: Props$p): react_jsx_runtime.JSX.Element;
446
446
 
447
- interface Props$j {
447
+ interface Props$o {
448
448
  metric?: MetricInfoLike;
449
449
  value: QueryLike;
450
450
  onChange: (value: QueryLike) => void;
@@ -454,7 +454,7 @@ interface Props$j {
454
454
  small?: boolean;
455
455
  useRegex?: boolean;
456
456
  }
457
- declare function LabelsInput({ value, metric, variables, onChange, small, useRegex }: Props$j): react_jsx_runtime.JSX.Element;
457
+ declare function LabelsInput({ value, metric, variables, onChange, small, useRegex }: Props$o): react_jsx_runtime.JSX.Element;
458
458
 
459
459
  declare const SystemLabels: {
460
460
  field: string;
@@ -517,7 +517,7 @@ type SeriesFinder = {
517
517
  };
518
518
  declare const ReactEChartsBase: react__default.ForwardRefExoticComponent<ReactEChartsProps & react__default.RefAttributes<EChartsHandle>>;
519
519
 
520
- interface Props$i {
520
+ interface Props$n {
521
521
  legend: string[];
522
522
  legendSelected: Record<string, boolean>;
523
523
  returnedSeries?: number;
@@ -525,7 +525,7 @@ interface Props$i {
525
525
  onRendered: (v: boolean) => void;
526
526
  chartHandle?: EChartsHandle;
527
527
  }
528
- declare const ChartLegend: ({ legend, legendSelected, returnedSeries, totalSeries, onRendered, chartHandle }: Props$i) => react_jsx_runtime.JSX.Element;
528
+ declare const ChartLegend: ({ legend, legendSelected, returnedSeries, totalSeries, onRendered, chartHandle }: Props$n) => react_jsx_runtime.JSX.Element;
529
529
 
530
530
  declare const RefreshContext: react.Context<{
531
531
  refresh?: () => void;
@@ -533,14 +533,14 @@ declare const RefreshContext: react.Context<{
533
533
  }>;
534
534
  declare const RefreshButton: (props: Partial<ButtonProps>) => react_jsx_runtime.JSX.Element | null;
535
535
 
536
- type Props$h = {
536
+ type Props$m = {
537
537
  value: ChartTypeLike;
538
538
  onChange: (value: ChartTypeLike) => void;
539
539
  small?: boolean;
540
540
  };
541
- declare const ChartTypeButtonGroup: ({ value, onChange, small }: Props$h) => react_jsx_runtime.JSX.Element;
541
+ declare const ChartTypeButtonGroup: ({ value, onChange, small }: Props$m) => react_jsx_runtime.JSX.Element;
542
542
 
543
- interface Props$g {
543
+ interface Props$l {
544
544
  data: any;
545
545
  compareTimeDuration?: DurationLike;
546
546
  numberFormatter: (value: number, seriesId?: string) => string;
@@ -553,9 +553,9 @@ interface Props$g {
553
553
  viewUsersDisabled?: (seriesId: string, seriesIndex: number) => boolean;
554
554
  isFixed?: boolean;
555
555
  }
556
- declare function ChartTooltip({ data, numberFormatter, compareTimeDuration, highlightSeriesId, title, showTotal, onViewLogs, viewLogDisabled, onViewUsers, viewUsersDisabled, isFixed }: Props$g): react_jsx_runtime.JSX.Element;
556
+ declare function ChartTooltip({ data, numberFormatter, compareTimeDuration, highlightSeriesId, title, showTotal, onViewLogs, viewLogDisabled, onViewUsers, viewUsersDisabled, isFixed }: Props$l): react_jsx_runtime.JSX.Element;
557
557
 
558
- interface Props$f {
558
+ interface Props$k {
559
559
  data: any;
560
560
  compareTimeDuration?: DurationLike;
561
561
  numberFormatter: (value: number) => string;
@@ -568,7 +568,7 @@ interface Props$f {
568
568
  isFixed?: boolean;
569
569
  sizeTitle?: string;
570
570
  }
571
- declare function ScatterChartTooltip({ data, numberFormatter, highlightSeriesId, title, onViewLogs, viewLogDisabled, onViewUsers, viewUsersDisabled, isFixed, sizeTitle }: Props$f): react_jsx_runtime.JSX.Element;
571
+ declare function ScatterChartTooltip({ data, numberFormatter, highlightSeriesId, title, onViewLogs, viewLogDisabled, onViewUsers, viewUsersDisabled, isFixed, sizeTitle }: Props$k): react_jsx_runtime.JSX.Element;
572
572
 
573
573
  /** Minimal shape consumed from a computed series — only name + first data point. */
574
574
  interface PieSeriesInput {
@@ -589,42 +589,70 @@ interface PieChartProps {
589
589
  }
590
590
  declare const PieChart: react.ForwardRefExoticComponent<PieChartProps & react.RefAttributes<EChartsHandle>>;
591
591
 
592
- interface Props$e {
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
+
620
+ interface Props$j {
593
621
  config?: LineConfigLike;
594
622
  defaultOpen?: boolean;
595
623
  onChange: (config: LineConfigLike) => void;
596
624
  }
597
- declare const LineControls: ({ config, defaultOpen, onChange }: Props$e) => react_jsx_runtime.JSX.Element;
625
+ declare const LineControls: ({ config, defaultOpen, onChange }: Props$j) => react_jsx_runtime.JSX.Element;
598
626
 
599
- interface Props$d {
627
+ interface Props$i {
600
628
  config?: LabelConfigLike;
601
629
  setConfig: (value: LabelConfigLike) => void;
602
630
  defaultOpen?: boolean;
603
631
  }
604
- declare const LabelControls: ({ config, setConfig, defaultOpen }: Props$d) => react_jsx_runtime.JSX.Element;
632
+ declare const LabelControls: ({ config, setConfig, defaultOpen }: Props$i) => react_jsx_runtime.JSX.Element;
605
633
 
606
- interface Props$c {
634
+ interface Props$h {
607
635
  config?: PieConfigLike;
608
636
  defaultOpen?: boolean;
609
637
  onChange: (config: PieConfigLike) => void;
610
638
  }
611
- declare const defaultConfig$3: PieConfigLike;
612
- declare function PieChartControls({ config, defaultOpen, onChange }: Props$c): react_jsx_runtime.JSX.Element;
639
+ declare const defaultConfig$5: PieConfigLike;
640
+ declare function PieChartControls({ config, defaultOpen, onChange }: Props$h): react_jsx_runtime.JSX.Element;
613
641
 
614
- interface Props$b {
642
+ interface Props$g {
615
643
  config?: BarGaugeConfigLike;
616
644
  defaultOpen?: boolean;
617
645
  onChange: (config: BarGaugeConfigLike) => void;
618
646
  }
619
- declare const defaultConfig$2: BarGaugeConfigLike;
620
- declare function BarGaugeControls({ config, defaultOpen, onChange }: Props$b): react_jsx_runtime.JSX.Element;
647
+ declare const defaultConfig$4: BarGaugeConfigLike;
648
+ declare function BarGaugeControls({ config, defaultOpen, onChange }: Props$g): react_jsx_runtime.JSX.Element;
621
649
 
622
650
  interface ValueFormatter {
623
651
  label: string;
624
652
  value: ValueFormatterLike;
625
653
  }
626
654
  declare const ValueFormatters: ValueFormatter[];
627
- interface Props$a {
655
+ interface Props$f {
628
656
  config: ValueConfigLike;
629
657
  defaultOpen?: boolean;
630
658
  onChange: (config: ValueConfigLike) => void;
@@ -632,10 +660,10 @@ interface Props$a {
632
660
  showPrefix?: boolean;
633
661
  showSuffix?: boolean;
634
662
  }
635
- declare const defaultConfig$1: ValueConfigLike;
636
- declare const ValueOptions: ({ config, onChange, formatters, showPrefix, showSuffix }: Props$a) => react_jsx_runtime.JSX.Element;
663
+ declare const defaultConfig$3: ValueConfigLike;
664
+ declare const ValueOptions: ({ config, onChange, formatters, showPrefix, showSuffix }: Props$f) => react_jsx_runtime.JSX.Element;
637
665
 
638
- interface Props$9 {
666
+ interface Props$e {
639
667
  config?: ValueConfigLike;
640
668
  defaultOpen?: boolean;
641
669
  onChange: (config: ValueConfigLike) => void;
@@ -643,14 +671,78 @@ interface Props$9 {
643
671
  showPrefix?: boolean;
644
672
  showSuffix?: boolean;
645
673
  }
646
- declare const defaultConfig: ValueConfigLike;
647
- declare const ValueControls: ({ config, defaultOpen, onChange, formatters, showPrefix, showSuffix }: Props$9) => react_jsx_runtime.JSX.Element;
674
+ declare const defaultConfig$2: ValueConfigLike;
675
+ declare const ValueControls: ({ config, defaultOpen, onChange, formatters, showPrefix, showSuffix }: Props$e) => react_jsx_runtime.JSX.Element;
648
676
 
649
- interface Props$8 {
677
+ interface Props$d {
650
678
  rules: MappingRuleLike[];
651
679
  onChange: (rules: MappingRuleLike[]) => void;
652
680
  }
653
- declare function ValueStringMapping({ rules, onChange }: Props$8): react_jsx_runtime.JSX.Element;
681
+ declare function ValueStringMapping({ rules, onChange }: Props$d): react_jsx_runtime.JSX.Element;
682
+
683
+ interface Props$c {
684
+ yAxis?: YAxisConfigLike;
685
+ setYAxis: (yAxis: YAxisConfigLike) => void;
686
+ defaultOpen?: boolean;
687
+ /** Optional app-supplied column picker (sql charts). When present the Column row renders. */
688
+ columnSelect?: ReactNode;
689
+ supportSetName?: boolean;
690
+ supportSetMinMax?: boolean;
691
+ supportStackSeries?: boolean;
692
+ supportAlwaysShowZero?: boolean;
693
+ supportReset?: boolean;
694
+ panelTitle?: string;
695
+ }
696
+ declare function YaxisControls({ yAxis, setYAxis, defaultOpen, columnSelect, supportSetName, supportSetMinMax, supportStackSeries, supportAlwaysShowZero, supportReset, panelTitle }: Props$c): react_jsx_runtime.JSX.Element;
697
+
698
+ interface Props$b {
699
+ xAxis?: XAxisConfigLike;
700
+ setXAxis: (val?: XAxisConfigLike) => void;
701
+ defaultOpen?: boolean;
702
+ /** Optional app-supplied column picker (sql charts). When present the Column row renders. */
703
+ columnSelect?: ReactNode;
704
+ /** Whether the selected X column is a non-TIME column (app resolves from the data schema). */
705
+ columnIsNonTime?: boolean;
706
+ panelTitle?: string;
707
+ supportName?: boolean;
708
+ supportSort?: boolean;
709
+ supportSetType?: boolean;
710
+ }
711
+ declare const XAxisControls: ({ xAxis, setXAxis, defaultOpen, columnSelect, columnIsNonTime, panelTitle, supportName, supportSort, supportSetType }: Props$b) => react_jsx_runtime.JSX.Element;
712
+
713
+ interface Props$a {
714
+ markers?: MarkerLike[];
715
+ onChange: (v: MarkerLike[]) => void;
716
+ }
717
+ declare function MarkerControls({ markers, onChange }: Props$a): react_jsx_runtime.JSX.Element;
718
+
719
+ interface Props$9 {
720
+ defaultOpen?: boolean;
721
+ onChange: (config: DataConfigLike) => void;
722
+ chartConfig?: ChartConfigLike;
723
+ /** Per-chart-type fallback when no explicit limit is set (app resolves from ChartTypeLimits). */
724
+ defaultSeriesLimit?: number;
725
+ }
726
+ declare const defaultConfig$1: DataConfigLike;
727
+ declare function DataControls({ defaultOpen, onChange, chartConfig, defaultSeriesLimit }: Props$9): react_jsx_runtime.JSX.Element;
728
+
729
+ interface Props$8 {
730
+ config?: ScatterConfigLike;
731
+ defaultOpen?: boolean;
732
+ onChange: (config: ScatterConfigLike) => void;
733
+ /** App-supplied sql column picker (Size By Column). */
734
+ columnSelect?: (props: {
735
+ value?: string;
736
+ onChange: (col: string) => void;
737
+ }) => ReactNode;
738
+ /** App-supplied color picker (Size Color Mapping). */
739
+ colorPicker?: (props: {
740
+ value?: string;
741
+ onChange: (color?: string) => void;
742
+ }) => ReactNode;
743
+ }
744
+ declare const defaultConfig: ScatterConfigLike;
745
+ declare function ScatterControls({ config, defaultOpen, onChange, columnSelect, colorPicker }: Props$8): react_jsx_runtime.JSX.Element;
654
746
 
655
747
  declare const sentioColors: {
656
748
  light: {
@@ -1442,4 +1534,4 @@ interface Props {
1442
1534
  }
1443
1535
  declare const SvgIcon: ({ className }: Props) => react_jsx_runtime.JSX.Element;
1444
1536
 
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 };
1537
+ 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, DataControls, 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, MarkerControls, 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, ScatterControls, SvgIcon$1 as ScatterIcon, SystemLabels, SvgIcon as TableIcon, type TemplateVariableLike, type TemplateViewLike, ValueControls, type ValueFormatter, ValueFormatters, ValueOptions, ValueStringMapping, XAxisControls, type YAxisConfigLike, YaxisControls, defaultConfig$4 as defaultBarGaugeConfig, defaultConfig$1 as defaultDataConfig, defaultConfig$5 as defaultPieConfig, defaultConfig as defaultScatterConfig, defaultConfig$3 as defaultValueConfig, defaultConfig$2 as defaultValueControlsConfig, isAggrOrRollupFunction, sentioColors, sentioTheme, sentioThemeDark, sortMetricByName, useLabelSearch, useLabelSearchContext };
package/dist/index.d.ts CHANGED
@@ -383,12 +383,12 @@ interface MetricInfoLike {
383
383
  };
384
384
  }
385
385
 
386
- interface Props$n {
386
+ interface Props$s {
387
387
  metric?: MetricInfoLike;
388
388
  value: QueryLike;
389
389
  onChange: (value: QueryLike) => void;
390
390
  }
391
- declare function AggregateInput({ metric, value, onChange }: Props$n): react_jsx_runtime.JSX.Element;
391
+ declare function AggregateInput({ metric, value, onChange }: Props$s): react_jsx_runtime.JSX.Element;
392
392
 
393
393
  declare enum ArgumentType {
394
394
  String = 0,
@@ -423,28 +423,28 @@ declare const EventsFunctionMap: {
423
423
  [name: string]: FunctionDef;
424
424
  };
425
425
 
426
- interface Props$m {
426
+ interface Props$r {
427
427
  argument: ArgumentDef;
428
428
  value?: ArgumentLike;
429
429
  onChange?: (value: ArgumentLike) => void;
430
430
  className?: string;
431
431
  }
432
- declare function ArgumentInput({ className, argument, value, onChange }: Props$m): react_jsx_runtime.JSX.Element;
432
+ declare function ArgumentInput({ className, argument, value, onChange }: Props$r): react_jsx_runtime.JSX.Element;
433
433
 
434
- interface Props$l {
434
+ interface Props$q {
435
435
  value: QueryLike;
436
436
  onChange: (value: QueryLike) => void;
437
437
  }
438
- declare function FunctionInput({ value, onChange }: Props$l): react_jsx_runtime.JSX.Element;
438
+ declare function FunctionInput({ value, onChange }: Props$q): react_jsx_runtime.JSX.Element;
439
439
 
440
- interface Props$k {
440
+ interface Props$p {
441
441
  onClick: (func: FunctionDef) => void;
442
442
  functionCategories?: typeof FunctionsCategories;
443
443
  defaultFunc?: string;
444
444
  }
445
- declare function FunctionsPanel({ onClick, functionCategories, defaultFunc }: Props$k): react_jsx_runtime.JSX.Element;
445
+ declare function FunctionsPanel({ onClick, functionCategories, defaultFunc }: Props$p): react_jsx_runtime.JSX.Element;
446
446
 
447
- interface Props$j {
447
+ interface Props$o {
448
448
  metric?: MetricInfoLike;
449
449
  value: QueryLike;
450
450
  onChange: (value: QueryLike) => void;
@@ -454,7 +454,7 @@ interface Props$j {
454
454
  small?: boolean;
455
455
  useRegex?: boolean;
456
456
  }
457
- declare function LabelsInput({ value, metric, variables, onChange, small, useRegex }: Props$j): react_jsx_runtime.JSX.Element;
457
+ declare function LabelsInput({ value, metric, variables, onChange, small, useRegex }: Props$o): react_jsx_runtime.JSX.Element;
458
458
 
459
459
  declare const SystemLabels: {
460
460
  field: string;
@@ -517,7 +517,7 @@ type SeriesFinder = {
517
517
  };
518
518
  declare const ReactEChartsBase: react__default.ForwardRefExoticComponent<ReactEChartsProps & react__default.RefAttributes<EChartsHandle>>;
519
519
 
520
- interface Props$i {
520
+ interface Props$n {
521
521
  legend: string[];
522
522
  legendSelected: Record<string, boolean>;
523
523
  returnedSeries?: number;
@@ -525,7 +525,7 @@ interface Props$i {
525
525
  onRendered: (v: boolean) => void;
526
526
  chartHandle?: EChartsHandle;
527
527
  }
528
- declare const ChartLegend: ({ legend, legendSelected, returnedSeries, totalSeries, onRendered, chartHandle }: Props$i) => react_jsx_runtime.JSX.Element;
528
+ declare const ChartLegend: ({ legend, legendSelected, returnedSeries, totalSeries, onRendered, chartHandle }: Props$n) => react_jsx_runtime.JSX.Element;
529
529
 
530
530
  declare const RefreshContext: react.Context<{
531
531
  refresh?: () => void;
@@ -533,14 +533,14 @@ declare const RefreshContext: react.Context<{
533
533
  }>;
534
534
  declare const RefreshButton: (props: Partial<ButtonProps>) => react_jsx_runtime.JSX.Element | null;
535
535
 
536
- type Props$h = {
536
+ type Props$m = {
537
537
  value: ChartTypeLike;
538
538
  onChange: (value: ChartTypeLike) => void;
539
539
  small?: boolean;
540
540
  };
541
- declare const ChartTypeButtonGroup: ({ value, onChange, small }: Props$h) => react_jsx_runtime.JSX.Element;
541
+ declare const ChartTypeButtonGroup: ({ value, onChange, small }: Props$m) => react_jsx_runtime.JSX.Element;
542
542
 
543
- interface Props$g {
543
+ interface Props$l {
544
544
  data: any;
545
545
  compareTimeDuration?: DurationLike;
546
546
  numberFormatter: (value: number, seriesId?: string) => string;
@@ -553,9 +553,9 @@ interface Props$g {
553
553
  viewUsersDisabled?: (seriesId: string, seriesIndex: number) => boolean;
554
554
  isFixed?: boolean;
555
555
  }
556
- declare function ChartTooltip({ data, numberFormatter, compareTimeDuration, highlightSeriesId, title, showTotal, onViewLogs, viewLogDisabled, onViewUsers, viewUsersDisabled, isFixed }: Props$g): react_jsx_runtime.JSX.Element;
556
+ declare function ChartTooltip({ data, numberFormatter, compareTimeDuration, highlightSeriesId, title, showTotal, onViewLogs, viewLogDisabled, onViewUsers, viewUsersDisabled, isFixed }: Props$l): react_jsx_runtime.JSX.Element;
557
557
 
558
- interface Props$f {
558
+ interface Props$k {
559
559
  data: any;
560
560
  compareTimeDuration?: DurationLike;
561
561
  numberFormatter: (value: number) => string;
@@ -568,7 +568,7 @@ interface Props$f {
568
568
  isFixed?: boolean;
569
569
  sizeTitle?: string;
570
570
  }
571
- declare function ScatterChartTooltip({ data, numberFormatter, highlightSeriesId, title, onViewLogs, viewLogDisabled, onViewUsers, viewUsersDisabled, isFixed, sizeTitle }: Props$f): react_jsx_runtime.JSX.Element;
571
+ declare function ScatterChartTooltip({ data, numberFormatter, highlightSeriesId, title, onViewLogs, viewLogDisabled, onViewUsers, viewUsersDisabled, isFixed, sizeTitle }: Props$k): react_jsx_runtime.JSX.Element;
572
572
 
573
573
  /** Minimal shape consumed from a computed series — only name + first data point. */
574
574
  interface PieSeriesInput {
@@ -589,42 +589,70 @@ interface PieChartProps {
589
589
  }
590
590
  declare const PieChart: react.ForwardRefExoticComponent<PieChartProps & react.RefAttributes<EChartsHandle>>;
591
591
 
592
- interface Props$e {
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
+
620
+ interface Props$j {
593
621
  config?: LineConfigLike;
594
622
  defaultOpen?: boolean;
595
623
  onChange: (config: LineConfigLike) => void;
596
624
  }
597
- declare const LineControls: ({ config, defaultOpen, onChange }: Props$e) => react_jsx_runtime.JSX.Element;
625
+ declare const LineControls: ({ config, defaultOpen, onChange }: Props$j) => react_jsx_runtime.JSX.Element;
598
626
 
599
- interface Props$d {
627
+ interface Props$i {
600
628
  config?: LabelConfigLike;
601
629
  setConfig: (value: LabelConfigLike) => void;
602
630
  defaultOpen?: boolean;
603
631
  }
604
- declare const LabelControls: ({ config, setConfig, defaultOpen }: Props$d) => react_jsx_runtime.JSX.Element;
632
+ declare const LabelControls: ({ config, setConfig, defaultOpen }: Props$i) => react_jsx_runtime.JSX.Element;
605
633
 
606
- interface Props$c {
634
+ interface Props$h {
607
635
  config?: PieConfigLike;
608
636
  defaultOpen?: boolean;
609
637
  onChange: (config: PieConfigLike) => void;
610
638
  }
611
- declare const defaultConfig$3: PieConfigLike;
612
- declare function PieChartControls({ config, defaultOpen, onChange }: Props$c): react_jsx_runtime.JSX.Element;
639
+ declare const defaultConfig$5: PieConfigLike;
640
+ declare function PieChartControls({ config, defaultOpen, onChange }: Props$h): react_jsx_runtime.JSX.Element;
613
641
 
614
- interface Props$b {
642
+ interface Props$g {
615
643
  config?: BarGaugeConfigLike;
616
644
  defaultOpen?: boolean;
617
645
  onChange: (config: BarGaugeConfigLike) => void;
618
646
  }
619
- declare const defaultConfig$2: BarGaugeConfigLike;
620
- declare function BarGaugeControls({ config, defaultOpen, onChange }: Props$b): react_jsx_runtime.JSX.Element;
647
+ declare const defaultConfig$4: BarGaugeConfigLike;
648
+ declare function BarGaugeControls({ config, defaultOpen, onChange }: Props$g): react_jsx_runtime.JSX.Element;
621
649
 
622
650
  interface ValueFormatter {
623
651
  label: string;
624
652
  value: ValueFormatterLike;
625
653
  }
626
654
  declare const ValueFormatters: ValueFormatter[];
627
- interface Props$a {
655
+ interface Props$f {
628
656
  config: ValueConfigLike;
629
657
  defaultOpen?: boolean;
630
658
  onChange: (config: ValueConfigLike) => void;
@@ -632,10 +660,10 @@ interface Props$a {
632
660
  showPrefix?: boolean;
633
661
  showSuffix?: boolean;
634
662
  }
635
- declare const defaultConfig$1: ValueConfigLike;
636
- declare const ValueOptions: ({ config, onChange, formatters, showPrefix, showSuffix }: Props$a) => react_jsx_runtime.JSX.Element;
663
+ declare const defaultConfig$3: ValueConfigLike;
664
+ declare const ValueOptions: ({ config, onChange, formatters, showPrefix, showSuffix }: Props$f) => react_jsx_runtime.JSX.Element;
637
665
 
638
- interface Props$9 {
666
+ interface Props$e {
639
667
  config?: ValueConfigLike;
640
668
  defaultOpen?: boolean;
641
669
  onChange: (config: ValueConfigLike) => void;
@@ -643,14 +671,78 @@ interface Props$9 {
643
671
  showPrefix?: boolean;
644
672
  showSuffix?: boolean;
645
673
  }
646
- declare const defaultConfig: ValueConfigLike;
647
- declare const ValueControls: ({ config, defaultOpen, onChange, formatters, showPrefix, showSuffix }: Props$9) => react_jsx_runtime.JSX.Element;
674
+ declare const defaultConfig$2: ValueConfigLike;
675
+ declare const ValueControls: ({ config, defaultOpen, onChange, formatters, showPrefix, showSuffix }: Props$e) => react_jsx_runtime.JSX.Element;
648
676
 
649
- interface Props$8 {
677
+ interface Props$d {
650
678
  rules: MappingRuleLike[];
651
679
  onChange: (rules: MappingRuleLike[]) => void;
652
680
  }
653
- declare function ValueStringMapping({ rules, onChange }: Props$8): react_jsx_runtime.JSX.Element;
681
+ declare function ValueStringMapping({ rules, onChange }: Props$d): react_jsx_runtime.JSX.Element;
682
+
683
+ interface Props$c {
684
+ yAxis?: YAxisConfigLike;
685
+ setYAxis: (yAxis: YAxisConfigLike) => void;
686
+ defaultOpen?: boolean;
687
+ /** Optional app-supplied column picker (sql charts). When present the Column row renders. */
688
+ columnSelect?: ReactNode;
689
+ supportSetName?: boolean;
690
+ supportSetMinMax?: boolean;
691
+ supportStackSeries?: boolean;
692
+ supportAlwaysShowZero?: boolean;
693
+ supportReset?: boolean;
694
+ panelTitle?: string;
695
+ }
696
+ declare function YaxisControls({ yAxis, setYAxis, defaultOpen, columnSelect, supportSetName, supportSetMinMax, supportStackSeries, supportAlwaysShowZero, supportReset, panelTitle }: Props$c): react_jsx_runtime.JSX.Element;
697
+
698
+ interface Props$b {
699
+ xAxis?: XAxisConfigLike;
700
+ setXAxis: (val?: XAxisConfigLike) => void;
701
+ defaultOpen?: boolean;
702
+ /** Optional app-supplied column picker (sql charts). When present the Column row renders. */
703
+ columnSelect?: ReactNode;
704
+ /** Whether the selected X column is a non-TIME column (app resolves from the data schema). */
705
+ columnIsNonTime?: boolean;
706
+ panelTitle?: string;
707
+ supportName?: boolean;
708
+ supportSort?: boolean;
709
+ supportSetType?: boolean;
710
+ }
711
+ declare const XAxisControls: ({ xAxis, setXAxis, defaultOpen, columnSelect, columnIsNonTime, panelTitle, supportName, supportSort, supportSetType }: Props$b) => react_jsx_runtime.JSX.Element;
712
+
713
+ interface Props$a {
714
+ markers?: MarkerLike[];
715
+ onChange: (v: MarkerLike[]) => void;
716
+ }
717
+ declare function MarkerControls({ markers, onChange }: Props$a): react_jsx_runtime.JSX.Element;
718
+
719
+ interface Props$9 {
720
+ defaultOpen?: boolean;
721
+ onChange: (config: DataConfigLike) => void;
722
+ chartConfig?: ChartConfigLike;
723
+ /** Per-chart-type fallback when no explicit limit is set (app resolves from ChartTypeLimits). */
724
+ defaultSeriesLimit?: number;
725
+ }
726
+ declare const defaultConfig$1: DataConfigLike;
727
+ declare function DataControls({ defaultOpen, onChange, chartConfig, defaultSeriesLimit }: Props$9): react_jsx_runtime.JSX.Element;
728
+
729
+ interface Props$8 {
730
+ config?: ScatterConfigLike;
731
+ defaultOpen?: boolean;
732
+ onChange: (config: ScatterConfigLike) => void;
733
+ /** App-supplied sql column picker (Size By Column). */
734
+ columnSelect?: (props: {
735
+ value?: string;
736
+ onChange: (col: string) => void;
737
+ }) => ReactNode;
738
+ /** App-supplied color picker (Size Color Mapping). */
739
+ colorPicker?: (props: {
740
+ value?: string;
741
+ onChange: (color?: string) => void;
742
+ }) => ReactNode;
743
+ }
744
+ declare const defaultConfig: ScatterConfigLike;
745
+ declare function ScatterControls({ config, defaultOpen, onChange, columnSelect, colorPicker }: Props$8): react_jsx_runtime.JSX.Element;
654
746
 
655
747
  declare const sentioColors: {
656
748
  light: {
@@ -1442,4 +1534,4 @@ interface Props {
1442
1534
  }
1443
1535
  declare const SvgIcon: ({ className }: Props) => react_jsx_runtime.JSX.Element;
1444
1536
 
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 };
1537
+ 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, DataControls, 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, MarkerControls, 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, ScatterControls, SvgIcon$1 as ScatterIcon, SystemLabels, SvgIcon as TableIcon, type TemplateVariableLike, type TemplateViewLike, ValueControls, type ValueFormatter, ValueFormatters, ValueOptions, ValueStringMapping, XAxisControls, type YAxisConfigLike, YaxisControls, defaultConfig$4 as defaultBarGaugeConfig, defaultConfig$1 as defaultDataConfig, defaultConfig$5 as defaultPieConfig, defaultConfig as defaultScatterConfig, defaultConfig$3 as defaultValueConfig, defaultConfig$2 as defaultValueControlsConfig, isAggrOrRollupFunction, sentioColors, sentioTheme, sentioThemeDark, sortMetricByName, useLabelSearch, useLabelSearchContext };