@kong-ui-public/analytics-chart 13.2.9 → 13.2.10-pr.4029.2ee798d89.0
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/package.json +5 -5
- package/dist/style.css +0 -1
- package/dist/types/components/AnalyticsChart.vue.d.ts +0 -43
- package/dist/types/components/AnalyticsChart.vue.d.ts.map +0 -1
- package/dist/types/components/LoadingOverlay.vue.d.ts +0 -18
- package/dist/types/components/LoadingOverlay.vue.d.ts.map +0 -1
- package/dist/types/components/SimpleChart.vue.d.ts +0 -74
- package/dist/types/components/SimpleChart.vue.d.ts.map +0 -1
- package/dist/types/components/SparklineChart.vue.d.ts +0 -95
- package/dist/types/components/SparklineChart.vue.d.ts.map +0 -1
- package/dist/types/components/TopNTable.vue.d.ts +0 -59
- package/dist/types/components/TopNTable.vue.d.ts.map +0 -1
- package/dist/types/components/ZoomActions.vue.d.ts +0 -15
- package/dist/types/components/ZoomActions.vue.d.ts.map +0 -1
- package/dist/types/components/ZoomTimerange.vue.d.ts +0 -10
- package/dist/types/components/ZoomTimerange.vue.d.ts.map +0 -1
- package/dist/types/components/chart-plugins/ChartLegend.vue.d.ts +0 -36
- package/dist/types/components/chart-plugins/ChartLegend.vue.d.ts.map +0 -1
- package/dist/types/components/chart-plugins/ChartTooltip.vue.d.ts +0 -34
- package/dist/types/components/chart-plugins/ChartTooltip.vue.d.ts.map +0 -1
- package/dist/types/components/chart-plugins/CoordinatorPlugin.d.ts +0 -40
- package/dist/types/components/chart-plugins/CoordinatorPlugin.d.ts.map +0 -1
- package/dist/types/components/chart-plugins/DragSelectPlugin.d.ts +0 -22
- package/dist/types/components/chart-plugins/DragSelectPlugin.d.ts.map +0 -1
- package/dist/types/components/chart-plugins/HighlightPlugin.d.ts +0 -18
- package/dist/types/components/chart-plugins/HighlightPlugin.d.ts.map +0 -1
- package/dist/types/components/chart-plugins/OutlierBandPlugin.d.ts +0 -14
- package/dist/types/components/chart-plugins/OutlierBandPlugin.d.ts.map +0 -1
- package/dist/types/components/chart-plugins/ReferenceLinePlugin.d.ts +0 -12
- package/dist/types/components/chart-plugins/ReferenceLinePlugin.d.ts.map +0 -1
- package/dist/types/components/chart-plugins/ThresholdPlugin.d.ts +0 -34
- package/dist/types/components/chart-plugins/ThresholdPlugin.d.ts.map +0 -1
- package/dist/types/components/chart-plugins/VerticalLinePlugin.d.ts +0 -29
- package/dist/types/components/chart-plugins/VerticalLinePlugin.d.ts.map +0 -1
- package/dist/types/components/chart-types/DonutChart.vue.d.ts +0 -33
- package/dist/types/components/chart-types/DonutChart.vue.d.ts.map +0 -1
- package/dist/types/components/chart-types/GaugeChart.vue.d.ts +0 -92
- package/dist/types/components/chart-types/GaugeChart.vue.d.ts.map +0 -1
- package/dist/types/components/chart-types/ScatterChart.vue.d.ts +0 -42
- package/dist/types/components/chart-types/ScatterChart.vue.d.ts.map +0 -1
- package/dist/types/components/chart-types/SingleValue.vue.d.ts +0 -91
- package/dist/types/components/chart-types/SingleValue.vue.d.ts.map +0 -1
- package/dist/types/components/chart-types/StackedBarChart.vue.d.ts +0 -36
- package/dist/types/components/chart-types/StackedBarChart.vue.d.ts.map +0 -1
- package/dist/types/components/chart-types/TimeSeriesChart.vue.d.ts +0 -58
- package/dist/types/components/chart-types/TimeSeriesChart.vue.d.ts.map +0 -1
- package/dist/types/components/top-n/TopNMetricBar.vue.d.ts +0 -9
- package/dist/types/components/top-n/TopNMetricBar.vue.d.ts.map +0 -1
- package/dist/types/components/top-n/TopNMetricCell.vue.d.ts +0 -11
- package/dist/types/components/top-n/TopNMetricCell.vue.d.ts.map +0 -1
- package/dist/types/components/top-talkers/TopTalkersCell.vue.d.ts +0 -8
- package/dist/types/components/top-talkers/TopTalkersCell.vue.d.ts.map +0 -1
- package/dist/types/components/top-talkers/TopTalkersColumn.vue.d.ts +0 -14
- package/dist/types/components/top-talkers/TopTalkersColumn.vue.d.ts.map +0 -1
- package/dist/types/components/top-talkers/TopTalkersGrid.vue.d.ts +0 -42
- package/dist/types/components/top-talkers/TopTalkersGrid.vue.d.ts.map +0 -1
- package/dist/types/composables/index.d.ts +0 -37
- package/dist/types/composables/index.d.ts.map +0 -1
- package/dist/types/composables/useBarChartOptions.d.ts +0 -118
- package/dist/types/composables/useBarChartOptions.d.ts.map +0 -1
- package/dist/types/composables/useChartJSCommon.d.ts +0 -5
- package/dist/types/composables/useChartJSCommon.d.ts.map +0 -1
- package/dist/types/composables/useChartLegendValues.d.ts +0 -6
- package/dist/types/composables/useChartLegendValues.d.ts.map +0 -1
- package/dist/types/composables/useDonutChartOptions.d.ts +0 -42
- package/dist/types/composables/useDonutChartOptions.d.ts.map +0 -1
- package/dist/types/composables/useEvaluateFeatureFlag.d.ts +0 -4
- package/dist/types/composables/useEvaluateFeatureFlag.d.ts.map +0 -1
- package/dist/types/composables/useExploreResultToDatasets.d.ts +0 -5
- package/dist/types/composables/useExploreResultToDatasets.d.ts.map +0 -1
- package/dist/types/composables/useExploreResultToTimeDatasets.d.ts +0 -6
- package/dist/types/composables/useExploreResultToTimeDatasets.d.ts.map +0 -1
- package/dist/types/composables/useFieldLabel.d.ts +0 -3
- package/dist/types/composables/useFieldLabel.d.ts.map +0 -1
- package/dist/types/composables/useI18n.d.ts +0 -9
- package/dist/types/composables/useI18n.d.ts.map +0 -1
- package/dist/types/composables/useLineChartOptions.d.ts +0 -136
- package/dist/types/composables/useLineChartOptions.d.ts.map +0 -1
- package/dist/types/composables/useReportChartDataForSynthetics.d.ts +0 -9
- package/dist/types/composables/useReportChartDataForSynthetics.d.ts.map +0 -1
- package/dist/types/composables/useScatterChartOptions.d.ts +0 -132
- package/dist/types/composables/useScatterChartOptions.d.ts.map +0 -1
- package/dist/types/composables/useScatterDatasets.d.ts +0 -19
- package/dist/types/composables/useScatterDatasets.d.ts.map +0 -1
- package/dist/types/composables/useSparklineSync.d.ts +0 -30
- package/dist/types/composables/useSparklineSync.d.ts.map +0 -1
- package/dist/types/composables/useTooltipAbsolutePosition.d.ts +0 -9
- package/dist/types/composables/useTooltipAbsolutePosition.d.ts.map +0 -1
- package/dist/types/composables/useTopTalkersData.d.ts +0 -10
- package/dist/types/composables/useTopTalkersData.d.ts.map +0 -1
- package/dist/types/composables/useTranslatedUnits.d.ts +0 -4
- package/dist/types/composables/useTranslatedUnits.d.ts.map +0 -1
- package/dist/types/constants/index.d.ts +0 -8
- package/dist/types/constants/index.d.ts.map +0 -1
- package/dist/types/enums/chart-legend-position.enum.d.ts +0 -5
- package/dist/types/enums/chart-legend-position.enum.d.ts.map +0 -1
- package/dist/types/enums/index.d.ts +0 -2
- package/dist/types/enums/index.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -24
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/types/chart-data.d.ts +0 -296
- package/dist/types/types/chart-data.d.ts.map +0 -1
- package/dist/types/types/chart-meta.d.ts +0 -6
- package/dist/types/types/chart-meta.d.ts.map +0 -1
- package/dist/types/types/chart-types.d.ts +0 -6
- package/dist/types/types/chart-types.d.ts.map +0 -1
- package/dist/types/types/chartjs-options.d.ts +0 -90
- package/dist/types/types/chartjs-options.d.ts.map +0 -1
- package/dist/types/types/explore-to-dataset-deps.d.ts +0 -21
- package/dist/types/types/explore-to-dataset-deps.d.ts.map +0 -1
- package/dist/types/types/external-link.d.ts +0 -4
- package/dist/types/types/external-link.d.ts.map +0 -1
- package/dist/types/types/index.d.ts +0 -11
- package/dist/types/types/index.d.ts.map +0 -1
- package/dist/types/types/query-error.d.ts +0 -7
- package/dist/types/types/query-error.d.ts.map +0 -1
- package/dist/types/types/scatter-data.d.ts +0 -38
- package/dist/types/types/scatter-data.d.ts.map +0 -1
- package/dist/types/types/top-talkers.d.ts +0 -35
- package/dist/types/types/top-talkers.d.ts.map +0 -1
- package/dist/types/types/zoom-action-item.d.ts +0 -9
- package/dist/types/types/zoom-action-item.d.ts.map +0 -1
- package/dist/types/utils/bucketTimestamps.d.ts +0 -8
- package/dist/types/utils/bucketTimestamps.d.ts.map +0 -1
- package/dist/types/utils/commonOptions.d.ts +0 -22
- package/dist/types/utils/commonOptions.d.ts.map +0 -1
- package/dist/types/utils/constants.d.ts +0 -7
- package/dist/types/utils/constants.d.ts.map +0 -1
- package/dist/types/utils/customColors.d.ts +0 -8
- package/dist/types/utils/customColors.d.ts.map +0 -1
- package/dist/types/utils/defaultLineOptions.d.ts +0 -9
- package/dist/types/utils/defaultLineOptions.d.ts.map +0 -1
- package/dist/types/utils/dimension-icons.d.ts +0 -5
- package/dist/types/utils/dimension-icons.d.ts.map +0 -1
- package/dist/types/utils/field-label.d.ts +0 -13
- package/dist/types/utils/field-label.d.ts.map +0 -1
- package/dist/types/utils/format-timestamps.d.ts +0 -13
- package/dist/types/utils/format-timestamps.d.ts.map +0 -1
- package/dist/types/utils/i18n.d.ts +0 -3
- package/dist/types/utils/i18n.d.ts.map +0 -1
- package/dist/types/utils/index.d.ts +0 -14
- package/dist/types/utils/index.d.ts.map +0 -1
- package/dist/types/utils/metric-units.d.ts +0 -3
- package/dist/types/utils/metric-units.d.ts.map +0 -1
- package/dist/types/utils/percentiles.d.ts +0 -3
- package/dist/types/utils/percentiles.d.ts.map +0 -1
- package/dist/types/utils/queryError.d.ts +0 -4
- package/dist/types/utils/queryError.d.ts.map +0 -1
- package/dist/types/utils/scatter-adapters.d.ts +0 -25
- package/dist/types/utils/scatter-adapters.d.ts.map +0 -1
- package/dist/types/utils/stackedBarUtil.d.ts +0 -9
- package/dist/types/utils/stackedBarUtil.d.ts.map +0 -1
- package/dist/types/utils/theme-colors.d.ts +0 -8
- package/dist/types/utils/theme-colors.d.ts.map +0 -1
- package/dist/types/utils/topn-columns.d.ts +0 -31
- package/dist/types/utils/topn-columns.d.ts.map +0 -1
- package/dist/vitals-chart.es.js +0 -22811
- package/dist/vitals-chart.umd.js +0 -7
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import useI18n from './useI18n';
|
|
2
|
-
import useBarChartOptions from './useBarChartOptions';
|
|
3
|
-
import useChartJSCommon from './useChartJSCommon';
|
|
4
|
-
import useChartLegendValues from './useChartLegendValues';
|
|
5
|
-
import useDonutChartOptions from './useDonutChartOptions';
|
|
6
|
-
import useLineChartOptions from './useLineChartOptions';
|
|
7
|
-
import useScatterChartOptions from './useScatterChartOptions';
|
|
8
|
-
import useExploreResultToDatasets from './useExploreResultToDatasets';
|
|
9
|
-
import useExploreResultToTimeDataset from './useExploreResultToTimeDatasets';
|
|
10
|
-
import useScatterDatasets from './useScatterDatasets';
|
|
11
|
-
import useTranslatedUnits from './useTranslatedUnits';
|
|
12
|
-
import useEvaluateFeatureFlag from './useEvaluateFeatureFlag';
|
|
13
|
-
import useTooltipAbsolutePosition from './useTooltipAbsolutePosition';
|
|
14
|
-
import useSparklineSync from './useSparklineSync';
|
|
15
|
-
import useTopTalkersData from './useTopTalkersData';
|
|
16
|
-
import useFieldLabel from './useFieldLabel';
|
|
17
|
-
declare const _default: {
|
|
18
|
-
useBarChartOptions: typeof useBarChartOptions;
|
|
19
|
-
useChartJSCommon: typeof useChartJSCommon;
|
|
20
|
-
useChartLegendValues: typeof useChartLegendValues;
|
|
21
|
-
useExploreResultToDatasets: typeof useExploreResultToDatasets;
|
|
22
|
-
useExploreResultToTimeDataset: typeof useExploreResultToTimeDataset;
|
|
23
|
-
useScatterDatasets: typeof useScatterDatasets;
|
|
24
|
-
useDonutChartOptions: typeof useDonutChartOptions;
|
|
25
|
-
useLineChartOptions: typeof useLineChartOptions;
|
|
26
|
-
useScatterChartOptions: typeof useScatterChartOptions;
|
|
27
|
-
useI18n: typeof useI18n;
|
|
28
|
-
useFieldLabel: typeof useFieldLabel;
|
|
29
|
-
useReportChartDataForSynthetics: (chartData: Readonly<import("vue").Ref<any>>, syntheticsDataKey: Readonly<import("vue").Ref<string>>) => void;
|
|
30
|
-
useTranslatedUnits: typeof useTranslatedUnits;
|
|
31
|
-
useEvaluateFeatureFlag: typeof useEvaluateFeatureFlag;
|
|
32
|
-
useTooltipAbsolutePosition: typeof useTooltipAbsolutePosition;
|
|
33
|
-
useSparklineSync: typeof useSparklineSync;
|
|
34
|
-
useTopTalkersData: typeof useTopTalkersData;
|
|
35
|
-
};
|
|
36
|
-
export default _default;
|
|
37
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAA;AAC/B,OAAO,kBAAkB,MAAM,sBAAsB,CAAA;AACrD,OAAO,gBAAgB,MAAM,oBAAoB,CAAA;AACjD,OAAO,oBAAoB,MAAM,wBAAwB,CAAA;AACzD,OAAO,oBAAoB,MAAM,wBAAwB,CAAA;AACzD,OAAO,mBAAmB,MAAM,uBAAuB,CAAA;AACvD,OAAO,sBAAsB,MAAM,0BAA0B,CAAA;AAC7D,OAAO,0BAA0B,MAAM,8BAA8B,CAAA;AACrE,OAAO,6BAA6B,MAAM,kCAAkC,CAAA;AAC5E,OAAO,kBAAkB,MAAM,sBAAsB,CAAA;AAErD,OAAO,kBAAkB,MAAM,sBAAsB,CAAA;AACrD,OAAO,sBAAsB,MAAM,0BAA0B,CAAA;AAC7D,OAAO,0BAA0B,MAAM,8BAA8B,CAAA;AACrE,OAAO,gBAAgB,MAAM,oBAAoB,CAAA;AACjD,OAAO,iBAAiB,MAAM,qBAAqB,CAAA;AACnD,OAAO,aAAa,MAAM,iBAAiB,CAAA;;;;;;;;;;;;;;;;;;;;AAG3C,wBAkBC"}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import type { BarChartOptions, ExternalTooltipContext } from '../types';
|
|
2
|
-
import type { TooltipPositionerFunction, ChartType, TooltipItem, InteractionModeFunction, Chart } from 'chart.js';
|
|
3
|
-
export default function useBarChartOptions(chartOptions: BarChartOptions): import("vue").ComputedRef<{
|
|
4
|
-
indexAxis: "x" | "y";
|
|
5
|
-
skipNull: boolean;
|
|
6
|
-
scales: {
|
|
7
|
-
x: {
|
|
8
|
-
stacked: boolean;
|
|
9
|
-
grid: {
|
|
10
|
-
offset: boolean;
|
|
11
|
-
drawOnChartArea: boolean;
|
|
12
|
-
drawBorder: boolean;
|
|
13
|
-
drawTicks: boolean;
|
|
14
|
-
};
|
|
15
|
-
ticks: {
|
|
16
|
-
maxRotation: number;
|
|
17
|
-
autoSkip: boolean;
|
|
18
|
-
font: ({ chart, index }: {
|
|
19
|
-
chart: Chart;
|
|
20
|
-
index: number;
|
|
21
|
-
}) => {
|
|
22
|
-
size: number;
|
|
23
|
-
style: string;
|
|
24
|
-
};
|
|
25
|
-
callback: (value: string, index: number) => string;
|
|
26
|
-
};
|
|
27
|
-
title: {
|
|
28
|
-
display: boolean;
|
|
29
|
-
text: string | undefined;
|
|
30
|
-
padding: {
|
|
31
|
-
top: number;
|
|
32
|
-
bottom: number;
|
|
33
|
-
left: number;
|
|
34
|
-
right: number;
|
|
35
|
-
};
|
|
36
|
-
font: {
|
|
37
|
-
weight: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
y: {
|
|
42
|
-
stacked: boolean;
|
|
43
|
-
beginAtZero: boolean;
|
|
44
|
-
grid: {
|
|
45
|
-
offset: boolean;
|
|
46
|
-
drawOnChartArea: boolean;
|
|
47
|
-
drawBorder: boolean;
|
|
48
|
-
drawTicks: boolean;
|
|
49
|
-
};
|
|
50
|
-
ticks: {
|
|
51
|
-
padding: number;
|
|
52
|
-
font: ({ chart, index }: {
|
|
53
|
-
chart: Chart;
|
|
54
|
-
index: number;
|
|
55
|
-
}) => {
|
|
56
|
-
size: number;
|
|
57
|
-
style: string;
|
|
58
|
-
};
|
|
59
|
-
callback: (value: string, index: number) => string;
|
|
60
|
-
};
|
|
61
|
-
title: {
|
|
62
|
-
display: boolean;
|
|
63
|
-
text: string | undefined;
|
|
64
|
-
padding: {
|
|
65
|
-
bottom: number;
|
|
66
|
-
top: number;
|
|
67
|
-
left: number;
|
|
68
|
-
right: number;
|
|
69
|
-
};
|
|
70
|
-
font: {
|
|
71
|
-
weight: string;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
plugins: {
|
|
77
|
-
htmlLegend: {
|
|
78
|
-
containerID: string;
|
|
79
|
-
};
|
|
80
|
-
legend: {
|
|
81
|
-
display: boolean;
|
|
82
|
-
};
|
|
83
|
-
tooltip: {
|
|
84
|
-
external: (context: ExternalTooltipContext) => void;
|
|
85
|
-
enabled: boolean;
|
|
86
|
-
position: string;
|
|
87
|
-
callbacks: {
|
|
88
|
-
label: (context: TooltipItem<"bar">) => {
|
|
89
|
-
label: string | undefined;
|
|
90
|
-
value: string;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
interaction: {
|
|
96
|
-
mode: string;
|
|
97
|
-
intersect: boolean;
|
|
98
|
-
};
|
|
99
|
-
maxBarThickness: number;
|
|
100
|
-
maintainAspectRatio: boolean;
|
|
101
|
-
layout: {
|
|
102
|
-
padding: {
|
|
103
|
-
left: number;
|
|
104
|
-
right: number;
|
|
105
|
-
top: number;
|
|
106
|
-
bottom: number;
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
}>;
|
|
110
|
-
declare module 'chart.js' {
|
|
111
|
-
interface TooltipPositionerMap {
|
|
112
|
-
[key: string]: TooltipPositionerFunction<ChartType>;
|
|
113
|
-
}
|
|
114
|
-
interface InteractionModeMap {
|
|
115
|
-
customInteractionMode: InteractionModeFunction;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
//# sourceMappingURL=useBarChartOptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useBarChartOptions.d.ts","sourceRoot":"","sources":["../../../src/composables/useBarChartOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,sBAAsB,EAAc,MAAM,UAAU,CAAA;AAEnF,OAAO,KAAK,EACV,yBAAyB,EACzB,SAAS,EACT,WAAW,EAEX,uBAAuB,EAGvB,KAAK,EACN,MAAM,UAAU,CAAA;AAKjB,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,YAAY,EAAE,eAAe;;;;;;;;;;;;;;;yCAkE/B;oBAAE,KAAK,EAAE,KAAK,CAAC;oBAAC,KAAK,EAAE,MAAM,CAAA;iBAAE;;;;kCAuClC,MAAM,SAAS,MAAM,KAAG,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAvC3B;oBAAE,KAAK,EAAE,KAAK,CAAC;oBAAC,KAAK,EAAE,MAAM,CAAA;iBAAE;;;;kCAqElC,MAAM,SAAS,MAAM,KAAG,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;gCA4BtC,sBAAsB;;;;iCA1J7B,WAAW,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;GA0LxC;AAED,OAAO,QAAQ,UAAU,CAAC;IACxB,UAAU,oBAAoB;QAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,yBAAyB,CAAC,SAAS,CAAC,CAAA;KACpD;IACD,UAAU,kBAAkB;QAC1B,qBAAqB,EAAE,uBAAuB,CAAA;KAC/C;CACF"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import Chart from 'chart.js/auto';
|
|
2
|
-
import type { ChartType, ChartData, Plugin, ChartOptions } from 'chart.js';
|
|
3
|
-
import type { Ref } from 'vue';
|
|
4
|
-
export default function useChartJSCommon<T extends ChartType>(chartType: T, canvas: Ref<HTMLCanvasElement | null>, chartData: Readonly<Ref<ChartData>>, plugins: Plugin[], options: Ref<ChartOptions>): Ref<Chart | null | undefined>;
|
|
5
|
-
//# sourceMappingURL=useChartJSCommon.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useChartJSCommon.d.ts","sourceRoot":"","sources":["../../../src/composables/useChartJSCommon.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,eAAe,CAAA;AACjC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAC1E,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAsB9B,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,CAAC,SAAS,SAAS,EAC1D,SAAS,EAAE,CAAC,EACZ,MAAM,EAAE,GAAG,CAAC,iBAAiB,GAAG,IAAI,CAAC,EACrC,SAAS,EAAE,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,EACnC,OAAO,EAAE,MAAM,EAAE,EACjB,OAAO,EAAE,GAAG,CAAC,YAAY,CAAC,GACzB,GAAG,CAAC,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC,CAuE/B"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ChartType, KChartData, LegendValues, SimpleChartType } from '../types';
|
|
2
|
-
import type { Ref } from 'vue';
|
|
3
|
-
export default function useChartLegendValues(chartData: Readonly<Ref<KChartData>>, chartType: ChartType | SimpleChartType, metricUnit: Readonly<Ref<string>>): {
|
|
4
|
-
legendValues: import("vue").ComputedRef<LegendValues>;
|
|
5
|
-
};
|
|
6
|
-
//# sourceMappingURL=useChartLegendValues.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useChartLegendValues.d.ts","sourceRoot":"","sources":["../../../src/composables/useChartLegendValues.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsB,SAAS,EAAE,UAAU,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AACxG,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAO9B,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAC1C,SAAS,EAAE,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,EACpC,SAAS,EAAE,SAAS,GAAG,eAAe,EACtC,UAAU,EAAE,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;;EAyClC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { DonutChartOptions, ExternalTooltipContext } from '../types';
|
|
2
|
-
import type { TooltipItem, TooltipPositionerFunction, ChartType } from 'chart.js';
|
|
3
|
-
export default function useDonutChartOptions(chartOptions: DonutChartOptions): {
|
|
4
|
-
options: import("vue").ComputedRef<{
|
|
5
|
-
cutout: string;
|
|
6
|
-
responsive: boolean;
|
|
7
|
-
maintainAspectRatio: boolean;
|
|
8
|
-
plugins: {
|
|
9
|
-
htmlLegend: {
|
|
10
|
-
containerID: string;
|
|
11
|
-
};
|
|
12
|
-
legend: {
|
|
13
|
-
display: boolean;
|
|
14
|
-
};
|
|
15
|
-
tooltip: {
|
|
16
|
-
external: (context: ExternalTooltipContext) => void;
|
|
17
|
-
enabled: boolean;
|
|
18
|
-
position: string;
|
|
19
|
-
callbacks: {
|
|
20
|
-
label: (context: TooltipItem<"doughnut">) => {
|
|
21
|
-
label: string | undefined;
|
|
22
|
-
value: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
layout: {
|
|
28
|
-
padding: {
|
|
29
|
-
left: number;
|
|
30
|
-
right: number;
|
|
31
|
-
top: number;
|
|
32
|
-
bottom: number;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
};
|
|
37
|
-
declare module 'chart.js' {
|
|
38
|
-
interface TooltipPositionerMap {
|
|
39
|
-
[key: string]: TooltipPositionerFunction<ChartType>;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
//# sourceMappingURL=useDonutChartOptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDonutChartOptions.d.ts","sourceRoot":"","sources":["../../../src/composables/useDonutChartOptions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AACzE,OAAO,KAAK,EACV,WAAW,EAEX,yBAAyB,EACzB,SAAS,EACV,MAAM,UAAU,CAAA;AAMjB,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAAC,YAAY,EAAE,iBAAiB;;;;;;;;;;;;;oCAwD9C,sBAAsB;;;;qCA/C7B,WAAW,CAAC,UAAU,CAAC;;;;;;;;;;;;;;;;EAwE7C;AAED,OAAO,QAAQ,UAAU,CAAC;IACxB,UAAU,oBAAoB;QAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,yBAAyB,CAAC,SAAS,CAAC,CAAA;KACpD;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useEvaluateFeatureFlag.d.ts","sourceRoot":"","sources":["../../../src/composables/useEvaluateFeatureFlag.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,UAAU,sBAAsB;+BAIV,MAAM,gBAAgB,OAAO;EAUhE"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ExploreResultV4, InteractionCoordinator } from '@kong-ui-public/analytics-utilities';
|
|
2
|
-
import type { Ref } from 'vue';
|
|
3
|
-
import type { ExploreToDatasetDeps, KChartData } from '../types';
|
|
4
|
-
export default function useExploreResultToDatasets(deps: ExploreToDatasetDeps, exploreResult: Ref<ExploreResultV4>, uuid: string, coordinator?: InteractionCoordinator): Ref<KChartData>;
|
|
5
|
-
//# sourceMappingURL=useExploreResultToDatasets.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useExploreResultToDatasets.d.ts","sourceRoot":"","sources":["../../../src/composables/useExploreResultToDatasets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAwC,eAAe,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AACxI,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE9B,OAAO,KAAK,EAAiC,oBAAoB,EAAE,UAAU,EAAgB,MAAM,UAAU,CAAA;AAyE7G,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAChD,IAAI,EAAE,oBAAoB,EAC1B,aAAa,EAAE,GAAG,CAAC,eAAe,CAAC,EACnC,IAAI,EAAE,MAAM,EACZ,WAAW,CAAC,EAAE,sBAAsB,GACnC,GAAG,CAAC,UAAU,CAAC,CA0HjB"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { AnalyticsExploreRecord, ExploreResultV4, InteractionCoordinator } from '@kong-ui-public/analytics-utilities';
|
|
2
|
-
import type { Ref } from 'vue';
|
|
3
|
-
import type { KChartData, ExploreToDatasetDeps } from '../types';
|
|
4
|
-
export declare const createZeroFilledTimeSeries: (startMs: number, endMs: number, stepMs: number, offsetMs: number, records: AnalyticsExploreRecord[]) => number[];
|
|
5
|
-
export default function useExploreResultToTimeDataset(deps: ExploreToDatasetDeps, exploreResult: Ref<ExploreResultV4>, uuid: string, coordinator?: InteractionCoordinator): Ref<KChartData>;
|
|
6
|
-
//# sourceMappingURL=useExploreResultToTimeDatasets.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useExploreResultToTimeDatasets.d.ts","sourceRoot":"","sources":["../../../src/composables/useExploreResultToTimeDatasets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAgB,eAAe,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AAExI,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC9B,OAAO,KAAK,EAAW,UAAU,EAAE,oBAAoB,EAAgB,MAAM,UAAU,CAAA;AA0CvF,eAAO,MAAM,0BAA0B,GAAI,SAAS,MAAM,EAAE,OAAO,MAAM,EAAE,QAAQ,MAAM,EAAE,UAAU,MAAM,EAAE,SAAS,sBAAsB,EAAE,aAe7I,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,6BAA6B,CACnD,IAAI,EAAE,oBAAoB,EAC1B,aAAa,EAAE,GAAG,CAAC,eAAe,CAAC,EACnC,IAAI,EAAE,MAAM,EACZ,WAAW,CAAC,EAAE,sBAAsB,GACnC,GAAG,CAAC,UAAU,CAAC,CAsKjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useFieldLabel.d.ts","sourceRoot":"","sources":["../../../src/composables/useFieldLabel.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAGzE,MAAM,CAAC,OAAO,UAAU,aAAa,KAI3B,KAAK,MAAM,EAAE,UAAU,iBAAiB,KAAG,MAAM,CAE1D"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { createI18n, i18nTComponent } from '@kong-ui-public/i18n';
|
|
2
|
-
import english from '../locales/en.json';
|
|
3
|
-
interface UseI18nReturn {
|
|
4
|
-
i18n: ReturnType<typeof createI18n<typeof english>>;
|
|
5
|
-
i18nT: ReturnType<typeof i18nTComponent<typeof english>>;
|
|
6
|
-
}
|
|
7
|
-
export default function useI18n(): UseI18nReturn;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=useI18n.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../src/composables/useI18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,OAAO,MAAM,oBAAoB,CAAA;AAExC,UAAU,aAAa;IACrB,IAAI,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC,CAAA;IACnD,KAAK,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC,CAAA;CACzD;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,aAAa,CAO/C"}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import type { TooltipPositionerFunction, ChartType } from 'chart.js';
|
|
2
|
-
import type { ExternalTooltipContext, LineChartOptions } from '../types';
|
|
3
|
-
export default function useLineChartOptions(chartOptions: LineChartOptions): {
|
|
4
|
-
options: import("vue").ComputedRef<{
|
|
5
|
-
hover: {
|
|
6
|
-
mode: string;
|
|
7
|
-
intersect: boolean;
|
|
8
|
-
};
|
|
9
|
-
elements: {
|
|
10
|
-
point: {
|
|
11
|
-
radius: number;
|
|
12
|
-
hitRadius: number;
|
|
13
|
-
hoverRadius: number;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
animation: {
|
|
17
|
-
duration: number;
|
|
18
|
-
easing: string;
|
|
19
|
-
};
|
|
20
|
-
scales: {
|
|
21
|
-
y1?: {
|
|
22
|
-
display: string;
|
|
23
|
-
position: string;
|
|
24
|
-
title: {
|
|
25
|
-
display: boolean;
|
|
26
|
-
text: string | undefined;
|
|
27
|
-
padding: {
|
|
28
|
-
bottom: number;
|
|
29
|
-
};
|
|
30
|
-
font: {
|
|
31
|
-
weight: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
ticks: {
|
|
35
|
-
maxTicksLimit: number;
|
|
36
|
-
};
|
|
37
|
-
grid: {
|
|
38
|
-
drawBorder: boolean;
|
|
39
|
-
drawOnChartArea: boolean;
|
|
40
|
-
};
|
|
41
|
-
beginAtZero: boolean;
|
|
42
|
-
border: {
|
|
43
|
-
display: boolean;
|
|
44
|
-
};
|
|
45
|
-
stacked: boolean;
|
|
46
|
-
} | undefined;
|
|
47
|
-
x: {
|
|
48
|
-
type: string;
|
|
49
|
-
display: boolean;
|
|
50
|
-
grid: {
|
|
51
|
-
display: boolean;
|
|
52
|
-
drawOnChartArea: boolean;
|
|
53
|
-
drawTicks: boolean;
|
|
54
|
-
drawBorder: boolean;
|
|
55
|
-
};
|
|
56
|
-
ticks: {
|
|
57
|
-
padding: number;
|
|
58
|
-
autoSkipPadding: number;
|
|
59
|
-
source: string;
|
|
60
|
-
maxRotation: number;
|
|
61
|
-
callback: (value: number) => string;
|
|
62
|
-
};
|
|
63
|
-
title: {
|
|
64
|
-
display: boolean;
|
|
65
|
-
};
|
|
66
|
-
border: {
|
|
67
|
-
display: boolean;
|
|
68
|
-
};
|
|
69
|
-
stacked: boolean;
|
|
70
|
-
};
|
|
71
|
-
y: {
|
|
72
|
-
display?: string | undefined;
|
|
73
|
-
title: {
|
|
74
|
-
display: boolean;
|
|
75
|
-
text: string | undefined;
|
|
76
|
-
padding: {
|
|
77
|
-
bottom: number;
|
|
78
|
-
};
|
|
79
|
-
font: {
|
|
80
|
-
weight: string;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
ticks: {
|
|
84
|
-
maxTicksLimit: number;
|
|
85
|
-
};
|
|
86
|
-
grid: {
|
|
87
|
-
drawOnChartArea?: boolean | undefined;
|
|
88
|
-
drawBorder: boolean;
|
|
89
|
-
};
|
|
90
|
-
id: string;
|
|
91
|
-
beginAtZero: boolean;
|
|
92
|
-
border: {
|
|
93
|
-
display: boolean;
|
|
94
|
-
};
|
|
95
|
-
stacked: boolean;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
responsive: boolean;
|
|
99
|
-
maintainAspectRatio: boolean;
|
|
100
|
-
plugins: {
|
|
101
|
-
htmlLegend: {
|
|
102
|
-
containerID: string;
|
|
103
|
-
};
|
|
104
|
-
legend: {
|
|
105
|
-
display: boolean;
|
|
106
|
-
};
|
|
107
|
-
streaming: boolean;
|
|
108
|
-
tooltip: {
|
|
109
|
-
external: (context: ExternalTooltipContext) => void;
|
|
110
|
-
enabled: boolean;
|
|
111
|
-
position: string;
|
|
112
|
-
};
|
|
113
|
-
thresholdPlugin: {
|
|
114
|
-
threshold: Record<"active_services" | "error_rate" | "request_count" | "request_per_minute" | "response_latency_average" | "share_of_requests" | "cache_hit_rate" | "response_latency_p99" | "response_latency_p95" | "response_latency_p50" | "upstream_latency_p99" | "upstream_latency_p95" | "upstream_latency_p50" | "upstream_latency_average" | "kong_latency_p99" | "kong_latency_p95" | "kong_latency_p50" | "kong_latency_average" | "kong_internal_latency_p99" | "kong_internal_latency_p95" | "kong_internal_latency_p50" | "kong_internal_latency_average" | "response_size_p99" | "response_size_p95" | "response_size_p50" | "response_size_average" | "response_size_sum" | "request_size_p99" | "request_size_p95" | "request_size_p50" | "request_size_average" | "request_size_sum", import("..").Threshold[]> | undefined;
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
interaction: {
|
|
118
|
-
mode: string;
|
|
119
|
-
intersect: boolean;
|
|
120
|
-
};
|
|
121
|
-
layout: {
|
|
122
|
-
padding: {
|
|
123
|
-
left: number;
|
|
124
|
-
right: number;
|
|
125
|
-
top: number;
|
|
126
|
-
bottom: number;
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
}>;
|
|
130
|
-
};
|
|
131
|
-
declare module 'chart.js' {
|
|
132
|
-
interface TooltipPositionerMap {
|
|
133
|
-
[key: string]: TooltipPositionerFunction<ChartType>;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
//# sourceMappingURL=useLineChartOptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLineChartOptions.d.ts","sourceRoot":"","sources":["../../../src/composables/useLineChartOptions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,yBAAyB,EACzB,SAAS,EAGV,MAAM,UAAU,CAAA;AAMjB,OAAO,KAAK,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAGxE,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,YAAY,EAAE,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCAgBlD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAkKA,sBAAsB;;;;;;;;;;;;;;;;;;;;;EAgCnD;AAED,OAAO,QAAQ,UAAU,CAAC;IACxB,UAAU,oBAAoB;QAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,yBAAyB,CAAC,SAAS,CAAC,CAAA;KACpD;CACF"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Ref } from 'vue';
|
|
2
|
-
declare global {
|
|
3
|
-
interface Window {
|
|
4
|
-
_AnalyticsChartDataInternal?: Map<string, any>;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
declare const useReportChartDataForSynthetics: (chartData: Readonly<Ref<any>>, syntheticsDataKey: Readonly<Ref<string>>) => void;
|
|
8
|
-
export default useReportChartDataForSynthetics;
|
|
9
|
-
//# sourceMappingURL=useReportChartDataForSynthetics.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useReportChartDataForSynthetics.d.ts","sourceRoot":"","sources":["../../../src/composables/useReportChartDataForSynthetics.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAG9B,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,2BAA2B,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;KAC/C;CACF;AAED,QAAA,MAAM,+BAA+B,GACnC,WAAW,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,EAC7B,mBAAmB,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,SA8BzC,CAAA;AAED,eAAe,+BAA+B,CAAA"}
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import type { ChartType, TooltipPositionerFunction } from 'chart.js';
|
|
2
|
-
import type { ExternalTooltipContext, ScatterChartOptions } from '../types';
|
|
3
|
-
export default function useScatterChartOptions(chartOptions: ScatterChartOptions): {
|
|
4
|
-
options: import("vue").ComputedRef<{
|
|
5
|
-
hover: {
|
|
6
|
-
mode: string;
|
|
7
|
-
intersect: boolean;
|
|
8
|
-
};
|
|
9
|
-
interaction: {
|
|
10
|
-
mode: string;
|
|
11
|
-
intersect: boolean;
|
|
12
|
-
};
|
|
13
|
-
animation: {
|
|
14
|
-
duration: number;
|
|
15
|
-
easing: string;
|
|
16
|
-
};
|
|
17
|
-
scales: {
|
|
18
|
-
x: {
|
|
19
|
-
type: string;
|
|
20
|
-
display: boolean;
|
|
21
|
-
beginAtZero: boolean;
|
|
22
|
-
grid: {
|
|
23
|
-
display: boolean;
|
|
24
|
-
drawOnChartArea: boolean;
|
|
25
|
-
drawTicks: boolean;
|
|
26
|
-
drawBorder: boolean;
|
|
27
|
-
};
|
|
28
|
-
ticks: {
|
|
29
|
-
maxRotation: number;
|
|
30
|
-
maxTicksLimit: number;
|
|
31
|
-
callback: (value: number) => string | number;
|
|
32
|
-
};
|
|
33
|
-
title: {
|
|
34
|
-
display: boolean;
|
|
35
|
-
text: string | undefined;
|
|
36
|
-
padding: {
|
|
37
|
-
top: number;
|
|
38
|
-
};
|
|
39
|
-
font: {
|
|
40
|
-
weight: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
border: {
|
|
44
|
-
display: boolean;
|
|
45
|
-
};
|
|
46
|
-
} | {
|
|
47
|
-
type: string;
|
|
48
|
-
display: boolean;
|
|
49
|
-
grid: {
|
|
50
|
-
display: boolean;
|
|
51
|
-
drawOnChartArea: boolean;
|
|
52
|
-
drawTicks: boolean;
|
|
53
|
-
drawBorder: boolean;
|
|
54
|
-
};
|
|
55
|
-
ticks: {
|
|
56
|
-
padding: number;
|
|
57
|
-
autoSkipPadding: number;
|
|
58
|
-
source: string;
|
|
59
|
-
maxRotation: number;
|
|
60
|
-
callback: (value: number) => string;
|
|
61
|
-
};
|
|
62
|
-
title: {
|
|
63
|
-
display: boolean;
|
|
64
|
-
};
|
|
65
|
-
border: {
|
|
66
|
-
display: boolean;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
y: {
|
|
70
|
-
title: {
|
|
71
|
-
display: boolean;
|
|
72
|
-
text: string | undefined;
|
|
73
|
-
padding: {
|
|
74
|
-
bottom: number;
|
|
75
|
-
};
|
|
76
|
-
font: {
|
|
77
|
-
weight: string;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
ticks: {
|
|
81
|
-
maxTicksLimit: number;
|
|
82
|
-
callback: (value: number) => string | number;
|
|
83
|
-
};
|
|
84
|
-
grid: {
|
|
85
|
-
drawBorder: boolean;
|
|
86
|
-
};
|
|
87
|
-
id: string;
|
|
88
|
-
beginAtZero: boolean;
|
|
89
|
-
border: {
|
|
90
|
-
display: boolean;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
responsive: boolean;
|
|
95
|
-
maintainAspectRatio: boolean;
|
|
96
|
-
plugins: {
|
|
97
|
-
htmlLegend: {
|
|
98
|
-
containerID: string;
|
|
99
|
-
};
|
|
100
|
-
legend: {
|
|
101
|
-
display: boolean;
|
|
102
|
-
};
|
|
103
|
-
streaming: boolean;
|
|
104
|
-
tooltip: {
|
|
105
|
-
enabled: boolean;
|
|
106
|
-
position: string;
|
|
107
|
-
external: (context: ExternalTooltipContext) => void;
|
|
108
|
-
};
|
|
109
|
-
outlierBandPlugin: {
|
|
110
|
-
value: number | undefined;
|
|
111
|
-
color: string;
|
|
112
|
-
};
|
|
113
|
-
referenceLinePlugin: {
|
|
114
|
-
lines: import("..").ResolvedReferenceLine[] | undefined;
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
layout: {
|
|
118
|
-
padding: {
|
|
119
|
-
left: number;
|
|
120
|
-
right: number;
|
|
121
|
-
top: number;
|
|
122
|
-
bottom: number;
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
}>;
|
|
126
|
-
};
|
|
127
|
-
declare module 'chart.js' {
|
|
128
|
-
interface TooltipPositionerMap {
|
|
129
|
-
[key: string]: TooltipPositionerFunction<ChartType>;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
//# sourceMappingURL=useScatterChartOptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useScatterChartOptions.d.ts","sourceRoot":"","sources":["../../../src/composables/useScatterChartOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,yBAAyB,EAAwC,MAAM,UAAU,CAAA;AAE1G,OAAO,KAAK,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAqB3E,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,YAAY,EAAE,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCA8CxD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCAwBN,MAAM;;;;;;;;;;;;;;;;;;;;;;sCAyBN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;oCAuFF,sBAAsB;;;;;;;;;;;;;;;;;;;EA+BjD;AAED,OAAO,QAAQ,UAAU,CAAC;IACxB,UAAU,oBAAoB;QAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,yBAAyB,CAAC,SAAS,CAAC,CAAA;KACpD;CACF"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { Ref } from 'vue';
|
|
2
|
-
import type { ExploreToDatasetDeps, KChartData, ScatterChartData, ScatterOptions } from '../types';
|
|
3
|
-
import type { ScatterChartColors } from '../utils';
|
|
4
|
-
import type { InteractionCoordinator } from '@kong-ui-public/analytics-utilities';
|
|
5
|
-
export declare const DEFAULT_POINT_RADIUS = 3;
|
|
6
|
-
export declare const DEFAULT_POINT_OPACITY = 0.6;
|
|
7
|
-
export interface ScatterDatasetDeps extends ExploreToDatasetDeps {
|
|
8
|
-
scatter?: ScatterOptions;
|
|
9
|
-
themeColors?: Ref<ScatterChartColors>;
|
|
10
|
-
}
|
|
11
|
-
export declare const jitter: (jitterMs: number, seed: number) => number;
|
|
12
|
-
/**
|
|
13
|
-
* Builds the dataset for scatter plots as one point per record, grouped into a series per dimension value.
|
|
14
|
-
*
|
|
15
|
-
* Percentiles are computed over the points actually supplied, so they are only really
|
|
16
|
-
* meaningful when the input is not truncated.
|
|
17
|
-
*/
|
|
18
|
-
export default function useScatterDatasets(deps: ScatterDatasetDeps, scatterData: Ref<ScatterChartData | undefined>, uuid: string, coordinator?: InteractionCoordinator): Ref<KChartData>;
|
|
19
|
-
//# sourceMappingURL=useScatterDatasets.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useScatterDatasets.d.ts","sourceRoot":"","sources":["../../../src/composables/useScatterDatasets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE9B,OAAO,KAAK,EAAW,oBAAoB,EAAE,UAAU,EAAyB,gBAAgB,EAAE,cAAc,EAAqB,MAAM,UAAU,CAAA;AACrJ,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAElD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AAOjF,eAAO,MAAM,oBAAoB,IAAI,CAAA;AACrC,eAAO,MAAM,qBAAqB,MAAM,CAAA;AAOxC,MAAM,WAAW,kBAAmB,SAAQ,oBAAoB;IAC9D,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,WAAW,CAAC,EAAE,GAAG,CAAC,kBAAkB,CAAC,CAAA;CACtC;AASD,eAAO,MAAM,MAAM,GAAI,UAAU,MAAM,EAAE,MAAM,MAAM,KAAG,MAIvD,CAAA;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,kBAAkB,CACxC,IAAI,EAAE,kBAAkB,EACxB,WAAW,EAAE,GAAG,CAAC,gBAAgB,GAAG,SAAS,CAAC,EAC9C,IAAI,EAAE,MAAM,EACZ,WAAW,CAAC,EAAE,sBAAsB,GACnC,GAAG,CAAC,UAAU,CAAC,CAmKjB"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { type Ref } from 'vue';
|
|
2
|
-
import type { SparklineDataset, SparklineType } from '../types';
|
|
3
|
-
export default function useSparklineSync({ chartKey, datasets, groupKey, minStamp, maxStamp, minCount, maxCount, renderPoints, type, }: {
|
|
4
|
-
chartKey?: string;
|
|
5
|
-
datasets: SparklineDataset[];
|
|
6
|
-
groupKey?: string;
|
|
7
|
-
minStamp?: number;
|
|
8
|
-
maxStamp?: number;
|
|
9
|
-
minCount?: number;
|
|
10
|
-
maxCount?: number;
|
|
11
|
-
renderPoints?: number;
|
|
12
|
-
type: SparklineType;
|
|
13
|
-
}): {
|
|
14
|
-
syncedGroupSizeMs: Ref<number>;
|
|
15
|
-
syncedMinStamp: Ref<number>;
|
|
16
|
-
syncedMaxStamp: Ref<number>;
|
|
17
|
-
syncedMinCount: Ref<number>;
|
|
18
|
-
syncedMaxCount: Ref<number>;
|
|
19
|
-
syncedRenderPoints: Ref<number>;
|
|
20
|
-
syncedChartDatasets: Ref<Array<{
|
|
21
|
-
label: string;
|
|
22
|
-
data: Array<{
|
|
23
|
-
x: number;
|
|
24
|
-
y: number;
|
|
25
|
-
}>;
|
|
26
|
-
backgroundColor?: string;
|
|
27
|
-
fill?: boolean;
|
|
28
|
-
}>>;
|
|
29
|
-
};
|
|
30
|
-
//# sourceMappingURL=useSparklineSync.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSparklineSync.d.ts","sourceRoot":"","sources":["../../../src/composables/useSparklineSync.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,GAAG,EAAe,MAAM,KAAK,CAAA;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AA6D/D,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EACvC,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,QAAoB,EACpB,QAAoB,EACpB,QAAoB,EACpB,QAAoB,EACpB,YAAwB,EACxB,IAAI,GACL,EAAE;IACD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,gBAAgB,EAAE,CAAA;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,aAAa,CAAA;CACpB,GAAG;IACF,iBAAiB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC9B,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC3B,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC3B,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC3B,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC3B,kBAAkB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC/B,mBAAmB,EAAE,GAAG,CAAC,KAAK,CAAC;QAC7B,KAAK,EAAE,MAAM,CAAA;QACb,IAAI,EAAE,KAAK,CAAC;YAAE,CAAC,EAAE,MAAM,CAAC;YAAC,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAA;QACrC,eAAe,CAAC,EAAE,MAAM,CAAA;QACxB,IAAI,CAAC,EAAE,OAAO,CAAA;KACf,CAAC,CAAC,CAAA;CACJ,CA2KA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Ref, Reactive } from 'vue';
|
|
2
|
-
export default function useTooltipAbsolutePosition(chartParentRef: Ref<HTMLElement | null>, tooltipData: Reactive<{
|
|
3
|
-
left: string;
|
|
4
|
-
top: string;
|
|
5
|
-
}>): {
|
|
6
|
-
tooltipAbsoluteLeft: import("vue").ComputedRef<string>;
|
|
7
|
-
tooltipAbsoluteTop: import("vue").ComputedRef<string>;
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=useTooltipAbsolutePosition.d.ts.map
|