@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.
Files changed (158) hide show
  1. package/package.json +5 -5
  2. package/dist/style.css +0 -1
  3. package/dist/types/components/AnalyticsChart.vue.d.ts +0 -43
  4. package/dist/types/components/AnalyticsChart.vue.d.ts.map +0 -1
  5. package/dist/types/components/LoadingOverlay.vue.d.ts +0 -18
  6. package/dist/types/components/LoadingOverlay.vue.d.ts.map +0 -1
  7. package/dist/types/components/SimpleChart.vue.d.ts +0 -74
  8. package/dist/types/components/SimpleChart.vue.d.ts.map +0 -1
  9. package/dist/types/components/SparklineChart.vue.d.ts +0 -95
  10. package/dist/types/components/SparklineChart.vue.d.ts.map +0 -1
  11. package/dist/types/components/TopNTable.vue.d.ts +0 -59
  12. package/dist/types/components/TopNTable.vue.d.ts.map +0 -1
  13. package/dist/types/components/ZoomActions.vue.d.ts +0 -15
  14. package/dist/types/components/ZoomActions.vue.d.ts.map +0 -1
  15. package/dist/types/components/ZoomTimerange.vue.d.ts +0 -10
  16. package/dist/types/components/ZoomTimerange.vue.d.ts.map +0 -1
  17. package/dist/types/components/chart-plugins/ChartLegend.vue.d.ts +0 -36
  18. package/dist/types/components/chart-plugins/ChartLegend.vue.d.ts.map +0 -1
  19. package/dist/types/components/chart-plugins/ChartTooltip.vue.d.ts +0 -34
  20. package/dist/types/components/chart-plugins/ChartTooltip.vue.d.ts.map +0 -1
  21. package/dist/types/components/chart-plugins/CoordinatorPlugin.d.ts +0 -40
  22. package/dist/types/components/chart-plugins/CoordinatorPlugin.d.ts.map +0 -1
  23. package/dist/types/components/chart-plugins/DragSelectPlugin.d.ts +0 -22
  24. package/dist/types/components/chart-plugins/DragSelectPlugin.d.ts.map +0 -1
  25. package/dist/types/components/chart-plugins/HighlightPlugin.d.ts +0 -18
  26. package/dist/types/components/chart-plugins/HighlightPlugin.d.ts.map +0 -1
  27. package/dist/types/components/chart-plugins/OutlierBandPlugin.d.ts +0 -14
  28. package/dist/types/components/chart-plugins/OutlierBandPlugin.d.ts.map +0 -1
  29. package/dist/types/components/chart-plugins/ReferenceLinePlugin.d.ts +0 -12
  30. package/dist/types/components/chart-plugins/ReferenceLinePlugin.d.ts.map +0 -1
  31. package/dist/types/components/chart-plugins/ThresholdPlugin.d.ts +0 -34
  32. package/dist/types/components/chart-plugins/ThresholdPlugin.d.ts.map +0 -1
  33. package/dist/types/components/chart-plugins/VerticalLinePlugin.d.ts +0 -29
  34. package/dist/types/components/chart-plugins/VerticalLinePlugin.d.ts.map +0 -1
  35. package/dist/types/components/chart-types/DonutChart.vue.d.ts +0 -33
  36. package/dist/types/components/chart-types/DonutChart.vue.d.ts.map +0 -1
  37. package/dist/types/components/chart-types/GaugeChart.vue.d.ts +0 -92
  38. package/dist/types/components/chart-types/GaugeChart.vue.d.ts.map +0 -1
  39. package/dist/types/components/chart-types/ScatterChart.vue.d.ts +0 -42
  40. package/dist/types/components/chart-types/ScatterChart.vue.d.ts.map +0 -1
  41. package/dist/types/components/chart-types/SingleValue.vue.d.ts +0 -91
  42. package/dist/types/components/chart-types/SingleValue.vue.d.ts.map +0 -1
  43. package/dist/types/components/chart-types/StackedBarChart.vue.d.ts +0 -36
  44. package/dist/types/components/chart-types/StackedBarChart.vue.d.ts.map +0 -1
  45. package/dist/types/components/chart-types/TimeSeriesChart.vue.d.ts +0 -58
  46. package/dist/types/components/chart-types/TimeSeriesChart.vue.d.ts.map +0 -1
  47. package/dist/types/components/top-n/TopNMetricBar.vue.d.ts +0 -9
  48. package/dist/types/components/top-n/TopNMetricBar.vue.d.ts.map +0 -1
  49. package/dist/types/components/top-n/TopNMetricCell.vue.d.ts +0 -11
  50. package/dist/types/components/top-n/TopNMetricCell.vue.d.ts.map +0 -1
  51. package/dist/types/components/top-talkers/TopTalkersCell.vue.d.ts +0 -8
  52. package/dist/types/components/top-talkers/TopTalkersCell.vue.d.ts.map +0 -1
  53. package/dist/types/components/top-talkers/TopTalkersColumn.vue.d.ts +0 -14
  54. package/dist/types/components/top-talkers/TopTalkersColumn.vue.d.ts.map +0 -1
  55. package/dist/types/components/top-talkers/TopTalkersGrid.vue.d.ts +0 -42
  56. package/dist/types/components/top-talkers/TopTalkersGrid.vue.d.ts.map +0 -1
  57. package/dist/types/composables/index.d.ts +0 -37
  58. package/dist/types/composables/index.d.ts.map +0 -1
  59. package/dist/types/composables/useBarChartOptions.d.ts +0 -118
  60. package/dist/types/composables/useBarChartOptions.d.ts.map +0 -1
  61. package/dist/types/composables/useChartJSCommon.d.ts +0 -5
  62. package/dist/types/composables/useChartJSCommon.d.ts.map +0 -1
  63. package/dist/types/composables/useChartLegendValues.d.ts +0 -6
  64. package/dist/types/composables/useChartLegendValues.d.ts.map +0 -1
  65. package/dist/types/composables/useDonutChartOptions.d.ts +0 -42
  66. package/dist/types/composables/useDonutChartOptions.d.ts.map +0 -1
  67. package/dist/types/composables/useEvaluateFeatureFlag.d.ts +0 -4
  68. package/dist/types/composables/useEvaluateFeatureFlag.d.ts.map +0 -1
  69. package/dist/types/composables/useExploreResultToDatasets.d.ts +0 -5
  70. package/dist/types/composables/useExploreResultToDatasets.d.ts.map +0 -1
  71. package/dist/types/composables/useExploreResultToTimeDatasets.d.ts +0 -6
  72. package/dist/types/composables/useExploreResultToTimeDatasets.d.ts.map +0 -1
  73. package/dist/types/composables/useFieldLabel.d.ts +0 -3
  74. package/dist/types/composables/useFieldLabel.d.ts.map +0 -1
  75. package/dist/types/composables/useI18n.d.ts +0 -9
  76. package/dist/types/composables/useI18n.d.ts.map +0 -1
  77. package/dist/types/composables/useLineChartOptions.d.ts +0 -136
  78. package/dist/types/composables/useLineChartOptions.d.ts.map +0 -1
  79. package/dist/types/composables/useReportChartDataForSynthetics.d.ts +0 -9
  80. package/dist/types/composables/useReportChartDataForSynthetics.d.ts.map +0 -1
  81. package/dist/types/composables/useScatterChartOptions.d.ts +0 -132
  82. package/dist/types/composables/useScatterChartOptions.d.ts.map +0 -1
  83. package/dist/types/composables/useScatterDatasets.d.ts +0 -19
  84. package/dist/types/composables/useScatterDatasets.d.ts.map +0 -1
  85. package/dist/types/composables/useSparklineSync.d.ts +0 -30
  86. package/dist/types/composables/useSparklineSync.d.ts.map +0 -1
  87. package/dist/types/composables/useTooltipAbsolutePosition.d.ts +0 -9
  88. package/dist/types/composables/useTooltipAbsolutePosition.d.ts.map +0 -1
  89. package/dist/types/composables/useTopTalkersData.d.ts +0 -10
  90. package/dist/types/composables/useTopTalkersData.d.ts.map +0 -1
  91. package/dist/types/composables/useTranslatedUnits.d.ts +0 -4
  92. package/dist/types/composables/useTranslatedUnits.d.ts.map +0 -1
  93. package/dist/types/constants/index.d.ts +0 -8
  94. package/dist/types/constants/index.d.ts.map +0 -1
  95. package/dist/types/enums/chart-legend-position.enum.d.ts +0 -5
  96. package/dist/types/enums/chart-legend-position.enum.d.ts.map +0 -1
  97. package/dist/types/enums/index.d.ts +0 -2
  98. package/dist/types/enums/index.d.ts.map +0 -1
  99. package/dist/types/index.d.ts +0 -24
  100. package/dist/types/index.d.ts.map +0 -1
  101. package/dist/types/types/chart-data.d.ts +0 -296
  102. package/dist/types/types/chart-data.d.ts.map +0 -1
  103. package/dist/types/types/chart-meta.d.ts +0 -6
  104. package/dist/types/types/chart-meta.d.ts.map +0 -1
  105. package/dist/types/types/chart-types.d.ts +0 -6
  106. package/dist/types/types/chart-types.d.ts.map +0 -1
  107. package/dist/types/types/chartjs-options.d.ts +0 -90
  108. package/dist/types/types/chartjs-options.d.ts.map +0 -1
  109. package/dist/types/types/explore-to-dataset-deps.d.ts +0 -21
  110. package/dist/types/types/explore-to-dataset-deps.d.ts.map +0 -1
  111. package/dist/types/types/external-link.d.ts +0 -4
  112. package/dist/types/types/external-link.d.ts.map +0 -1
  113. package/dist/types/types/index.d.ts +0 -11
  114. package/dist/types/types/index.d.ts.map +0 -1
  115. package/dist/types/types/query-error.d.ts +0 -7
  116. package/dist/types/types/query-error.d.ts.map +0 -1
  117. package/dist/types/types/scatter-data.d.ts +0 -38
  118. package/dist/types/types/scatter-data.d.ts.map +0 -1
  119. package/dist/types/types/top-talkers.d.ts +0 -35
  120. package/dist/types/types/top-talkers.d.ts.map +0 -1
  121. package/dist/types/types/zoom-action-item.d.ts +0 -9
  122. package/dist/types/types/zoom-action-item.d.ts.map +0 -1
  123. package/dist/types/utils/bucketTimestamps.d.ts +0 -8
  124. package/dist/types/utils/bucketTimestamps.d.ts.map +0 -1
  125. package/dist/types/utils/commonOptions.d.ts +0 -22
  126. package/dist/types/utils/commonOptions.d.ts.map +0 -1
  127. package/dist/types/utils/constants.d.ts +0 -7
  128. package/dist/types/utils/constants.d.ts.map +0 -1
  129. package/dist/types/utils/customColors.d.ts +0 -8
  130. package/dist/types/utils/customColors.d.ts.map +0 -1
  131. package/dist/types/utils/defaultLineOptions.d.ts +0 -9
  132. package/dist/types/utils/defaultLineOptions.d.ts.map +0 -1
  133. package/dist/types/utils/dimension-icons.d.ts +0 -5
  134. package/dist/types/utils/dimension-icons.d.ts.map +0 -1
  135. package/dist/types/utils/field-label.d.ts +0 -13
  136. package/dist/types/utils/field-label.d.ts.map +0 -1
  137. package/dist/types/utils/format-timestamps.d.ts +0 -13
  138. package/dist/types/utils/format-timestamps.d.ts.map +0 -1
  139. package/dist/types/utils/i18n.d.ts +0 -3
  140. package/dist/types/utils/i18n.d.ts.map +0 -1
  141. package/dist/types/utils/index.d.ts +0 -14
  142. package/dist/types/utils/index.d.ts.map +0 -1
  143. package/dist/types/utils/metric-units.d.ts +0 -3
  144. package/dist/types/utils/metric-units.d.ts.map +0 -1
  145. package/dist/types/utils/percentiles.d.ts +0 -3
  146. package/dist/types/utils/percentiles.d.ts.map +0 -1
  147. package/dist/types/utils/queryError.d.ts +0 -4
  148. package/dist/types/utils/queryError.d.ts.map +0 -1
  149. package/dist/types/utils/scatter-adapters.d.ts +0 -25
  150. package/dist/types/utils/scatter-adapters.d.ts.map +0 -1
  151. package/dist/types/utils/stackedBarUtil.d.ts +0 -9
  152. package/dist/types/utils/stackedBarUtil.d.ts.map +0 -1
  153. package/dist/types/utils/theme-colors.d.ts +0 -8
  154. package/dist/types/utils/theme-colors.d.ts.map +0 -1
  155. package/dist/types/utils/topn-columns.d.ts +0 -31
  156. package/dist/types/utils/topn-columns.d.ts.map +0 -1
  157. package/dist/vitals-chart.es.js +0 -22811
  158. package/dist/vitals-chart.umd.js +0 -7
