@sentio/ui-dashboard 0.3.7 → 0.3.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 +85 -2
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +127 -78
- package/dist/index.d.ts +127 -78
- package/dist/index.js +402 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +397 -0
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -314,10 +314,28 @@ interface TableDataLike {
|
|
|
314
314
|
interface CompareTimeLike {
|
|
315
315
|
ago?: DurationLike;
|
|
316
316
|
}
|
|
317
|
-
/**
|
|
317
|
+
/** A point in time — absolute (unix seconds string) or relative. Structural
|
|
318
|
+
* mirror of proto `TimeRange.TimeLike`. */
|
|
319
|
+
interface TimeLike {
|
|
320
|
+
absoluteTime?: string;
|
|
321
|
+
relativeTime?: {
|
|
322
|
+
unit?: string;
|
|
323
|
+
value?: number;
|
|
324
|
+
align?: string;
|
|
325
|
+
};
|
|
326
|
+
}
|
|
327
|
+
/** A time range. `interval` payload passed through opaquely. */
|
|
328
|
+
interface TimeRangeLike {
|
|
329
|
+
start?: TimeLike;
|
|
330
|
+
end?: TimeLike;
|
|
331
|
+
step?: string;
|
|
332
|
+
interval?: unknown;
|
|
333
|
+
timezone?: string;
|
|
334
|
+
}
|
|
335
|
+
/** Per-chart time-range override. */
|
|
318
336
|
interface TimeRangeOverrideLike {
|
|
319
337
|
enabled?: boolean;
|
|
320
|
-
timeRange?:
|
|
338
|
+
timeRange?: TimeRangeLike;
|
|
321
339
|
compareTime?: CompareTimeLike;
|
|
322
340
|
}
|
|
323
341
|
/** A chart's full config — structural mirror of proto `ChartConfig`. */
|
|
@@ -447,12 +465,12 @@ interface SeriesLike<T = Date> {
|
|
|
447
465
|
smooth?: boolean;
|
|
448
466
|
}
|
|
449
467
|
|
|
450
|
-
interface Props$
|
|
468
|
+
interface Props$A {
|
|
451
469
|
metric?: MetricInfoLike;
|
|
452
470
|
value: QueryLike;
|
|
453
471
|
onChange: (value: QueryLike) => void;
|
|
454
472
|
}
|
|
455
|
-
declare function AggregateInput({ metric, value, onChange }: Props$
|
|
473
|
+
declare function AggregateInput({ metric, value, onChange }: Props$A): react_jsx_runtime.JSX.Element;
|
|
456
474
|
|
|
457
475
|
declare enum ArgumentType {
|
|
458
476
|
String = 0,
|
|
@@ -487,28 +505,28 @@ declare const EventsFunctionMap: {
|
|
|
487
505
|
[name: string]: FunctionDef;
|
|
488
506
|
};
|
|
489
507
|
|
|
490
|
-
interface Props$
|
|
508
|
+
interface Props$z {
|
|
491
509
|
argument: ArgumentDef;
|
|
492
510
|
value?: ArgumentLike;
|
|
493
511
|
onChange?: (value: ArgumentLike) => void;
|
|
494
512
|
className?: string;
|
|
495
513
|
}
|
|
496
|
-
declare function ArgumentInput({ className, argument, value, onChange }: Props$
|
|
514
|
+
declare function ArgumentInput({ className, argument, value, onChange }: Props$z): react_jsx_runtime.JSX.Element;
|
|
497
515
|
|
|
498
|
-
interface Props$
|
|
516
|
+
interface Props$y {
|
|
499
517
|
value: QueryLike;
|
|
500
518
|
onChange: (value: QueryLike) => void;
|
|
501
519
|
}
|
|
502
|
-
declare function FunctionInput({ value, onChange }: Props$
|
|
520
|
+
declare function FunctionInput({ value, onChange }: Props$y): react_jsx_runtime.JSX.Element;
|
|
503
521
|
|
|
504
|
-
interface Props$
|
|
522
|
+
interface Props$x {
|
|
505
523
|
onClick: (func: FunctionDef) => void;
|
|
506
524
|
functionCategories?: typeof FunctionsCategories;
|
|
507
525
|
defaultFunc?: string;
|
|
508
526
|
}
|
|
509
|
-
declare function FunctionsPanel({ onClick, functionCategories, defaultFunc }: Props$
|
|
527
|
+
declare function FunctionsPanel({ onClick, functionCategories, defaultFunc }: Props$x): react_jsx_runtime.JSX.Element;
|
|
510
528
|
|
|
511
|
-
interface Props$
|
|
529
|
+
interface Props$w {
|
|
512
530
|
metric?: MetricInfoLike;
|
|
513
531
|
value: QueryLike;
|
|
514
532
|
onChange: (value: QueryLike) => void;
|
|
@@ -518,7 +536,7 @@ interface Props$t {
|
|
|
518
536
|
small?: boolean;
|
|
519
537
|
useRegex?: boolean;
|
|
520
538
|
}
|
|
521
|
-
declare function LabelsInput({ value, metric, variables, onChange, small, useRegex }: Props$
|
|
539
|
+
declare function LabelsInput({ value, metric, variables, onChange, small, useRegex }: Props$w): react_jsx_runtime.JSX.Element;
|
|
522
540
|
|
|
523
541
|
declare const SystemLabels: {
|
|
524
542
|
field: string;
|
|
@@ -581,7 +599,7 @@ type SeriesFinder = {
|
|
|
581
599
|
};
|
|
582
600
|
declare const ReactEChartsBase: react__default.ForwardRefExoticComponent<ReactEChartsProps & react__default.RefAttributes<EChartsHandle>>;
|
|
583
601
|
|
|
584
|
-
interface Props$
|
|
602
|
+
interface Props$v {
|
|
585
603
|
legend: string[];
|
|
586
604
|
legendSelected: Record<string, boolean>;
|
|
587
605
|
returnedSeries?: number;
|
|
@@ -589,7 +607,7 @@ interface Props$s {
|
|
|
589
607
|
onRendered: (v: boolean) => void;
|
|
590
608
|
chartHandle?: EChartsHandle;
|
|
591
609
|
}
|
|
592
|
-
declare const ChartLegend: ({ legend, legendSelected, returnedSeries, totalSeries, onRendered, chartHandle }: Props$
|
|
610
|
+
declare const ChartLegend: ({ legend, legendSelected, returnedSeries, totalSeries, onRendered, chartHandle }: Props$v) => react_jsx_runtime.JSX.Element;
|
|
593
611
|
|
|
594
612
|
declare const RefreshContext: react.Context<{
|
|
595
613
|
refresh?: () => void;
|
|
@@ -597,14 +615,14 @@ declare const RefreshContext: react.Context<{
|
|
|
597
615
|
}>;
|
|
598
616
|
declare const RefreshButton: (props: Partial<ButtonProps>) => react_jsx_runtime.JSX.Element | null;
|
|
599
617
|
|
|
600
|
-
type Props$
|
|
618
|
+
type Props$u = {
|
|
601
619
|
value: ChartTypeLike;
|
|
602
620
|
onChange: (value: ChartTypeLike) => void;
|
|
603
621
|
small?: boolean;
|
|
604
622
|
};
|
|
605
|
-
declare const ChartTypeButtonGroup: ({ value, onChange, small }: Props$
|
|
623
|
+
declare const ChartTypeButtonGroup: ({ value, onChange, small }: Props$u) => react_jsx_runtime.JSX.Element;
|
|
606
624
|
|
|
607
|
-
interface Props$
|
|
625
|
+
interface Props$t {
|
|
608
626
|
data: any;
|
|
609
627
|
compareTimeDuration?: DurationLike;
|
|
610
628
|
numberFormatter: (value: number, seriesId?: string) => string;
|
|
@@ -617,9 +635,9 @@ interface Props$q {
|
|
|
617
635
|
viewUsersDisabled?: (seriesId: string, seriesIndex: number) => boolean;
|
|
618
636
|
isFixed?: boolean;
|
|
619
637
|
}
|
|
620
|
-
declare function ChartTooltip({ data, numberFormatter, compareTimeDuration, highlightSeriesId, title, showTotal, onViewLogs, viewLogDisabled, onViewUsers, viewUsersDisabled, isFixed }: Props$
|
|
638
|
+
declare function ChartTooltip({ data, numberFormatter, compareTimeDuration, highlightSeriesId, title, showTotal, onViewLogs, viewLogDisabled, onViewUsers, viewUsersDisabled, isFixed }: Props$t): react_jsx_runtime.JSX.Element;
|
|
621
639
|
|
|
622
|
-
interface Props$
|
|
640
|
+
interface Props$s {
|
|
623
641
|
data: any;
|
|
624
642
|
compareTimeDuration?: DurationLike;
|
|
625
643
|
numberFormatter: (value: number) => string;
|
|
@@ -632,7 +650,7 @@ interface Props$p {
|
|
|
632
650
|
isFixed?: boolean;
|
|
633
651
|
sizeTitle?: string;
|
|
634
652
|
}
|
|
635
|
-
declare function ScatterChartTooltip({ data, numberFormatter, highlightSeriesId, title, onViewLogs, viewLogDisabled, onViewUsers, viewUsersDisabled, isFixed, sizeTitle }: Props$
|
|
653
|
+
declare function ScatterChartTooltip({ data, numberFormatter, highlightSeriesId, title, onViewLogs, viewLogDisabled, onViewUsers, viewUsersDisabled, isFixed, sizeTitle }: Props$s): react_jsx_runtime.JSX.Element;
|
|
636
654
|
|
|
637
655
|
/** Minimal shape consumed from a computed series — only name + first data point. */
|
|
638
656
|
interface PieSeriesInput {
|
|
@@ -785,42 +803,42 @@ interface TimeSeriesChartProps {
|
|
|
785
803
|
}
|
|
786
804
|
declare const TimeSeriesChart: react.ForwardRefExoticComponent<TimeSeriesChartProps & react.RefAttributes<EChartsHandle>>;
|
|
787
805
|
|
|
788
|
-
interface Props$
|
|
806
|
+
interface Props$r {
|
|
789
807
|
config?: LineConfigLike;
|
|
790
808
|
defaultOpen?: boolean;
|
|
791
809
|
onChange: (config: LineConfigLike) => void;
|
|
792
810
|
}
|
|
793
|
-
declare const LineControls: ({ config, defaultOpen, onChange }: Props$
|
|
811
|
+
declare const LineControls: ({ config, defaultOpen, onChange }: Props$r) => react_jsx_runtime.JSX.Element;
|
|
794
812
|
|
|
795
|
-
interface Props$
|
|
813
|
+
interface Props$q {
|
|
796
814
|
config?: LabelConfigLike;
|
|
797
815
|
setConfig: (value: LabelConfigLike) => void;
|
|
798
816
|
defaultOpen?: boolean;
|
|
799
817
|
}
|
|
800
|
-
declare const LabelControls: ({ config, setConfig, defaultOpen }: Props$
|
|
818
|
+
declare const LabelControls: ({ config, setConfig, defaultOpen }: Props$q) => react_jsx_runtime.JSX.Element;
|
|
801
819
|
|
|
802
|
-
interface Props$
|
|
820
|
+
interface Props$p {
|
|
803
821
|
config?: PieConfigLike;
|
|
804
822
|
defaultOpen?: boolean;
|
|
805
823
|
onChange: (config: PieConfigLike) => void;
|
|
806
824
|
}
|
|
807
|
-
declare const defaultConfig$
|
|
808
|
-
declare function PieChartControls({ config, defaultOpen, onChange }: Props$
|
|
825
|
+
declare const defaultConfig$8: PieConfigLike;
|
|
826
|
+
declare function PieChartControls({ config, defaultOpen, onChange }: Props$p): react_jsx_runtime.JSX.Element;
|
|
809
827
|
|
|
810
|
-
interface Props$
|
|
828
|
+
interface Props$o {
|
|
811
829
|
config?: BarGaugeConfigLike;
|
|
812
830
|
defaultOpen?: boolean;
|
|
813
831
|
onChange: (config: BarGaugeConfigLike) => void;
|
|
814
832
|
}
|
|
815
|
-
declare const defaultConfig$
|
|
816
|
-
declare function BarGaugeControls({ config, defaultOpen, onChange }: Props$
|
|
833
|
+
declare const defaultConfig$7: BarGaugeConfigLike;
|
|
834
|
+
declare function BarGaugeControls({ config, defaultOpen, onChange }: Props$o): react_jsx_runtime.JSX.Element;
|
|
817
835
|
|
|
818
836
|
interface ValueFormatter {
|
|
819
837
|
label: string;
|
|
820
838
|
value: ValueFormatterLike;
|
|
821
839
|
}
|
|
822
840
|
declare const ValueFormatters: ValueFormatter[];
|
|
823
|
-
interface Props$
|
|
841
|
+
interface Props$n {
|
|
824
842
|
config: ValueConfigLike;
|
|
825
843
|
defaultOpen?: boolean;
|
|
826
844
|
onChange: (config: ValueConfigLike) => void;
|
|
@@ -828,10 +846,10 @@ interface Props$k {
|
|
|
828
846
|
showPrefix?: boolean;
|
|
829
847
|
showSuffix?: boolean;
|
|
830
848
|
}
|
|
831
|
-
declare const defaultConfig$
|
|
832
|
-
declare const ValueOptions: ({ config, onChange, formatters, showPrefix, showSuffix }: Props$
|
|
849
|
+
declare const defaultConfig$6: ValueConfigLike;
|
|
850
|
+
declare const ValueOptions: ({ config, onChange, formatters, showPrefix, showSuffix }: Props$n) => react_jsx_runtime.JSX.Element;
|
|
833
851
|
|
|
834
|
-
interface Props$
|
|
852
|
+
interface Props$m {
|
|
835
853
|
config?: ValueConfigLike;
|
|
836
854
|
defaultOpen?: boolean;
|
|
837
855
|
onChange: (config: ValueConfigLike) => void;
|
|
@@ -839,16 +857,16 @@ interface Props$j {
|
|
|
839
857
|
showPrefix?: boolean;
|
|
840
858
|
showSuffix?: boolean;
|
|
841
859
|
}
|
|
842
|
-
declare const defaultConfig$
|
|
843
|
-
declare const ValueControls: ({ config, defaultOpen, onChange, formatters, showPrefix, showSuffix }: Props$
|
|
860
|
+
declare const defaultConfig$5: ValueConfigLike;
|
|
861
|
+
declare const ValueControls: ({ config, defaultOpen, onChange, formatters, showPrefix, showSuffix }: Props$m) => react_jsx_runtime.JSX.Element;
|
|
844
862
|
|
|
845
|
-
interface Props$
|
|
863
|
+
interface Props$l {
|
|
846
864
|
rules: MappingRuleLike[];
|
|
847
865
|
onChange: (rules: MappingRuleLike[]) => void;
|
|
848
866
|
}
|
|
849
|
-
declare function ValueStringMapping({ rules, onChange }: Props$
|
|
867
|
+
declare function ValueStringMapping({ rules, onChange }: Props$l): react_jsx_runtime.JSX.Element;
|
|
850
868
|
|
|
851
|
-
interface Props$
|
|
869
|
+
interface Props$k {
|
|
852
870
|
yAxis?: YAxisConfigLike;
|
|
853
871
|
setYAxis: (yAxis: YAxisConfigLike) => void;
|
|
854
872
|
defaultOpen?: boolean;
|
|
@@ -861,9 +879,9 @@ interface Props$h {
|
|
|
861
879
|
supportReset?: boolean;
|
|
862
880
|
panelTitle?: string;
|
|
863
881
|
}
|
|
864
|
-
declare function YaxisControls({ yAxis, setYAxis, defaultOpen, columnSelect, supportSetName, supportSetMinMax, supportStackSeries, supportAlwaysShowZero, supportReset, panelTitle }: Props$
|
|
882
|
+
declare function YaxisControls({ yAxis, setYAxis, defaultOpen, columnSelect, supportSetName, supportSetMinMax, supportStackSeries, supportAlwaysShowZero, supportReset, panelTitle }: Props$k): react_jsx_runtime.JSX.Element;
|
|
865
883
|
|
|
866
|
-
interface Props$
|
|
884
|
+
interface Props$j {
|
|
867
885
|
xAxis?: XAxisConfigLike;
|
|
868
886
|
setXAxis: (val?: XAxisConfigLike) => void;
|
|
869
887
|
defaultOpen?: boolean;
|
|
@@ -876,25 +894,25 @@ interface Props$g {
|
|
|
876
894
|
supportSort?: boolean;
|
|
877
895
|
supportSetType?: boolean;
|
|
878
896
|
}
|
|
879
|
-
declare const XAxisControls: ({ xAxis, setXAxis, defaultOpen, columnSelect, columnIsNonTime, panelTitle, supportName, supportSort, supportSetType }: Props$
|
|
897
|
+
declare const XAxisControls: ({ xAxis, setXAxis, defaultOpen, columnSelect, columnIsNonTime, panelTitle, supportName, supportSort, supportSetType }: Props$j) => react_jsx_runtime.JSX.Element;
|
|
880
898
|
|
|
881
|
-
interface Props$
|
|
899
|
+
interface Props$i {
|
|
882
900
|
markers?: MarkerLike[];
|
|
883
901
|
onChange: (v: MarkerLike[]) => void;
|
|
884
902
|
}
|
|
885
|
-
declare function MarkerControls({ markers, onChange }: Props$
|
|
903
|
+
declare function MarkerControls({ markers, onChange }: Props$i): react_jsx_runtime.JSX.Element;
|
|
886
904
|
|
|
887
|
-
interface Props$
|
|
905
|
+
interface Props$h {
|
|
888
906
|
defaultOpen?: boolean;
|
|
889
907
|
onChange: (config: DataConfigLike) => void;
|
|
890
908
|
chartConfig?: ChartConfigLike;
|
|
891
909
|
/** Per-chart-type fallback when no explicit limit is set (app resolves from ChartTypeLimits). */
|
|
892
910
|
defaultSeriesLimit?: number;
|
|
893
911
|
}
|
|
894
|
-
declare const defaultConfig$
|
|
895
|
-
declare function DataControls({ defaultOpen, onChange, chartConfig, defaultSeriesLimit }: Props$
|
|
912
|
+
declare const defaultConfig$4: DataConfigLike;
|
|
913
|
+
declare function DataControls({ defaultOpen, onChange, chartConfig, defaultSeriesLimit }: Props$h): react_jsx_runtime.JSX.Element;
|
|
896
914
|
|
|
897
|
-
interface Props$
|
|
915
|
+
interface Props$g {
|
|
898
916
|
config?: ScatterConfigLike;
|
|
899
917
|
defaultOpen?: boolean;
|
|
900
918
|
onChange: (config: ScatterConfigLike) => void;
|
|
@@ -909,18 +927,18 @@ interface Props$d {
|
|
|
909
927
|
onChange: (color?: string) => void;
|
|
910
928
|
}) => ReactNode;
|
|
911
929
|
}
|
|
912
|
-
declare const defaultConfig$
|
|
913
|
-
declare function ScatterControls({ config, defaultOpen, onChange, columnSelect, colorPicker }: Props$
|
|
930
|
+
declare const defaultConfig$3: ScatterConfigLike;
|
|
931
|
+
declare function ScatterControls({ config, defaultOpen, onChange, columnSelect, colorPicker }: Props$g): react_jsx_runtime.JSX.Element;
|
|
914
932
|
|
|
915
|
-
interface Props$
|
|
933
|
+
interface Props$f {
|
|
916
934
|
config?: TableConfigLike;
|
|
917
935
|
defaultOpen?: boolean;
|
|
918
936
|
onChange: (config: TableConfigLike) => void;
|
|
919
937
|
data?: TableDataLike;
|
|
920
938
|
}
|
|
921
|
-
declare const defaultConfig: TableConfigLike;
|
|
939
|
+
declare const defaultConfig$2: TableConfigLike;
|
|
922
940
|
declare function getDefaultValueConfig(type?: ColumnTypeLike): ValueConfigLike;
|
|
923
|
-
declare function TableControls({ config, defaultOpen, onChange, data }: Props$
|
|
941
|
+
declare function TableControls({ config, defaultOpen, onChange, data }: Props$f): react_jsx_runtime.JSX.Element;
|
|
924
942
|
|
|
925
943
|
declare const sentioColors: {
|
|
926
944
|
light: {
|
|
@@ -1672,55 +1690,55 @@ declare const sentioThemeDark: {
|
|
|
1672
1690
|
};
|
|
1673
1691
|
};
|
|
1674
1692
|
|
|
1675
|
-
interface Props$
|
|
1693
|
+
interface Props$e {
|
|
1676
1694
|
className?: string;
|
|
1677
1695
|
}
|
|
1678
|
-
declare const SvgIcon$7: ({ className }: Props$
|
|
1696
|
+
declare const SvgIcon$7: ({ className }: Props$e) => react_jsx_runtime.JSX.Element;
|
|
1679
1697
|
|
|
1680
|
-
interface Props$
|
|
1698
|
+
interface Props$d {
|
|
1681
1699
|
className?: string;
|
|
1682
1700
|
}
|
|
1683
|
-
declare const SvgIcon$6: ({ className }: Props$
|
|
1701
|
+
declare const SvgIcon$6: ({ className }: Props$d) => react_jsx_runtime.JSX.Element;
|
|
1684
1702
|
|
|
1685
|
-
interface Props$
|
|
1703
|
+
interface Props$c {
|
|
1686
1704
|
className?: string;
|
|
1687
1705
|
}
|
|
1688
|
-
declare const SvgIcon$5: ({ className }: Props$
|
|
1706
|
+
declare const SvgIcon$5: ({ className }: Props$c) => react_jsx_runtime.JSX.Element;
|
|
1689
1707
|
|
|
1690
|
-
interface Props$
|
|
1708
|
+
interface Props$b {
|
|
1691
1709
|
className?: string;
|
|
1692
1710
|
}
|
|
1693
|
-
declare const SvgIcon$4: ({ className }: Props$
|
|
1711
|
+
declare const SvgIcon$4: ({ className }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
1694
1712
|
|
|
1695
|
-
interface Props$
|
|
1713
|
+
interface Props$a {
|
|
1696
1714
|
className?: string;
|
|
1697
1715
|
}
|
|
1698
|
-
declare const SvgIcon$3: ({ className }: Props$
|
|
1716
|
+
declare const SvgIcon$3: ({ className }: Props$a) => react_jsx_runtime.JSX.Element;
|
|
1699
1717
|
|
|
1700
|
-
interface Props$
|
|
1718
|
+
interface Props$9 {
|
|
1701
1719
|
className?: string;
|
|
1702
1720
|
}
|
|
1703
|
-
declare const SvgIcon$2: ({ className }: Props$
|
|
1721
|
+
declare const SvgIcon$2: ({ className }: Props$9) => react_jsx_runtime.JSX.Element;
|
|
1704
1722
|
|
|
1705
|
-
interface Props$
|
|
1723
|
+
interface Props$8 {
|
|
1706
1724
|
className?: string;
|
|
1707
1725
|
}
|
|
1708
|
-
declare const SvgIcon$1: ({ className }: Props$
|
|
1726
|
+
declare const SvgIcon$1: ({ className }: Props$8) => react_jsx_runtime.JSX.Element;
|
|
1709
1727
|
|
|
1710
|
-
interface Props$
|
|
1728
|
+
interface Props$7 {
|
|
1711
1729
|
className?: string;
|
|
1712
1730
|
}
|
|
1713
|
-
declare const SvgIcon: ({ className }: Props$
|
|
1731
|
+
declare const SvgIcon: ({ className }: Props$7) => react_jsx_runtime.JSX.Element;
|
|
1714
1732
|
|
|
1715
|
-
interface Props$
|
|
1733
|
+
interface Props$6 {
|
|
1716
1734
|
dashboard?: DashboardLike;
|
|
1717
1735
|
open: boolean;
|
|
1718
1736
|
onClose: () => void;
|
|
1719
1737
|
onUpdate: (data: DashboardLike) => Promise<void>;
|
|
1720
1738
|
}
|
|
1721
|
-
declare const EditDashboardDialog: ({ dashboard, open, onClose, onUpdate }: Props$
|
|
1739
|
+
declare const EditDashboardDialog: ({ dashboard, open, onClose, onUpdate }: Props$6) => react_jsx_runtime.JSX.Element;
|
|
1722
1740
|
|
|
1723
|
-
interface Props$
|
|
1741
|
+
interface Props$5 {
|
|
1724
1742
|
open: boolean;
|
|
1725
1743
|
onClose: () => void;
|
|
1726
1744
|
title: string;
|
|
@@ -1732,15 +1750,15 @@ interface Props$2 {
|
|
|
1732
1750
|
highlightColor: string;
|
|
1733
1751
|
}) => void;
|
|
1734
1752
|
}
|
|
1735
|
-
declare function EditGroupDialog({ open, onClose, title, style, highlightColor, onSave }: Props$
|
|
1753
|
+
declare function EditGroupDialog({ open, onClose, title, style, highlightColor, onSave }: Props$5): react_jsx_runtime.JSX.Element;
|
|
1736
1754
|
|
|
1737
|
-
interface Props$
|
|
1755
|
+
interface Props$4 {
|
|
1738
1756
|
stats?: ComputeStatsLike;
|
|
1739
1757
|
onRefresh: () => Promise<void>;
|
|
1740
1758
|
}
|
|
1741
|
-
declare const DashboardRefresh: ({ stats, onRefresh }: Props$
|
|
1759
|
+
declare const DashboardRefresh: ({ stats, onRefresh }: Props$4) => react_jsx_runtime.JSX.Element;
|
|
1742
1760
|
|
|
1743
|
-
interface Props {
|
|
1761
|
+
interface Props$3 {
|
|
1744
1762
|
open: boolean;
|
|
1745
1763
|
initData?: DashboardSharingLike;
|
|
1746
1764
|
onUnshare?: () => void;
|
|
@@ -1750,7 +1768,38 @@ interface Props {
|
|
|
1750
1768
|
endTime?: DateTimeValue;
|
|
1751
1769
|
tz?: string;
|
|
1752
1770
|
}
|
|
1753
|
-
declare const ShareDashboardDialog: ({ open, initData, onUnshare, onClose, onConfigChange, startTime, endTime, tz }: Props) => react_jsx_runtime.JSX.Element;
|
|
1771
|
+
declare const ShareDashboardDialog: ({ open, initData, onUnshare, onClose, onConfigChange, startTime, endTime, tz }: Props$3) => react_jsx_runtime.JSX.Element;
|
|
1772
|
+
|
|
1773
|
+
interface Props$2 {
|
|
1774
|
+
config?: TimeRangeOverrideLike;
|
|
1775
|
+
onChange: (config: TimeRangeOverrideLike) => void;
|
|
1776
|
+
globalStartTime?: DateTimeValue;
|
|
1777
|
+
globalEndTime?: DateTimeValue;
|
|
1778
|
+
globalTz?: string;
|
|
1779
|
+
onSetGlobalTimeRange: (start?: DateTimeValue, end?: DateTimeValue, tz?: string) => void;
|
|
1780
|
+
}
|
|
1781
|
+
declare const defaultConfig$1: TimeRangeOverrideLike;
|
|
1782
|
+
declare function TimeRangeOverride({ config, onChange, globalStartTime, globalEndTime, globalTz, onSetGlobalTimeRange }: Props$2): react_jsx_runtime.JSX.Element;
|
|
1783
|
+
|
|
1784
|
+
interface Props$1 {
|
|
1785
|
+
config?: ChartConfigLike;
|
|
1786
|
+
chartType?: ChartTypeLike;
|
|
1787
|
+
setSeriesConfig: (seriesConfig: SeriesConfigLike) => void;
|
|
1788
|
+
series: string[];
|
|
1789
|
+
enabled?: boolean;
|
|
1790
|
+
}
|
|
1791
|
+
declare const SeriesControls: ({ config, setSeriesConfig, series, enabled }: Props$1) => react_jsx_runtime.JSX.Element | null;
|
|
1792
|
+
|
|
1793
|
+
interface Props {
|
|
1794
|
+
config?: QueryValueConfigLike;
|
|
1795
|
+
defaultOpen?: boolean;
|
|
1796
|
+
onChange: (config: QueryValueConfigLike) => void;
|
|
1797
|
+
renderColorSelect: (value: ColorThemeLike | undefined, onChange: (picked: {
|
|
1798
|
+
value?: ColorThemeLike;
|
|
1799
|
+
}) => void) => ReactNode;
|
|
1800
|
+
}
|
|
1801
|
+
declare const defaultConfig: QueryValueConfigLike;
|
|
1802
|
+
declare function QueryValueControls({ config, defaultOpen, onChange, renderColorSelect }: Props): react_jsx_runtime.JSX.Element;
|
|
1754
1803
|
|
|
1755
1804
|
type HighlightColorKey = '' | 'blue' | 'cyan' | 'pink' | 'yellow' | 'green' | 'lightblue' | 'purple' | 'red' | 'orange';
|
|
1756
1805
|
interface HighlightColorMeta {
|
|
@@ -1767,4 +1816,4 @@ interface ResolvedHighlight {
|
|
|
1767
1816
|
declare function resolveHighlight(colorKey: string | undefined, isDark: boolean): ResolvedHighlight;
|
|
1768
1817
|
declare function resolveHeaderStyle(style: GroupStyleLike | undefined, colorKey: string | undefined, isDark: boolean): React.CSSProperties;
|
|
1769
1818
|
|
|
1770
|
-
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 ComputeStatsLike, DEFAULT_HIGHLIGHT_KEY, type DashboardExtraLike, type DashboardLike, DashboardRefresh, type DashboardSharingLike, type DashboardVisibilityLike, DataControls, type DataSourceTypeLike, type EChartsHandle, type EChartsOption, EditDashboardDialog, EditGroupDialog, EventsFunctionCategories, EventsFunctionMap, type FunctionDef, FunctionInput, FunctionMap, FunctionsCategories, FunctionsPanel, type GroupLike, type GroupStyleLike, HIGHLIGHT_COLORS, type HighlightColorKey, type HighlightColorMeta, LabelControls, LabelSearchProvider, LabelsInput, type LayoutItemLike, type LayoutsLike, LineControls, SvgIcon$7 as LineIcon, type MarkArea, type MarkLine, 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 ResolvedHighlight, type ResponsiveLayoutsLike, ScatterChartTooltip, ScatterControls, SvgIcon$1 as ScatterIcon, ShareDashboardDialog, type SharingConfigLike, SystemLabels, TableControls, SvgIcon as TableIcon, type TemplateVariableLike, type TemplateViewLike, TimeSeriesChart, type TimeSeriesChartProps, ValueControls, type ValueFormatter, ValueFormatters, ValueOptions, ValueStringMapping, type ViewActionContext, XAxisControls, type YAxisConfigLike, YaxisControls, defaultConfig$
|
|
1819
|
+
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 ComputeStatsLike, DEFAULT_HIGHLIGHT_KEY, type DashboardExtraLike, type DashboardLike, DashboardRefresh, type DashboardSharingLike, type DashboardVisibilityLike, DataControls, type DataSourceTypeLike, type EChartsHandle, type EChartsOption, EditDashboardDialog, EditGroupDialog, EventsFunctionCategories, EventsFunctionMap, type FunctionDef, FunctionInput, FunctionMap, FunctionsCategories, FunctionsPanel, type GroupLike, type GroupStyleLike, HIGHLIGHT_COLORS, type HighlightColorKey, type HighlightColorMeta, LabelControls, LabelSearchProvider, LabelsInput, type LayoutItemLike, type LayoutsLike, LineControls, SvgIcon$7 as LineIcon, type MarkArea, type MarkLine, 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, type QueryValueConfigLike, QueryValueControls, SvgIcon$2 as QueryValueIcon, ReactEChartsBase, type ReactEChartsProps, RefreshButton, RefreshContext, type ResolvedHighlight, type ResponsiveLayoutsLike, ScatterChartTooltip, ScatterControls, SvgIcon$1 as ScatterIcon, type SeriesConfigLike, SeriesControls, ShareDashboardDialog, type SharingConfigLike, SystemLabels, TableControls, SvgIcon as TableIcon, type TemplateVariableLike, type TemplateViewLike, type TimeLike, type TimeRangeLike, TimeRangeOverride, type TimeRangeOverrideLike, TimeSeriesChart, type TimeSeriesChartProps, ValueControls, type ValueFormatter, ValueFormatters, ValueOptions, ValueStringMapping, type ViewActionContext, XAxisControls, type YAxisConfigLike, YaxisControls, defaultConfig$7 as defaultBarGaugeConfig, defaultConfig$4 as defaultDataConfig, defaultConfig$8 as defaultPieConfig, defaultConfig as defaultQueryValueConfig, defaultConfig$3 as defaultScatterConfig, defaultConfig$2 as defaultTableConfig, defaultConfig$1 as defaultTimeRangeOverrideConfig, defaultConfig$6 as defaultValueConfig, defaultConfig$5 as defaultValueControlsConfig, getDefaultValueConfig, getHighlightHex, isAggrOrRollupFunction, resolveHeaderStyle, resolveHighlight, sentioColors, sentioTheme, sentioThemeDark, sortMetricByName, useLabelSearch, useLabelSearchContext };
|