@sentio/ui-dashboard 0.1.2 → 0.2.1

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
@@ -1,6 +1,10 @@
1
+ import { DurationLike, ButtonProps } from '@sentio/ui-core';
1
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { DurationLike } from '@sentio/ui-core';
3
- import { ReactNode } from 'react';
3
+ import * as React from 'react';
4
+ import React__default, { ReactNode, CSSProperties } from 'react';
5
+ import { ComposeOption, SetOptionOpts, ECharts } from 'echarts/core';
6
+ import { BarSeriesOption, LineSeriesOption, SankeySeriesOption } from 'echarts/charts';
7
+ import { TitleComponentOption, GridComponentOption } from 'echarts/components';
4
8
 
5
9
  /** Dashboard chart type. */
6
10
  type ChartTypeLike = 'LINE' | 'AREA' | 'BAR' | 'BAR_GAUGE' | 'TABLE' | 'QUERY_VALUE' | 'PIE' | 'NOTE' | 'SCATTER' | 'GROUP';
@@ -16,6 +20,22 @@ type NoteFontSizeLike = 'MD' | 'SM' | 'LG' | 'XL' | 'XXL';
16
20
  type NoteAlignmentLike = 'LEFT' | 'CENTER' | 'RIGHT';
17
21
  /** Note panel vertical alignment. */
18
22
  type NoteVerticalAlignmentLike = 'TOP' | 'MIDDLE' | 'BOTTOM';
23
+ /** Series/value aggregation calculation. */
24
+ type CalculationLike = 'LAST' | 'FIRST' | 'MEAN' | 'TOTAL' | 'ALL' | 'MIN' | 'MAX';
25
+ /** Bar-gauge layout direction. */
26
+ type DirectionLike = 'HORIZONTAL' | 'VERTICAL';
27
+ /** Mark type for chart markers. */
28
+ type MarkerTypeLike = 'LINE' | 'AREA' | 'LINEX';
29
+ /** Sort key for axis/bar ordering. */
30
+ type SortByLike = 'ByName' | 'ByValue';
31
+ /** Value formatter family. */
32
+ type ValueFormatterLike = 'NumberFormatter' | 'DateFormatter' | 'StringFormatter';
33
+ /** Number value display style. */
34
+ type ValueStyleLike = 'Standard' | 'Compact' | 'Scientific' | 'Percent' | 'Currency' | 'None';
35
+ /** Pie vs donut. */
36
+ type PieTypeLike = 'Pie' | 'Donut';
37
+ /** Line style. */
38
+ type LineStyleLike = 'Solid' | 'Dotted';
19
39
 
20
40
  /** One panel's box in the grid. */
