@kong-ui-public/analytics-chart 10.34.3-pr.3869.e876c8c8a.0 → 10.34.3
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/style.css +1 -0
- package/dist/types/components/AnalyticsChart.vue.d.ts +41 -0
- package/dist/types/components/AnalyticsChart.vue.d.ts.map +1 -0
- package/dist/types/components/CsvExportModal.vue.d.ts +16 -0
- package/dist/types/components/CsvExportModal.vue.d.ts.map +1 -0
- package/dist/types/components/DownloadCsv.vue.d.ts +20 -0
- package/dist/types/components/DownloadCsv.vue.d.ts.map +1 -0
- package/dist/types/components/SimpleChart.vue.d.ts +74 -0
- package/dist/types/components/SimpleChart.vue.d.ts.map +1 -0
- package/dist/types/components/SparklineChart.vue.d.ts +95 -0
- package/dist/types/components/SparklineChart.vue.d.ts.map +1 -0
- package/dist/types/components/TopNTable.vue.d.ts +59 -0
- package/dist/types/components/TopNTable.vue.d.ts.map +1 -0
- package/dist/types/components/ZoomActions.vue.d.ts +15 -0
- package/dist/types/components/ZoomActions.vue.d.ts.map +1 -0
- package/dist/types/components/ZoomTimerange.vue.d.ts +10 -0
- package/dist/types/components/ZoomTimerange.vue.d.ts.map +1 -0
- package/dist/types/components/chart-plugins/ChartLegend.vue.d.ts +36 -0
- package/dist/types/components/chart-plugins/ChartLegend.vue.d.ts.map +1 -0
- package/dist/types/components/chart-plugins/ChartTooltip.vue.d.ts +34 -0
- package/dist/types/components/chart-plugins/ChartTooltip.vue.d.ts.map +1 -0
- package/dist/types/components/chart-plugins/DragSelectPlugin.d.ts +22 -0
- package/dist/types/components/chart-plugins/DragSelectPlugin.d.ts.map +1 -0
- package/dist/types/components/chart-plugins/HighlightPlugin.d.ts +18 -0
- package/dist/types/components/chart-plugins/HighlightPlugin.d.ts.map +1 -0
- package/dist/types/components/chart-plugins/OutlierBandPlugin.d.ts +14 -0
- package/dist/types/components/chart-plugins/OutlierBandPlugin.d.ts.map +1 -0
- package/dist/types/components/chart-plugins/ReferenceLinePlugin.d.ts +12 -0
- package/dist/types/components/chart-plugins/ReferenceLinePlugin.d.ts.map +1 -0
- package/dist/types/components/chart-plugins/ThresholdPlugin.d.ts +33 -0
- package/dist/types/components/chart-plugins/ThresholdPlugin.d.ts.map +1 -0
- package/dist/types/components/chart-plugins/VerticalLinePlugin.d.ts +29 -0
- package/dist/types/components/chart-plugins/VerticalLinePlugin.d.ts.map +1 -0
- package/dist/types/components/chart-types/DonutChart.vue.d.ts +30 -0
- package/dist/types/components/chart-types/DonutChart.vue.d.ts.map +1 -0
- package/dist/types/components/chart-types/GaugeChart.vue.d.ts +92 -0
- package/dist/types/components/chart-types/GaugeChart.vue.d.ts.map +1 -0
- package/dist/types/components/chart-types/ScatterChart.vue.d.ts +40 -0
- package/dist/types/components/chart-types/ScatterChart.vue.d.ts.map +1 -0
- package/dist/types/components/chart-types/SingleValue.vue.d.ts +69 -0
- package/dist/types/components/chart-types/SingleValue.vue.d.ts.map +1 -0
- package/dist/types/components/chart-types/StackedBarChart.vue.d.ts +33 -0
- package/dist/types/components/chart-types/StackedBarChart.vue.d.ts.map +1 -0
- package/dist/types/components/chart-types/TimeSeriesChart.vue.d.ts +52 -0
- package/dist/types/components/chart-types/TimeSeriesChart.vue.d.ts.map +1 -0
- package/dist/types/components/top-n/TopNMetricBar.vue.d.ts +9 -0
- package/dist/types/components/top-n/TopNMetricBar.vue.d.ts.map +1 -0
- package/dist/types/components/top-n/TopNMetricCell.vue.d.ts +11 -0
- package/dist/types/components/top-n/TopNMetricCell.vue.d.ts.map +1 -0
- package/dist/types/components/vue-json-csv/VueJsonCsv.vue.d.ts +166 -0
- package/dist/types/components/vue-json-csv/VueJsonCsv.vue.d.ts.map +1 -0
- package/dist/types/composables/index.d.ts +35 -0
- package/dist/types/composables/index.d.ts.map +1 -0
- package/dist/types/composables/useBarChartOptions.d.ts +118 -0
- package/dist/types/composables/useBarChartOptions.d.ts.map +1 -0
- package/dist/types/composables/useChartJSCommon.d.ts +5 -0
- package/dist/types/composables/useChartJSCommon.d.ts.map +1 -0
- package/dist/types/composables/useChartLegendValues.d.ts +6 -0
- package/dist/types/composables/useChartLegendValues.d.ts.map +1 -0
- package/dist/types/composables/useChartSelectedRange.d.ts +4 -0
- package/dist/types/composables/useChartSelectedRange.d.ts.map +1 -0
- package/dist/types/composables/useDonutChartOptions.d.ts +42 -0
- package/dist/types/composables/useDonutChartOptions.d.ts.map +1 -0
- package/dist/types/composables/useEvaluateFeatureFlag.d.ts +4 -0
- package/dist/types/composables/useEvaluateFeatureFlag.d.ts.map +1 -0
- package/dist/types/composables/useExploreResultToDatasets.d.ts +5 -0
- package/dist/types/composables/useExploreResultToDatasets.d.ts.map +1 -0
- package/dist/types/composables/useExploreResultToTimeDatasets.d.ts +6 -0
- package/dist/types/composables/useExploreResultToTimeDatasets.d.ts.map +1 -0
- package/dist/types/composables/useI18n.d.ts +9 -0
- package/dist/types/composables/useI18n.d.ts.map +1 -0
- package/dist/types/composables/useLineChartOptions.d.ts +115 -0
- package/dist/types/composables/useLineChartOptions.d.ts.map +1 -0
- package/dist/types/composables/useReportChartDataForSynthetics.d.ts +9 -0
- package/dist/types/composables/useReportChartDataForSynthetics.d.ts.map +1 -0
- package/dist/types/composables/useScatterChartOptions.d.ts +139 -0
- package/dist/types/composables/useScatterChartOptions.d.ts.map +1 -0
- package/dist/types/composables/useScatterDatasets.d.ts +18 -0
- package/dist/types/composables/useScatterDatasets.d.ts.map +1 -0
- package/dist/types/composables/useSparklineSync.d.ts +30 -0
- package/dist/types/composables/useSparklineSync.d.ts.map +1 -0
- package/dist/types/composables/useTooltipAbsolutePosition.d.ts +9 -0
- package/dist/types/composables/useTooltipAbsolutePosition.d.ts.map +1 -0
- package/dist/types/composables/useTranslatedUnits.d.ts +4 -0
- package/dist/types/composables/useTranslatedUnits.d.ts.map +1 -0
- package/dist/types/constants/index.d.ts +4 -0
- package/dist/types/constants/index.d.ts.map +1 -0
- package/dist/types/enums/chart-legend-position.enum.d.ts +5 -0
- package/dist/types/enums/chart-legend-position.enum.d.ts.map +1 -0
- package/dist/types/enums/index.d.ts +2 -0
- package/dist/types/enums/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +19 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/types/chart-data.d.ts +279 -0
- package/dist/types/types/chart-data.d.ts.map +1 -0
- package/dist/types/types/chart-export.d.ts +20 -0
- package/dist/types/types/chart-export.d.ts.map +1 -0
- package/dist/types/types/chart-meta.d.ts +6 -0
- package/dist/types/types/chart-meta.d.ts.map +1 -0
- package/dist/types/types/chart-types.d.ts +6 -0
- package/dist/types/types/chart-types.d.ts.map +1 -0
- package/dist/types/types/chartjs-options.d.ts +84 -0
- package/dist/types/types/chartjs-options.d.ts.map +1 -0
- package/dist/types/types/dataset-generation-types.d.ts +15 -0
- package/dist/types/types/dataset-generation-types.d.ts.map +1 -0
- package/dist/types/types/explore-to-dataset-deps.d.ts +18 -0
- package/dist/types/types/explore-to-dataset-deps.d.ts.map +1 -0
- package/dist/types/types/external-link.d.ts +4 -0
- package/dist/types/types/external-link.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +12 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/dist/types/types/query-error.d.ts +7 -0
- package/dist/types/types/query-error.d.ts.map +1 -0
- package/dist/types/types/scatter-data.d.ts +38 -0
- package/dist/types/types/scatter-data.d.ts.map +1 -0
- package/dist/types/types/zoom-action-item.d.ts +9 -0
- package/dist/types/types/zoom-action-item.d.ts.map +1 -0
- package/dist/types/utils/bucketTimestamps.d.ts +8 -0
- package/dist/types/utils/bucketTimestamps.d.ts.map +1 -0
- package/dist/types/utils/colors.d.ts +8 -0
- package/dist/types/utils/colors.d.ts.map +1 -0
- package/dist/types/utils/commonOptions.d.ts +22 -0
- package/dist/types/utils/commonOptions.d.ts.map +1 -0
- package/dist/types/utils/constants.d.ts +5 -0
- package/dist/types/utils/constants.d.ts.map +1 -0
- package/dist/types/utils/customColors.d.ts +8 -0
- package/dist/types/utils/customColors.d.ts.map +1 -0
- package/dist/types/utils/defaultLineOptions.d.ts +9 -0
- package/dist/types/utils/defaultLineOptions.d.ts.map +1 -0
- package/dist/types/utils/dimension-icons.d.ts +5 -0
- package/dist/types/utils/dimension-icons.d.ts.map +1 -0
- package/dist/types/utils/format-timestamps.d.ts +13 -0
- package/dist/types/utils/format-timestamps.d.ts.map +1 -0
- package/dist/types/utils/i18n.d.ts +3 -0
- package/dist/types/utils/i18n.d.ts.map +1 -0
- package/dist/types/utils/index.d.ts +14 -0
- package/dist/types/utils/index.d.ts.map +1 -0
- package/dist/types/utils/metric-units.d.ts +3 -0
- package/dist/types/utils/metric-units.d.ts.map +1 -0
- package/dist/types/utils/percentiles.d.ts +3 -0
- package/dist/types/utils/percentiles.d.ts.map +1 -0
- package/dist/types/utils/queryError.d.ts +4 -0
- package/dist/types/utils/queryError.d.ts.map +1 -0
- package/dist/types/utils/scatter-adapters.d.ts +25 -0
- package/dist/types/utils/scatter-adapters.d.ts.map +1 -0
- package/dist/types/utils/stackedBarUtil.d.ts +9 -0
- package/dist/types/utils/stackedBarUtil.d.ts.map +1 -0
- package/dist/types/utils/theme-colors.d.ts +8 -0
- package/dist/types/utils/theme-colors.d.ts.map +1 -0
- package/dist/types/utils/topn-columns.d.ts +16 -0
- package/dist/types/utils/topn-columns.d.ts.map +1 -0
- package/dist/vitals-chart.es.js +26658 -0
- package/dist/vitals-chart.umd.js +36 -0
- package/package.json +2 -2
|
@@ -0,0 +1,33 @@
|
|
|
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 getThresholdIntersections: (chart: Chart, thresholds: Threshold[]) => ThresholdIntersection[];
|
|
18
|
+
export declare const mergeThresholdIntersections: (intersections: ThresholdIntersection[]) => ThresholdIntersection[];
|
|
19
|
+
export declare class ThresholdPlugin implements Plugin {
|
|
20
|
+
private i18n;
|
|
21
|
+
id: string;
|
|
22
|
+
private _thresholds?;
|
|
23
|
+
private _mouseMoveHandler?;
|
|
24
|
+
constructor(i18n: ReturnType<typeof createI18n<typeof english>>);
|
|
25
|
+
private _syncThresholds;
|
|
26
|
+
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;
|
|
27
|
+
beforeUpdate(chart: Chart, _: any, pluginOptions: ThresholdOptions): void;
|
|
28
|
+
beforeInit(chart: Chart, _: any, pluginOptions: ThresholdOptions): void;
|
|
29
|
+
afterDatasetsDraw(chart: Chart, _: any): void;
|
|
30
|
+
beforeDestroy(chart: Chart): void;
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=ThresholdPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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;AAE9E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AACzD,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;AAcD,eAAO,MAAM,yBAAyB,GAAI,OAAO,KAAK,EAAE,YAAY,SAAS,EAAE,KAAG,qBAAqB,EA4DtG,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;IA4BvE,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,GAAG,IAAI;IAmE7C,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;CAKlC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import 'chartjs-adapter-date-fns';
|
|
2
|
+
import 'chart.js/auto';
|
|
3
|
+
import type { KChartData } from '../../types';
|
|
4
|
+
import { ChartLegendPosition } from '../../enums';
|
|
5
|
+
import type { LegendValues } from '../../types/chart-data';
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
chartData: KChartData;
|
|
8
|
+
tooltipTitle: string;
|
|
9
|
+
metricUnit?: string;
|
|
10
|
+
metricName?: string;
|
|
11
|
+
legendPosition?: `${ChartLegendPosition}`;
|
|
12
|
+
legendValues?: LegendValues;
|
|
13
|
+
syntheticsDataKey?: string;
|
|
14
|
+
tooltipDimensionDisplay?: string;
|
|
15
|
+
tooltipMetricDisplay?: string;
|
|
16
|
+
showCenterMetric?: boolean;
|
|
17
|
+
};
|
|
18
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
|
+
syntheticsDataKey: string;
|
|
20
|
+
metricUnit: string;
|
|
21
|
+
legendPosition: `${ChartLegendPosition}`;
|
|
22
|
+
legendValues: LegendValues;
|
|
23
|
+
tooltipMetricDisplay: string;
|
|
24
|
+
metricName: string;
|
|
25
|
+
tooltipDimensionDisplay: string;
|
|
26
|
+
showCenterMetric: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
30
|
+
//# sourceMappingURL=DonutChart.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DonutChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-types/DonutChart.vue"],"names":[],"mappings":"AA2OA,OAAO,0BAA0B,CAAA;AACjC,OAAO,eAAe,CAAA;AAQtB,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;AAE1E,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;CAC3B,CAAC;AA0RF,QAAA,MAAM,YAAY;uBA9RI,MAAM;gBAJb,MAAM;oBAEF,GAAG,mBAAmB,EAAE;kBAC1B,YAAY;0BAGJ,MAAM;gBALhB,MAAM;6BAIO,MAAM;sBAEb,OAAO;6EA8R1B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GaugeChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-types/GaugeChart.vue"],"names":[],"mappings":"AAyMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,0BAA0B,CAAA;AACjC,OAAO,eAAe,CAAA;AAOtB,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;;;;;;;;2BAQtC,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;;;;;;;;2BAQtC,MAAM,KAAG,OAAO;;;;;;2BAQhB,MAAM,KAAG,OAAO;;;;;;;;;;4EAKrC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { GranularityValues } 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
|
+
}
|
|
23
|
+
declare const __VLS_export: import("vue").DefineComponent<ScatterChartProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ScatterChartProps> & Readonly<{}>, {
|
|
24
|
+
themeColors: ScatterChartColors;
|
|
25
|
+
xMetric: string;
|
|
26
|
+
xMetricUnit: string;
|
|
27
|
+
chartData: KChartData;
|
|
28
|
+
syntheticsDataKey: string;
|
|
29
|
+
metricUnit: string;
|
|
30
|
+
metricAxesTitle: string;
|
|
31
|
+
dimensionAxesTitle: string;
|
|
32
|
+
chartLegendSortFn: ChartLegendSortFn;
|
|
33
|
+
chartTooltipSortFn: ChartTooltipSortFn;
|
|
34
|
+
tooltipMetricDisplay: string;
|
|
35
|
+
timeRangeMs: number;
|
|
36
|
+
shadeOutlierRegion: boolean;
|
|
37
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
declare const _default: typeof __VLS_export;
|
|
39
|
+
export default _default;
|
|
40
|
+
//# sourceMappingURL=ScatterChart.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScatterChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-types/ScatterChart.vue"],"names":[],"mappings":"AAiOA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAA;AAC5E,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;AAUtB,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;CACjC;AA4QD,QAAA,MAAM,YAAY;iBA7QF,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;6EAiR5B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
+
data: {
|
|
34
|
+
type: PropType<ExploreResultV4>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Number of decimal points to display
|
|
39
|
+
*/
|
|
40
|
+
decimalPoints: {
|
|
41
|
+
type: NumberConstructor;
|
|
42
|
+
default: number;
|
|
43
|
+
};
|
|
44
|
+
leftAlign: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
showTrend: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
increaseIsBad: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
alignX: {
|
|
57
|
+
type: PropType<AlignX>;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
}>> & Readonly<{}>, {
|
|
61
|
+
decimalPoints: number;
|
|
62
|
+
leftAlign: boolean;
|
|
63
|
+
showTrend: boolean;
|
|
64
|
+
increaseIsBad: boolean;
|
|
65
|
+
alignX: AlignX;
|
|
66
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
67
|
+
declare const _default: typeof __VLS_export;
|
|
68
|
+
export default _default;
|
|
69
|
+
//# sourceMappingURL=SingleValue.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SingleValue.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-types/SingleValue.vue"],"names":[],"mappings":"AAygBA,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;AA8YzC,QAAA,MAAM,YAAY;;cAGE,QAAQ,CAAC,eAAe,CAAC;;;IAG3C;;OAEG;;;;;;;;;;;;;;;;;;cAkBe,QAAQ,CAAC,MAAM,CAAC;;;;;cAvBhB,QAAQ,CAAC,eAAe,CAAC;;;IAG3C;;OAEG;;;;;;;;;;;;;;;;;;cAkBe,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;4EAIlC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { ChartLegendSortFn, ChartTooltipSortFn, KChartData, LegendValues } from '../../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
chartData: KChartData;
|
|
4
|
+
tooltipTitle?: string;
|
|
5
|
+
legendValues?: LegendValues;
|
|
6
|
+
metricUnit?: string;
|
|
7
|
+
orientation?: 'horizontal' | 'vertical';
|
|
8
|
+
annotations?: boolean;
|
|
9
|
+
metricAxesTitle?: string;
|
|
10
|
+
dimensionAxesTitle?: string;
|
|
11
|
+
stacked?: boolean;
|
|
12
|
+
syntheticsDataKey?: string;
|
|
13
|
+
chartLegendSortFn?: ChartLegendSortFn;
|
|
14
|
+
chartTooltipSortFn?: ChartTooltipSortFn;
|
|
15
|
+
tooltipMetricDisplay?: string;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
|
+
stacked: boolean;
|
|
19
|
+
syntheticsDataKey: string;
|
|
20
|
+
metricUnit: string;
|
|
21
|
+
tooltipTitle: string;
|
|
22
|
+
legendValues: LegendValues;
|
|
23
|
+
orientation: "horizontal" | "vertical";
|
|
24
|
+
annotations: boolean;
|
|
25
|
+
metricAxesTitle: string;
|
|
26
|
+
dimensionAxesTitle: string;
|
|
27
|
+
chartLegendSortFn: ChartLegendSortFn;
|
|
28
|
+
chartTooltipSortFn: ChartTooltipSortFn;
|
|
29
|
+
tooltipMetricDisplay: string;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
export default _default;
|
|
33
|
+
//# sourceMappingURL=StackedBarChart.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StackedBarChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-types/StackedBarChart.vue"],"names":[],"mappings":"AAqlBA,OAAO,KAAK,EAAoB,iBAAiB,EAAE,kBAAkB,EAAsB,UAAU,EAAE,YAAY,EAA8B,MAAM,aAAa,CAAA;AAIpK,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;CAC9B,CAAC;AA0kBF,QAAA,MAAM,YAAY;aA/kBN,OAAO;uBACG,MAAM;gBANb,MAAM;kBAFJ,MAAM;kBACN,YAAY;iBAEb,YAAY,GAAG,UAAU;iBACzB,OAAO;qBACH,MAAM;wBACH,MAAM;uBAGP,iBAAiB;wBAChB,kBAAkB;0BAChB,MAAM;6EA8kB7B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import 'chartjs-adapter-date-fns';
|
|
2
|
+
import 'chart.js/auto';
|
|
3
|
+
import type { Threshold, ZoomActionItem } from '../../types';
|
|
4
|
+
import { type ChartLegendSortFn, type ChartTooltipSortFn, type KChartData, type LegendValues } from '../../types';
|
|
5
|
+
import type { GranularityValues, AbsoluteTimeRangeV4, ExploreAggregations } 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
|
+
}
|
|
26
|
+
declare const __VLS_export: import("vue").DefineComponent<TimeSeriesChartProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
27
|
+
"zoom-time-range": (newTimeRange: AbsoluteTimeRangeV4) => any;
|
|
28
|
+
"select-chart-range": (newTimeRange: AbsoluteTimeRangeV4) => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<TimeSeriesChartProps> & Readonly<{
|
|
30
|
+
"onZoom-time-range"?: ((newTimeRange: AbsoluteTimeRangeV4) => any) | undefined;
|
|
31
|
+
"onSelect-chart-range"?: ((newTimeRange: AbsoluteTimeRangeV4) => any) | undefined;
|
|
32
|
+
}>, {
|
|
33
|
+
fill: boolean;
|
|
34
|
+
type: "timeseries_bar" | "timeseries_line";
|
|
35
|
+
stacked: boolean;
|
|
36
|
+
chartData: KChartData;
|
|
37
|
+
syntheticsDataKey: string;
|
|
38
|
+
metricUnit: string;
|
|
39
|
+
zoomActionItems: ZoomActionItem[];
|
|
40
|
+
legendValues: LegendValues;
|
|
41
|
+
metricAxesTitle: string;
|
|
42
|
+
dimensionAxesTitle: string;
|
|
43
|
+
chartLegendSortFn: ChartLegendSortFn;
|
|
44
|
+
chartTooltipSortFn: ChartTooltipSortFn;
|
|
45
|
+
tooltipMetricDisplay: string;
|
|
46
|
+
timeRangeMs: number;
|
|
47
|
+
brush: boolean;
|
|
48
|
+
threshold: Record<ExploreAggregations, Threshold[]>;
|
|
49
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
50
|
+
declare const _default: typeof __VLS_export;
|
|
51
|
+
export default _default;
|
|
52
|
+
//# sourceMappingURL=TimeSeriesChart.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimeSeriesChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-types/TimeSeriesChart.vue"],"names":[],"mappings":"AA+WA,OAAO,0BAA0B,CAAA;AACjC,OAAO,eAAe,CAAA;AAStB,OAAO,KAAK,EAAE,SAAS,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAA;AAC1E,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,MAAM,qCAAqC,CAAA;AAOtH,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;CACrD;AAqcD,QAAA,MAAM,YAAY;;;;;;;UArdT,OAAO;UADP,gBAAgB,GAAG,iBAAiB;aAMjC,OAAO;eAPL,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;6EA0cpD,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import type { CsvData, CsvKeyValuePair } from '../../types';
|
|
2
|
+
import type { PropType } from 'vue';
|
|
3
|
+
declare var __VLS_1: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_1) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
data: {
|
|
9
|
+
type: PropType<CsvData>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Fields from `data` array that should be present in exported CSV
|
|
14
|
+
* If none provided, all fields will be included.
|
|
15
|
+
*/
|
|
16
|
+
fields: {
|
|
17
|
+
type: {
|
|
18
|
+
(arrayLength: number): string[];
|
|
19
|
+
(...items: string[]): string[];
|
|
20
|
+
new (arrayLength: number): string[];
|
|
21
|
+
new (...items: string[]): string[];
|
|
22
|
+
isArray(arg: any): arg is any[];
|
|
23
|
+
readonly prototype: any[];
|
|
24
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
25
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
26
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
27
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
28
|
+
of<T>(...items: T[]): T[];
|
|
29
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
30
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
31
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
32
|
+
};
|
|
33
|
+
required: false;
|
|
34
|
+
default: null;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Column labels
|
|
38
|
+
*/
|
|
39
|
+
labels: {
|
|
40
|
+
type: PropType<CsvKeyValuePair> | null;
|
|
41
|
+
required: false;
|
|
42
|
+
default: null;
|
|
43
|
+
};
|
|
44
|
+
filename: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Delimiter for the CSV file
|
|
50
|
+
*/
|
|
51
|
+
delimiter: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
required: false;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Whether module should add SEP={delimiter}; ideal for Excel compatibility
|
|
58
|
+
*/
|
|
59
|
+
separatorExcel: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
encoding: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Component test specific
|
|
69
|
+
*/
|
|
70
|
+
testing: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
required: false;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
76
|
+
"export-started": (data: CsvData) => any;
|
|
77
|
+
"export-finished": (data: string) => any;
|
|
78
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
79
|
+
data: {
|
|
80
|
+
type: PropType<CsvData>;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Fields from `data` array that should be present in exported CSV
|
|
85
|
+
* If none provided, all fields will be included.
|
|
86
|
+
*/
|
|
87
|
+
fields: {
|
|
88
|
+
type: {
|
|
89
|
+
(arrayLength: number): string[];
|
|
90
|
+
(...items: string[]): string[];
|
|
91
|
+
new (arrayLength: number): string[];
|
|
92
|
+
new (...items: string[]): string[];
|
|
93
|
+
isArray(arg: any): arg is any[];
|
|
94
|
+
readonly prototype: any[];
|
|
95
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
96
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
97
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
98
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
99
|
+
of<T>(...items: T[]): T[];
|
|
100
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
101
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
102
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
103
|
+
};
|
|
104
|
+
required: false;
|
|
105
|
+
default: null;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Column labels
|
|
109
|
+
*/
|
|
110
|
+
labels: {
|
|
111
|
+
type: PropType<CsvKeyValuePair> | null;
|
|
112
|
+
required: false;
|
|
113
|
+
default: null;
|
|
114
|
+
};
|
|
115
|
+
filename: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: string;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Delimiter for the CSV file
|
|
121
|
+
*/
|
|
122
|
+
delimiter: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
default: string;
|
|
125
|
+
required: false;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* Whether module should add SEP={delimiter}; ideal for Excel compatibility
|
|
129
|
+
*/
|
|
130
|
+
separatorExcel: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
encoding: {
|
|
135
|
+
type: StringConstructor;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Component test specific
|
|
140
|
+
*/
|
|
141
|
+
testing: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
required: false;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
}>> & Readonly<{
|
|
147
|
+
"onExport-started"?: ((data: CsvData) => any) | undefined;
|
|
148
|
+
"onExport-finished"?: ((data: string) => any) | undefined;
|
|
149
|
+
}>, {
|
|
150
|
+
labels: CsvKeyValuePair;
|
|
151
|
+
fields: string[];
|
|
152
|
+
filename: string;
|
|
153
|
+
delimiter: string;
|
|
154
|
+
separatorExcel: boolean;
|
|
155
|
+
encoding: string;
|
|
156
|
+
testing: boolean;
|
|
157
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
158
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
159
|
+
declare const _default: typeof __VLS_export;
|
|
160
|
+
export default _default;
|
|
161
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
162
|
+
new (): {
|
|
163
|
+
$slots: S;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
//# sourceMappingURL=VueJsonCsv.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VueJsonCsv.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/vue-json-csv/VueJsonCsv.vue"],"names":[],"mappings":"AAwLA,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC3D,OAAO,KAAK,EAAe,QAAQ,EAAE,MAAM,KAAK,CAAA;AAiMhD,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;cAIG,QAAQ,CAAC,OAAO,CAAC;;;IAGlC;;;OAGG;;;;;;;;;;;;;;;;;;;;;IAMH;;OAEG;;cAEe,QAAQ,CAAC,eAAe,CAAC,GAAG,IAAI;;;;;;;;IAQlD;;OAEG;;;;;;IAMH;;OAEG;;;;;;;;;IASH;;OAEG;;;;;;;;;;;cA7Cc,QAAQ,CAAC,OAAO,CAAC;;;IAGlC;;;OAGG;;;;;;;;;;;;;;;;;;;;;IAMH;;OAEG;;cAEe,QAAQ,CAAC,eAAe,CAAC,GAAG,IAAI;;;;;;;;IAQlD;;OAEG;;;;;;IAMH;;OAEG;;;;;;;;;IASH;;OAEG;;;;;;;;;;;;;;;;;4EAOH,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|