@devtable/dashboard 10.59.0 → 10.60.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/components/panel/panel-render/full-screen-render/use-panel-full-screen.d.ts +41 -8
- package/dist/components/panel/settings/common/aggregation-selector.d.ts +1 -1
- package/dist/components/panel/settings/common/numbro-format-selector.d.ts +3 -9
- package/dist/components/plugins/controls/color-mapping-editor/index.d.ts +2 -2
- package/dist/components/plugins/plugin-context.d.ts +41 -8
- package/dist/components/plugins/viz-components/boxplot-chart/editors/reference-lines/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/boxplot-chart/option/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/boxplot-chart/option/reference-line.d.ts +1 -1
- package/dist/components/plugins/viz-components/boxplot-chart/option/tooltip/additional-metrics.d.ts +1 -1
- package/dist/components/plugins/viz-components/boxplot-chart/type.d.ts +2 -2
- package/dist/components/plugins/viz-components/calendar-heatmap/option/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/calendar-heatmap/type.d.ts +2 -2
- package/dist/components/plugins/viz-components/cartesian/editors/reference-areas/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/cartesian/editors/reference-lines/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/cartesian/migrators/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/cartesian/option/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/cartesian/option/series/data.d.ts +1 -1
- package/dist/components/plugins/viz-components/cartesian/option/series/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/cartesian/option/series/reference_lines.d.ts +1 -1
- package/dist/components/plugins/viz-components/cartesian/option/utils/variables.d.ts +1 -1
- package/dist/components/plugins/viz-components/cartesian/type.d.ts +3 -3
- package/dist/components/plugins/viz-components/heatmap/option/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/heatmap/type.d.ts +2 -2
- package/dist/components/plugins/viz-components/horizontal-bar-chart/editors/reference-lines/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/horizontal-bar-chart/option/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/horizontal-bar-chart/option/series/data.d.ts +1 -1
- package/dist/components/plugins/viz-components/horizontal-bar-chart/option/series/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/horizontal-bar-chart/option/series/reference_lines.d.ts +1 -1
- package/dist/components/plugins/viz-components/horizontal-bar-chart/option/utils/variables.d.ts +1 -1
- package/dist/components/plugins/viz-components/horizontal-bar-chart/type.d.ts +3 -3
- package/dist/components/plugins/viz-components/merico-heatmap/render/option/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/merico-heatmap/type.d.ts +2 -2
- package/dist/components/plugins/viz-components/merico-stats/editors/metrics/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/merico-stats/type.d.ts +2 -2
- package/dist/components/plugins/viz-components/pareto-chart/option/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/pareto-chart/type.d.ts +2 -2
- package/dist/components/plugins/viz-components/radar-chart/option/formatter.d.ts +2 -2
- package/dist/components/plugins/viz-components/radar-chart/type.d.ts +2 -2
- package/dist/components/plugins/viz-components/regression-chart/type.d.ts +3 -3
- package/dist/components/plugins/viz-components/rich-text/parse-rich-text-content.d.ts +1 -1
- package/dist/components/plugins/viz-components/scatter-chart/editors/reference-areas/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/scatter-chart/editors/reference-lines/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/scatter-chart/option/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/scatter-chart/option/series.d.ts +1 -1
- package/dist/components/plugins/viz-components/sunburst/option/index.d.ts +1 -1
- package/dist/components/plugins/viz-manager/components.d.ts +1 -1
- package/dist/contexts/panel-context.d.ts +82 -16
- package/dist/dashboard-editor/model/panels/panel.d.ts +19 -4
- package/dist/dashboard-editor/model/queries/index.d.ts +7 -7
- package/dist/dashboard-editor/ui/settings/content/edit-panel/variable-config/model.d.ts +6 -0
- package/dist/dashboard-editor/ui/settings/content/edit-panel/variable-config/variable-field.d.ts +1 -1
- package/dist/dashboard.es.js +4384 -4325
- package/dist/dashboard.umd.js +71 -71
- package/dist/model/meta-model/dashboard/content/panel/panel.d.ts +5 -0
- package/dist/model/meta-model/dashboard/content/panel/variable.d.ts +3 -0
- package/dist/model/render-model/dashboard/content/panels/panel.d.ts +19 -4
- package/dist/model/render-model/dashboard/content/queries/mute-query.d.ts +1 -1
- package/dist/model/render-model/dashboard/content/queries/queries.d.ts +5 -5
- package/dist/model/render-model/dashboard/content/queries/query.d.ts +1 -1
- package/dist/stats.html +1 -1
- package/dist/types/dashboard.d.ts +1 -1
- package/dist/types/plugin/index.d.ts +1 -1
- package/dist/utils/function-utils.d.ts +2 -2
- package/dist/utils/index.d.ts +15 -0
- package/dist/utils/number.d.ts +12 -0
- package/dist/utils/template/types.d.ts +2 -2
- package/package.json +1 -1
|
@@ -184,6 +184,7 @@ export declare const tokens: {
|
|
|
184
184
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
185
185
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
186
186
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
187
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
187
188
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
188
189
|
data_field: import("mobx-state-tree").ISimpleType<string>;
|
|
189
190
|
aggregation: import("mobx-state-tree").ITypeUnion<import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
@@ -336,11 +337,13 @@ export declare const tokens: {
|
|
|
336
337
|
average: boolean;
|
|
337
338
|
mantissa: number;
|
|
338
339
|
trimMantissa: boolean;
|
|
340
|
+
absolute: boolean;
|
|
339
341
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
340
342
|
output: import("mobx-state-tree").ISimpleType<"number" | "percent">;
|
|
341
343
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
342
344
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
343
345
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
346
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
344
347
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
345
348
|
data_field: string;
|
|
346
349
|
aggregation: ({
|
|
@@ -546,6 +549,7 @@ export declare const tokens: {
|
|
|
546
549
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
547
550
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
548
551
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
552
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
549
553
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
550
554
|
data_field: import("mobx-state-tree").ISimpleType<string>;
|
|
551
555
|
aggregation: import("mobx-state-tree").ITypeUnion<import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
@@ -698,11 +702,13 @@ export declare const tokens: {
|
|
|
698
702
|
average: boolean;
|
|
699
703
|
mantissa: number;
|
|
700
704
|
trimMantissa: boolean;
|
|
705
|
+
absolute: boolean;
|
|
701
706
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
702
707
|
output: import("mobx-state-tree").ISimpleType<"number" | "percent">;
|
|
703
708
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
704
709
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
705
710
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
711
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
706
712
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
707
713
|
data_field: string;
|
|
708
714
|
aggregation: ({
|
|
@@ -997,11 +1003,13 @@ export declare const tokens: {
|
|
|
997
1003
|
average: boolean;
|
|
998
1004
|
mantissa: number;
|
|
999
1005
|
trimMantissa: boolean;
|
|
1006
|
+
absolute: boolean;
|
|
1000
1007
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
1001
1008
|
output: import("mobx-state-tree").ISimpleType<"number" | "percent">;
|
|
1002
1009
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1003
1010
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
1004
1011
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1012
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1005
1013
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
1006
1014
|
data_field: string;
|
|
1007
1015
|
aggregation: ({
|
|
@@ -1217,6 +1225,7 @@ export declare const tokens: {
|
|
|
1217
1225
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1218
1226
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
1219
1227
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1228
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1220
1229
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
1221
1230
|
data_field: import("mobx-state-tree").ISimpleType<string>;
|
|
1222
1231
|
aggregation: import("mobx-state-tree").ITypeUnion<import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
@@ -1369,11 +1378,13 @@ export declare const tokens: {
|
|
|
1369
1378
|
average: boolean;
|
|
1370
1379
|
mantissa: number;
|
|
1371
1380
|
trimMantissa: boolean;
|
|
1381
|
+
absolute: boolean;
|
|
1372
1382
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
1373
1383
|
output: import("mobx-state-tree").ISimpleType<"number" | "percent">;
|
|
1374
1384
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1375
1385
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
1376
1386
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1387
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1377
1388
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
1378
1389
|
data_field: string;
|
|
1379
1390
|
aggregation: ({
|
|
@@ -1642,11 +1653,13 @@ export declare const tokens: {
|
|
|
1642
1653
|
average: boolean;
|
|
1643
1654
|
mantissa: number;
|
|
1644
1655
|
trimMantissa: boolean;
|
|
1656
|
+
absolute: boolean;
|
|
1645
1657
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
1646
1658
|
output: import("mobx-state-tree").ISimpleType<"number" | "percent">;
|
|
1647
1659
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1648
1660
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
1649
1661
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1662
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1650
1663
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
1651
1664
|
data_field: string;
|
|
1652
1665
|
aggregation: ({
|
|
@@ -1852,6 +1865,7 @@ export declare const tokens: {
|
|
|
1852
1865
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1853
1866
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
1854
1867
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1868
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1855
1869
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
1856
1870
|
data_field: import("mobx-state-tree").ISimpleType<string>;
|
|
1857
1871
|
aggregation: import("mobx-state-tree").ITypeUnion<import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
@@ -2004,11 +2018,13 @@ export declare const tokens: {
|
|
|
2004
2018
|
average: boolean;
|
|
2005
2019
|
mantissa: number;
|
|
2006
2020
|
trimMantissa: boolean;
|
|
2021
|
+
absolute: boolean;
|
|
2007
2022
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2008
2023
|
output: import("mobx-state-tree").ISimpleType<"number" | "percent">;
|
|
2009
2024
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
2010
2025
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
2011
2026
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
2027
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
2012
2028
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
2013
2029
|
data_field: string;
|
|
2014
2030
|
aggregation: ({
|
|
@@ -2235,7 +2251,7 @@ export declare const tokens: {
|
|
|
2235
2251
|
};
|
|
2236
2252
|
readonly queries: any;
|
|
2237
2253
|
readonly inUse: any;
|
|
2238
|
-
readonly dependencies: import("../../utils
|
|
2254
|
+
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
2239
2255
|
} & {
|
|
2240
2256
|
readonly datasource: any;
|
|
2241
2257
|
readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
|
|
@@ -2306,7 +2322,7 @@ export declare const tokens: {
|
|
|
2306
2322
|
};
|
|
2307
2323
|
readonly queries: any;
|
|
2308
2324
|
readonly inUse: any;
|
|
2309
|
-
readonly dependencies: import("../../utils
|
|
2325
|
+
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
2310
2326
|
} & {
|
|
2311
2327
|
readonly datasource: any;
|
|
2312
2328
|
readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
|
|
@@ -2377,7 +2393,7 @@ export declare const tokens: {
|
|
|
2377
2393
|
};
|
|
2378
2394
|
readonly queries: any;
|
|
2379
2395
|
readonly inUse: any;
|
|
2380
|
-
readonly dependencies: import("../../utils
|
|
2396
|
+
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
2381
2397
|
} & {
|
|
2382
2398
|
readonly datasource: any;
|
|
2383
2399
|
readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
|
|
@@ -2448,7 +2464,7 @@ export declare const tokens: {
|
|
|
2448
2464
|
};
|
|
2449
2465
|
readonly queries: any;
|
|
2450
2466
|
readonly inUse: any;
|
|
2451
|
-
readonly dependencies: import("../../utils
|
|
2467
|
+
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
2452
2468
|
} & {
|
|
2453
2469
|
readonly datasource: any;
|
|
2454
2470
|
readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
|
|
@@ -2599,11 +2615,13 @@ export declare const tokens: {
|
|
|
2599
2615
|
average: boolean;
|
|
2600
2616
|
mantissa: number;
|
|
2601
2617
|
trimMantissa: boolean;
|
|
2618
|
+
absolute: boolean;
|
|
2602
2619
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2603
2620
|
output: import("mobx-state-tree").ISimpleType<"number" | "percent">;
|
|
2604
2621
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
2605
2622
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
2606
2623
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
2624
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
2607
2625
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
2608
2626
|
data_field: string;
|
|
2609
2627
|
aggregation: ({
|
|
@@ -2914,6 +2932,7 @@ export declare const tokens: {
|
|
|
2914
2932
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
2915
2933
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
2916
2934
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
2935
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
2917
2936
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
2918
2937
|
data_field: import("mobx-state-tree").ISimpleType<string>;
|
|
2919
2938
|
aggregation: import("mobx-state-tree").ITypeUnion<import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
@@ -3066,11 +3085,13 @@ export declare const tokens: {
|
|
|
3066
3085
|
average: boolean;
|
|
3067
3086
|
mantissa: number;
|
|
3068
3087
|
trimMantissa: boolean;
|
|
3088
|
+
absolute: boolean;
|
|
3069
3089
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
3070
3090
|
output: import("mobx-state-tree").ISimpleType<"number" | "percent">;
|
|
3071
3091
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
3072
3092
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
3073
3093
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
3094
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
3074
3095
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
3075
3096
|
data_field: string;
|
|
3076
3097
|
aggregation: ({
|
|
@@ -3365,11 +3386,13 @@ export declare const tokens: {
|
|
|
3365
3386
|
average: boolean;
|
|
3366
3387
|
mantissa: number;
|
|
3367
3388
|
trimMantissa: boolean;
|
|
3389
|
+
absolute: boolean;
|
|
3368
3390
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
3369
3391
|
output: import("mobx-state-tree").ISimpleType<"number" | "percent">;
|
|
3370
3392
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
3371
3393
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
3372
3394
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
3395
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
3373
3396
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
3374
3397
|
data_field: string;
|
|
3375
3398
|
aggregation: ({
|
|
@@ -3585,6 +3608,7 @@ export declare const tokens: {
|
|
|
3585
3608
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
3586
3609
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
3587
3610
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
3611
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
3588
3612
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
3589
3613
|
data_field: import("mobx-state-tree").ISimpleType<string>;
|
|
3590
3614
|
aggregation: import("mobx-state-tree").ITypeUnion<import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
@@ -3737,11 +3761,13 @@ export declare const tokens: {
|
|
|
3737
3761
|
average: boolean;
|
|
3738
3762
|
mantissa: number;
|
|
3739
3763
|
trimMantissa: boolean;
|
|
3764
|
+
absolute: boolean;
|
|
3740
3765
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
3741
3766
|
output: import("mobx-state-tree").ISimpleType<"number" | "percent">;
|
|
3742
3767
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
3743
3768
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
3744
3769
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
3770
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
3745
3771
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
3746
3772
|
data_field: string;
|
|
3747
3773
|
aggregation: ({
|
|
@@ -4010,11 +4036,13 @@ export declare const tokens: {
|
|
|
4010
4036
|
average: boolean;
|
|
4011
4037
|
mantissa: number;
|
|
4012
4038
|
trimMantissa: boolean;
|
|
4039
|
+
absolute: boolean;
|
|
4013
4040
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
4014
4041
|
output: import("mobx-state-tree").ISimpleType<"number" | "percent">;
|
|
4015
4042
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
4016
4043
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
4017
4044
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
4045
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
4018
4046
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
4019
4047
|
data_field: string;
|
|
4020
4048
|
aggregation: ({
|
|
@@ -4220,6 +4248,7 @@ export declare const tokens: {
|
|
|
4220
4248
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
4221
4249
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
4222
4250
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
4251
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
4223
4252
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
4224
4253
|
data_field: import("mobx-state-tree").ISimpleType<string>;
|
|
4225
4254
|
aggregation: import("mobx-state-tree").ITypeUnion<import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
@@ -4372,11 +4401,13 @@ export declare const tokens: {
|
|
|
4372
4401
|
average: boolean;
|
|
4373
4402
|
mantissa: number;
|
|
4374
4403
|
trimMantissa: boolean;
|
|
4404
|
+
absolute: boolean;
|
|
4375
4405
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
4376
4406
|
output: import("mobx-state-tree").ISimpleType<"number" | "percent">;
|
|
4377
4407
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
4378
4408
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
4379
4409
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
4410
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
4380
4411
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
4381
4412
|
data_field: string;
|
|
4382
4413
|
aggregation: ({
|
|
@@ -4603,7 +4634,7 @@ export declare const tokens: {
|
|
|
4603
4634
|
};
|
|
4604
4635
|
readonly queries: any;
|
|
4605
4636
|
readonly inUse: any;
|
|
4606
|
-
readonly dependencies: import("../../utils
|
|
4637
|
+
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
4607
4638
|
} & {
|
|
4608
4639
|
readonly datasource: any;
|
|
4609
4640
|
readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
|
|
@@ -4674,7 +4705,7 @@ export declare const tokens: {
|
|
|
4674
4705
|
};
|
|
4675
4706
|
readonly queries: any;
|
|
4676
4707
|
readonly inUse: any;
|
|
4677
|
-
readonly dependencies: import("../../utils
|
|
4708
|
+
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
4678
4709
|
} & {
|
|
4679
4710
|
readonly datasource: any;
|
|
4680
4711
|
readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
|
|
@@ -4745,7 +4776,7 @@ export declare const tokens: {
|
|
|
4745
4776
|
};
|
|
4746
4777
|
readonly queries: any;
|
|
4747
4778
|
readonly inUse: any;
|
|
4748
|
-
readonly dependencies: import("../../utils
|
|
4779
|
+
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
4749
4780
|
} & {
|
|
4750
4781
|
readonly datasource: any;
|
|
4751
4782
|
readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
|
|
@@ -4816,7 +4847,7 @@ export declare const tokens: {
|
|
|
4816
4847
|
};
|
|
4817
4848
|
readonly queries: any;
|
|
4818
4849
|
readonly inUse: any;
|
|
4819
|
-
readonly dependencies: import("../../utils
|
|
4850
|
+
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
4820
4851
|
} & {
|
|
4821
4852
|
readonly datasource: any;
|
|
4822
4853
|
readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
|
|
@@ -4967,11 +4998,13 @@ export declare const tokens: {
|
|
|
4967
4998
|
average: boolean;
|
|
4968
4999
|
mantissa: number;
|
|
4969
5000
|
trimMantissa: boolean;
|
|
5001
|
+
absolute: boolean;
|
|
4970
5002
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
4971
5003
|
output: import("mobx-state-tree").ISimpleType<"number" | "percent">;
|
|
4972
5004
|
average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
4973
5005
|
mantissa: import("mobx-state-tree").ISimpleType<number>;
|
|
4974
5006
|
trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
5007
|
+
absolute: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
4975
5008
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
4976
5009
|
data_field: string;
|
|
4977
5010
|
aggregation: ({
|
package/dist/components/plugins/viz-components/boxplot-chart/editors/reference-lines/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Control, UseFormWatch } from 'react-hook-form';
|
|
2
2
|
import { IBoxplotChartConf } from '../../type';
|
|
3
|
-
import { ITemplateVariable } from '../../../../../../utils
|
|
3
|
+
import { ITemplateVariable } from '../../../../../../utils';
|
|
4
4
|
interface IReferenceLinesField {
|
|
5
5
|
control: Control<IBoxplotChartConf, $TSFixMe>;
|
|
6
6
|
watch: UseFormWatch<IBoxplotChartConf>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ITemplateVariable } from '../../../../../utils
|
|
1
|
+
import { ITemplateVariable } from '../../../../../utils';
|
|
2
2
|
import { IBoxplotReferenceLine } from '../type';
|
|
3
3
|
export declare function getReferenceLines(reference_lines: IBoxplotReferenceLine[], variables: ITemplateVariable[], data: TPanelData): {
|
|
4
4
|
name: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TNumberFormat } from '../../../../utils';
|
|
2
2
|
import { IAxisLabelOverflow } from '../../../../components/plugins/common-echarts-fields/axis-label-overflow';
|
|
3
3
|
import { IXAxisLabelFormatter } from '../cartesian/editors/x-axis/x-axis-label-formatter/types';
|
|
4
4
|
import { IEchartsTooltipMetric } from '../../../../components/plugins/common-echarts-fields/tooltip-metric';
|
|
@@ -31,7 +31,7 @@ export interface IBoxplotChartConf {
|
|
|
31
31
|
y_axis: {
|
|
32
32
|
name: string;
|
|
33
33
|
data_key: TDataKey;
|
|
34
|
-
label_formatter:
|
|
34
|
+
label_formatter: TNumberFormat;
|
|
35
35
|
};
|
|
36
36
|
tooltip: {
|
|
37
37
|
metrics: IEchartsTooltipMetric[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ITemplateVariable } from '../../../../../utils
|
|
1
|
+
import { ITemplateVariable } from '../../../../../utils';
|
|
2
2
|
import { ICalendarHeatmapConf } from '../type';
|
|
3
3
|
export declare function getOption(conf: ICalendarHeatmapConf, data: TPanelData, variables: ITemplateVariable[]): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TNumberFormat } from '../../../../utils';
|
|
2
2
|
import { TNumberOrDynamic } from '../../../../components/plugins/common-echarts-fields/number-or-dynamic-value';
|
|
3
3
|
import { IEchartsTooltipMetric } from '../../../../components/plugins/common-echarts-fields/tooltip-metric';
|
|
4
4
|
export interface ICalendarHeatmapConf {
|
|
@@ -11,7 +11,7 @@ export interface ICalendarHeatmapConf {
|
|
|
11
11
|
max: TNumberOrDynamic;
|
|
12
12
|
name: string;
|
|
13
13
|
data_key: TDataKey;
|
|
14
|
-
value_formatter:
|
|
14
|
+
value_formatter: TNumberFormat;
|
|
15
15
|
};
|
|
16
16
|
tooltip: {
|
|
17
17
|
metrics: IEchartsTooltipMetric[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Control, UseFormWatch } from 'react-hook-form';
|
|
2
2
|
import { ICartesianChartConf } from '../../type';
|
|
3
|
-
import { ITemplateVariable } from '../../../../../../utils
|
|
3
|
+
import { ITemplateVariable } from '../../../../../../utils';
|
|
4
4
|
interface IReferenceAreasField {
|
|
5
5
|
control: Control<ICartesianChartConf, $TSFixMe>;
|
|
6
6
|
watch: UseFormWatch<ICartesianChartConf>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Control, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import { ITemplateVariable } from '../../../../../../utils
|
|
2
|
+
import { ITemplateVariable } from '../../../../../../utils';
|
|
3
3
|
import { ICartesianChartConf } from '../../type';
|
|
4
4
|
interface IReferenceLinesField {
|
|
5
5
|
control: Control<ICartesianChartConf, $TSFixMe>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AnyObject } from '../../../../../types';
|
|
2
|
-
import { ITemplateVariable } from '../../../../../utils
|
|
2
|
+
import { ITemplateVariable } from '../../../../../utils';
|
|
3
3
|
import { ICartesianChartConf } from '../type';
|
|
4
4
|
import { IMigrationEnv } from '../../../../../components/plugins';
|
|
5
5
|
export declare function updateSchema2(legacyConf: ICartesianChartConf & {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ITemplateVariable } from '../../../../../utils
|
|
1
|
+
import { ITemplateVariable } from '../../../../../utils';
|
|
2
2
|
import { ICartesianChartConf } from '../type';
|
|
3
3
|
export declare function getOption(conf: ICartesianChartConf, data: TPanelData, variables: ITemplateVariable[]): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _ from 'lodash';
|
|
2
|
-
import { AggregationType } from '../../../../../../utils
|
|
2
|
+
import { AggregationType } from '../../../../../../utils';
|
|
3
3
|
import { DataTemplateType } from './types';
|
|
4
4
|
interface IMakeOneSeriesData {
|
|
5
5
|
dataTemplate: DataTemplateType[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ITemplateVariable } from '../../../../../../utils
|
|
1
|
+
import { ITemplateVariable } from '../../../../../../utils';
|
|
2
2
|
import { ICartesianChartConf } from '../../type';
|
|
3
3
|
export declare function getSeries(conf: ICartesianChartConf, xAxisData: string[], data: TPanelData, labelFormatters: Record<string, $TSFixMe>, variables: ITemplateVariable[], variableValueMap: Record<string, string | number>): any[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ITemplateVariable } from '../../../../../../utils
|
|
1
|
+
import { ITemplateVariable } from '../../../../../../utils';
|
|
2
2
|
import { ICartesianChartConf, ICartesianReferenceLine } from '../../type';
|
|
3
3
|
export declare function getReferenceLines(reference_lines: ICartesianReferenceLine[], variables: ITemplateVariable[], variableValueMap: Record<string, string | number>, data: TPanelData, xAxisData: string[], xAxisType: ICartesianChartConf['x_axis']['type']): {
|
|
4
4
|
name: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ITemplateVariable } from '../../../../../../utils
|
|
1
|
+
import { ITemplateVariable } from '../../../../../../utils';
|
|
2
2
|
export declare function getVariableValueMap(data: TPanelData, variables: ITemplateVariable[]): Record<string, string | number>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TNumberFormat } from '../../../../utils';
|
|
2
2
|
import { IAxisLabelOverflow } from '../../../../components/plugins/common-echarts-fields/axis-label-overflow';
|
|
3
3
|
import { IRegressionLineConf, IRegressionTransform } from '../../../../components/plugins/common-echarts-fields/regression-line';
|
|
4
|
-
import { AggregationType } from '../../../../utils
|
|
4
|
+
import { AggregationType } from '../../../../utils';
|
|
5
5
|
import { TEchartsDataZoomConfig } from './editors/echarts-zooming-field/types';
|
|
6
6
|
import { TScatterSize } from './editors/scatter-size-select/types';
|
|
7
7
|
import { IXAxisLabelFormatter } from './editors/x-axis/x-axis-label-formatter/types';
|
|
@@ -37,7 +37,7 @@ export interface IYAxisConf {
|
|
|
37
37
|
show: boolean;
|
|
38
38
|
position: 'left' | 'right';
|
|
39
39
|
nameAlignment: 'left' | 'center' | 'right';
|
|
40
|
-
label_formatter:
|
|
40
|
+
label_formatter: TNumberFormat;
|
|
41
41
|
}
|
|
42
42
|
export interface IRegressionConf {
|
|
43
43
|
transform: IRegressionTransform;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ITemplateVariable } from '../../../../../utils
|
|
1
|
+
import { ITemplateVariable } from '../../../../../utils';
|
|
2
2
|
import { IHeatmapConf } from '../type';
|
|
3
3
|
export declare function getOption(conf: IHeatmapConf, data: TPanelData, variables: ITemplateVariable[], width: number, height: number): {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TNumberFormat } from '../../../../utils';
|
|
2
2
|
import { IAxisLabelOverflow } from '../../../../components/plugins/common-echarts-fields/axis-label-overflow';
|
|
3
3
|
import { IEchartsTooltipMetric } from '../../../../components/plugins/common-echarts-fields/tooltip-metric';
|
|
4
4
|
import { IXAxisLabelFormatter } from '../cartesian/editors/x-axis/x-axis-label-formatter/types';
|
|
@@ -28,7 +28,7 @@ export interface IHeatmapConf {
|
|
|
28
28
|
max: TNumberOrDynamic;
|
|
29
29
|
name: string;
|
|
30
30
|
data_key: TDataKey;
|
|
31
|
-
value_formatter:
|
|
31
|
+
value_formatter: TNumberFormat;
|
|
32
32
|
label: {
|
|
33
33
|
show: boolean;
|
|
34
34
|
fontSize: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Control, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import { ITemplateVariable } from '../../../../../../utils
|
|
2
|
+
import { ITemplateVariable } from '../../../../../../utils';
|
|
3
3
|
import { IHorizontalBarChartConf } from '../../type';
|
|
4
4
|
interface IReferenceLinesField {
|
|
5
5
|
control: Control<IHorizontalBarChartConf, $TSFixMe>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ITemplateVariable } from '../../../../../utils
|
|
1
|
+
import { ITemplateVariable } from '../../../../../utils';
|
|
2
2
|
import { IHorizontalBarChartConf } from '../type';
|
|
3
3
|
export declare function getOption(conf: IHorizontalBarChartConf, data: TPanelData, variables: ITemplateVariable[]): {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _ from 'lodash';
|
|
2
|
-
import { AggregationType } from '../../../../../../utils
|
|
2
|
+
import { AggregationType } from '../../../../../../utils';
|
|
3
3
|
import { DataTemplateType } from './types';
|
|
4
4
|
interface IMakeOneSeriesData {
|
|
5
5
|
dataTemplate: DataTemplateType[];
|
package/dist/components/plugins/viz-components/horizontal-bar-chart/option/series/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ITemplateVariable } from '../../../../../../utils
|
|
1
|
+
import { ITemplateVariable } from '../../../../../../utils';
|
|
2
2
|
import { IHorizontalBarChartConf } from '../../type';
|
|
3
3
|
export declare function getSeries(conf: IHorizontalBarChartConf, xAxisData: string[], valueTypedXAxis: boolean, data: TPanelData, labelFormatters: Record<string, $TSFixMe>, variables: ITemplateVariable[], variableValueMap: Record<string, string | number>): any[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ITemplateVariable } from '../../../../../../utils
|
|
1
|
+
import { ITemplateVariable } from '../../../../../../utils';
|
|
2
2
|
import { IHorizontalBarChartReferenceLine } from '../../type';
|
|
3
3
|
export declare function getReferenceLines(reference_lines: IHorizontalBarChartReferenceLine[], variables: ITemplateVariable[], variableValueMap: Record<string, string | number>, data: TPanelData): {
|
|
4
4
|
name: string;
|
package/dist/components/plugins/viz-components/horizontal-bar-chart/option/utils/variables.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ITemplateVariable } from '../../../../../../utils
|
|
1
|
+
import { ITemplateVariable } from '../../../../../../utils';
|
|
2
2
|
export declare function getVariableValueMap(data: TPanelData, variables: ITemplateVariable[]): Record<string, string | number>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TNumberFormat } from '../../../../utils';
|
|
2
2
|
import { IAxisLabelOverflow } from '../../../../components/plugins/common-echarts-fields/axis-label-overflow';
|
|
3
3
|
import { IEchartsTooltipMetric } from '../../../../components/plugins/common-echarts-fields/tooltip-metric';
|
|
4
|
-
import { AggregationType } from '../../../../utils
|
|
4
|
+
import { AggregationType } from '../../../../utils';
|
|
5
5
|
import { IXAxisLabelFormatter } from '../cartesian/editors/x-axis/x-axis-label-formatter/types';
|
|
6
6
|
export interface IHorizontalBarChartReferenceLine {
|
|
7
7
|
id: string;
|
|
@@ -42,7 +42,7 @@ export interface IHorizontalBarChartXAxis {
|
|
|
42
42
|
name: string;
|
|
43
43
|
data_key: TDataKey;
|
|
44
44
|
position: 'top' | 'bottom';
|
|
45
|
-
label_formatter:
|
|
45
|
+
label_formatter: TNumberFormat;
|
|
46
46
|
show: boolean;
|
|
47
47
|
}
|
|
48
48
|
export interface IHorizontalBarChartConf {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ITemplateVariable } from '../../../../../../utils
|
|
1
|
+
import { ITemplateVariable } from '../../../../../../utils';
|
|
2
2
|
import { TMericoHeatmapConf } from '../../type';
|
|
3
3
|
export declare function getOption(conf: TMericoHeatmapConf, data: TPanelData, variables: ITemplateVariable[]): {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TNumberFormat } from '../../../../utils';
|
|
2
2
|
import { IAxisLabelOverflow } from '../../../../components/plugins/common-echarts-fields/axis-label-overflow';
|
|
3
3
|
import { IEchartsTooltipMetric } from '../../../../components/plugins/common-echarts-fields/tooltip-metric';
|
|
4
4
|
import { IXAxisLabelFormatter } from '../cartesian/editors/x-axis/x-axis-label-formatter/types';
|
|
@@ -28,7 +28,7 @@ export type TMericoHeatmapConf = {
|
|
|
28
28
|
max: TNumberOrDynamic;
|
|
29
29
|
name: string;
|
|
30
30
|
data_key: TDataKey;
|
|
31
|
-
value_formatter:
|
|
31
|
+
value_formatter: TNumberFormat;
|
|
32
32
|
label: {
|
|
33
33
|
show: boolean;
|
|
34
34
|
fontSize: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Control, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import { ITemplateVariable } from '../../../../../../utils
|
|
2
|
+
import { ITemplateVariable } from '../../../../../../utils';
|
|
3
3
|
import { TMericoStatsConf } from '../../type';
|
|
4
4
|
interface IProps {
|
|
5
5
|
control: Control<TMericoStatsConf, $TSFixMe>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TAlignItems, TJustifyContent } from '../../../../components/panel/settings/common/css-types';
|
|
2
|
-
import {
|
|
2
|
+
import { TNumberFormat } from '../../../../utils';
|
|
3
3
|
export type TMetricPostfix = {
|
|
4
4
|
type: 'filter-option-label' | 'text';
|
|
5
5
|
value: string;
|
|
@@ -14,7 +14,7 @@ export type TMericoStatsMetric = {
|
|
|
14
14
|
value: TDataKey;
|
|
15
15
|
basis: TDataKey;
|
|
16
16
|
};
|
|
17
|
-
formatter:
|
|
17
|
+
formatter: TNumberFormat;
|
|
18
18
|
postfix: TMetricPostfix;
|
|
19
19
|
};
|
|
20
20
|
export type TMericoStatsStyle = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ITemplateVariable } from '../../../../../utils
|
|
1
|
+
import { ITemplateVariable } from '../../../../../utils';
|
|
2
2
|
import { IParetoChartConf } from '../type';
|
|
3
3
|
export declare function getOption(conf: IParetoChartConf, data: TPanelData, _variables: ITemplateVariable[]): {
|
|
4
4
|
dataZoom: ({
|