@@ -1,18 +0,0 @@
1
- import type { Chart, ChartEvent, Plugin } from 'chart.js';
2
- export declare class HighlightPlugin implements Plugin {
3
- id: string;
4
- private _clickedElements?;
5
- private _previousHoverOption?;
6
- private _clicked;
7
- private _pause;
8
- private _suppressNextClick;
9
- afterDatasetsDraw(chart: Chart): void;
10
- afterEvent(chart: Chart, { event }: {
11
- event: ChartEvent;
12
- }): void;
13
- beforeDestroy(chart: Chart): void;
14
- pause(): void;
15
- get isPaused(): boolean;
16
- resume(suppressNextClick?: boolean): void;
17
- }
18
- //# sourceMappingURL=HighlightPlugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HighlightPlugin.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-plugins/HighlightPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAmB,MAAM,EAAE,MAAM,UAAU,CAAA;AA4B1E,qBAAa,eAAgB,YAAW,MAAM;IAC5C,EAAE,SAAoB;IACtB,OAAO,CAAC,gBAAgB,CAAC,CAAmB;IAC5C,OAAO,CAAC,oBAAoB,CAAC,CAA2B;IACxD,OAAO,CAAC,QAAQ,CAAQ;IACxB,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,kBAAkB,CAAQ;IAElC,iBAAiB,CAAC,KAAK,EAAE,KAAK;IAM9B,UAAU,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE;QAAE,KAAK,EAAE,UAAU,CAAA;KAAE;IA+BzD,aAAa,CAAC,KAAK,EAAE,KAAK;IAM1B,KAAK;IAIL,IAAI,QAAQ,YAEX;IAED,MAAM,CAAC,iBAAiB,UAAQ;CAMjC"}
@@ -1,14 +0,0 @@
1
- import type { Chart, Plugin } from 'chart.js';
2
- interface OutlierBandOptions {
3
- value?: number;
4
- color?: string;
5
- }
6
- /**
7
- * Shades the region of a scatter chart above the outlier threshold.
8
- */
9
- export declare class OutlierBandPlugin implements Plugin {
10
- id: string;
11
- beforeDatasetsDraw(chart: Chart, _: any, pluginOptions: OutlierBandOptions): void;
12
- }
13
- export {};
14
- //# sourceMappingURL=OutlierBandPlugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OutlierBandPlugin.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-plugins/OutlierBandPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAE7C,UAAU,kBAAkB;IAE1B,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;GAEG;AACH,qBAAa,iBAAkB,YAAW,MAAM;IAC9C,EAAE,SAAsB;IAExB,kBAAkB,CAAC,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,kBAAkB,GAAG,IAAI;CA2BlF"}
@@ -1,12 +0,0 @@
1
- import type { Chart, Plugin } from 'chart.js';
2
- import type { ResolvedReferenceLine } from '../../types';
3
- interface ReferenceLineOptions {
4
- lines?: ResolvedReferenceLine[];
5
- }
6
- /** Draws horizontal reference lines across a chart */
7
- export declare class ReferenceLinePlugin implements Plugin {
8
- id: string;
9
- afterDatasetsDraw(chart: Chart, _: any, pluginOptions: ReferenceLineOptions): void;
10
- }
11
- export {};
12
- //# sourceMappingURL=ReferenceLinePlugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReferenceLinePlugin.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-plugins/ReferenceLinePlugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAExD,UAAU,oBAAoB;IAC5B,KAAK,CAAC,EAAE,qBAAqB,EAAE,CAAA;CAChC;AAID,sDAAsD;AACtD,qBAAa,mBAAoB,YAAW,MAAM;IAChD,EAAE,SAAwB;IAG1B,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,oBAAoB,GAAG,IAAI;CAyCnF"}
@@ -1,34 +0,0 @@
1
- import type { ExploreAggregations } from '@kong-ui-public/analytics-utilities';
2
- import type { Chart, Plugin } from 'chart.js';
3
- import type { Threshold, ThresholdType } from 'src/types';
4
- import type { createI18n } from '@kong-ui-public/i18n';
5
- import type english from '../../locales/en.json';
6
- interface ThresholdOptions {
7
- threshold: Record<ExploreAggregations, Threshold[]> | undefined;
8
- }
9
- type ThresholdExtra = Threshold & {
10
- hovered?: boolean;
11
- };
12
- export type ThresholdIntersection = {
13
- start: number;
14
- end: number;
15
- type: ThresholdType;
16
- };
17
- export declare const thresholdAxisId: (chart: Chart, metric: string) => string;
18
- export declare const getThresholdIntersections: (chart: Chart, thresholds: Threshold[], axisId?: string) => ThresholdIntersection[];
19
- export declare const mergeThresholdIntersections: (intersections: ThresholdIntersection[]) => ThresholdIntersection[];
20
- export declare class ThresholdPlugin implements Plugin {
21
- private i18n;
22
- id: string;
23
- private _thresholds?;
24
- private _mouseMoveHandler?;
25
- constructor(i18n: ReturnType<typeof createI18n<typeof english>>);
26
- private _syncThresholds;
27
- get thresholds(): 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", ThresholdExtra[]> | undefined;
28
- beforeUpdate(chart: Chart, _: any, pluginOptions: ThresholdOptions): void;
29
- beforeInit(chart: Chart, _: any, pluginOptions: ThresholdOptions): void;
30
- afterDatasetsDraw(chart: Chart, _: any): void;
31
- beforeDestroy(chart: Chart): void;
32
- }
33
- export {};
34
- //# sourceMappingURL=ThresholdPlugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThresholdPlugin.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-plugins/ThresholdPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAA;AAG9E,OAAO,KAAK,EAAE,KAAK,EAAgB,MAAM,EAAE,MAAM,UAAU,CAAA;AAC3D,OAAO,KAAK,EAAW,SAAS,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAClE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAA;AAOhD,UAAU,gBAAgB;IACxB,SAAS,EAAE,MAAM,CAAC,mBAAmB,EAAE,SAAS,EAAE,CAAC,GAAG,SAAS,CAAA;CAChE;AAED,KAAK,cAAc,GAAG,SAAS,GAAG;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,aAAa,CAAA;CACpB,CAAA;AAiBD,eAAO,MAAM,eAAe,GAAI,OAAO,KAAK,EAAE,QAAQ,MAAM,KAAG,MAI9D,CAAA;AAED,eAAO,MAAM,yBAAyB,GAAI,OAAO,KAAK,EAAE,YAAY,SAAS,EAAE,EAAE,SAAQ,MAAuB,KAAG,qBAAqB,EA4DvI,CAAA;AAED,eAAO,MAAM,2BAA2B,GAAI,eAAe,qBAAqB,EAAE,KAAG,qBAAqB,EAmBzG,CAAA;AAED,qBAAa,eAAgB,YAAW,MAAM;IAKhC,OAAO,CAAC,IAAI;IAJxB,EAAE,SAAoB;IACtB,OAAO,CAAC,WAAW,CAAC,CAA+C;IACnE,OAAO,CAAC,iBAAiB,CAAC,CAA+B;gBAErC,IAAI,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;IAEvE,OAAO,CAAC,eAAe;IAoBvB,IAAI,UAAU,gyBAEb;IAGD,YAAY,CAAC,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,gBAAgB,GAAG,IAAI;IAKzE,UAAU,CAAC,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,gBAAgB,GAAG,IAAI;IA6BvE,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,GAAG,IAAI;IAqE7C,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;CAKlC"}
@@ -1,29 +0,0 @@
1
- import type { Chart, ChartType, Plugin, TooltipItem } from 'chart.js';
2
- type BrushStrategy = 'group';
3
- export declare class VerticalLinePlugin implements Plugin {
4
- id: string;
5
- private _clickedSegment?;
6
- private _pause;
7
- private _useBrushingState;
8
- private _brushStrategy;
9
- private _brushGroup;
10
- constructor({ brushGroup, brushStrategy, enableBrushing, }?: {
11
- brushGroup?: string;
12
- brushStrategy?: BrushStrategy;
13
- enableBrushing?: boolean;
14
- });
15
- afterEvent(chart: Chart, args: any): void;
16
- private _lastMouseBrushEvent;
17
- onMouseBrush(type: 'mousemove' | 'mouseout', chart: Chart, time: number): void;
18
- afterDatasetsDraw(chart: Chart): void;
19
- drawByBrush(chart: Chart): void;
20
- pause(): void;
21
- resume(): void;
22
- get isPaused(): boolean;
23
- set clickedSegment(segment: TooltipItem<ChartType> | undefined);
24
- get clickedSegment(): TooltipItem<ChartType> | undefined;
25
- destroyClickedSegment(): void;
26
- beforeDestroy(chart: Chart): void;
27
- }
28
- export {};
29
- //# sourceMappingURL=VerticalLinePlugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VerticalLinePlugin.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-plugins/VerticalLinePlugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAoBrE,KAAK,aAAa,GAAG,OAAO,CAAA;AAkB5B,qBAAa,kBAAmB,YAAW,MAAM;IAC/C,EAAE,SAAuB;IACzB,OAAO,CAAC,eAAe,CAAC,CAAoC;IAC5D,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,iBAAiB,CAAQ;IACjC,OAAO,CAAC,cAAc,CAA2B;IACjD,OAAO,CAAC,WAAW,CAAoB;gBAE3B,EACV,UAAsB,EACtB,aAAyB,EACzB,cAAsB,GACvB,GAAE;QACD,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,aAAa,CAAC,EAAE,aAAa,CAAA;QAC7B,cAAc,CAAC,EAAE,OAAO,CAAA;KACpB;IAWN,UAAU,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG;IAclC,OAAO,CAAC,oBAAoB,CAAI;IAChC,YAAY,CAAC,IAAI,EAAE,WAAW,GAAG,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM;IAmCvE,iBAAiB,CAAC,KAAK,EAAE,KAAK;IAyB9B,WAAW,CAAC,KAAK,EAAE,KAAK;IAYxB,KAAK;IAIL,MAAM;IAIN,IAAI,QAAQ,YAEX;IAED,IAAI,cAAc,CAAC,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,GAAG,SAAS,EAE7D;IACD,IAAI,cAAc,IAAI,WAAW,CAAC,SAAS,CAAC,GAAG,SAAS,CAEvD;IAED,qBAAqB;IAIrB,aAAa,CAAC,KAAK,EAAE,KAAK;CAmB3B"}
@@ -1,33 +0,0 @@
1
- import 'chartjs-adapter-date-fns';
2
- import 'chart.js/auto';
3
- import { type InteractionCoordinator } from '@kong-ui-public/analytics-utilities';
4
- import type { KChartData } from '../../types';
5
- import { ChartLegendPosition } from '../../enums';
6
- import type { LegendValues } from '../../types/chart-data';
7
- type __VLS_Props = {
8
- chartData: KChartData;
9
- tooltipTitle: string;
10
- metricUnit?: string;
11
- metricName?: string;
12
- legendPosition?: `${ChartLegendPosition}`;
13
- legendValues?: LegendValues;
14
- syntheticsDataKey?: string;
15
- tooltipDimensionDisplay?: string;
16
- tooltipMetricDisplay?: string;
17
- showCenterMetric?: boolean;
18
- coordinator?: InteractionCoordinator;
19
- };
20
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
- coordinator: InteractionCoordinator;
22
- syntheticsDataKey: string;
23
- metricUnit: string;
24
- legendPosition: `${ChartLegendPosition}`;
25
- legendValues: LegendValues;
26
- tooltipMetricDisplay: string;
27
- metricName: string;
28
- tooltipDimensionDisplay: string;
29
- showCenterMetric: boolean;
30
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
- declare const _default: typeof __VLS_export;
32
- export default _default;
33
- //# sourceMappingURL=DonutChart.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DonutChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-types/DonutChart.vue"],"names":[],"mappings":"AA8PA,OAAO,0BAA0B,CAAA;AACjC,OAAO,eAAe,CAAA;AAOtB,OAAO,EAAiB,KAAK,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AAChG,OAAO,KAAK,EAAE,UAAU,EAAgB,MAAM,aAAa,CAAA;AAE3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,KAAK,EAAkB,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAG1E,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,UAAU,CAAA;IACrB,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,cAAc,CAAC,EAAE,GAAG,mBAAmB,EAAE,CAAA;IACzC,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,WAAW,CAAC,EAAE,sBAAsB,CAAA;CACrC,CAAC;AA4SF,QAAA,MAAM,YAAY;iBA7SF,sBAAsB;uBAJhB,MAAM;gBAJb,MAAM;oBAEF,GAAG,mBAAmB,EAAE;kBAC1B,YAAY;0BAGJ,MAAM;gBALhB,MAAM;6BAIO,MAAM;sBAEb,OAAO;6EAiT1B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,92 +0,0 @@
1
- import type { PropType } from 'vue';
2
- import 'chartjs-adapter-date-fns';
3
- import 'chart.js/auto';
4
- import type { AnalyticsChartColors, KChartData, SimpleChartMetricDisplay } from '../../types';
5
- declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
- chartData: {
7
- type: PropType<KChartData>;
8
- required: false;
9
- default: null;
10
- };
11
- metricDisplay: {
12
- type: PropType<SimpleChartMetricDisplay>;
13
- required: false;
14
- default: string;
15
- };
16
- numerator: {
17
- type: NumberConstructor;
18
- required: false;
19
- default: number;
20
- };
21
- syntheticsDataKey: {
22
- type: StringConstructor;
23
- required: false;
24
- default: string;
25
- };
26
- datasetColors: {
27
- type: PropType<AnalyticsChartColors | string[]>;
28
- required: false;
29
- default: () => string[];
30
- };
31
- height: {
32
- type: StringConstructor;
33
- required: false;
34
- default: string;
35
- validator: (value: string) => boolean;
36
- };
37
- width: {
38
- type: StringConstructor;
39
- required: false;
40
- default: string;
41
- validator: (value: string) => boolean;
42
- };
43
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
44
- chartData: {
45
- type: PropType<KChartData>;
46
- required: false;
47
- default: null;
48
- };
49
- metricDisplay: {
50
- type: PropType<SimpleChartMetricDisplay>;
51
- required: false;
52
- default: string;
53
- };
54
- numerator: {
55
- type: NumberConstructor;
56
- required: false;
57
- default: number;
58
- };
59
- syntheticsDataKey: {
60
- type: StringConstructor;
61
- required: false;
62
- default: string;
63
- };
64
- datasetColors: {
65
- type: PropType<AnalyticsChartColors | string[]>;
66
- required: false;
67
- default: () => string[];
68
- };
69
- height: {
70
- type: StringConstructor;
71
- required: false;
72
- default: string;
73
- validator: (value: string) => boolean;
74
- };
75
- width: {
76
- type: StringConstructor;
77
- required: false;
78
- default: string;
79
- validator: (value: string) => boolean;
80
- };
81
- }>> & Readonly<{}>, {
82
- height: string;
83
- width: string;
84
- chartData: KChartData;
85
- syntheticsDataKey: string;
86
- metricDisplay: "hidden" | "single" | "full";
87
- datasetColors: string[] | AnalyticsChartColors;
88
- numerator: number;
89
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
90
- declare const _default: typeof __VLS_export;
91
- export default _default;
92
- //# sourceMappingURL=GaugeChart.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GaugeChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-types/GaugeChart.vue"],"names":[],"mappings":"AAwMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,0BAA0B,CAAA;AACjC,OAAO,eAAe,CAAA;AAMtB,OAAO,KAAK,EAAE,oBAAoB,EAAE,UAAU,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAA;AA2L7F,QAAA,MAAM,YAAY;;cAGE,QAAQ,CAAC,UAAU,CAAC;;;;;cAKpB,QAAQ,CAAC,wBAAwB,CAAC;;;;;;;;;;;;;;;cAelC,QAAQ,CAAC,oBAAoB,GAAG,MAAM,EAAE,CAAC;;uBAEpC,MAAM,EAAE;;;;;;2BAMV,MAAM,KAAG,OAAO;;;;;;2BAQhB,MAAM,KAAG,OAAO;;;;cApCnB,QAAQ,CAAC,UAAU,CAAC;;;;;cAKpB,QAAQ,CAAC,wBAAwB,CAAC;;;;;;;;;;;;;;;cAelC,QAAQ,CAAC,oBAAoB,GAAG,MAAM,EAAE,CAAC;;uBAEpC,MAAM,EAAE;;;;;;2BAMV,MAAM,KAAG,OAAO;;;;;;2BAQhB,MAAM,KAAG,OAAO;;;;;;;;;;4EAKrC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,42 +0,0 @@
1
- import type { GranularityValues, InteractionCoordinator } from '@kong-ui-public/analytics-utilities';
2
- import type { ChartLegendSortFn, ChartTooltipSortFn, KChartData } from '../../types';
3
- import type { ScatterChartColors } from '../../utils';
4
- import 'chartjs-adapter-date-fns';
5
- import 'chart.js/auto';
6
- interface ScatterChartProps {
7
- chartData?: KChartData;
8
- tooltipTitle: string;
9
- metricUnit?: string;
10
- xMetric?: string;
11
- xMetricUnit?: string;
12
- granularity: GranularityValues;
13
- timeRangeMs?: number;
14
- metricAxesTitle?: string;
15
- dimensionAxesTitle?: string;
16
- syntheticsDataKey?: string;
17
- chartLegendSortFn?: ChartLegendSortFn;
18
- chartTooltipSortFn?: ChartTooltipSortFn;
19
- tooltipMetricDisplay?: string;
20
- shadeOutlierRegion?: boolean;
21
- themeColors?: ScatterChartColors;
22
- coordinator?: InteractionCoordinator;
23
- }
24
- declare const __VLS_export: import("vue").DefineComponent<ScatterChartProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ScatterChartProps> & Readonly<{}>, {
25
- coordinator: InteractionCoordinator;
26
- themeColors: ScatterChartColors;
27
- xMetric: string;
28
- xMetricUnit: string;
29
- chartData: KChartData;
30
- syntheticsDataKey: string;
31
- metricUnit: string;
32
- metricAxesTitle: string;
33
- dimensionAxesTitle: string;
34
- chartLegendSortFn: ChartLegendSortFn;
35
- chartTooltipSortFn: ChartTooltipSortFn;
36
- tooltipMetricDisplay: string;
37
- timeRangeMs: number;
38
- shadeOutlierRegion: boolean;
39
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
40
- declare const _default: typeof __VLS_export;
41
- export default _default;
42
- //# sourceMappingURL=ScatterChart.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ScatterChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-types/ScatterChart.vue"],"names":[],"mappings":"AA4OA,OAAO,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AACpG,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAsB,UAAU,EAAgB,MAAM,aAAa,CAAA;AACtH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAMrD,OAAO,0BAA0B,CAAA;AACjC,OAAO,eAAe,CAAA;AAWtB,UAAU,iBAAiB;IACzB,SAAS,CAAC,EAAE,UAAU,CAAA;IACtB,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,iBAAiB,CAAA;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;IACrC,kBAAkB,CAAC,EAAE,kBAAkB,CAAA;IACvC,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,WAAW,CAAC,EAAE,kBAAkB,CAAA;IAChC,WAAW,CAAC,EAAE,sBAAsB,CAAA;CACrC;AAsRD,QAAA,MAAM,YAAY;iBAvRF,sBAAsB;iBADtB,kBAAkB;aAXtB,MAAM;iBACF,MAAM;eAJR,UAAU;uBASF,MAAM;gBAPb,MAAM;qBAKD,MAAM;wBACH,MAAM;uBAEP,iBAAiB;wBAChB,kBAAkB;0BAChB,MAAM;iBANf,MAAM;wBAOC,OAAO;6EA4R5B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,91 +0,0 @@
1
- import type { PropType } from 'vue';
2
- import type { ExploreResultV4 } from '@kong-ui-public/analytics-utilities';
3
- import type { AlignX } from '../../types';
4
- declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
- data: {
6
- type: PropType<ExploreResultV4>;
7
- required: true;
8
- };
9
- /**
10
- * Number of decimal points to display
11
- */
12
- decimalPoints: {
13
- type: NumberConstructor;
14
- default: number;
15
- };
16
- leftAlign: {
17
- type: BooleanConstructor;
18
- default: boolean;
19
- };
20
- showTrend: {
21
- type: BooleanConstructor;
22
- default: boolean;
23
- };
24
- increaseIsBad: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- alignX: {
29
- type: PropType<AlignX>;
30
- default: string;
31
- };
32
- /** Hides the metric name below the value and makes the font smaller */
33
- compact: {
34
- type: BooleanConstructor;
35
- default: boolean;
36
- };
37
- /** Without a custom title the tile header shows the metric name, this will hide the metric name below the value */
38
- hideMetricName: {
39
- type: BooleanConstructor;
40
- default: boolean;
41
- };
42
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
43
- data: {
44
- type: PropType<ExploreResultV4>;
45
- required: true;
46
- };
47
- /**
48
- * Number of decimal points to display
49
- */
50
- decimalPoints: {
51
- type: NumberConstructor;
52
- default: number;
53
- };
54
- leftAlign: {
55
- type: BooleanConstructor;
56
- default: boolean;
57
- };
58
- showTrend: {
59
- type: BooleanConstructor;
60
- default: boolean;
61
- };
62
- increaseIsBad: {
63
- type: BooleanConstructor;
64
- default: boolean;
65
- };
66
- alignX: {
67
- type: PropType<AlignX>;
68
- default: string;
69
- };
70
- /** Hides the metric name below the value and makes the font smaller */
71
- compact: {
72
- type: BooleanConstructor;
73
- default: boolean;
74
- };
75
- /** Without a custom title the tile header shows the metric name, this will hide the metric name below the value */
76
- hideMetricName: {
77
- type: BooleanConstructor;
78
- default: boolean;
79
- };
80
- }>> & Readonly<{}>, {
81
- compact: boolean;
82
- decimalPoints: number;
83
- leftAlign: boolean;
84
- showTrend: boolean;
85
- increaseIsBad: boolean;
86
- alignX: AlignX;
87
- hideMetricName: boolean;
88
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
89
- declare const _default: typeof __VLS_export;
90
- export default _default;
91
- //# sourceMappingURL=SingleValue.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SingleValue.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-types/SingleValue.vue"],"names":[],"mappings":"AAskBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAA0B,eAAe,EAAmB,MAAM,qCAAqC,CAAA;AAcnH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AA6azC,QAAA,MAAM,YAAY;;cAGE,QAAQ,CAAC,eAAe,CAAC;;;IAG3C;;OAEG;;;;;;;;;;;;;;;;;;cAkBe,QAAQ,CAAC,MAAM,CAAC;;;IAGlC,uEAAuE;;;;;IAKvE,mHAAmH;;;;;;;cA/BjG,QAAQ,CAAC,eAAe,CAAC;;;IAG3C;;OAEG;;;;;;;;;;;;;;;;;;cAkBe,QAAQ,CAAC,MAAM,CAAC;;;IAGlC,uEAAuE;;;;;IAKvE,mHAAmH;;;;;;;;;;;;;4EAMnH,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,36 +0,0 @@
1
- import type { InteractionCoordinator } from '@kong-ui-public/analytics-utilities';
2
- import type { ChartLegendSortFn, ChartTooltipSortFn, KChartData, LegendValues } from '../../types';
3
- type __VLS_Props = {
4
- chartData: KChartData;
5
- tooltipTitle?: string;
6
- legendValues?: LegendValues;
7
- metricUnit?: string;
8
- orientation?: 'horizontal' | 'vertical';
9
- annotations?: boolean;
10
- metricAxesTitle?: string;
11
- dimensionAxesTitle?: string;
12
- stacked?: boolean;
13
- syntheticsDataKey?: string;
14
- chartLegendSortFn?: ChartLegendSortFn;
15
- chartTooltipSortFn?: ChartTooltipSortFn;
16
- tooltipMetricDisplay?: string;
17
- coordinator?: InteractionCoordinator;
18
- };
19
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
20
- stacked: boolean;
21
- coordinator: InteractionCoordinator;
22
- syntheticsDataKey: string;
23
- metricUnit: string;
24
- tooltipTitle: string;
25
- legendValues: LegendValues;
26
- orientation: "horizontal" | "vertical";
27
- annotations: boolean;
28
- metricAxesTitle: string;
29
- dimensionAxesTitle: string;
30
- chartLegendSortFn: ChartLegendSortFn;
31
- chartTooltipSortFn: ChartTooltipSortFn;
32
- tooltipMetricDisplay: string;
33
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
- declare const _default: typeof __VLS_export;
35
- export default _default;
36
- //# sourceMappingURL=StackedBarChart.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StackedBarChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-types/StackedBarChart.vue"],"names":[],"mappings":"AAslBA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AAajF,OAAO,KAAK,EAAoB,iBAAiB,EAAE,kBAAkB,EAAsB,UAAU,EAAE,YAAY,EAA8B,MAAM,aAAa,CAAA;AAKpK,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,UAAU,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IACvC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;IACrC,kBAAkB,CAAC,EAAE,kBAAkB,CAAA;IACvC,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,WAAW,CAAC,EAAE,sBAAsB,CAAA;CACrC,CAAC;AAmlBF,QAAA,MAAM,YAAY;aAzlBN,OAAO;iBAKH,sBAAsB;uBAJhB,MAAM;gBANb,MAAM;kBAFJ,MAAM;kBACN,YAAY;iBAEb,YAAY,GAAG,UAAU;iBACzB,OAAO;qBACH,MAAM;wBACH,MAAM;uBAGP,iBAAiB;wBAChB,kBAAkB;0BAChB,MAAM;6EAwlB7B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,58 +0,0 @@
1
- import 'chartjs-adapter-date-fns';
2
- import 'chart.js/auto';
3
- import type { Threshold, YAxisConfig, ZoomActionItem } from '../../types';
4
- import { type ChartLegendSortFn, type ChartTooltipSortFn, type KChartData, type LegendValues } from '../../types';
5
- import type { GranularityValues, AbsoluteTimeRangeV4, ExploreAggregations, InteractionCoordinator } from '@kong-ui-public/analytics-utilities';
6
- interface TimeSeriesChartProps {
7
- chartData?: KChartData;
8
- type?: 'timeseries_bar' | 'timeseries_line';
9
- fill?: boolean;
10
- tooltipTitle: string;
11
- metricUnit?: string;
12
- timeRangeMs?: number;
13
- granularity: GranularityValues;
14
- stacked?: boolean;
15
- legendValues?: LegendValues;
16
- metricAxesTitle?: string;
17
- dimensionAxesTitle?: string;
18
- syntheticsDataKey?: string;
19
- chartLegendSortFn?: ChartLegendSortFn;
20
- chartTooltipSortFn?: ChartTooltipSortFn;
21
- brush?: boolean;
22
- zoomActionItems?: ZoomActionItem[];
23
- tooltipMetricDisplay?: string;
24
- threshold?: Record<ExploreAggregations, Threshold[]>;
25
- leftYAxisGrid?: boolean;
26
- rightYAxis?: YAxisConfig;
27
- coordinator?: InteractionCoordinator;
28
- }
29
- declare const __VLS_export: import("vue").DefineComponent<TimeSeriesChartProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
30
- "zoom-time-range": (newTimeRange: AbsoluteTimeRangeV4) => any;
31
- "select-chart-range": (newTimeRange: AbsoluteTimeRangeV4) => any;
32
- }, string, import("vue").PublicProps, Readonly<TimeSeriesChartProps> & Readonly<{
33
- "onZoom-time-range"?: ((newTimeRange: AbsoluteTimeRangeV4) => any) | undefined;
34
- "onSelect-chart-range"?: ((newTimeRange: AbsoluteTimeRangeV4) => any) | undefined;
35
- }>, {
36
- fill: boolean;
37
- type: "timeseries_bar" | "timeseries_line";
38
- stacked: boolean;
39
- coordinator: InteractionCoordinator;
40
- chartData: KChartData;
41
- syntheticsDataKey: string;
42
- metricUnit: string;
43
- zoomActionItems: ZoomActionItem[];
44
- legendValues: LegendValues;
45
- metricAxesTitle: string;
46
- dimensionAxesTitle: string;
47
- chartLegendSortFn: ChartLegendSortFn;
48
- chartTooltipSortFn: ChartTooltipSortFn;
49
- tooltipMetricDisplay: string;
50
- timeRangeMs: number;
51
- brush: boolean;
52
- threshold: Record<ExploreAggregations, Threshold[]>;
53
- leftYAxisGrid: boolean;
54
- rightYAxis: YAxisConfig;
55
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
56
- declare const _default: typeof __VLS_export;
57
- export default _default;
58
- //# sourceMappingURL=TimeSeriesChart.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TimeSeriesChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-types/TimeSeriesChart.vue"],"names":[],"mappings":"AA+XA,OAAO,0BAA0B,CAAA;AACjC,OAAO,eAAe,CAAA;AAUtB,OAAO,KAAK,EAAE,SAAS,EAAgB,WAAW,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AACvF,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,kBAAkB,EAA2B,KAAK,UAAU,EAAE,KAAK,YAAY,EAAqB,MAAM,aAAa,CAAA;AAC7J,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AAO9I,UAAU,oBAAoB;IAC5B,SAAS,CAAC,EAAE,UAAU,CAAA;IACtB,IAAI,CAAC,EAAE,gBAAgB,GAAG,iBAAiB,CAAA;IAC3C,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,iBAAiB,CAAA;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;IACrC,kBAAkB,CAAC,EAAE,kBAAkB,CAAA;IACvC,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,eAAe,CAAC,EAAE,cAAc,EAAE,CAAA;IAClC,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC,mBAAmB,EAAE,SAAS,EAAE,CAAC,CAAA;IACpD,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,UAAU,CAAC,EAAE,WAAW,CAAA;IACxB,WAAW,CAAC,EAAE,sBAAsB,CAAA;CACrC;AAodD,QAAA,MAAM,YAAY;;;;;;;UAveT,OAAO;UADP,gBAAgB,GAAG,iBAAiB;aAMjC,OAAO;iBAaH,sBAAsB;eApBxB,UAAU;uBAWF,MAAM;gBAPb,MAAM;qBAWD,cAAc,EAAE;kBAPnB,YAAY;qBACT,MAAM;wBACH,MAAM;uBAEP,iBAAiB;wBAChB,kBAAkB;0BAGhB,MAAM;iBAXf,MAAM;WASZ,OAAO;eAGH,MAAM,CAAC,mBAAmB,EAAE,SAAS,EAAE,CAAC;mBACpC,OAAO;gBACV,WAAW;6EA0dxB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,9 +0,0 @@
1
- import type { TopNThresholdType } from '../../utils/topn-columns';
2
- type __VLS_Props = {
3
- ratio: number;
4
- threshold?: TopNThresholdType;
5
- };
6
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
- declare const _default: typeof __VLS_export;
8
- export default _default;
9
- //# sourceMappingURL=TopNMetricBar.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TopNMetricBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/top-n/TopNMetricBar.vue"],"names":[],"mappings":"AA4DA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAIjE,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,iBAAiB,CAAA;CAC9B,CAAC;AA2CF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,11 +0,0 @@
1
- import type { TopNThresholdType } from '../../utils/topn-columns';
2
- type __VLS_Props = {
3
- display: string;
4
- relative?: string;
5
- threshold?: TopNThresholdType;
6
- hasBar?: boolean;
7
- };
8
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
- declare const _default: typeof __VLS_export;
10
- export default _default;
11
- //# sourceMappingURL=TopNMetricCell.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TopNMetricCell.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/top-n/TopNMetricCell.vue"],"names":[],"mappings":"AAiEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAEjE,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,iBAAiB,CAAA;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AA6CF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,8 +0,0 @@
1
- import type { TopTalkersCellData } from '../../types/top-talkers';
2
- type __VLS_Props = {
3
- cell: TopTalkersCellData;
4
- };
5
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
- declare const _default: typeof __VLS_export;
7
- export default _default;
8
- //# sourceMappingURL=TopTalkersCell.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TopTalkersCell.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/top-talkers/TopTalkersCell.vue"],"names":[],"mappings":"AAyLA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAIjE,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,kBAAkB,CAAA;CACzB,CAAC;AA4IF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,14 +0,0 @@
1
- import type { ExploreResultV4 } from '@kong-ui-public/analytics-utilities';
2
- import type { TopNColumnOptionsMap } from '../../utils/topn-columns';
3
- type __VLS_Props = {
4
- dimension: string;
5
- label?: string;
6
- data?: ExploreResultV4;
7
- sizeMetric?: string;
8
- columnOptions?: TopNColumnOptionsMap;
9
- isLoading?: boolean;
10
- };
11
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
- declare const _default: typeof __VLS_export;
13
- export default _default;
14
- //# sourceMappingURL=TopTalkersColumn.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TopTalkersColumn.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/top-talkers/TopTalkersColumn.vue"],"names":[],"mappings":"AA6HA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAA;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AAQpE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,oBAAoB,CAAA;IACpC,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;AA+GF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,42 +0,0 @@
1
- import type { HeaderTag } from '@kong/kongponents';
2
- import type { ExploreResultV4 } from '@kong-ui-public/analytics-utilities';
3
- import type { TopNColumnOptionsMap } from '../../utils/topn-columns';
4
- export interface TopTalkersGridColumn {
5
- dimension: string;
6
- label?: string;
7
- data?: ExploreResultV4;
8
- isLoading?: boolean;
9
- }
10
- type __VLS_Props = {
11
- title?: string;
12
- columns: TopTalkersGridColumn[];
13
- sizeMetric?: string;
14
- columnOptions?: TopNColumnOptionsMap;
15
- emptyStateTitle?: string;
16
- errorMessage?: string;
17
- titleTag?: HeaderTag;
18
- };
19
- declare var __VLS_24: {
20
- key: string;
21
- column: TopTalkersGridColumn;
22
- };
23
- type __VLS_Slots = {} & {
24
- column?: (props: typeof __VLS_24) => any;
25
- };
26
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
27
- title: string;
28
- emptyStateTitle: string;
29
- sizeMetric: string;
30
- columnOptions: TopNColumnOptionsMap;
31
- errorMessage: string;
32
- titleTag: HeaderTag;
33
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
35
- declare const _default: typeof __VLS_export;
36
- export default _default;
37
- type __VLS_WithSlots<T, S> = T & {
38
- new (): {
39
- $slots: S;
40
- };
41
- };
42
- //# sourceMappingURL=TopTalkersGrid.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TopTalkersGrid.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/top-talkers/TopTalkersGrid.vue"],"names":[],"mappings":"AAyIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAA;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AAQpE,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,oBAAoB,EAAE,CAAA;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,oBAAoB,CAAA;IACpC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB,CAAC;AA2KF,QAAA,IAAI,QAAQ;;;CAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;WAzLN,MAAM;qBAII,MAAM;gBAFX,MAAM;mBACH,oBAAoB;kBAErB,MAAM;cACV,SAAS;6EAsLpB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}