21
41
  interface LayoutItemLike {
@@ -104,6 +124,11 @@ interface DashboardLike {
104
124
  sharing?: unknown;
105
125
  }
106
126
 
127
+ /** Sort key + direction (x-axis, bar-gauge). */
128
+ interface SortLike {
129
+ sortBy?: SortByLike;
130
+ orderDesc?: boolean;
131
+ }
107
132
  /** Y-axis configuration. */
108
133
  interface YAxisConfigLike {
109
134
  min?: string;
@@ -113,9 +138,162 @@ interface YAxisConfigLike {
113
138
  column?: string;
114
139
  name?: string;
115
140
  }
116
- /** Minimal subset of a chart's config. Extended alongside chart components. */
141
+ /** X-axis configuration. */
142
+ interface XAxisConfigLike {
143
+ type?: string;
144
+ min?: string;
145
+ max?: string;
146
+ scale?: boolean;
147
+ name?: string;
148
+ column?: string;
149
+ sort?: SortLike;
150
+ format?: string;
151
+ }
152
+ /** Text/background color overrides for value + mapping rules. */
153
+ interface ColorThemeLike {
154
+ textColor?: string;
155
+ backgroundColor?: string;
156
+ themeType?: string;
157
+ }
158
+ /** A value→text/color mapping rule. */
159
+ interface MappingRuleLike {
160
+ comparison?: string;
161
+ value?: number | 'NaN' | 'Infinity' | '-Infinity';
162
+ text?: string;
163
+ colorTheme?: ColorThemeLike;
164
+ }
165
+ /** Number/string/date value formatting. */
166
+ interface ValueConfigLike {
167
+ valueFormatter?: ValueFormatterLike;
168
+ showValueLabel?: boolean;
169
+ maxSignificantDigits?: number;
170
+ dateFormat?: string;
171
+ mappingRules?: MappingRuleLike[];
172
+ style?: ValueStyleLike;
173
+ maxFractionDigits?: number;
174
+ precision?: number;
175
+ currencySymbol?: string;
176
+ tooltipTotal?: boolean;
177
+ prefix?: string;
178
+ suffix?: string;
179
+ }
180
+ /** Line chart style. */
181
+ interface LineConfigLike {
182
+ style?: LineStyleLike;
183
+ smooth?: boolean;
184
+ }
185
+ /** Pie/donut config. */
186
+ interface PieConfigLike {
187
+ pieType?: PieTypeLike;
188
+ showPercent?: boolean;
189
+ showValue?: boolean;
190
+ calculation?: CalculationLike;
191
+ absValue?: boolean;
192
+ }
193
+ /** Bar-gauge config. */
194
+ interface BarGaugeConfigLike {
195
+ direction?: DirectionLike;
196
+ calculation?: CalculationLike;
197
+ sort?: SortLike;
198
+ }
199
+ /** Query-value (single big number) config. */
200
+ interface QueryValueConfigLike {
201
+ colorTheme?: ColorThemeLike;
202
+ showBackgroundChart?: boolean;
203
+ calculation?: CalculationLike;
204
+ seriesCalculation?: CalculationLike;
205
+ }
206
+ /** Per-column label config (event/log tables). */
207
+ interface LabelConfigColumnLike {
208
+ name?: string;
209
+ showLabel?: boolean;
210
+ showValue?: boolean;
211
+ }
212
+ /** Series label config. */
213
+ interface LabelConfigLike {
214
+ columns?: LabelConfigColumnLike[];
215
+ alias?: string;
216
+ }
217
+ /** Scatter chart config. */
218
+ interface ScatterConfigLike {
219
+ symbolSize?: string;
220
+ color?: string;
221
+ minSize?: number;
222
+ maxSize?: number;
223
+ }
224
+ /** A mark line/area on a chart. */
225
+ interface MarkerLike {
226
+ type?: MarkerTypeLike;
227
+ value?: number | 'NaN' | 'Infinity' | '-Infinity';
228
+ color?: string;
229
+ label?: string;
230
+ valueX?: string;
231
+ }
232
+ /** Series count limit. */
233
+ interface DataConfigLike {
234
+ seriesLimit?: number;
235
+ }
236
+ /** Per-series override (currently just chart type). */
237
+ interface SeriesConfigSeriesLike {
238
+ type?: ChartTypeLike;
239
+ }
240
+ /** Per-series config keyed by series id. */
241
+ interface SeriesConfigLike {
242
+ series?: {
243
+ [key: string]: SeriesConfigSeriesLike;
244
+ };
245
+ }
246
+ /** Table column sort entry. */
247
+ interface ColumnSortLike {
248
+ column?: string;
249
+ orderDesc?: boolean;
250
+ }
251
+ /** Table chart config. */
252
+ interface TableConfigLike {
253
+ calculation?: CalculationLike;
254
+ showColumns?: {
255
+ [key: string]: boolean;
256
+ };
257
+ sortColumns?: ColumnSortLike[];
258
+ columnOrders?: string[];
259
+ columnWidths?: {
260
+ [key: string]: number;
261
+ };
262
+ showPlainData?: boolean;
263
+ calculations?: {
264
+ [key: string]: CalculationLike;
265
+ };
266
+ valueConfigs?: {
267
+ [key: string]: ValueConfigLike;
268
+ };
269
+ rowLimit?: number;
270
+ }
271
+ /** Compare-to-previous-period offset. */
272
+ interface CompareTimeLike {
273
+ ago?: DurationLike;
274
+ }
275
+ /** Per-chart time-range override. `timeRange` payload kept opaque. */
276
+ interface TimeRangeOverrideLike {
277
+ enabled?: boolean;
278
+ timeRange?: unknown;
279
+ compareTime?: CompareTimeLike;
280
+ }
281
+ /** A chart's full config — structural mirror of proto `ChartConfig`. */
117
282
  interface ChartConfigLike {
118
283
  yAxis?: YAxisConfigLike;
284
+ xAxis?: XAxisConfigLike;
285
+ lineConfig?: LineConfigLike;
286
+ valueConfig?: ValueConfigLike;
287
+ pieConfig?: PieConfigLike;
288
+ barGauge?: BarGaugeConfigLike;
289
+ queryValueConfig?: QueryValueConfigLike;
290
+ tableConfig?: TableConfigLike;
291
+ labelConfig?: LabelConfigLike;
292
+ scatterConfig?: ScatterConfigLike;
293
+ seriesConfig?: SeriesConfigLike;
294
+ dataConfig?: DataConfigLike;
295
+ timeRangeOverride?: TimeRangeOverrideLike;
296
+ markers?: MarkerLike[];
119
297
  }
120
298
  /** A note (text) panel's content and styling. */
121
299
  interface NoteLike {
@@ -205,12 +383,12 @@ interface MetricInfoLike {
205
383
  };
206
384
  }
207
385
 
208
- interface Props$4 {
386
+ interface Props$h {
209
387
  metric?: MetricInfoLike;
210
388
  value: QueryLike;
211
389
  onChange: (value: QueryLike) => void;
212
390
  }
213
- declare function AggregateInput({ metric, value, onChange }: Props$4): react_jsx_runtime.JSX.Element;
391
+ declare function AggregateInput({ metric, value, onChange }: Props$h): react_jsx_runtime.JSX.Element;
214
392
 
215
393
  declare enum ArgumentType {
216
394
  String = 0,
@@ -245,28 +423,28 @@ declare const EventsFunctionMap: {
245
423
  [name: string]: FunctionDef;
246
424
  };
247
425
 
248
- interface Props$3 {
426
+ interface Props$g {
249
427
  argument: ArgumentDef;
250
428
  value?: ArgumentLike;
251
429
  onChange?: (value: ArgumentLike) => void;
252
430
  className?: string;
253
431
  }
254
- declare function ArgumentInput({ className, argument, value, onChange }: Props$3): react_jsx_runtime.JSX.Element;
432
+ declare function ArgumentInput({ className, argument, value, onChange }: Props$g): react_jsx_runtime.JSX.Element;
255
433
 
256
- interface Props$2 {
434
+ interface Props$f {
257
435
  value: QueryLike;
258
436
  onChange: (value: QueryLike) => void;
259
437
  }
260
- declare function FunctionInput({ value, onChange }: Props$2): react_jsx_runtime.JSX.Element;
438
+ declare function FunctionInput({ value, onChange }: Props$f): react_jsx_runtime.JSX.Element;
261
439
 
262
- interface Props$1 {
440
+ interface Props$e {
263
441
  onClick: (func: FunctionDef) => void;
264
442
  functionCategories?: typeof FunctionsCategories;
265
443
  defaultFunc?: string;
266
444
  }
267
- declare function FunctionsPanel({ onClick, functionCategories, defaultFunc }: Props$1): react_jsx_runtime.JSX.Element;
445
+ declare function FunctionsPanel({ onClick, functionCategories, defaultFunc }: Props$e): react_jsx_runtime.JSX.Element;
268
446
 
269
- interface Props {
447
+ interface Props$d {
270
448
  metric?: MetricInfoLike;
271
449
  value: QueryLike;
272
450
  onChange: (value: QueryLike) => void;
@@ -276,7 +454,7 @@ interface Props {
276
454
  small?: boolean;
277
455
  useRegex?: boolean;
278
456
  }
279
- declare function LabelsInput({ value, metric, variables, onChange, small, useRegex }: Props): react_jsx_runtime.JSX.Element;
457
+ declare function LabelsInput({ value, metric, variables, onChange, small, useRegex }: Props$d): react_jsx_runtime.JSX.Element;
280
458
 
281
459
  declare const SystemLabels: {
282
460
  field: string;
@@ -302,4 +480,877 @@ declare function useLabelSearch(defaultQuery?: string): {
302
480
  setLabelSearchQuery: (query: string) => void;
303
481
  };
304
482
 
305
- export { AggregateInput, type ArgumentDef, ArgumentInput, ArgumentType, type ChartConfigLike, type ChartLike, type ChartTypeLike, type DashboardExtraLike, type DashboardLike, type DashboardVisibilityLike, type DataSourceTypeLike, EventsFunctionCategories, EventsFunctionMap, type FunctionDef, FunctionInput, FunctionMap, FunctionsCategories, FunctionsPanel, type GroupLike, type GroupStyleLike, LabelSearchProvider, LabelsInput, type LayoutItemLike, type LayoutsLike, type NoteAlignmentLike, type NoteFontSizeLike, type NoteLike, type NoteVerticalAlignmentLike, type OverlayGraphLike, type PanelLike, type ResponsiveLayoutsLike, SystemLabels, type TemplateVariableLike, type TemplateViewLike, type YAxisConfigLike, isAggrOrRollupFunction, sortMetricByName, useLabelSearch, useLabelSearchContext };
483
+ type EChartsOption = ComposeOption<BarSeriesOption | LineSeriesOption | TitleComponentOption | GridComponentOption | SankeySeriesOption>;
484
+ interface ReactEChartsProps {
485
+ group?: string;
486
+ option: EChartsOption;
487
+ style?: CSSProperties;
488
+ settings?: SetOptionOpts;
489
+ loading?: boolean;
490
+ theme?: 'light' | 'dark' | 'sentio';
491
+ minHeight?: number;
492
+ returnedSeries?: number;
493
+ totalSeries?: number;
494
+ onSelect?: (start: number, end: number) => void;
495
+ onZoom?: (start: number, end: number) => void;
496
+ noLegend?: boolean;
497
+ onClick?: (params: any, extraParams?: any) => void;
498
+ onInitChart?: (chart: ECharts) => void;
499
+ onSeriesEvent?: (event: 'click' | 'mouseover' | 'mouseout', params: any) => void;
500
+ }
501
+ interface EChartsHandle {
502
+ getEChart: () => ECharts | undefined;
503
+ highlightSeries: (highlighted?: SeriesFinder) => void;
504
+ getSeriesColor: (s: SeriesFinder) => string | undefined;
505
+ getFrame: () => HTMLDivElement | null;
506
+ toggleLegend: (legend: string, selected?: boolean) => void;
507
+ resize: (size: {
508
+ width?: number;
509
+ height?: number;
510
+ }) => void;
511
+ getSeries(seriesId: string): any;
512
+ }
513
+ type SeriesFinder = {
514
+ seriesId?: string;
515
+ seriesIndex?: number;
516
+ seriesName?: string;
517
+ };
518
+ declare const ReactEChartsBase: React__default.ForwardRefExoticComponent<ReactEChartsProps & React__default.RefAttributes<EChartsHandle>>;
519
+
520
+ interface Props$c {
521
+ legend: string[];
522
+ legendSelected: Record<string, boolean>;
523
+ returnedSeries?: number;
524
+ totalSeries?: number;
525
+ onRendered: (v: boolean) => void;
526
+ chartHandle?: EChartsHandle;
527
+ }
528
+ declare const ChartLegend: ({ legend, legendSelected, returnedSeries, totalSeries, onRendered, chartHandle }: Props$c) => react_jsx_runtime.JSX.Element;
529
+
530
+ declare const RefreshContext: React.Context<{
531
+ refresh?: () => void;
532
+ isRefreshing?: boolean;
533
+ }>;
534
+ declare const RefreshButton: (props: Partial<ButtonProps>) => react_jsx_runtime.JSX.Element | null;
535
+
536
+ interface Props$b {
537
+ config?: LineConfigLike;
538
+ defaultOpen?: boolean;
539
+ onChange: (config: LineConfigLike) => void;
540
+ }
541
+ declare const LineControls: ({ config, defaultOpen, onChange }: Props$b) => react_jsx_runtime.JSX.Element;
542
+
543
+ interface Props$a {
544
+ config?: LabelConfigLike;
545
+ setConfig: (value: LabelConfigLike) => void;
546
+ defaultOpen?: boolean;
547
+ }
548
+ declare const LabelControls: ({ config, setConfig, defaultOpen }: Props$a) => react_jsx_runtime.JSX.Element;
549
+
550
+ interface Props$9 {
551
+ config?: PieConfigLike;
552
+ defaultOpen?: boolean;
553
+ onChange: (config: PieConfigLike) => void;
554
+ }
555
+ declare const defaultConfig$1: PieConfigLike;
556
+ declare function PieChartControls({ config, defaultOpen, onChange }: Props$9): react_jsx_runtime.JSX.Element;
557
+
558
+ interface Props$8 {
559
+ config?: BarGaugeConfigLike;
560
+ defaultOpen?: boolean;
561
+ onChange: (config: BarGaugeConfigLike) => void;
562
+ }
563
+ declare const defaultConfig: BarGaugeConfigLike;
564
+ declare function BarGaugeControls({ config, defaultOpen, onChange }: Props$8): react_jsx_runtime.JSX.Element;
565
+
566
+ declare const sentioColors: {
567
+ light: {
568
+ classic: string[];
569
+ purple: string[];
570
+ };
571
+ dark: {
572
+ classic: string[];
573
+ purple: string[];
574
+ };
575
+ };
576
+
577
+ declare const sentioTheme: {
578
+ color: string[];
579
+ backgroundColor: string;
580
+ textStyle: {
581
+ fontSize: number;
582
+ fontFamily: string;
583
+ color: string;
584
+ };
585
+ title: {
586
+ textStyle: {
587
+ color: string;
588
+ };
589
+ subtextStyle: {
590
+ color: string;
591
+ };
592
+ };
593
+ line: {
594
+ itemStyle: {
595
+ borderWidth: number;
596
+ };
597
+ lineStyle: {
598
+ width: number;
599
+ };
600
+ symbolSize: number;
601
+ symbol: string;
602
+ smooth: boolean;
603
+ };
604
+ radar: {
605
+ itemStyle: {
606
+ borderWidth: number;
607
+ };
608
+ lineStyle: {
609
+ width: number;
610
+ };
611
+ symbolSize: number;
612
+ symbol: string;
613
+ smooth: boolean;
614
+ };
615
+ bar: {
616
+ itemStyle: {
617
+ borderWidth: number;
618
+ borderColor: string;
619
+ };
620
+ };
621
+ pie: {
622
+ itemStyle: {
623
+ borderWidth: number;
624
+ borderColor: string;
625
+ };
626
+ label: {
627
+ textBorderWidth: number;
628
+ textBorderColor: string;
629
+ };
630
+ };
631
+ scatter: {
632
+ itemStyle: {
633
+ borderWidth: number;
634
+ borderColor: string;
635
+ };
636
+ };
637
+ boxplot: {
638
+ itemStyle: {
639
+ borderWidth: number;
640
+ borderColor: string;
641
+ };
642
+ };
643
+ parallel: {
644
+ itemStyle: {
645
+ borderWidth: number;
646
+ borderColor: string;
647
+ };
648
+ };
649
+ sankey: {
650
+ itemStyle: {
651
+ borderWidth: number;
652
+ borderColor: string;
653
+ };
654
+ };
655
+ funnel: {
656
+ itemStyle: {
657
+ borderWidth: number;
658
+ borderColor: string;
659
+ };
660
+ };
661
+ gauge: {
662
+ itemStyle: {
663
+ borderWidth: number;
664
+ borderColor: string;
665
+ };
666
+ };
667
+ candlestick: {
668
+ itemStyle: {
669
+ color: string;
670
+ color0: string;
671
+ borderColor: string;
672
+ borderColor0: string;
673
+ borderWidth: number;
674
+ };
675
+ };
676
+ graph: {
677
+ itemStyle: {
678
+ borderWidth: number;
679
+ borderColor: string;
680
+ };
681
+ lineStyle: {
682
+ width: number;
683
+ color: string;
684
+ };
685
+ symbolSize: number;
686
+ symbol: string;
687
+ smooth: boolean;
688
+ color: string[];
689
+ label: {
690
+ color: string;
691
+ };
692
+ };
693
+ map: {
694
+ itemStyle: {
695
+ areaColor: string;
696
+ borderColor: string;
697
+ borderWidth: number;
698
+ };
699
+ label: {
700
+ color: string;
701
+ };
702
+ emphasis: {
703
+ itemStyle: {
704
+ areaColor: string;
705
+ borderColor: string;
706
+ borderWidth: number;
707
+ };
708
+ label: {
709
+ color: string;
710
+ };
711
+ };
712
+ };
713
+ geo: {
714
+ itemStyle: {
715
+ areaColor: string;
716
+ borderColor: string;
717
+ borderWidth: number;
718
+ };
719
+ label: {
720
+ color: string;
721
+ };
722
+ emphasis: {
723
+ itemStyle: {
724
+ areaColor: string;
725
+ borderColor: string;
726
+ borderWidth: number;
727
+ };
728
+ label: {
729
+ color: string;
730
+ };
731
+ };
732
+ };
733
+ categoryAxis: {
734
+ axisLine: {
735
+ show: boolean;
736
+ lineStyle: {
737
+ color: string;
738
+ };
739
+ };
740
+ axisTick: {
741
+ show: boolean;
742
+ lineStyle: {
743
+ color: string;
744
+ };
745
+ };
746
+ axisLabel: {
747
+ show: boolean;
748
+ color: string;
749
+ fontWeight: string;
750
+ };
751
+ splitLine: {
752
+ show: boolean;
753
+ lineStyle: {
754
+ color: string[];
755
+ };
756
+ };
757
+ splitArea: {
758
+ show: boolean;
759
+ areaStyle: {
760
+ color: string[];
761
+ };
762
+ };
763
+ };
764
+ valueAxis: {
765
+ axisLine: {
766
+ show: boolean;
767
+ lineStyle: {
768
+ color: string;
769
+ };
770
+ };
771
+ axisTick: {
772
+ show: boolean;
773
+ lineStyle: {
774
+ color: string;
775
+ };
776
+ };
777
+ axisLabel: {
778
+ show: boolean;
779
+ color: string;
780
+ fontWeight: string;
781
+ };
782
+ splitLine: {
783
+ show: boolean;
784
+ lineStyle: {
785
+ color: string;
786
+ };
787
+ };
788
+ splitArea: {
789
+ show: boolean;
790
+ areaStyle: {
791
+ color: string[];
792
+ };
793
+ };
794
+ };
795
+ logAxis: {
796
+ axisLine: {
797
+ show: boolean;
798
+ lineStyle: {
799
+ color: string;
800
+ };
801
+ };
802
+ axisTick: {
803
+ show: boolean;
804
+ lineStyle: {
805
+ color: string;
806
+ };
807
+ };
808
+ axisLabel: {
809
+ show: boolean;
810
+ color: string;
811
+ };
812
+ splitLine: {
813
+ show: boolean;
814
+ lineStyle: {
815
+ color: string;
816
+ };
817
+ };
818
+ splitArea: {
819
+ show: boolean;
820
+ areaStyle: {
821
+ color: string[];
822
+ };
823
+ };
824
+ };
825
+ timeAxis: {
826
+ axisLine: {
827
+ show: boolean;
828
+ lineStyle: {
829
+ color: string;
830
+ };
831
+ };
832
+ axisTick: {
833
+ show: boolean;
834
+ lineStyle: {
835
+ color: string;
836
+ };
837
+ };
838
+ axisLabel: {
839
+ show: boolean;
840
+ color: string;
841
+ };
842
+ splitLine: {
843
+ show: boolean;
844
+ lineStyle: {
845
+ color: string[];
846
+ };
847
+ };
848
+ splitArea: {
849
+ show: boolean;
850
+ areaStyle: {
851
+ color: string[];
852
+ };
853
+ };
854
+ };
855
+ toolbox: {
856
+ iconStyle: {
857
+ borderColor: string;
858
+ };
859
+ emphasis: {
860
+ iconStyle: {
861
+ borderColor: string;
862
+ };
863
+ };
864
+ };
865
+ legend: {
866
+ textStyle: {
867
+ color: string;
868
+ fontSize: number;
869
+ };
870
+ pageIconColor: string;
871
+ pageIconInactiveColor: string;
872
+ pageTextStyle: {
873
+ color: string;
874
+ };
875
+ };
876
+ tooltip: {
877
+ axisPointer: {
878
+ lineStyle: {
879
+ color: string;
880
+ width: number;
881
+ };
882
+ crossStyle: {
883
+ color: string;
884
+ width: number;
885
+ };
886
+ };
887
+ };
888
+ timeline: {
889
+ lineStyle: {
890
+ color: string;
891
+ width: number;
892
+ };
893
+ itemStyle: {
894
+ color: string;
895
+ borderWidth: number;
896
+ };
897
+ controlStyle: {
898
+ color: string;
899
+ borderColor: string;
900
+ borderWidth: number;
901
+ };
902
+ checkpointStyle: {
903
+ color: string;
904
+ borderColor: string;
905
+ };
906
+ label: {
907
+ color: string;
908
+ };
909
+ emphasis: {
910
+ itemStyle: {
911
+ color: string;
912
+ };
913
+ controlStyle: {
914
+ color: string;
915
+ borderColor: string;
916
+ borderWidth: number;
917
+ };
918
+ label: {
919
+ color: string;
920
+ };
921
+ };
922
+ };
923
+ visualMap: {
924
+ color: string[];
925
+ };
926
+ dataZoom: {
927
+ handleSize: string;
928
+ textStyle: {};
929
+ };
930
+ markPoint: {
931
+ label: {
932
+ color: string;
933
+ };
934
+ emphasis: {
935
+ label: {
936
+ color: string;
937
+ };
938
+ };
939
+ };
940
+ };
941
+ declare const sentioThemeDark: {
942
+ color: string[];
943
+ backgroundColor: string;
944
+ textStyle: {
945
+ fontSize: number;
946
+ fontFamily: string;
947
+ textBorderWidth: number;
948
+ textBorderColor: string;
949
+ color: string;
950
+ };
951
+ title: {
952
+ textStyle: {
953
+ color: string;
954
+ };
955
+ subtextStyle: {
956
+ color: string;
957
+ };
958
+ };
959
+ line: {
960
+ itemStyle: {
961
+ borderWidth: number;
962
+ };
963
+ lineStyle: {
964
+ width: number;
965
+ };
966
+ symbolSize: number;
967
+ symbol: string;
968
+ smooth: boolean;
969
+ };
970
+ radar: {
971
+ itemStyle: {
972
+ borderWidth: number;
973
+ };
974
+ lineStyle: {
975
+ width: number;
976
+ };
977
+ symbolSize: number;
978
+ symbol: string;
979
+ smooth: boolean;
980
+ };
981
+ bar: {
982
+ itemStyle: {
983
+ borderWidth: number;
984
+ borderColor: string;
985
+ };
986
+ };
987
+ pie: {
988
+ itemStyle: {
989
+ borderWidth: number;
990
+ borderColor: string;
991
+ };
992
+ label: {
993
+ textBorderWidth: number;
994
+ textBorderColor: string;
995
+ color: string;
996
+ };
997
+ };
998
+ scatter: {
999
+ itemStyle: {
1000
+ borderWidth: number;
1001
+ borderColor: string;
1002
+ };
1003
+ };
1004
+ boxplot: {
1005
+ itemStyle: {
1006
+ borderWidth: number;
1007
+ borderColor: string;
1008
+ };
1009
+ };
1010
+ parallel: {
1011
+ itemStyle: {
1012
+ borderWidth: number;
1013
+ borderColor: string;
1014
+ };
1015
+ };
1016
+ sankey: {
1017
+ itemStyle: {
1018
+ borderWidth: number;
1019
+ borderColor: string;
1020
+ };
1021
+ };
1022
+ funnel: {
1023
+ itemStyle: {
1024
+ borderWidth: number;
1025
+ borderColor: string;
1026
+ };
1027
+ };
1028
+ gauge: {
1029
+ itemStyle: {
1030
+ borderWidth: number;
1031
+ borderColor: string;
1032
+ };
1033
+ };
1034
+ candlestick: {
1035
+ itemStyle: {
1036
+ color: string;
1037
+ color0: string;
1038
+ borderColor: string;
1039
+ borderColor0: string;
1040
+ borderWidth: number;
1041
+ };
1042
+ };
1043
+ graph: {
1044
+ itemStyle: {
1045
+ borderWidth: number;
1046
+ borderColor: string;
1047
+ };
1048
+ lineStyle: {
1049
+ width: number;
1050
+ color: string;
1051
+ };
1052
+ symbolSize: number;
1053
+ symbol: string;
1054
+ smooth: boolean;
1055
+ color: string[];
1056
+ label: {
1057
+ color: string;
1058
+ };
1059
+ };
1060
+ map: {
1061
+ itemStyle: {
1062
+ areaColor: string;
1063
+ borderColor: string;
1064
+ borderWidth: number;
1065
+ };
1066
+ label: {
1067
+ color: string;
1068
+ };
1069
+ emphasis: {
1070
+ itemStyle: {
1071
+ areaColor: string;
1072
+ borderColor: string;
1073
+ borderWidth: number;
1074
+ };
1075
+ label: {
1076
+ color: string;
1077
+ };
1078
+ };
1079
+ };
1080
+ geo: {
1081
+ itemStyle: {
1082
+ areaColor: string;
1083
+ borderColor: string;
1084
+ borderWidth: number;
1085
+ };
1086
+ label: {
1087
+ color: string;
1088
+ };
1089
+ emphasis: {
1090
+ itemStyle: {
1091
+ areaColor: string;
1092
+ borderColor: string;
1093
+ borderWidth: number;
1094
+ };
1095
+ label: {
1096
+ color: string;
1097
+ };
1098
+ };
1099
+ };
1100
+ categoryAxis: {
1101
+ axisLine: {
1102
+ show: boolean;
1103
+ lineStyle: {
1104
+ color: string;
1105
+ };
1106
+ };
1107
+ axisTick: {
1108
+ show: boolean;
1109
+ lineStyle: {
1110
+ color: string;
1111
+ };
1112
+ };
1113
+ axisLabel: {
1114
+ show: boolean;
1115
+ color: string;
1116
+ fontWeight: string;
1117
+ };
1118
+ splitLine: {
1119
+ show: boolean;
1120
+ lineStyle: {
1121
+ color: string[];
1122
+ };
1123
+ };
1124
+ splitArea: {
1125
+ show: boolean;
1126
+ areaStyle: {
1127
+ color: string[];
1128
+ };
1129
+ };
1130
+ };
1131
+ valueAxis: {
1132
+ axisLine: {
1133
+ show: boolean;
1134
+ lineStyle: {
1135
+ color: string;
1136
+ };
1137
+ };
1138
+ axisTick: {
1139
+ show: boolean;
1140
+ lineStyle: {
1141
+ color: string;
1142
+ };
1143
+ };
1144
+ axisLabel: {
1145
+ show: boolean;
1146
+ color: string;
1147
+ };
1148
+ splitLine: {
1149
+ show: boolean;
1150
+ lineStyle: {
1151
+ color: string;
1152
+ width: number;
1153
+ opacity: number;
1154
+ };
1155
+ };
1156
+ splitArea: {
1157
+ show: boolean;
1158
+ areaStyle: {
1159
+ color: string[];
1160
+ };
1161
+ };
1162
+ };
1163
+ logAxis: {
1164
+ axisLine: {
1165
+ show: boolean;
1166
+ lineStyle: {
1167
+ color: string;
1168
+ };
1169
+ };
1170
+ axisTick: {
1171
+ show: boolean;
1172
+ lineStyle: {
1173
+ color: string;
1174
+ };
1175
+ };
1176
+ axisLabel: {
1177
+ show: boolean;
1178
+ color: string;
1179
+ fontWeight: string;
1180
+ };
1181
+ splitLine: {
1182
+ show: boolean;
1183
+ lineStyle: {
1184
+ color: string[];
1185
+ width: number;
1186
+ opacity: number;
1187
+ };
1188
+ };
1189
+ splitArea: {
1190
+ show: boolean;
1191
+ areaStyle: {
1192
+ color: string[];
1193
+ };
1194
+ };
1195
+ };
1196
+ timeAxis: {
1197
+ axisLine: {
1198
+ show: boolean;
1199
+ lineStyle: {
1200
+ color: string;
1201
+ };
1202
+ };
1203
+ axisTick: {
1204
+ show: boolean;
1205
+ lineStyle: {
1206
+ color: string;
1207
+ };
1208
+ };
1209
+ axisLabel: {
1210
+ show: boolean;
1211
+ color: string;
1212
+ };
1213
+ splitLine: {
1214
+ show: boolean;
1215
+ lineStyle: {
1216
+ color: string[];
1217
+ };
1218
+ };
1219
+ splitArea: {
1220
+ show: boolean;
1221
+ areaStyle: {
1222
+ color: string[];
1223
+ };
1224
+ };
1225
+ };
1226
+ toolbox: {
1227
+ iconStyle: {
1228
+ borderColor: string;
1229
+ };
1230
+ emphasis: {
1231
+ iconStyle: {
1232
+ borderColor: string;
1233
+ };
1234
+ };
1235
+ };
1236
+ legend: {
1237
+ textStyle: {
1238
+ color: string;
1239
+ };
1240
+ pageIconColor: string;
1241
+ pageIconInactiveColor: string;
1242
+ pageTextStyle: {
1243
+ color: string;
1244
+ };
1245
+ };
1246
+ tooltip: {
1247
+ axisPointer: {
1248
+ lineStyle: {
1249
+ color: string;
1250
+ width: number;
1251
+ };
1252
+ crossStyle: {
1253
+ color: string;
1254
+ width: number;
1255
+ };
1256
+ };
1257
+ backgroundColor: string;
1258
+ textStyle: {
1259
+ color: string;
1260
+ };
1261
+ };
1262
+ timeline: {
1263
+ lineStyle: {
1264
+ color: string;
1265
+ width: number;
1266
+ };
1267
+ itemStyle: {
1268
+ color: string;
1269
+ borderWidth: number;
1270
+ };
1271
+ controlStyle: {
1272
+ color: string;
1273
+ borderColor: string;
1274
+ borderWidth: number;
1275
+ };
1276
+ checkpointStyle: {
1277
+ color: string;
1278
+ borderColor: string;
1279
+ };
1280
+ label: {
1281
+ color: string;
1282
+ };
1283
+ emphasis: {
1284
+ itemStyle: {
1285
+ color: string;
1286
+ };
1287
+ controlStyle: {
1288
+ color: string;
1289
+ borderColor: string;
1290
+ borderWidth: number;
1291
+ };
1292
+ label: {
1293
+ color: string;
1294
+ };
1295
+ };
1296
+ };
1297
+ visualMap: {
1298
+ color: string[];
1299
+ };
1300
+ dataZoom: {
1301
+ handleSize: string;
1302
+ textStyle: {};
1303
+ };
1304
+ markPoint: {
1305
+ label: {
1306
+ color: string;
1307
+ };
1308
+ emphasis: {
1309
+ label: {
1310
+ color: string;
1311
+ };
1312
+ };
1313
+ };
1314
+ };
1315
+
1316
+ interface Props$7 {
1317
+ className?: string;
1318
+ }
1319
+ declare const SvgIcon$7: ({ className }: Props$7) => react_jsx_runtime.JSX.Element;
1320
+
1321
+ interface Props$6 {
1322
+ className?: string;
1323
+ }
1324
+ declare const SvgIcon$6: ({ className }: Props$6) => react_jsx_runtime.JSX.Element;
1325
+
1326
+ interface Props$5 {
1327
+ className?: string;
1328
+ }
1329
+ declare const SvgIcon$5: ({ className }: Props$5) => react_jsx_runtime.JSX.Element;
1330
+
1331
+ interface Props$4 {
1332
+ className?: string;
1333
+ }
1334
+ declare const SvgIcon$4: ({ className }: Props$4) => react_jsx_runtime.JSX.Element;
1335
+
1336
+ interface Props$3 {
1337
+ className?: string;
1338
+ }
1339
+ declare const SvgIcon$3: ({ className }: Props$3) => react_jsx_runtime.JSX.Element;
1340
+
1341
+ interface Props$2 {
1342
+ className?: string;
1343
+ }
1344
+ declare const SvgIcon$2: ({ className }: Props$2) => react_jsx_runtime.JSX.Element;
1345
+
1346
+ interface Props$1 {
1347
+ className?: string;
1348
+ }
1349
+ declare const SvgIcon$1: ({ className }: Props$1) => react_jsx_runtime.JSX.Element;
1350
+
1351
+ interface Props {
1352
+ className?: string;
1353
+ }
1354
+ declare const SvgIcon: ({ className }: Props) => react_jsx_runtime.JSX.Element;
1355
+
1356
+ export { AggregateInput, SvgIcon$6 as AreaIcon, type ArgumentDef, ArgumentInput, ArgumentType, BarGaugeControls, SvgIcon$4 as BarGuageIcon, SvgIcon$5 as BarIcon, type ChartConfigLike, ChartLegend, type ChartLike, 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, PieChartControls, SvgIcon$3 as PieIcon, SvgIcon$2 as QueryValueIcon, ReactEChartsBase, type ReactEChartsProps, RefreshButton, RefreshContext, type ResponsiveLayoutsLike, SvgIcon$1 as ScatterIcon, SystemLabels, SvgIcon as TableIcon, type TemplateVariableLike, type TemplateViewLike, type YAxisConfigLike, defaultConfig as defaultBarGaugeConfig, defaultConfig$1 as defaultPieConfig, isAggrOrRollupFunction, sentioColors, sentioTheme, sentioThemeDark, sortMetricByName, useLabelSearch, useLabelSearchContext };