@sentio/ui-dashboard 0.3.6 → 0.3.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.css +204 -2
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +153 -74
- package/dist/index.d.ts +153 -74
- package/dist/index.js +622 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +620 -0
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -125,6 +125,18 @@ interface DashboardLike {
|
|
|
125
125
|
editPanels?: string[];
|
|
126
126
|
sharing?: unknown;
|
|
127
127
|
}
|
|
128
|
+
interface ComputeStatsLike {
|
|
129
|
+
computedAt?: string;
|
|
130
|
+
isRefreshing?: boolean;
|
|
131
|
+
}
|
|
132
|
+
interface SharingConfigLike {
|
|
133
|
+
isReadonly?: boolean;
|
|
134
|
+
hideModifiers?: boolean;
|
|
135
|
+
}
|
|
136
|
+
interface DashboardSharingLike {
|
|
137
|
+
id?: string;
|
|
138
|
+
config?: SharingConfigLike;
|
|
139
|
+
}
|
|
128
140
|
|
|
129
141
|
/** Sort key + direction (x-axis, bar-gauge). */
|
|
130
142
|
interface SortLike {
|
|
@@ -302,10 +314,28 @@ interface TableDataLike {
|
|
|
302
314
|
interface CompareTimeLike {
|
|
303
315
|
ago?: DurationLike;
|
|
304
316
|
}
|
|
305
|
-
/**
|
|
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. */
|
|
306
336
|
interface TimeRangeOverrideLike {
|
|
307
337
|
enabled?: boolean;
|
|
308
|
-
timeRange?:
|
|
338
|
+
timeRange?: TimeRangeLike;
|
|
309
339
|
compareTime?: CompareTimeLike;
|
|
310
340
|
}
|
|
311
341
|
/** A chart's full config — structural mirror of proto `ChartConfig`. */
|
|
@@ -435,12 +465,12 @@ interface SeriesLike<T = Date> {
|
|
|
435
465
|
smooth?: boolean;
|
|
436
466
|
}
|
|
437
467
|
|
|
438
|
-
interface Props$
|
|
468
|
+
interface Props$A {
|
|
439
469
|
metric?: MetricInfoLike;
|
|
440
470
|
value: QueryLike;
|
|
441
471
|
onChange: (value: QueryLike) => void;
|
|
442
472
|
}
|
|
443
|
-
declare function AggregateInput({ metric, value, onChange }: Props$
|
|
473
|
+
declare function AggregateInput({ metric, value, onChange }: Props$A): react_jsx_runtime.JSX.Element;
|
|
444
474
|
|
|
445
475
|
declare enum ArgumentType {
|
|
446
476
|
String = 0,
|
|
@@ -475,28 +505,28 @@ declare const EventsFunctionMap: {
|
|
|
475
505
|
[name: string]: FunctionDef;
|
|
476
506
|
};
|
|
477
507
|
|
|
478
|
-
interface Props$
|
|
508
|
+
interface Props$z {
|
|
479
509
|
argument: ArgumentDef;
|
|
480
510
|
value?: ArgumentLike;
|
|
481
511
|
onChange?: (value: ArgumentLike) => void;
|
|
482
512
|
className?: string;
|
|
483
513
|
}
|
|
484
|
-
declare function ArgumentInput({ className, argument, value, onChange }: Props$
|
|
514
|
+
declare function ArgumentInput({ className, argument, value, onChange }: Props$z): react_jsx_runtime.JSX.Element;
|
|
485
515
|
|
|
486
|
-
interface Props$
|
|
516
|
+
interface Props$y {
|
|
487
517
|
value: QueryLike;
|
|
488
518
|
onChange: (value: QueryLike) => void;
|
|
489
519
|
}
|
|
490
|
-
declare function FunctionInput({ value, onChange }: Props$
|
|
520
|
+
declare function FunctionInput({ value, onChange }: Props$y): react_jsx_runtime.JSX.Element;
|
|
491
521
|
|
|
492
|
-
interface Props$
|
|
522
|
+
interface Props$x {
|
|
493
523
|
onClick: (func: FunctionDef) => void;
|
|
494
524
|
functionCategories?: typeof FunctionsCategories;
|
|
495
525
|
defaultFunc?: string;
|
|
496
526
|
}
|
|
497
|
-
declare function FunctionsPanel({ onClick, functionCategories, defaultFunc }: Props$
|
|
527
|
+
declare function FunctionsPanel({ onClick, functionCategories, defaultFunc }: Props$x): react_jsx_runtime.JSX.Element;
|
|
498
528
|
|
|
499
|
-
interface Props$
|
|
529
|
+
interface Props$w {
|
|
500
530
|
metric?: MetricInfoLike;
|
|
501
531
|
value: QueryLike;
|
|
502
532
|
onChange: (value: QueryLike) => void;
|
|
@@ -506,7 +536,7 @@ interface Props$r {
|
|
|
506
536
|
small?: boolean;
|
|
507
537
|
useRegex?: boolean;
|
|
508
538
|
}
|
|
509
|
-
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;
|
|
510
540
|
|
|
511
541
|
declare const SystemLabels: {
|
|
512
542
|
field: string;
|
|
@@ -569,7 +599,7 @@ type SeriesFinder = {
|
|
|
569
599
|
};
|
|
570
600
|
declare const ReactEChartsBase: react__default.ForwardRefExoticComponent<ReactEChartsProps & react__default.RefAttributes<EChartsHandle>>;
|
|
571
601
|
|
|
572
|
-
interface Props$
|
|
602
|
+
interface Props$v {
|
|
573
603
|
legend: string[];
|
|
574
604
|
legendSelected: Record<string, boolean>;
|
|
575
605
|
returnedSeries?: number;
|
|
@@ -577,7 +607,7 @@ interface Props$q {
|
|
|
577
607
|
onRendered: (v: boolean) => void;
|
|
578
608
|
chartHandle?: EChartsHandle;
|
|
579
609
|
}
|
|
580
|
-
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;
|
|
581
611
|
|
|
582
612
|
declare const RefreshContext: react.Context<{
|
|
583
613
|
refresh?: () => void;
|
|
@@ -585,14 +615,14 @@ declare const RefreshContext: react.Context<{
|
|
|
585
615
|
}>;
|
|
586
616
|
declare const RefreshButton: (props: Partial<ButtonProps>) => react_jsx_runtime.JSX.Element | null;
|
|
587
617
|
|
|
588
|
-
type Props$
|
|
618
|
+
type Props$u = {
|
|
589
619
|
value: ChartTypeLike;
|
|
590
620
|
onChange: (value: ChartTypeLike) => void;
|
|
591
621
|
small?: boolean;
|
|
592
622
|
};
|
|
593
|
-
declare const ChartTypeButtonGroup: ({ value, onChange, small }: Props$
|
|
623
|
+
declare const ChartTypeButtonGroup: ({ value, onChange, small }: Props$u) => react_jsx_runtime.JSX.Element;
|
|
594
624
|
|
|
595
|
-
interface Props$
|
|
625
|
+
interface Props$t {
|
|
596
626
|
data: any;
|
|
597
627
|
compareTimeDuration?: DurationLike;
|
|
598
628
|
numberFormatter: (value: number, seriesId?: string) => string;
|
|
@@ -605,9 +635,9 @@ interface Props$o {
|
|
|
605
635
|
viewUsersDisabled?: (seriesId: string, seriesIndex: number) => boolean;
|
|
606
636
|
isFixed?: boolean;
|
|
607
637
|
}
|
|
608
|
-
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;
|
|
609
639
|
|
|
610
|
-
interface Props$
|
|
640
|
+
interface Props$s {
|
|
611
641
|
data: any;
|
|
612
642
|
compareTimeDuration?: DurationLike;
|
|
613
643
|
numberFormatter: (value: number) => string;
|
|
@@ -620,7 +650,7 @@ interface Props$n {
|
|
|
620
650
|
isFixed?: boolean;
|
|
621
651
|
sizeTitle?: string;
|
|
622
652
|
}
|
|
623
|
-
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;
|
|
624
654
|
|
|
625
655
|
/** Minimal shape consumed from a computed series — only name + first data point. */
|
|
626
656
|
interface PieSeriesInput {
|
|
@@ -773,42 +803,42 @@ interface TimeSeriesChartProps {
|
|
|
773
803
|
}
|
|
774
804
|
declare const TimeSeriesChart: react.ForwardRefExoticComponent<TimeSeriesChartProps & react.RefAttributes<EChartsHandle>>;
|
|
775
805
|
|
|
776
|
-
interface Props$
|
|
806
|
+
interface Props$r {
|
|
777
807
|
config?: LineConfigLike;
|
|
778
808
|
defaultOpen?: boolean;
|
|
779
809
|
onChange: (config: LineConfigLike) => void;
|
|
780
810
|
}
|
|
781
|
-
declare const LineControls: ({ config, defaultOpen, onChange }: Props$
|
|
811
|
+
declare const LineControls: ({ config, defaultOpen, onChange }: Props$r) => react_jsx_runtime.JSX.Element;
|
|
782
812
|
|
|
783
|
-
interface Props$
|
|
813
|
+
interface Props$q {
|
|
784
814
|
config?: LabelConfigLike;
|
|
785
815
|
setConfig: (value: LabelConfigLike) => void;
|
|
786
816
|
defaultOpen?: boolean;
|
|
787
817
|
}
|
|
788
|
-
declare const LabelControls: ({ config, setConfig, defaultOpen }: Props$
|
|
818
|
+
declare const LabelControls: ({ config, setConfig, defaultOpen }: Props$q) => react_jsx_runtime.JSX.Element;
|
|
789
819
|
|
|
790
|
-
interface Props$
|
|
820
|
+
interface Props$p {
|
|
791
821
|
config?: PieConfigLike;
|
|
792
822
|
defaultOpen?: boolean;
|
|
793
823
|
onChange: (config: PieConfigLike) => void;
|
|
794
824
|
}
|
|
795
|
-
declare const defaultConfig$
|
|
796
|
-
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;
|
|
797
827
|
|
|
798
|
-
interface Props$
|
|
828
|
+
interface Props$o {
|
|
799
829
|
config?: BarGaugeConfigLike;
|
|
800
830
|
defaultOpen?: boolean;
|
|
801
831
|
onChange: (config: BarGaugeConfigLike) => void;
|
|
802
832
|
}
|
|
803
|
-
declare const defaultConfig$
|
|
804
|
-
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;
|
|
805
835
|
|
|
806
836
|
interface ValueFormatter {
|
|
807
837
|
label: string;
|
|
808
838
|
value: ValueFormatterLike;
|
|
809
839
|
}
|
|
810
840
|
declare const ValueFormatters: ValueFormatter[];
|
|
811
|
-
interface Props$
|
|
841
|
+
interface Props$n {
|
|
812
842
|
config: ValueConfigLike;
|
|
813
843
|
defaultOpen?: boolean;
|
|
814
844
|
onChange: (config: ValueConfigLike) => void;
|
|
@@ -816,10 +846,10 @@ interface Props$i {
|
|
|
816
846
|
showPrefix?: boolean;
|
|
817
847
|
showSuffix?: boolean;
|
|
818
848
|
}
|
|
819
|
-
declare const defaultConfig$
|
|
820
|
-
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;
|
|
821
851
|
|
|
822
|
-
interface Props$
|
|
852
|
+
interface Props$m {
|
|
823
853
|
config?: ValueConfigLike;
|
|
824
854
|
defaultOpen?: boolean;
|
|
825
855
|
onChange: (config: ValueConfigLike) => void;
|
|
@@ -827,16 +857,16 @@ interface Props$h {
|
|
|
827
857
|
showPrefix?: boolean;
|
|
828
858
|
showSuffix?: boolean;
|
|
829
859
|
}
|
|
830
|
-
declare const defaultConfig$
|
|
831
|
-
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;
|
|
832
862
|
|
|
833
|
-
interface Props$
|
|
863
|
+
interface Props$l {
|
|
834
864
|
rules: MappingRuleLike[];
|
|
835
865
|
onChange: (rules: MappingRuleLike[]) => void;
|
|
836
866
|
}
|
|
837
|
-
declare function ValueStringMapping({ rules, onChange }: Props$
|
|
867
|
+
declare function ValueStringMapping({ rules, onChange }: Props$l): react_jsx_runtime.JSX.Element;
|
|
838
868
|
|
|
839
|
-
interface Props$
|
|
869
|
+
interface Props$k {
|
|
840
870
|
yAxis?: YAxisConfigLike;
|
|
841
871
|
setYAxis: (yAxis: YAxisConfigLike) => void;
|
|
842
872
|
defaultOpen?: boolean;
|
|
@@ -849,9 +879,9 @@ interface Props$f {
|
|
|
849
879
|
supportReset?: boolean;
|
|
850
880
|
panelTitle?: string;
|
|
851
881
|
}
|
|
852
|
-
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;
|
|
853
883
|
|
|
854
|
-
interface Props$
|
|
884
|
+
interface Props$j {
|
|
855
885
|
xAxis?: XAxisConfigLike;
|
|
856
886
|
setXAxis: (val?: XAxisConfigLike) => void;
|
|
857
887
|
defaultOpen?: boolean;
|
|
@@ -864,25 +894,25 @@ interface Props$e {
|
|
|
864
894
|
supportSort?: boolean;
|
|
865
895
|
supportSetType?: boolean;
|
|
866
896
|
}
|
|
867
|
-
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;
|
|
868
898
|
|
|
869
|
-
interface Props$
|
|
899
|
+
interface Props$i {
|
|
870
900
|
markers?: MarkerLike[];
|
|
871
901
|
onChange: (v: MarkerLike[]) => void;
|
|
872
902
|
}
|
|
873
|
-
declare function MarkerControls({ markers, onChange }: Props$
|
|
903
|
+
declare function MarkerControls({ markers, onChange }: Props$i): react_jsx_runtime.JSX.Element;
|
|
874
904
|
|
|
875
|
-
interface Props$
|
|
905
|
+
interface Props$h {
|
|
876
906
|
defaultOpen?: boolean;
|
|
877
907
|
onChange: (config: DataConfigLike) => void;
|
|
878
908
|
chartConfig?: ChartConfigLike;
|
|
879
909
|
/** Per-chart-type fallback when no explicit limit is set (app resolves from ChartTypeLimits). */
|
|
880
910
|
defaultSeriesLimit?: number;
|
|
881
911
|
}
|
|
882
|
-
declare const defaultConfig$
|
|
883
|
-
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;
|
|
884
914
|
|
|
885
|
-
interface Props$
|
|
915
|
+
interface Props$g {
|
|
886
916
|
config?: ScatterConfigLike;
|
|
887
917
|
defaultOpen?: boolean;
|
|
888
918
|
onChange: (config: ScatterConfigLike) => void;
|
|
@@ -897,18 +927,18 @@ interface Props$b {
|
|
|
897
927
|
onChange: (color?: string) => void;
|
|
898
928
|
}) => ReactNode;
|
|
899
929
|
}
|
|
900
|
-
declare const defaultConfig$
|
|
901
|
-
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;
|
|
902
932
|
|
|
903
|
-
interface Props$
|
|
933
|
+
interface Props$f {
|
|
904
934
|
config?: TableConfigLike;
|
|
905
935
|
defaultOpen?: boolean;
|
|
906
936
|
onChange: (config: TableConfigLike) => void;
|
|
907
937
|
data?: TableDataLike;
|
|
908
938
|
}
|
|
909
|
-
declare const defaultConfig: TableConfigLike;
|
|
939
|
+
declare const defaultConfig$2: TableConfigLike;
|
|
910
940
|
declare function getDefaultValueConfig(type?: ColumnTypeLike): ValueConfigLike;
|
|
911
|
-
declare function TableControls({ config, defaultOpen, onChange, data }: Props$
|
|
941
|
+
declare function TableControls({ config, defaultOpen, onChange, data }: Props$f): react_jsx_runtime.JSX.Element;
|
|
912
942
|
|
|
913
943
|
declare const sentioColors: {
|
|
914
944
|
light: {
|
|
@@ -1660,55 +1690,55 @@ declare const sentioThemeDark: {
|
|
|
1660
1690
|
};
|
|
1661
1691
|
};
|
|
1662
1692
|
|
|
1663
|
-
interface Props$
|
|
1693
|
+
interface Props$e {
|
|
1664
1694
|
className?: string;
|
|
1665
1695
|
}
|
|
1666
|
-
declare const SvgIcon$7: ({ className }: Props$
|
|
1696
|
+
declare const SvgIcon$7: ({ className }: Props$e) => react_jsx_runtime.JSX.Element;
|
|
1667
1697
|
|
|
1668
|
-
interface Props$
|
|
1698
|
+
interface Props$d {
|
|
1669
1699
|
className?: string;
|
|
1670
1700
|
}
|
|
1671
|
-
declare const SvgIcon$6: ({ className }: Props$
|
|
1701
|
+
declare const SvgIcon$6: ({ className }: Props$d) => react_jsx_runtime.JSX.Element;
|
|
1672
1702
|
|
|
1673
|
-
interface Props$
|
|
1703
|
+
interface Props$c {
|
|
1674
1704
|
className?: string;
|
|
1675
1705
|
}
|
|
1676
|
-
declare const SvgIcon$5: ({ className }: Props$
|
|
1706
|
+
declare const SvgIcon$5: ({ className }: Props$c) => react_jsx_runtime.JSX.Element;
|
|
1677
1707
|
|
|
1678
|
-
interface Props$
|
|
1708
|
+
interface Props$b {
|
|
1679
1709
|
className?: string;
|
|
1680
1710
|
}
|
|
1681
|
-
declare const SvgIcon$4: ({ className }: Props$
|
|
1711
|
+
declare const SvgIcon$4: ({ className }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
1682
1712
|
|
|
1683
|
-
interface Props$
|
|
1713
|
+
interface Props$a {
|
|
1684
1714
|
className?: string;
|
|
1685
1715
|
}
|
|
1686
|
-
declare const SvgIcon$3: ({ className }: Props$
|
|
1716
|
+
declare const SvgIcon$3: ({ className }: Props$a) => react_jsx_runtime.JSX.Element;
|
|
1687
1717
|
|
|
1688
|
-
interface Props$
|
|
1718
|
+
interface Props$9 {
|
|
1689
1719
|
className?: string;
|
|
1690
1720
|
}
|
|
1691
|
-
declare const SvgIcon$2: ({ className }: Props$
|
|
1721
|
+
declare const SvgIcon$2: ({ className }: Props$9) => react_jsx_runtime.JSX.Element;
|
|
1692
1722
|
|
|
1693
|
-
interface Props$
|
|
1723
|
+
interface Props$8 {
|
|
1694
1724
|
className?: string;
|
|
1695
1725
|
}
|
|
1696
|
-
declare const SvgIcon$1: ({ className }: Props$
|
|
1726
|
+
declare const SvgIcon$1: ({ className }: Props$8) => react_jsx_runtime.JSX.Element;
|
|
1697
1727
|
|
|
1698
|
-
interface Props$
|
|
1728
|
+
interface Props$7 {
|
|
1699
1729
|
className?: string;
|
|
1700
1730
|
}
|
|
1701
|
-
declare const SvgIcon: ({ className }: Props$
|
|
1731
|
+
declare const SvgIcon: ({ className }: Props$7) => react_jsx_runtime.JSX.Element;
|
|
1702
1732
|
|
|
1703
|
-
interface Props$
|
|
1733
|
+
interface Props$6 {
|
|
1704
1734
|
dashboard?: DashboardLike;
|
|
1705
1735
|
open: boolean;
|
|
1706
1736
|
onClose: () => void;
|
|
1707
1737
|
onUpdate: (data: DashboardLike) => Promise<void>;
|
|
1708
1738
|
}
|
|
1709
|
-
declare const EditDashboardDialog: ({ dashboard, open, onClose, onUpdate }: Props$
|
|
1739
|
+
declare const EditDashboardDialog: ({ dashboard, open, onClose, onUpdate }: Props$6) => react_jsx_runtime.JSX.Element;
|
|
1710
1740
|
|
|
1711
|
-
interface Props {
|
|
1741
|
+
interface Props$5 {
|
|
1712
1742
|
open: boolean;
|
|
1713
1743
|
onClose: () => void;
|
|
1714
1744
|
title: string;
|
|
@@ -1720,7 +1750,56 @@ interface Props {
|
|
|
1720
1750
|
highlightColor: string;
|
|
1721
1751
|
}) => void;
|
|
1722
1752
|
}
|
|
1723
|
-
declare function EditGroupDialog({ open, onClose, title, style, highlightColor, onSave }: Props): react_jsx_runtime.JSX.Element;
|
|
1753
|
+
declare function EditGroupDialog({ open, onClose, title, style, highlightColor, onSave }: Props$5): react_jsx_runtime.JSX.Element;
|
|
1754
|
+
|
|
1755
|
+
interface Props$4 {
|
|
1756
|
+
stats?: ComputeStatsLike;
|
|
1757
|
+
onRefresh: () => Promise<void>;
|
|
1758
|
+
}
|
|
1759
|
+
declare const DashboardRefresh: ({ stats, onRefresh }: Props$4) => react_jsx_runtime.JSX.Element;
|
|
1760
|
+
|
|
1761
|
+
interface Props$3 {
|
|
1762
|
+
open: boolean;
|
|
1763
|
+
initData?: DashboardSharingLike;
|
|
1764
|
+
onUnshare?: () => void;
|
|
1765
|
+
onClose: () => void;
|
|
1766
|
+
onConfigChange?: (config: SharingConfigLike) => void;
|
|
1767
|
+
startTime?: DateTimeValue;
|
|
1768
|
+
endTime?: DateTimeValue;
|
|
1769
|
+
tz?: string;
|
|
1770
|
+
}
|
|
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;
|
|
1724
1803
|
|
|
1725
1804
|
type HighlightColorKey = '' | 'blue' | 'cyan' | 'pink' | 'yellow' | 'green' | 'lightblue' | 'purple' | 'red' | 'orange';
|
|
1726
1805
|
interface HighlightColorMeta {
|
|
@@ -1737,4 +1816,4 @@ interface ResolvedHighlight {
|
|
|
1737
1816
|
declare function resolveHighlight(colorKey: string | undefined, isDark: boolean): ResolvedHighlight;
|
|
1738
1817
|
declare function resolveHeaderStyle(style: GroupStyleLike | undefined, colorKey: string | undefined, isDark: boolean): React.CSSProperties;
|
|
1739
1818
|
|
|
1740
|
-
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, DEFAULT_HIGHLIGHT_KEY, type DashboardExtraLike, type DashboardLike, 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, 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 };
|