@kong-ui-public/analytics-chart 10.13.8-pr.2800.38353414e.0 → 10.13.8-pr.2805.206b4254b.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 (122) hide show
  1. package/dist/style.css +1 -0
  2. package/dist/types/components/AnalyticsChart.vue.d.ts +38 -0
  3. package/dist/types/components/AnalyticsChart.vue.d.ts.map +1 -0
  4. package/dist/types/components/CsvExportModal.vue.d.ts +16 -0
  5. package/dist/types/components/CsvExportModal.vue.d.ts.map +1 -0
  6. package/dist/types/components/DownloadCsv.vue.d.ts +20 -0
  7. package/dist/types/components/DownloadCsv.vue.d.ts.map +1 -0
  8. package/dist/types/components/SimpleChart.vue.d.ts +74 -0
  9. package/dist/types/components/SimpleChart.vue.d.ts.map +1 -0
  10. package/dist/types/components/SparklineChart.vue.d.ts +95 -0
  11. package/dist/types/components/SparklineChart.vue.d.ts.map +1 -0
  12. package/dist/types/components/TopNTable.vue.d.ts +37 -0
  13. package/dist/types/components/TopNTable.vue.d.ts.map +1 -0
  14. package/dist/types/components/ZoomActions.vue.d.ts +15 -0
  15. package/dist/types/components/ZoomActions.vue.d.ts.map +1 -0
  16. package/dist/types/components/ZoomTimerange.vue.d.ts +10 -0
  17. package/dist/types/components/ZoomTimerange.vue.d.ts.map +1 -0
  18. package/dist/types/components/chart-plugins/ChartLegend.vue.d.ts +36 -0
  19. package/dist/types/components/chart-plugins/ChartLegend.vue.d.ts.map +1 -0
  20. package/dist/types/components/chart-plugins/ChartTooltip.vue.d.ts +34 -0
  21. package/dist/types/components/chart-plugins/ChartTooltip.vue.d.ts.map +1 -0
  22. package/dist/types/components/chart-plugins/DragSelectPlugin.d.ts +22 -0
  23. package/dist/types/components/chart-plugins/DragSelectPlugin.d.ts.map +1 -0
  24. package/dist/types/components/chart-plugins/HighlightPlugin.d.ts +18 -0
  25. package/dist/types/components/chart-plugins/HighlightPlugin.d.ts.map +1 -0
  26. package/dist/types/components/chart-plugins/ThresholdPlugin.d.ts +33 -0
  27. package/dist/types/components/chart-plugins/ThresholdPlugin.d.ts.map +1 -0
  28. package/dist/types/components/chart-plugins/VerticalLinePlugin.d.ts +29 -0
  29. package/dist/types/components/chart-plugins/VerticalLinePlugin.d.ts.map +1 -0
  30. package/dist/types/components/chart-types/DonutChart.vue.d.ts +28 -0
  31. package/dist/types/components/chart-types/DonutChart.vue.d.ts.map +1 -0
  32. package/dist/types/components/chart-types/GaugeChart.vue.d.ts +92 -0
  33. package/dist/types/components/chart-types/GaugeChart.vue.d.ts.map +1 -0
  34. package/dist/types/components/chart-types/SingleValue.vue.d.ts +68 -0
  35. package/dist/types/components/chart-types/SingleValue.vue.d.ts.map +1 -0
  36. package/dist/types/components/chart-types/StackedBarChart.vue.d.ts +33 -0
  37. package/dist/types/components/chart-types/StackedBarChart.vue.d.ts.map +1 -0
  38. package/dist/types/components/chart-types/TimeSeriesChart.vue.d.ts +52 -0
  39. package/dist/types/components/chart-types/TimeSeriesChart.vue.d.ts.map +1 -0
  40. package/dist/types/components/vue-json-csv/VueJsonCsv.vue.d.ts +166 -0
  41. package/dist/types/components/vue-json-csv/VueJsonCsv.vue.d.ts.map +1 -0
  42. package/dist/types/composables/index.d.ts +31 -0
  43. package/dist/types/composables/index.d.ts.map +1 -0
  44. package/dist/types/composables/useBarChartOptions.d.ts +118 -0
  45. package/dist/types/composables/useBarChartOptions.d.ts.map +1 -0
  46. package/dist/types/composables/useChartJSCommon.d.ts +5 -0
  47. package/dist/types/composables/useChartJSCommon.d.ts.map +1 -0
  48. package/dist/types/composables/useChartLegendValues.d.ts +6 -0
  49. package/dist/types/composables/useChartLegendValues.d.ts.map +1 -0
  50. package/dist/types/composables/useChartSelectedRange.d.ts +4 -0
  51. package/dist/types/composables/useChartSelectedRange.d.ts.map +1 -0
  52. package/dist/types/composables/useDonutChartOptions.d.ts +41 -0
  53. package/dist/types/composables/useDonutChartOptions.d.ts.map +1 -0
  54. package/dist/types/composables/useEvauluateFeatureFlag.d.ts +4 -0
  55. package/dist/types/composables/useEvauluateFeatureFlag.d.ts.map +1 -0
  56. package/dist/types/composables/useExploreResultToDatasets.d.ts +5 -0
  57. package/dist/types/composables/useExploreResultToDatasets.d.ts.map +1 -0
  58. package/dist/types/composables/useExploreResultToTimeDatasets.d.ts +6 -0
  59. package/dist/types/composables/useExploreResultToTimeDatasets.d.ts.map +1 -0
  60. package/dist/types/composables/useI18n.d.ts +9 -0
  61. package/dist/types/composables/useI18n.d.ts.map +1 -0
  62. package/dist/types/composables/useLineChartOptions.d.ts +115 -0
  63. package/dist/types/composables/useLineChartOptions.d.ts.map +1 -0
  64. package/dist/types/composables/useReportChartDataForSynthetics.d.ts +9 -0
  65. package/dist/types/composables/useReportChartDataForSynthetics.d.ts.map +1 -0
  66. package/dist/types/composables/useSparklineSync.d.ts +30 -0
  67. package/dist/types/composables/useSparklineSync.d.ts.map +1 -0
  68. package/dist/types/composables/useTooltipAbsolutePosition.d.ts +9 -0
  69. package/dist/types/composables/useTooltipAbsolutePosition.d.ts.map +1 -0
  70. package/dist/types/composables/useTranslatedUnits.d.ts +4 -0
  71. package/dist/types/composables/useTranslatedUnits.d.ts.map +1 -0
  72. package/dist/types/constants/index.d.ts +3 -0
  73. package/dist/types/constants/index.d.ts.map +1 -0
  74. package/dist/types/enums/chart-legend-position.enum.d.ts +5 -0
  75. package/dist/types/enums/chart-legend-position.enum.d.ts.map +1 -0
  76. package/dist/types/enums/index.d.ts +2 -0
  77. package/dist/types/enums/index.d.ts.map +1 -0
  78. package/dist/types/index.d.ts +13 -0
  79. package/dist/types/index.d.ts.map +1 -0
  80. package/dist/types/types/chart-data.d.ts +178 -0
  81. package/dist/types/types/chart-data.d.ts.map +1 -0
  82. package/dist/types/types/chart-export.d.ts +20 -0
  83. package/dist/types/types/chart-export.d.ts.map +1 -0
  84. package/dist/types/types/chart-types.d.ts +6 -0
  85. package/dist/types/types/chart-types.d.ts.map +1 -0
  86. package/dist/types/types/chartjs-options.d.ts +68 -0
  87. package/dist/types/types/chartjs-options.d.ts.map +1 -0
  88. package/dist/types/types/dataset-generation-types.d.ts +14 -0
  89. package/dist/types/types/dataset-generation-types.d.ts.map +1 -0
  90. package/dist/types/types/explore-to-dataset-deps.d.ts +18 -0
  91. package/dist/types/types/explore-to-dataset-deps.d.ts.map +1 -0
  92. package/dist/types/types/external-link.d.ts +4 -0
  93. package/dist/types/types/external-link.d.ts.map +1 -0
  94. package/dist/types/types/index.d.ts +10 -0
  95. package/dist/types/types/index.d.ts.map +1 -0
  96. package/dist/types/types/query-error.d.ts +7 -0
  97. package/dist/types/types/query-error.d.ts.map +1 -0
  98. package/dist/types/types/zoom-action-item.d.ts +9 -0
  99. package/dist/types/types/zoom-action-item.d.ts.map +1 -0
  100. package/dist/types/utils/bucketTimestamps.d.ts +8 -0
  101. package/dist/types/utils/bucketTimestamps.d.ts.map +1 -0
  102. package/dist/types/utils/colors.d.ts +30 -0
  103. package/dist/types/utils/colors.d.ts.map +1 -0
  104. package/dist/types/utils/commonOptions.d.ts +22 -0
  105. package/dist/types/utils/commonOptions.d.ts.map +1 -0
  106. package/dist/types/utils/constants.d.ts +5 -0
  107. package/dist/types/utils/constants.d.ts.map +1 -0
  108. package/dist/types/utils/customColors.d.ts +10 -0
  109. package/dist/types/utils/customColors.d.ts.map +1 -0
  110. package/dist/types/utils/defaultLineOptions.d.ts +9 -0
  111. package/dist/types/utils/defaultLineOptions.d.ts.map +1 -0
  112. package/dist/types/utils/format-timestamps.d.ts +13 -0
  113. package/dist/types/utils/format-timestamps.d.ts.map +1 -0
  114. package/dist/types/utils/index.d.ts +9 -0
  115. package/dist/types/utils/index.d.ts.map +1 -0
  116. package/dist/types/utils/queryError.d.ts +3 -0
  117. package/dist/types/utils/queryError.d.ts.map +1 -0
  118. package/dist/types/utils/stackedBarUtil.d.ts +9 -0
  119. package/dist/types/utils/stackedBarUtil.d.ts.map +1 -0
  120. package/dist/vitals-chart.es.js +22781 -0
  121. package/dist/vitals-chart.umd.js +43 -0
  122. package/package.json +4 -4
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ .zoom-timerange-container[data-v-0e972e3c]{line-height:16px;line-height:var(--kui-line-height-20, 16px);margin:0 4px;margin:0 var(--kui-space-20, 4px)}.zoom-timerange-container .zoom-timerange-details[data-v-0e972e3c]{display:grid;font-size:12px;font-size:var(--kui-font-size-20, 12px);gap:2px;gap:var(--kui-space-10, 2px);grid-template-columns:35px 1fr;margin:6px 2px;margin:var(--kui-space-30, 6px) var(--kui-space-10, 2px)}.zoom-timerange-container .zoom-timerange-details .label[data-v-0e972e3c]{color:#52596e;color:var(--kui-color-text-netural-strong, #52596e)}.zoom-actions-container[data-v-179abac7]{background-color:#fff;background-color:var(--kui-color-background, #ffffff);border-radius:4px;border-radius:var(--kui-border-radius-20, 4px);display:flex;flex-direction:column;line-height:16px;line-height:var(--kui-line-height-20, 16px)}.zoom-actions-container .zoom-actions-heading[data-v-179abac7]{align-items:top;display:flex}.zoom-actions-container .zoom-actions-heading .zoom-actions-close-icon[data-v-179abac7]{cursor:pointer;margin-right:6px;margin-right:var(--kui-space-30, 6px);margin-top:6px;margin-top:var(--kui-space-30, 6px)}.zoom-actions-container .zoom-actions-heading-divider[data-v-179abac7]{border-bottom:1px solid #e0e4ea;border-bottom:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea);margin:0 4px;margin:0 var(--kui-space-20, 4px)}.zoom-actions-container .zoom-action-select .zoom-action-item[data-v-179abac7]:first-child{margin-top:4px;margin-top:var(--kui-space-20, 4px)}.zoom-actions-container .zoom-action-item[data-v-179abac7]{color:#000933;color:var(--kui-color-text, #000933);cursor:pointer;font-size:12px;font-size:var(--kui-font-size-20, 12px);padding:4px 8px;padding:var(--kui-space-20, 4px) var(--kui-space-40, 8px);transition:background-color .2s}.zoom-actions-container .zoom-action-item[data-v-179abac7]:last-of-type{border-bottom-left-radius:4px;border-bottom-left-radius:var(--kui-border-radius-20, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--kui-border-radius-20, 4px);margin-bottom:4px;margin-bottom:var(--kui-space-20, 4px)}.zoom-actions-container .zoom-action-item .zoom-action-link[data-v-179abac7]{color:#000933;color:var(--kui-color-text, #000933);display:block;text-decoration:none}.zoom-actions-container .zoom-action-item.disabled[data-v-179abac7]{color:#afb7c5;color:var(--kui-color-text-disabled, #afb7c5);pointer-events:none}.zoom-actions-container .zoom-action-item.disabled a[data-v-179abac7]{color:#afb7c5;color:var(--kui-color-text-disabled, #afb7c5)}.zoom-actions-container .zoom-action-item[data-v-179abac7]:hover{background-color:#e0e4ea;background-color:var(--kui-color-background-neutral-weaker, #e0e4ea)}.locked[data-v-2a332cee]{cursor:move}.tooltip-container[data-v-2a332cee]{background-color:#fff;border-radius:4px;border-radius:var(--kui-border-radius-20, 4px);box-shadow:0 5px 15px #0000001f,0 5px 10px #0000003d;max-width:425px;position:fixed;transition:all .2s cubic-bezier(.25,.8,.25,1);z-index:1}.tooltip-container .tooltip-title[data-v-2a332cee]{border-bottom:1px solid #e0e4ea;border-bottom:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea);display:flex;flex-direction:column;margin:6px 6px 0;margin:var(--kui-space-30, 6px) var(--kui-space-30, 6px) 0 var(--kui-space-30, 6px);min-height:24px;padding-bottom:4px;padding-bottom:var(--kui-space-20, 4px)}.tooltip-container .tooltip-title .title[data-v-2a332cee]{display:flex;font-size:14px;font-size:var(--kui-font-size-30, 14px);font-weight:600;font-weight:var(--kui-font-weight-semibold, 600);justify-content:space-between}.tooltip-container .tooltip-title .title .drag-icon[data-v-2a332cee]{margin-top:6px;margin-top:var(--kui-space-30, 6px);right:0;top:0}.tooltip-container .tooltip-title .subtitle[data-v-2a332cee]{display:flex;font-size:12px;font-size:var(--kui-font-size-20, 12px);gap:8px;gap:var(--kui-space-40, 8px);justify-content:space-between;margin-top:6px;margin-top:var(--kui-space-30, 6px)}.tooltip-container .tooltip[data-v-2a332cee]{list-style:none;margin:6px;margin:var(--kui-space-30, 6px);max-height:300px;min-width:250px;overflow-y:auto;overflow-y:var(--kui-space-auto, auto);padding-left:0;padding-left:var(--kui-space-0, 0px)}.tooltip-container .tooltip[data-v-2a332cee]{-ms-overflow-style:thin;scrollbar-color:#e0e4ea transparent;scrollbar-color:var(--kui-color-background-disabled, #e0e4ea) var(--kui-color-background-transparent, transparent);scrollbar-width:auto}.tooltip-container .tooltip[data-v-2a332cee] ::-webkit-scrollbar{width:40,8px;width:var(--kui-space, 40, 8px)}.tooltip-container .tooltip[data-v-2a332cee] ::-webkit-scrollbar-track{background:transparent}.tooltip-container .tooltip[data-v-2a332cee] ::-webkit-scrollbar-thumb{background-color:#e0e4ea;background-color:var(--kui-color-background-disabled, #e0e4ea);border-radius:10px;border-radius:var(--kui-border-radius-50, 10px)}.tooltip-container .tooltip li[data-v-2a332cee]{align-items:center;display:flex;font-size:12px;font-size:var(--kui-font-size-20, 12px);line-height:20px;line-height:var(--kui-line-height-30, 20px)}.tooltip-container .tooltip .display-label[data-v-2a332cee]{flex:1;max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tooltip-container .tooltip .display-label.empty[data-v-2a332cee]{font-style:italic}.tooltip-container .tooltip .display-value[data-v-2a332cee]{margin-left:auto;margin-left:var(--kui-space-auto, auto);padding-left:8px;padding-left:var(--kui-space-40, 8px);white-space:nowrap}.tooltip-container .tooltip .square-marker[data-v-2a332cee]{display:inline-flex;flex-direction:row;height:12px;margin-right:6px;margin-right:var(--kui-space-30, 6px);width:12px}.no-select{-webkit-user-select:none;user-select:none}.legend-container[data-v-7e26f08c]{box-sizing:border-box;display:flex;flex-grow:1;flex-wrap:wrap;gap:8px 9px;justify-content:center;margin:0;max-height:inherit;overflow:auto;-ms-overflow-style:thin;padding:8px calc(5% + 4px);width:100%}.legend-container[data-v-7e26f08c]{-ms-overflow-style:thin;scrollbar-color:#e0e4ea transparent;scrollbar-color:var(--kui-color-background-disabled, #e0e4ea) var(--kui-color-background-transparent, transparent);scrollbar-width:auto}.legend-container[data-v-7e26f08c] ::-webkit-scrollbar{width:40,8px;width:var(--kui-space, 40, 8px)}.legend-container[data-v-7e26f08c] ::-webkit-scrollbar-track{background:transparent}.legend-container[data-v-7e26f08c] ::-webkit-scrollbar-thumb{background-color:#e0e4ea;background-color:var(--kui-color-background-disabled, #e0e4ea);border-radius:10px;border-radius:var(--kui-border-radius-50, 10px)}.legend-container li[data-v-7e26f08c]{align-items:center;cursor:pointer;display:flex;line-height:1;margin:0}.legend-container li .square-marker[data-v-7e26f08c]{height:8px;margin:0 6px 0 0;width:8px}.legend-container li .label[data-v-7e26f08c]{font-size:12px;white-space:nowrap}.legend-container li .label.truncate-label[data-v-7e26f08c]{max-width:20ch;overflow:hidden;text-overflow:ellipsis}.legend-container li .sub-label[data-v-7e26f08c]{font-size:12px;line-height:16px;word-break:none}.legend-container li .strike-through[data-v-7e26f08c]{text-decoration:line-through}.legend-container li .empty[data-v-7e26f08c]{font-style:italic}.legend-container li .tooltip-content[data-v-7e26f08c]{max-width:40ch}.chart-parent[data-v-f71b58a9]{align-items:center;display:flex;height:100%;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-f71b58a9]{flex-direction:column}.chart-parent.column .chart-container[data-v-f71b58a9]{flex-shrink:0;height:calc(100% - 49px);width:100%}.chart-parent .chart-container[data-v-f71b58a9]{flex:1 1 auto;height:100%;position:relative}.analytics-chart-shell.show-values .chart-parent.column .chart-container[data-v-f71b58a9]{height:calc(100% - 80px)}.chart-container[data-v-f71b58a9]{overflow:auto}.chart-container[data-v-f71b58a9]{-ms-overflow-style:thin;scrollbar-color:#e0e4ea transparent;scrollbar-color:var(--kui-color-background-disabled, #e0e4ea) var(--kui-color-background-transparent, transparent);scrollbar-width:auto}.chart-container[data-v-f71b58a9] ::-webkit-scrollbar{width:40,8px;width:var(--kui-space, 40, 8px)}.chart-container[data-v-f71b58a9] ::-webkit-scrollbar-track{background:transparent}.chart-container[data-v-f71b58a9] ::-webkit-scrollbar-thumb{background-color:#e0e4ea;background-color:var(--kui-color-background-disabled, #e0e4ea);border-radius:10px;border-radius:var(--kui-border-radius-50, 10px)}.chart-container .chart-body[data-v-f71b58a9]{height:100%}.chart-container[data-v-f71b58a9]::-webkit-scrollbar-track{background-color:#fff;background-color:var(--kui-color-background, #ffffff);border-radius:10px;border-radius:var(--kui-border-radius-50, 10px)}.chart-container[data-v-f71b58a9]::-webkit-scrollbar{width:10px}.chart-container[data-v-f71b58a9]::-webkit-scrollbar-thumb{background-color:#e0e4ea;background-color:var(--kui-color-background-disabled, #e0e4ea);border-radius:10px;border-radius:var(--kui-border-radius-50, 10px)}.axis[data-v-f71b58a9]{left:0;pointer-events:none;position:absolute;top:0;z-index:99}.axis-tooltip[data-v-f71b58a9]{background-color:#000933;background-color:var(--kui-color-background-inverse, #000933);border:none;border-radius:4px;border-radius:var(--kui-border-radius-20, 4px);color:#fff;color:var(--kui-color-text-inverse, #ffffff);max-width:40ch;padding:4px 8px;padding:var(--kui-space-20, 4px) var(--kui-space-40, 8px);position:absolute;width:max-content;z-index:100}.axis-tooltip .axis-tooltip-content[data-v-f71b58a9]{color:#fff;color:var(--kui-color-text-inverse, #ffffff);font-family:Inter,Roboto,Helvetica,sans-serif;font-family:var(--kui-font-family-text, "Inter", Roboto, Helvetica, sans-serif);font-size:12px;font-size:var(--kui-font-size-20, 12px);font-weight:500;font-weight:var(--kui-font-weight-medium, 500);line-height:16px;line-height:var(--kui-line-height-20, 16px)}.tooltip-boundary[data-v-f71b58a9]{height:100%;left:0;position:relative;top:0;width:100%}.chart-parent[data-v-9503582a]{align-items:center;display:flex;height:100%;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-9503582a]{flex-direction:column}.chart-parent.column .chart-container[data-v-9503582a]{flex-shrink:0;height:calc(100% - 49px);width:100%}.chart-parent .chart-container[data-v-9503582a]{flex:1 1 auto;height:100%;position:relative}.analytics-chart-shell.show-values .chart-parent.column .chart-container[data-v-9503582a]{height:calc(100% - 80px)}.chart-parent[data-v-a9742646]{align-items:center;display:flex;height:100%;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-a9742646]{flex-direction:column}.chart-parent.column .chart-container[data-v-a9742646]{flex-shrink:0;height:calc(100% - 49px);width:100%}.chart-parent .chart-container[data-v-a9742646]{flex:1 1 auto;height:100%;position:relative}.analytics-chart-shell.show-values .chart-parent.column .chart-container[data-v-a9742646]{height:calc(100% - 80px)}.analytics-chart-shell[data-v-de2b8f0e],.simple-chart-shell[data-v-de2b8f0e]{border-radius:4px;border-radius:var(--kui-border-radius-20, 4px);display:flex;flex-direction:column}.analytics-chart-shell .chart-empty-state[data-v-de2b8f0e],.simple-chart-shell .chart-empty-state[data-v-de2b8f0e]{display:flex;flex-direction:column;height:100%;justify-content:center}.analytics-chart-shell[data-v-de2b8f0e]{height:100%;position:relative;width:100%}.analytics-chart-shell .analytics-chart-parent[data-v-de2b8f0e]{height:inherit;width:inherit}.analytics-chart-shell .chart-empty-state[data-v-de2b8f0e]{padding:20px 0 16px;padding:var(--kui-space-70, 20px) var(--kui-space-0, 0px) var(--kui-space-60, 16px) var(--kui-space-0, 0px)}.analytics-chart-shell .chart-truncation-warning[data-v-de2b8f0e]{align-items:center;background-color:#fff;display:flex;justify-content:flex-start;left:0;position:absolute;top:0;transform:translate(-4px);z-index:999}.chart-parent[data-v-c461b83f]{align-items:center;display:flex;height:100%;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-c461b83f]{flex-direction:column}.chart-parent.column .chart-container[data-v-c461b83f]{flex-shrink:0;height:calc(100% - 49px);width:100%}.chart-parent .chart-container[data-v-c461b83f]{flex:1 1 auto;height:100%;position:relative}.analytics-chart-shell.show-values .chart-parent.column .chart-container[data-v-c461b83f]{height:calc(100% - 80px)}.chart-parent[data-v-c461b83f]{height:auto;margin:0;margin:var(--kui-space-0, 0px);padding:0;padding:var(--kui-space-0, 0px);width:auto}.chart-parent .chart-container[data-v-c461b83f]{margin:0;margin:var(--kui-space-0, 0px);max-height:100px;max-width:100px;padding:0;padding:var(--kui-space-0, 0px)}.chart-parent .chart-totals-flex[data-v-c461b83f]{align-items:center;display:flex;flex-direction:column;height:100px;justify-content:center;padding:24px 0 0;padding:var(--kui-space-80, 24px) var(--kui-space-0, 0px) var(--kui-space-0, 0px);position:absolute;width:100px;z-index:2}.chart-parent .chart-totals-flex .metric-large[data-v-c461b83f]{font-size:20px;font-size:var(--kui-font-size-60, 20px);font-weight:500;font-weight:var(--kui-font-weight-medium, 500);line-height:28px;line-height:var(--kui-line-height-50, 28px)}.chart-parent .chart-totals-flex .metric-small[data-v-c461b83f]{color:#6c7489;color:var(--kui-color-text-neutral, #6c7489);font-size:10px;font-size:var(--kui-font-size-10, 10px);font-weight:400;font-weight:var(--kui-font-weight-regular, 400);line-height:12px;line-height:var(--kui-line-height-10, 12px)}.chart-parent[data-v-31927c15]{align-items:center;display:flex;height:100%;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-31927c15]{flex-direction:column}.chart-parent.column .chart-container[data-v-31927c15]{flex-shrink:0;height:calc(100% - 49px);width:100%}.chart-parent .chart-container[data-v-31927c15]{flex:1 1 auto;height:100%;position:relative}.analytics-chart-shell.show-values .chart-parent.column .chart-container[data-v-31927c15]{height:calc(100% - 80px)}.chart-parent[data-v-31927c15]{container-type:inline-size}.chart-parent.align-left[data-v-31927c15]{justify-content:flex-start}.chart-parent.align-center[data-v-31927c15]{justify-content:center}.chart-parent.align-right[data-v-31927c15]{justify-content:flex-end}.chart-parent.align-between[data-v-31927c15]{justify-content:space-between}.chart-parent.align-around[data-v-31927c15]{justify-content:space-around}.chart-parent.align-evenly[data-v-31927c15]{justify-content:space-evenly}.chart-parent .single-value-error[data-v-31927c15] .empty-state-title{font-size:12px;font-size:var(--kui-font-size-20, 12px);line-height:16px;line-height:var(--kui-line-height-20, 16px);margin:0;margin:var(--kui-space-0, 0px)}.chart-parent .single-value-wrapper[data-v-31927c15]{align-items:baseline;display:flex;flex-direction:column;gap:12px}.chart-parent .single-value-wrapper .single-value-metric[data-v-31927c15]{align-items:baseline;display:inline-flex}.chart-parent .single-value-wrapper .single-value[data-v-31927c15]{color:#000933;font-size:24px;font-weight:700;line-height:36px}.chart-parent .single-value-wrapper .single-value-unit[data-v-31927c15]{color:#000933;font-size:20px;font-weight:700;line-height:32px}.chart-parent .single-value-wrapper .single-value-trend[data-v-31927c15]{align-items:center;column-gap:8px;column-gap:var(--kui-space-40, 8px);display:flex}.chart-parent .single-value-wrapper .single-value-trend .trend-change[data-v-31927c15]{align-items:center;border-radius:4px;border-radius:var(--kui-border-radius-20, 4px);display:flex;flex-direction:row;font-size:12px;font-size:var(--kui-font-size-20, 12px);font-weight:600;font-weight:var(--kui-font-weight-semibold, 600);padding:4px 8px;padding:var(--kui-space-20, 4px) var(--kui-space-40, 8px)}.chart-parent .single-value-wrapper .single-value-trend .trend-change .kui-icon[data-v-31927c15]{margin-right:4px;margin-right:var(--kui-space-20, 4px)}.chart-parent .single-value-wrapper .single-value-trend .trend-change.positive[data-v-31927c15]{background-color:#ecfffb;background-color:var(--kui-color-background-success-weakest, #ecfffb);color:#007d60;color:var(--kui-color-text-success, #007d60)}.chart-parent .single-value-wrapper .single-value-trend .trend-change.negative[data-v-31927c15]{background-color:#ffe5e5;background-color:var(--kui-color-background-danger-weakest, #ffe5e5);color:#ad000e;color:var(--kui-color-text-danger-strong, #ad000e)}.chart-parent .single-value-wrapper .single-value-trend .trend-change.neutral[data-v-31927c15]{background-color:#e0e4ea;background-color:var(--kui-color-background-neutral-weaker, #e0e4ea);color:#52596e;color:var(--kui-color-text-neutral-strong, #52596e)}.chart-parent .single-value-wrapper .single-value-trend .single-value-trend-range[data-v-31927c15]{color:#000933;color:var(--kui-color-text, #000933);font-size:12px;font-size:var(--kui-font-size-20, 12px)}@container (min-width: 300px){.chart-parent .single-value-wrapper .single-value[data-v-31927c15]{font-size:48px;line-height:56px}.chart-parent .single-value-wrapper .single-value-unit[data-v-31927c15]{font-size:40px;line-height:48px}}@container (min-width: 500px){.chart-parent .single-value-wrapper .single-value[data-v-31927c15]{font-size:56px;line-height:64px}.chart-parent .single-value-wrapper .single-value-unit[data-v-31927c15]{font-size:48px;line-height:56px}}@container (min-width: 700px){.chart-parent .single-value-wrapper .single-value[data-v-31927c15]{font-size:64px;line-height:72px}.chart-parent .single-value-wrapper .single-value-unit[data-v-31927c15]{font-size:56px;line-height:64px}}@container (min-width: 1000px){.chart-parent .single-value-wrapper .single-value[data-v-31927c15]{font-size:80px;line-height:88px}.chart-parent .single-value-wrapper .single-value-unit[data-v-31927c15]{font-size:64px;line-height:72px}}@container (min-width: 1200px){.chart-parent .single-value-wrapper .single-value[data-v-31927c15]{font-size:96px;line-height:104px}.chart-parent .single-value-wrapper .single-value-unit[data-v-31927c15]{font-size:80px;line-height:88px}}.analytics-chart-shell[data-v-56837d34],.simple-chart-shell[data-v-56837d34]{border-radius:4px;border-radius:var(--kui-border-radius-20, 4px);display:flex;flex-direction:column}.analytics-chart-shell .chart-empty-state[data-v-56837d34],.simple-chart-shell .chart-empty-state[data-v-56837d34]{display:flex;flex-direction:column;height:100%;justify-content:center}.simple-chart-shell[data-v-56837d34]{margin:0;margin:var(--kui-space-0, 0px);padding:0;padding:var(--kui-space-0, 0px);width:100%}.simple-chart-shell .chart-empty-state[data-v-56837d34]{display:flex;flex-direction:column;justify-content:center}.simple-chart-shell .chart-empty-state[data-v-56837d34] .empty-state-title{font-size:12px;font-size:var(--kui-font-size-20, 12px);line-height:16px;line-height:var(--kui-line-height-20, 16px);margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-public-top-n-table[data-v-27e5b22c]{border:none!important;max-height:100%;padding:0!important;width:100%}.kong-ui-public-top-n-table .top-n-card-description[data-v-27e5b22c]{color:#6c7489;font-size:12px;text-align:right}.kong-ui-public-top-n-table[data-v-27e5b22c] .k-card-actions{align-self:baseline;display:flex;line-height:22px}.kong-ui-public-top-n-table[data-v-27e5b22c] .card-content{overflow-y:auto}.kong-ui-public-top-n-table[data-v-27e5b22c] .card-content{-ms-overflow-style:thin;scrollbar-color:#e0e4ea transparent;scrollbar-color:var(--kui-color-background-disabled, #e0e4ea) var(--kui-color-background-transparent, transparent);scrollbar-width:auto}.kong-ui-public-top-n-table[data-v-27e5b22c] .card-content ::-webkit-scrollbar{width:40,8px;width:var(--kui-space, 40, 8px)}.kong-ui-public-top-n-table[data-v-27e5b22c] .card-content ::-webkit-scrollbar-track{background:transparent}.kong-ui-public-top-n-table[data-v-27e5b22c] .card-content ::-webkit-scrollbar-thumb{background-color:#e0e4ea;background-color:var(--kui-color-background-disabled, #e0e4ea);border-radius:10px;border-radius:var(--kui-border-radius-50, 10px)}.kong-ui-public-top-n-table .top-n-table[data-v-27e5b22c]{display:flex;flex-direction:column;max-height:100%;overflow-x:auto}.kong-ui-public-top-n-table .top-n-table-table[data-v-27e5b22c]{border-collapse:collapse;table-layout:auto}.kong-ui-public-top-n-table .top-n-table-header-row[data-v-27e5b22c]{border-bottom:1px solid #e0e4ea}.kong-ui-public-top-n-table .top-n-table-header-cell[data-v-27e5b22c]{padding:0 24px 12px 0;padding:0 var(--kui-space-80, 24px) var(--kui-space-50, 12px) 0;text-align:left}.kong-ui-public-top-n-table .top-n-table-header-cell[data-v-27e5b22c]:last-child{padding-right:0}.kong-ui-public-top-n-table .top-n-table-header-cell .table-header-label[data-v-27e5b22c]{color:#000933;font-size:14px;font-weight:600;line-height:24px}.kong-ui-public-top-n-table .top-n-table-row[data-v-27e5b22c]{border-bottom:1px solid #e0e4ea}.kong-ui-public-top-n-table .top-n-table-row[data-v-27e5b22c]:first-of-type{border-top:1px solid #e0e4ea}.kong-ui-public-top-n-table .top-n-table-row[data-v-27e5b22c]:last-of-type{border-bottom:none}.kong-ui-public-top-n-table .top-n-table-header-cell-metric[data-v-27e5b22c],.kong-ui-public-top-n-table .top-n-table-cell-metric[data-v-27e5b22c]{white-space:nowrap;width:1%}.kong-ui-public-top-n-table .top-n-table-cell[data-v-27e5b22c]{min-width:110px;padding:12px 0;padding:var(--kui-space-50, 12px) var(--kui-space-0, 0px)}.kong-ui-public-top-n-table .top-n-table-cell--name[data-v-27e5b22c]{color:#3a3f51;font-size:14px;min-width:200px;padding-right:24px;padding-right:var(--kui-space-80, 24px)}.kong-ui-public-top-n-table[data-v-27e5b22c] a{color:#0044f4;font-weight:700;text-decoration:none}.kong-ui-public-csv-export-modal .modal-container{min-width:580px}.kong-ui-public-csv-export-modal .modal-container .selected-range{font-size:14px}.kong-ui-public-csv-export-modal .modal-container .text-muted{color:#00000073!important;font-size:14px}.kong-ui-public-csv-export-modal .modal-container .vitals-table{font-size:14px;margin-bottom:20px;margin-top:6px;width:100%}.kong-ui-public-csv-export-modal .modal-container .k-table thead{border-top:1px solid #e0e4ea;height:auto}.kong-ui-public-csv-export-modal .modal-container .modal-footer .vitals-report-export-button{display:inline-flex}.kong-ui-public-csv-export-modal .modal-container .preview-tooltip{display:inline-flex;margin:auto 0 auto 4px;margin:var(--kui-space-auto, auto) var(--kui-space-0, 0px) var(--kui-space-auto, auto) var(--kui-space-20, 4px);vertical-align:middle}.container[data-v-a8f926b6]{align-items:center;border:1px solid #e0e4ea;border-radius:4px;display:flex;height:30px;justify-content:center;overflow:hidden;padding-top:1px;position:relative}.container .no-data[data-v-a8f926b6]{color:#6c7489;cursor:default;font-size:12px;-webkit-user-select:none;user-select:none}.container .label[data-v-a8f926b6]{background-color:#ecfcff;border-bottom:1px solid #e0e4ea;border-radius:4px 0;border-right:1px solid #e0e4ea;color:#0044f4;cursor:default;font-size:10px;left:0;line-height:9px;max-width:90%;overflow:hidden;padding:2px 6px;position:absolute;text-overflow:ellipsis;top:0;-webkit-user-select:none;user-select:none;white-space:nowrap}.container .tooltip[data-v-a8f926b6]{z-index:10}
@@ -0,0 +1,38 @@
1
+ import type { AnalyticsChartOptions, ExternalLink } from '../types';
2
+ import { ChartLegendPosition } from '../enums';
3
+ import type { AbsoluteTimeRangeV4, ExploreResultV4 } from '@kong-ui-public/analytics-utilities';
4
+ interface ChartProps {
5
+ chartData: ExploreResultV4;
6
+ chartOptions: AnalyticsChartOptions;
7
+ tooltipTitle?: string;
8
+ emptyStateTitle?: string;
9
+ emptyStateDescription?: string;
10
+ legendPosition?: `${ChartLegendPosition}`;
11
+ syntheticsDataKey?: string;
12
+ showLegendValues?: boolean;
13
+ showAnnotations?: boolean;
14
+ timeseriesZoom?: boolean;
15
+ requestsLink?: ExternalLink;
16
+ exploreLink?: ExternalLink;
17
+ }
18
+ declare const __VLS_export: import("vue").DefineComponent<ChartProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
19
+ "zoom-time-range": (newTimeRange: AbsoluteTimeRangeV4) => any;
20
+ "select-chart-range": (newTimeRange: AbsoluteTimeRangeV4) => any;
21
+ }, string, import("vue").PublicProps, Readonly<ChartProps> & Readonly<{
22
+ "onZoom-time-range"?: ((newTimeRange: AbsoluteTimeRangeV4) => any) | undefined;
23
+ "onSelect-chart-range"?: ((newTimeRange: AbsoluteTimeRangeV4) => any) | undefined;
24
+ }>, {
25
+ syntheticsDataKey: string;
26
+ tooltipTitle: string;
27
+ showLegendValues: boolean;
28
+ legendPosition: `${ChartLegendPosition}`;
29
+ emptyStateTitle: string;
30
+ emptyStateDescription: string;
31
+ showAnnotations: boolean;
32
+ timeseriesZoom: boolean;
33
+ requestsLink: ExternalLink;
34
+ exploreLink: ExternalLink;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
+ declare const _default: typeof __VLS_export;
37
+ export default _default;
38
+ //# sourceMappingURL=AnalyticsChart.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnalyticsChart.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AnalyticsChart.vue"],"names":[],"mappings":"AA6aA,OAAO,KAAK,EAAE,qBAAqB,EAAsB,YAAY,EAAgC,MAAM,UAAU,CAAA;AACrH,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAK9C,OAAO,KAAK,EAAE,mBAAmB,EAAuB,eAAe,EAAqB,MAAM,qCAAqC,CAAA;AAMvI,UAAU,UAAU;IAClB,SAAS,EAAE,eAAe,CAAA;IAC1B,YAAY,EAAE,qBAAqB,CAAA;IACnC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,cAAc,CAAC,EAAE,GAAG,mBAAmB,EAAE,CAAA;IACzC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,WAAW,CAAC,EAAE,YAAY,CAAA;CAC3B;AAwiBD,QAAA,MAAM,YAAY;;;;;;;uBA9iBI,MAAM;kBAJX,MAAM;sBAKF,OAAO;oBAFT,GAAG,mBAAmB,EAAE;qBAFvB,MAAM;2BACA,MAAM;qBAIZ,OAAO;oBACR,OAAO;kBACT,YAAY;iBACb,YAAY;6EA6iB1B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,16 @@
1
+ import type { ExploreExportState } from '@kong-ui-public/analytics-utilities';
2
+ type __VLS_Props = {
3
+ exportState: ExploreExportState;
4
+ filename: string;
5
+ modalDescription?: string;
6
+ };
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ closeModal: (...args: any[]) => void;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ onCloseModal?: ((...args: any[]) => any) | undefined;
11
+ }>, {
12
+ modalDescription: string;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ //# sourceMappingURL=CsvExportModal.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CsvExportModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CsvExportModal.vue"],"names":[],"mappings":"AA8TA,OAAO,KAAK,EAAmB,kBAAkB,EAA+C,MAAM,qCAAqC,CAAA;AAS3I,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,kBAAkB,CAAA;IAC/B,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAC;AA2bF,QAAA,MAAM,YAAY;;;;;sBA5bG,MAAM;6EAgczB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,20 @@
1
+ import type { CsvData } from '../types';
2
+ type __VLS_Props = {
3
+ rows: CsvData;
4
+ headers: Record<string, string>;
5
+ filename: string;
6
+ };
7
+ declare var __VLS_7: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_7) => any;
10
+ };
11
+ declare const __VLS_base: 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 __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
20
+ //# sourceMappingURL=DownloadCsv.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DownloadCsv.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DownloadCsv.vue"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAGvC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,OAAO,CAAA;IACb,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAC;AA6CF,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,kSAEd,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"}
@@ -0,0 +1,74 @@
1
+ import type { SimpleChartOptions } from '../types';
2
+ import type { PropType } from 'vue';
3
+ import type { ExploreResultV4 } from '@kong-ui-public/analytics-utilities';
4
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
+ chartData: {
6
+ type: PropType<ExploreResultV4>;
7
+ required: true;
8
+ };
9
+ chartOptions: {
10
+ type: PropType<SimpleChartOptions>;
11
+ required: true;
12
+ };
13
+ emptyStateTitle: {
14
+ type: StringConstructor;
15
+ required: false;
16
+ default: string;
17
+ };
18
+ syntheticsDataKey: {
19
+ type: StringConstructor;
20
+ required: false;
21
+ default: string;
22
+ };
23
+ height: {
24
+ type: StringConstructor;
25
+ required: false;
26
+ default: string;
27
+ validator: (value: string) => boolean;
28
+ };
29
+ width: {
30
+ type: StringConstructor;
31
+ required: false;
32
+ default: string;
33
+ validator: (value: string) => boolean;
34
+ };
35
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
+ chartData: {
37
+ type: PropType<ExploreResultV4>;
38
+ required: true;
39
+ };
40
+ chartOptions: {
41
+ type: PropType<SimpleChartOptions>;
42
+ required: true;
43
+ };
44
+ emptyStateTitle: {
45
+ type: StringConstructor;
46
+ required: false;
47
+ default: string;
48
+ };
49
+ syntheticsDataKey: {
50
+ type: StringConstructor;
51
+ required: false;
52
+ default: string;
53
+ };
54
+ height: {
55
+ type: StringConstructor;
56
+ required: false;
57
+ default: string;
58
+ validator: (value: string) => boolean;
59
+ };
60
+ width: {
61
+ type: StringConstructor;
62
+ required: false;
63
+ default: string;
64
+ validator: (value: string) => boolean;
65
+ };
66
+ }>> & Readonly<{}>, {
67
+ width: string;
68
+ height: string;
69
+ syntheticsDataKey: string;
70
+ emptyStateTitle: string;
71
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
72
+ declare const _default: typeof __VLS_export;
73
+ export default _default;
74
+ //# sourceMappingURL=SimpleChart.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleChart.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SimpleChart.vue"],"names":[],"mappings":"AAgKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAA;AAoM1E,QAAA,MAAM,YAAY;;cAGE,QAAQ,CAAC,eAAe,CAAC;;;;cAIzB,QAAQ,CAAC,kBAAkB,CAAC;;;;;;;;;;;;;;;;;2BAiBzB,MAAM,KAAG,OAAO;;;;;;2BAQhB,MAAM,KAAG,OAAO;;;;cA7BnB,QAAQ,CAAC,eAAe,CAAC;;;;cAIzB,QAAQ,CAAC,kBAAkB,CAAC;;;;;;;;;;;;;;;;;2BAiBzB,MAAM,KAAG,OAAO;;;;;;2BAQhB,MAAM,KAAG,OAAO;;;;;;;4EAKrC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,95 @@
1
+ import 'chartjs-adapter-date-fns';
2
+ import type { SparklineDataset, SparklineType } from '../types';
3
+ type __VLS_Props = {
4
+ /**
5
+ * WARNING `chartKey` without `groupKey` does nothing.
6
+ * WARNING `chartKey` must be static across renders.
7
+ *
8
+ * Each sparkline that is a part of a group must provide a unique identifier
9
+ * that is consistent across renders. This allows all sparklines in that group
10
+ * to share state. See `groupKey` for details.
11
+ */
12
+ chartKey?: string;
13
+ /**
14
+ * A collection of timestamps. Given the number of `pointRenderCount` and the
15
+ * range of timestamps to be drawn, the timestamps will be bucketed with a
16
+ * count of how many timestamps are in each bucket. For example, given
17
+ * timestamps `[1, 1, 1, 4, 5, 6]` and a `pointRenderCount` of 2, will render
18
+ * two data points: 1-3: 3, 4-6: 3. However, if your `pointRenderCount` was 3
19
+ * it would instead render three data points: 1-2: 3, 3-4: 1, 5-6: 2
20
+ */
21
+ datasets: SparklineDataset[];
22
+ disableTooltip?: boolean;
23
+ /**
24
+ * WARNING `enableBrushing` without `groupKey` and `chartKey` does nothing.
25
+ *
26
+ * When brushing is enabled a vertical line will be drawn at the mouse
27
+ * position on all sparklines that share the same `groupKey`.
28
+ */
29
+ enableBrushing?: boolean;
30
+ /**
31
+ * WARNING `groupKey` without `chartKey` does nothing.
32
+ * WARNING `groupKey` must be static across renders.
33
+ *
34
+ * Every sparkline that has the same `groupKey` will be forced to render all
35
+ * data at the same scale in both the X and Y axes. Each one will effectively
36
+ * inherit the smallest `minStamp`, largest `maxStamp`, and largest `maxCount`.
37
+ * For each sparkline that doesn't have those props, it will calculate those
38
+ * props from the dataset it's given and that dataset will be used to
39
+ * influence other sparklines with this `groupKey` as well.
40
+ */
41
+ groupKey?: string;
42
+ /**
43
+ * determines the relative sizes/heights of bars/points on the y axis after
44
+ * bucketing the timestamps in your datasets. Defaults to the largest count.
45
+ * If lower than the largest count the data will be truncated.
46
+ */
47
+ maxCount?: number;
48
+ /**
49
+ * determines the relative position of bars/points on the x axis, defaults to
50
+ * the largest timestamp in your datasets. If set lower than the largest
51
+ * timestamp, the data will be truncated.
52
+ */
53
+ maxStamp?: number;
54
+ /**
55
+ * determines the relative sizes/heights of bars/points on the y axis after
56
+ * bucketing the timestamps in your datasets. Defaults to 0. If higher than
57
+ * the lowest count the data will be truncated.
58
+ */
59
+ minCount?: number;
60
+ /**
61
+ * determines the relative position of bars/points on the x axis, defaults to
62
+ * the smallest timestamp in your datasets. If set higher than the smallest
63
+ * timestamp, the data will be truncated
64
+ */
65
+ minStamp?: number;
66
+ /**
67
+ * The number of datapoints to render. Will bucket timestamps into ranges that
68
+ * are `(maxStamp - minStamp) / pointRenderCount` apart. `pointRenderCount`
69
+ * must be greater than 1 (will default to 2 if a value less than 2 is
70
+ * provided) as you can't draw a line without at least 2 points rendered.
71
+ */
72
+ pointRenderCount?: number;
73
+ showLabel?: boolean;
74
+ tooltipTitle?: string;
75
+ type: SparklineType;
76
+ };
77
+ declare var __VLS_1: {}, __VLS_20: {
78
+ total: number;
79
+ totalByDataset: Record<string, number>;
80
+ };
81
+ type __VLS_Slots = {} & {
82
+ empty?: (props: typeof __VLS_1) => any;
83
+ } & {
84
+ label?: (props: typeof __VLS_20) => any;
85
+ };
86
+ declare const __VLS_base: 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>;
87
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
88
+ declare const _default: typeof __VLS_export;
89
+ export default _default;
90
+ type __VLS_WithSlots<T, S> = T & {
91
+ new (): {
92
+ $slots: S;
93
+ };
94
+ };
95
+ //# sourceMappingURL=SparklineChart.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SparklineChart.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SparklineChart.vue"],"names":[],"mappings":"AAibA,OAAO,0BAA0B,CAAA;AAMjC,OAAO,KAAK,EAA0B,gBAAgB,EAAE,aAAa,EAAgB,MAAM,UAAU,CAAA;AAIrG,KAAK,WAAW,GAAG;IACjB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;;;;OAOG;IACH,QAAQ,EAAE,gBAAgB,EAAE,CAAA;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,aAAa,CAAA;CACpB,CAAC;AAoXF,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ;;;CAAY,CAAE;AAC7C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAK9C,QAAA,MAAM,UAAU,kSAEd,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"}
@@ -0,0 +1,37 @@
1
+ import type { ExploreResultV4 } from '@kong-ui-public/analytics-utilities';
2
+ import type { HeaderTag } from '@kong/kongponents';
3
+ type __VLS_Props = {
4
+ title?: string;
5
+ description?: string;
6
+ data: ExploreResultV4;
7
+ emptyStateTitle?: string;
8
+ isLoading?: boolean;
9
+ titleTag?: HeaderTag;
10
+ };
11
+ declare var __VLS_30: {
12
+ record: {
13
+ id: string;
14
+ name: string;
15
+ deleted: boolean;
16
+ dimension: string;
17
+ };
18
+ };
19
+ type __VLS_Slots = {} & {
20
+ name?: (props: typeof __VLS_30) => any;
21
+ };
22
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
23
+ title: string;
24
+ emptyStateTitle: string;
25
+ description: string;
26
+ isLoading: boolean;
27
+ titleTag: HeaderTag;
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
30
+ declare const _default: typeof __VLS_export;
31
+ export default _default;
32
+ type __VLS_WithSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
37
+ //# sourceMappingURL=TopNTable.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TopNTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNTable.vue"],"names":[],"mappings":"AA+fA,OAAO,KAAK,EAGV,eAAe,EAChB,MAAM,qCAAqC,CAAA;AAC5C,OAAO,KAAK,EACV,SAAS,EACV,MAAM,mBAAmB,CAAA;AAmB1B,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,eAAe,CAAA;IACrB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB,CAAC;AAkeF,QAAA,IAAI,QAAQ;;;;;;;CAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAK7C,QAAA,MAAM,UAAU;WA/eN,MAAM;qBAGI,MAAM;iBAFV,MAAM;eAGR,OAAO;cACR,SAAS;6EA6epB,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"}
@@ -0,0 +1,15 @@
1
+ import type { AbsoluteTimeRangeV4, GranularityValues } from '@kong-ui-public/analytics-utilities';
2
+ import type { ZoomActionItem } from '../types';
3
+ type __VLS_Props = {
4
+ zoomActionItems: ZoomActionItem[];
5
+ newTimeRange: AbsoluteTimeRangeV4;
6
+ granularity: GranularityValues;
7
+ };
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ onAction: () => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onOnAction?: (() => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ //# sourceMappingURL=ZoomActions.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZoomActions.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ZoomActions.vue"],"names":[],"mappings":"AAwIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAA;AACjG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAK9C,KAAK,WAAW,GAAG;IACjB,eAAe,EAAE,cAAc,EAAE,CAAA;IACjC,YAAY,EAAE,mBAAmB,CAAA;IACjC,WAAW,EAAE,iBAAiB,CAAA;CAC/B,CAAC;AAgJF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,10 @@
1
+ import type { GranularityValues } from '@kong-ui-public/analytics-utilities';
2
+ type __VLS_Props = {
3
+ start: Date;
4
+ end: Date;
5
+ granularity: GranularityValues;
6
+ };
7
+ 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>;
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
10
+ //# sourceMappingURL=ZoomTimerange.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZoomTimerange.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ZoomTimerange.vue"],"names":[],"mappings":"AAsFA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAA;AAK5E,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,IAAI,CAAA;IACX,GAAG,EAAE,IAAI,CAAA;IACT,WAAW,EAAE,iBAAiB,CAAA;CAC/B,CAAC;AAoFF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,36 @@
1
+ import { type PropType } from 'vue';
2
+ import type { EnhancedLegendItem } from 'src/types';
3
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ id: {
5
+ type: StringConstructor;
6
+ required: true;
7
+ };
8
+ items: {
9
+ type: PropType<EnhancedLegendItem[]>;
10
+ required: true;
11
+ };
12
+ chartInstance: {
13
+ type: ObjectConstructor;
14
+ required: false;
15
+ default: () => null;
16
+ };
17
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
+ id: {
19
+ type: StringConstructor;
20
+ required: true;
21
+ };
22
+ items: {
23
+ type: PropType<EnhancedLegendItem[]>;
24
+ required: true;
25
+ };
26
+ chartInstance: {
27
+ type: ObjectConstructor;
28
+ required: false;
29
+ default: () => null;
30
+ };
31
+ }>> & Readonly<{}>, {
32
+ chartInstance: Record<string, any>;
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
34
+ declare const _default: typeof __VLS_export;
35
+ export default _default;
36
+ //# sourceMappingURL=ChartLegend.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChartLegend.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-plugins/ChartLegend.vue"],"names":[],"mappings":"AAyLA,OAAO,EAAe,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAChD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAkKnD,QAAA,MAAM,YAAY;;;;;;cAOE,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;;;;;;;;;;;cAA9B,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;;;;;;;4EAShD,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,34 @@
1
+ import type { TooltipState, ZoomActionItem } from 'src/types';
2
+ import type { AbsoluteTimeRangeV4, GranularityValues } from '@kong-ui-public/analytics-utilities';
3
+ type __VLS_Props = {
4
+ state: TooltipState;
5
+ tooltipTitle?: string;
6
+ absoluteLeft?: string;
7
+ absoluteTop?: string;
8
+ zoomTimeRange?: AbsoluteTimeRangeV4;
9
+ zoomActionItems?: ZoomActionItem[];
10
+ granularity?: GranularityValues;
11
+ };
12
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
+ onAction: () => any;
14
+ dimensions: (dimensions: {
15
+ width: number;
16
+ height: number;
17
+ }) => any;
18
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
19
+ onOnAction?: (() => any) | undefined;
20
+ onDimensions?: ((dimensions: {
21
+ width: number;
22
+ height: number;
23
+ }) => any) | undefined;
24
+ }>, {
25
+ granularity: GranularityValues;
26
+ zoomActionItems: ZoomActionItem[];
27
+ tooltipTitle: string;
28
+ absoluteLeft: string;
29
+ absoluteTop: string;
30
+ zoomTimeRange: AbsoluteTimeRangeV4;
31
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
+ declare const _default: typeof __VLS_export;
33
+ export default _default;
34
+ //# sourceMappingURL=ChartTooltip.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChartTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-plugins/ChartTooltip.vue"],"names":[],"mappings":"AA0OA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAA;AAWjG,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,YAAY,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,mBAAmB,CAAA;IACnC,eAAe,CAAC,EAAE,cAAc,EAAE,CAAA;IAClC,WAAW,CAAC,EAAE,iBAAiB,CAAA;CAChC,CAAC;AAoPF,QAAA,MAAM,YAAY;;;eAjQuB,MAAM;gBAAU,MAAM;;;;;eAAtB,MAAM;gBAAU,MAAM;;;iBAY/C,iBAAiB;qBADb,cAAc,EAAE;kBAJnB,MAAM;kBACN,MAAM;iBACP,MAAM;mBACJ,mBAAmB;6EA2PnC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,22 @@
1
+ import type { Chart, Plugin } from 'chart.js';
2
+ export interface DragSelectEventDetail {
3
+ xStart: number | undefined;
4
+ xEnd: number | undefined;
5
+ }
6
+ export declare class DragSelectPlugin implements Plugin {
7
+ id: string;
8
+ private _isDragging;
9
+ private _startX;
10
+ private _endX;
11
+ private _dragTimeout?;
12
+ private _clearSelectionArea;
13
+ private _chart;
14
+ private _dragSelectHandlers?;
15
+ get startX(): number;
16
+ get endX(): number;
17
+ beforeInit(chart: Chart): void;
18
+ beforeDestroy(chart: Chart): void;
19
+ afterDatasetsDraw(chart: Chart): void;
20
+ clearSelectionArea(): void;
21
+ }
22
+ //# sourceMappingURL=DragSelectPlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DragSelectPlugin.d.ts","sourceRoot":"","sources":["../../../../src/components/chart-plugins/DragSelectPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAE7C,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,IAAI,EAAE,MAAM,GAAG,SAAS,CAAA;CACzB;AAsCD,qBAAa,gBAAiB,YAAW,MAAM;IAC7C,EAAE,SAAqB;IACvB,OAAO,CAAC,WAAW,CAAQ;IAC3B,OAAO,CAAC,OAAO,CAAI;IACnB,OAAO,CAAC,KAAK,CAAI;IACjB,OAAO,CAAC,YAAY,CAAC,CAAQ;IAC7B,OAAO,CAAC,mBAAmB,CAAO;IAClC,OAAO,CAAC,MAAM,CAAqB;IACnC,OAAO,CAAC,mBAAmB,CAAC,CAI3B;IAED,IAAI,MAAM,WAET;IAED,IAAI,IAAI,WAEP;IAED,UAAU,CAAC,KAAK,EAAE,KAAK;IAyCvB,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAcjC,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAOrC,kBAAkB,IAAI,IAAI;CAM3B"}
@@ -0,0 +1,18 @@
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
@@ -0,0 +1 @@
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"}
@@ -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" | "request_count" | "request_per_minute" | "response_latency_average" | "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" | "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,4mBAEb;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"}