@sentio/ui-dashboard 0.2.7 → 0.2.9
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.css +88 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +101 -37
- package/dist/index.d.ts +101 -37
- package/dist/index.js +690 -84
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +666 -62
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -383,12 +383,12 @@ interface MetricInfoLike {
|
|
|
383
383
|
};
|
|
384
384
|
}
|
|
385
385
|
|
|
386
|
-
interface Props$
|
|
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$
|
|
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$
|
|
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$
|
|
432
|
+
declare function ArgumentInput({ className, argument, value, onChange }: Props$r): react_jsx_runtime.JSX.Element;
|
|
433
433
|
|
|
434
|
-
interface Props$
|
|
434
|
+
interface Props$q {
|
|
435
435
|
value: QueryLike;
|
|
436
436
|
onChange: (value: QueryLike) => void;
|
|
437
437
|
}
|
|
438
|
-
declare function FunctionInput({ value, onChange }: Props$
|
|
438
|
+
declare function FunctionInput({ value, onChange }: Props$q): react_jsx_runtime.JSX.Element;
|
|
439
439
|
|
|
440
|
-
interface Props$
|
|
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$
|
|
445
|
+
declare function FunctionsPanel({ onClick, functionCategories, defaultFunc }: Props$p): react_jsx_runtime.JSX.Element;
|
|
446
446
|
|
|
447
|
-
interface Props$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
541
|
+
declare const ChartTypeButtonGroup: ({ value, onChange, small }: Props$m) => react_jsx_runtime.JSX.Element;
|
|
542
542
|
|
|
543
|
-
interface Props$
|
|
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$
|
|
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$
|
|
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$
|
|
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 {
|
|
@@ -617,42 +617,42 @@ interface QueryValueChartProps {
|
|
|
617
617
|
}
|
|
618
618
|
declare const QueryValueChart: react.ForwardRefExoticComponent<QueryValueChartProps & react.RefAttributes<EChartsHandle>>;
|
|
619
619
|
|
|
620
|
-
interface Props$
|
|
620
|
+
interface Props$j {
|
|
621
621
|
config?: LineConfigLike;
|
|
622
622
|
defaultOpen?: boolean;
|
|
623
623
|
onChange: (config: LineConfigLike) => void;
|
|
624
624
|
}
|
|
625
|
-
declare const LineControls: ({ config, defaultOpen, onChange }: Props$
|
|
625
|
+
declare const LineControls: ({ config, defaultOpen, onChange }: Props$j) => react_jsx_runtime.JSX.Element;
|
|
626
626
|
|
|
627
|
-
interface Props$
|
|
627
|
+
interface Props$i {
|
|
628
628
|
config?: LabelConfigLike;
|
|
629
629
|
setConfig: (value: LabelConfigLike) => void;
|
|
630
630
|
defaultOpen?: boolean;
|
|
631
631
|
}
|
|
632
|
-
declare const LabelControls: ({ config, setConfig, defaultOpen }: Props$
|
|
632
|
+
declare const LabelControls: ({ config, setConfig, defaultOpen }: Props$i) => react_jsx_runtime.JSX.Element;
|
|
633
633
|
|
|
634
|
-
interface Props$
|
|
634
|
+
interface Props$h {
|
|
635
635
|
config?: PieConfigLike;
|
|
636
636
|
defaultOpen?: boolean;
|
|
637
637
|
onChange: (config: PieConfigLike) => void;
|
|
638
638
|
}
|
|
639
|
-
declare const defaultConfig$
|
|
640
|
-
declare function PieChartControls({ config, defaultOpen, onChange }: Props$
|
|
639
|
+
declare const defaultConfig$5: PieConfigLike;
|
|
640
|
+
declare function PieChartControls({ config, defaultOpen, onChange }: Props$h): react_jsx_runtime.JSX.Element;
|
|
641
641
|
|
|
642
|
-
interface Props$
|
|
642
|
+
interface Props$g {
|
|
643
643
|
config?: BarGaugeConfigLike;
|
|
644
644
|
defaultOpen?: boolean;
|
|
645
645
|
onChange: (config: BarGaugeConfigLike) => void;
|
|
646
646
|
}
|
|
647
|
-
declare const defaultConfig$
|
|
648
|
-
declare function BarGaugeControls({ config, defaultOpen, onChange }: Props$
|
|
647
|
+
declare const defaultConfig$4: BarGaugeConfigLike;
|
|
648
|
+
declare function BarGaugeControls({ config, defaultOpen, onChange }: Props$g): react_jsx_runtime.JSX.Element;
|
|
649
649
|
|
|
650
650
|
interface ValueFormatter {
|
|
651
651
|
label: string;
|
|
652
652
|
value: ValueFormatterLike;
|
|
653
653
|
}
|
|
654
654
|
declare const ValueFormatters: ValueFormatter[];
|
|
655
|
-
interface Props$
|
|
655
|
+
interface Props$f {
|
|
656
656
|
config: ValueConfigLike;
|
|
657
657
|
defaultOpen?: boolean;
|
|
658
658
|
onChange: (config: ValueConfigLike) => void;
|
|
@@ -660,10 +660,10 @@ interface Props$a {
|
|
|
660
660
|
showPrefix?: boolean;
|
|
661
661
|
showSuffix?: boolean;
|
|
662
662
|
}
|
|
663
|
-
declare const defaultConfig$
|
|
664
|
-
declare const ValueOptions: ({ config, onChange, formatters, showPrefix, showSuffix }: Props$
|
|
663
|
+
declare const defaultConfig$3: ValueConfigLike;
|
|
664
|
+
declare const ValueOptions: ({ config, onChange, formatters, showPrefix, showSuffix }: Props$f) => react_jsx_runtime.JSX.Element;
|
|
665
665
|
|
|
666
|
-
interface Props$
|
|
666
|
+
interface Props$e {
|
|
667
667
|
config?: ValueConfigLike;
|
|
668
668
|
defaultOpen?: boolean;
|
|
669
669
|
onChange: (config: ValueConfigLike) => void;
|
|
@@ -671,14 +671,78 @@ interface Props$9 {
|
|
|
671
671
|
showPrefix?: boolean;
|
|
672
672
|
showSuffix?: boolean;
|
|
673
673
|
}
|
|
674
|
-
declare const defaultConfig: ValueConfigLike;
|
|
675
|
-
declare const ValueControls: ({ config, defaultOpen, onChange, formatters, showPrefix, showSuffix }: Props$
|
|
674
|
+
declare const defaultConfig$2: ValueConfigLike;
|
|
675
|
+
declare const ValueControls: ({ config, defaultOpen, onChange, formatters, showPrefix, showSuffix }: Props$e) => react_jsx_runtime.JSX.Element;
|
|
676
676
|
|
|
677
|
-
interface Props$
|
|
677
|
+
interface Props$d {
|
|
678
678
|
rules: MappingRuleLike[];
|
|
679
679
|
onChange: (rules: MappingRuleLike[]) => void;
|
|
680
680
|
}
|
|
681
|
-
declare function ValueStringMapping({ rules, onChange }: Props$
|
|
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;
|
|
682
746
|
|
|
683
747
|
declare const sentioColors: {
|
|
684
748
|
light: {
|
|
@@ -1470,4 +1534,4 @@ interface Props {
|
|
|
1470
1534
|
}
|
|
1471
1535
|
declare const SvgIcon: ({ className }: Props) => react_jsx_runtime.JSX.Element;
|
|
1472
1536
|
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
432
|
+
declare function ArgumentInput({ className, argument, value, onChange }: Props$r): react_jsx_runtime.JSX.Element;
|
|
433
433
|
|
|
434
|
-
interface Props$
|
|
434
|
+
interface Props$q {
|
|
435
435
|
value: QueryLike;
|
|
436
436
|
onChange: (value: QueryLike) => void;
|
|
437
437
|
}
|
|
438
|
-
declare function FunctionInput({ value, onChange }: Props$
|
|
438
|
+
declare function FunctionInput({ value, onChange }: Props$q): react_jsx_runtime.JSX.Element;
|
|
439
439
|
|
|
440
|
-
interface Props$
|
|
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$
|
|
445
|
+
declare function FunctionsPanel({ onClick, functionCategories, defaultFunc }: Props$p): react_jsx_runtime.JSX.Element;
|
|
446
446
|
|
|
447
|
-
interface Props$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
541
|
+
declare const ChartTypeButtonGroup: ({ value, onChange, small }: Props$m) => react_jsx_runtime.JSX.Element;
|
|
542
542
|
|
|
543
|
-
interface Props$
|
|
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$
|
|
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$
|
|
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$
|
|
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 {
|
|
@@ -617,42 +617,42 @@ interface QueryValueChartProps {
|
|
|
617
617
|
}
|
|
618
618
|
declare const QueryValueChart: react.ForwardRefExoticComponent<QueryValueChartProps & react.RefAttributes<EChartsHandle>>;
|
|
619
619
|
|
|
620
|
-
interface Props$
|
|
620
|
+
interface Props$j {
|
|
621
621
|
config?: LineConfigLike;
|
|
622
622
|
defaultOpen?: boolean;
|
|
623
623
|
onChange: (config: LineConfigLike) => void;
|
|
624
624
|
}
|
|
625
|
-
declare const LineControls: ({ config, defaultOpen, onChange }: Props$
|
|
625
|
+
declare const LineControls: ({ config, defaultOpen, onChange }: Props$j) => react_jsx_runtime.JSX.Element;
|
|
626
626
|
|
|
627
|
-
interface Props$
|
|
627
|
+
interface Props$i {
|
|
628
628
|
config?: LabelConfigLike;
|
|
629
629
|
setConfig: (value: LabelConfigLike) => void;
|
|
630
630
|
defaultOpen?: boolean;
|
|
631
631
|
}
|
|
632
|
-
declare const LabelControls: ({ config, setConfig, defaultOpen }: Props$
|
|
632
|
+
declare const LabelControls: ({ config, setConfig, defaultOpen }: Props$i) => react_jsx_runtime.JSX.Element;
|
|
633
633
|
|
|
634
|
-
interface Props$
|
|
634
|
+
interface Props$h {
|
|
635
635
|
config?: PieConfigLike;
|
|
636
636
|
defaultOpen?: boolean;
|
|
637
637
|
onChange: (config: PieConfigLike) => void;
|
|
638
638
|
}
|
|
639
|
-
declare const defaultConfig$
|
|
640
|
-
declare function PieChartControls({ config, defaultOpen, onChange }: Props$
|
|
639
|
+
declare const defaultConfig$5: PieConfigLike;
|
|
640
|
+
declare function PieChartControls({ config, defaultOpen, onChange }: Props$h): react_jsx_runtime.JSX.Element;
|
|
641
641
|
|
|
642
|
-
interface Props$
|
|
642
|
+
interface Props$g {
|
|
643
643
|
config?: BarGaugeConfigLike;
|
|
644
644
|
defaultOpen?: boolean;
|
|
645
645
|
onChange: (config: BarGaugeConfigLike) => void;
|
|
646
646
|
}
|
|
647
|
-
declare const defaultConfig$
|
|
648
|
-
declare function BarGaugeControls({ config, defaultOpen, onChange }: Props$
|
|
647
|
+
declare const defaultConfig$4: BarGaugeConfigLike;
|
|
648
|
+
declare function BarGaugeControls({ config, defaultOpen, onChange }: Props$g): react_jsx_runtime.JSX.Element;
|
|
649
649
|
|
|
650
650
|
interface ValueFormatter {
|
|
651
651
|
label: string;
|
|
652
652
|
value: ValueFormatterLike;
|
|
653
653
|
}
|
|
654
654
|
declare const ValueFormatters: ValueFormatter[];
|
|
655
|
-
interface Props$
|
|
655
|
+
interface Props$f {
|
|
656
656
|
config: ValueConfigLike;
|
|
657
657
|
defaultOpen?: boolean;
|
|
658
658
|
onChange: (config: ValueConfigLike) => void;
|
|
@@ -660,10 +660,10 @@ interface Props$a {
|
|
|
660
660
|
showPrefix?: boolean;
|
|
661
661
|
showSuffix?: boolean;
|
|
662
662
|
}
|
|
663
|
-
declare const defaultConfig$
|
|
664
|
-
declare const ValueOptions: ({ config, onChange, formatters, showPrefix, showSuffix }: Props$
|
|
663
|
+
declare const defaultConfig$3: ValueConfigLike;
|
|
664
|
+
declare const ValueOptions: ({ config, onChange, formatters, showPrefix, showSuffix }: Props$f) => react_jsx_runtime.JSX.Element;
|
|
665
665
|
|
|
666
|
-
interface Props$
|
|
666
|
+
interface Props$e {
|
|
667
667
|
config?: ValueConfigLike;
|
|
668
668
|
defaultOpen?: boolean;
|
|
669
669
|
onChange: (config: ValueConfigLike) => void;
|
|
@@ -671,14 +671,78 @@ interface Props$9 {
|
|
|
671
671
|
showPrefix?: boolean;
|
|
672
672
|
showSuffix?: boolean;
|
|
673
673
|
}
|
|
674
|
-
declare const defaultConfig: ValueConfigLike;
|
|
675
|
-
declare const ValueControls: ({ config, defaultOpen, onChange, formatters, showPrefix, showSuffix }: Props$
|
|
674
|
+
declare const defaultConfig$2: ValueConfigLike;
|
|
675
|
+
declare const ValueControls: ({ config, defaultOpen, onChange, formatters, showPrefix, showSuffix }: Props$e) => react_jsx_runtime.JSX.Element;
|
|
676
676
|
|
|
677
|
-
interface Props$
|
|
677
|
+
interface Props$d {
|
|
678
678
|
rules: MappingRuleLike[];
|
|
679
679
|
onChange: (rules: MappingRuleLike[]) => void;
|
|
680
680
|
}
|
|
681
|
-
declare function ValueStringMapping({ rules, onChange }: Props$
|
|
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;
|
|
682
746
|
|
|
683
747
|
declare const sentioColors: {
|
|
684
748
|
light: {
|
|
@@ -1470,4 +1534,4 @@ interface Props {
|
|
|
1470
1534
|
}
|
|
1471
1535
|
declare const SvgIcon: ({ className }: Props) => react_jsx_runtime.JSX.Element;
|
|
1472
1536
|
|
|
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$
|
|
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 };
|