@kong-ui-public/analytics-chart 6.2.3 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/style.css +1 -1
- package/dist/types/components/chart-plugins/ChartTooltip.vue.d.ts +3 -3
- package/dist/types/components/chart-types/{DoughnutChart.vue.d.ts → DonutChart.vue.d.ts} +1 -1
- package/dist/types/components/chart-types/DonutChart.vue.d.ts.map +1 -0
- package/dist/types/composables/index.d.ts +2 -2
- package/dist/types/composables/index.d.ts.map +1 -1
- package/dist/types/composables/{useDoughnutChartOptions.d.ts → useDonutChartOptions.d.ts} +4 -4
- package/dist/types/composables/useDonutChartOptions.d.ts.map +1 -0
- package/dist/types/types/chart-data.d.ts +1 -1
- package/dist/types/types/chart-data.d.ts.map +1 -1
- package/dist/types/types/chart-types.d.ts +1 -1
- package/dist/types/types/chart-types.d.ts.map +1 -1
- package/dist/types/types/chartjs-options.d.ts +1 -1
- package/dist/types/types/chartjs-options.d.ts.map +1 -1
- package/dist/vitals-chart.es.js +20 -19
- package/dist/vitals-chart.umd.js +4 -4
- package/package.json +4 -4
- package/dist/types/components/chart-types/DoughnutChart.vue.d.ts.map +0 -1
- package/dist/types/composables/useDoughnutChartOptions.d.ts.map +0 -1
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.locked[data-v-6d10428e]{cursor:move}.tooltip-container[data-v-6d10428e]{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;min-width:250px;position:absolute;transition:all .2s cubic-bezier(.25,.8,.25,1);z-index:999}.tooltip-container .tooltip-title[data-v-6d10428e]{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;margin:var(--kui-space-30, 6px);min-height:24px;padding-bottom:6px;padding-bottom:var(--kui-space-30, 6px)}.tooltip-container .tooltip-title .title[data-v-6d10428e]{font-size:14px;font-size:var(--kui-font-size-30, 14px);font-weight:600;font-weight:var(--kui-font-weight-semibold, 600)}.tooltip-container .tooltip-title .subtitle[data-v-6d10428e]{font-size:12px;font-size:var(--kui-font-size-20, 12px);margin-top:6px;margin-top:var(--kui-space-30, 6px)}.tooltip-container .tooltip-title .drag-icon[data-v-6d10428e]{margin-top:6px;margin-top:var(--kui-space-30, 6px);position:absolute;right:0;top:0}.tooltip-container .tooltip[data-v-6d10428e]{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-6d10428e]{-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-6d10428e] ::-webkit-scrollbar{width:40,8px;width:var(--kui-space, 40, 8px)}.tooltip-container .tooltip[data-v-6d10428e] ::-webkit-scrollbar-track{background:transparent}.tooltip-container .tooltip[data-v-6d10428e] ::-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-6d10428e]{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-6d10428e]{flex:1;max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tooltip-container .tooltip .display-label.empty[data-v-6d10428e]{font-style:italic}.tooltip-container .tooltip .display-value[data-v-6d10428e]{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-6d10428e]{display:inline-flex;flex-direction:row;height:12px;margin-right:6px;margin-right:var(--kui-space-30, 6px);width:12px}.legend-container[data-v-57146e87]{display:flex;margin:6px 0 0;max-height:inherit;-ms-overflow-style:thin;overflow-x:hidden;overflow-y:auto;padding-left:0}.legend-container[data-v-57146e87]{-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-57146e87] ::-webkit-scrollbar{width:40,8px;width:var(--kui-space, 40, 8px)}.legend-container[data-v-57146e87] ::-webkit-scrollbar-track{background:transparent}.legend-container[data-v-57146e87] ::-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.vertical[data-v-57146e87]{flex-direction:column;justify-content:flex-start;max-height:90%;max-width:15%;min-width:10%;padding-left:12px;row-gap:16px}.legend-container.vertical .truncate-label[data-v-57146e87]{max-width:12ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legend-container.vertical li .legend[data-v-57146e87]{margin-top:4px}@media (max-width: 767px){.legend-container.vertical[data-v-57146e87]{column-gap:12px;display:grid;grid-template-columns:repeat(auto-fit,12ch);height:40px;justify-content:center;max-width:99%!important}.legend-container.vertical .sub-label[data-v-57146e87]{display:none}}.legend-container.horizontal[data-v-57146e87]{column-gap:12px;display:grid;height:var(--05011806);justify-content:center;width:99%}.legend-container.horizontal .truncate-label[data-v-57146e87]{max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legend-container.horizontal li[data-v-57146e87]{align-items:center;margin-top:0}.legend-container.horizontal li .label[data-v-57146e87]{line-height:24px;padding-right:2px;white-space:nowrap}.legend-container li[data-v-57146e87]{align-items:start;cursor:pointer;display:flex;line-height:1}.legend-container li .square-marker[data-v-57146e87]{height:8px;margin:0 6px 0 0;width:8px}.legend-container li .label[data-v-57146e87]{font-size:12px}.legend-container li .sub-label[data-v-57146e87]{font-size:12px;line-height:16px;word-break:none}.legend-container li .strike-through[data-v-57146e87]{text-decoration:line-through}.legend-container li .empty[data-v-57146e87]{font-style:italic}.legend-container li .tooltip-content[data-v-57146e87]{max-width:40ch}.chart-parent[data-v-e3a7d88f]{align-items:center;display:flex;height:inherit;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-e3a7d88f]{flex-direction:column}.chart-parent.column .chart-container[data-v-e3a7d88f]{max-height:calc(100% - 48px);width:100%}.chart-parent.legend-row[data-v-e3a7d88f]{flex-direction:row}.chart-parent.legend-row .chart-container[data-v-e3a7d88f]{height:100%;width:90%}@media (max-width: 767px){.chart-parent.legend-row .chart-container[data-v-e3a7d88f]{max-height:calc(100% - 48px)!important;width:100%!important}}@media (max-width: 767px){.chart-parent.legend-row[data-v-e3a7d88f]{display:flex;flex-wrap:wrap}}.chart-parent .chart-container[data-v-e3a7d88f]{flex:1 1 auto;position:relative}.chart-container[data-v-e3a7d88f]{overflow:auto}.chart-container[data-v-e3a7d88f]{-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-e3a7d88f] ::-webkit-scrollbar{width:40,8px;width:var(--kui-space, 40, 8px)}.chart-container[data-v-e3a7d88f] ::-webkit-scrollbar-track{background:transparent}.chart-container[data-v-e3a7d88f] ::-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-e3a7d88f]{height:100%}.chart-container[data-v-e3a7d88f]::-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-e3a7d88f]::-webkit-scrollbar{width:10px}.chart-container[data-v-e3a7d88f]::-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-e3a7d88f]{left:0;pointer-events:none;position:absolute;top:0;z-index:99}.axis-tooltip[data-v-e3a7d88f]{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-e3a7d88f]{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-e3a7d88f]{height:100%;left:0;position:relative;top:0;width:100%}.chart-parent[data-v-5cc0c740]{align-items:center;display:flex;height:inherit;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-5cc0c740]{flex-direction:column}.chart-parent.column .chart-container[data-v-5cc0c740]{max-height:calc(100% - 48px);width:100%}.chart-parent.legend-row[data-v-5cc0c740]{flex-direction:row}.chart-parent.legend-row .chart-container[data-v-5cc0c740]{height:100%;width:90%}@media (max-width: 767px){.chart-parent.legend-row .chart-container[data-v-5cc0c740]{max-height:calc(100% - 48px)!important;width:100%!important}}@media (max-width: 767px){.chart-parent.legend-row[data-v-5cc0c740]{display:flex;flex-wrap:wrap}}.chart-parent .chart-container[data-v-5cc0c740]{flex:1 1 auto;position:relative}.chart-parent[data-v-4ca2b965]{align-items:center;display:flex;height:inherit;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-4ca2b965]{flex-direction:column}.chart-parent.column .chart-container[data-v-4ca2b965]{max-height:calc(100% - 48px);width:100%}.chart-parent.legend-row[data-v-4ca2b965]{flex-direction:row}.chart-parent.legend-row .chart-container[data-v-4ca2b965]{height:100%;width:90%}@media (max-width: 767px){.chart-parent.legend-row .chart-container[data-v-4ca2b965]{max-height:calc(100% - 48px)!important;width:100%!important}}@media (max-width: 767px){.chart-parent.legend-row[data-v-4ca2b965]{display:flex;flex-wrap:wrap}}.chart-parent .chart-container[data-v-4ca2b965]{flex:1 1 auto;position:relative}.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}.analytics-chart-shell[data-v-19cd92bf],.simple-chart-shell[data-v-19cd92bf]{border-radius:4px;border-radius:var(--kui-border-radius-20, 4px);display:flex;flex-direction:column}.analytics-chart-shell .chart-empty-state[data-v-19cd92bf],.simple-chart-shell .chart-empty-state[data-v-19cd92bf]{display:flex;flex-direction:column;height:100%;justify-content:center}.analytics-chart-shell[data-v-19cd92bf]{height:100%;position:relative;width:100%}.analytics-chart-shell .analytics-chart-parent[data-v-19cd92bf]{height:inherit;width:inherit}.analytics-chart-shell .chart-empty-state[data-v-19cd92bf]{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-header[data-v-19cd92bf]{align-items:center;display:flex;justify-content:flex-start;right:0;width:100%;z-index:999}.analytics-chart-shell .chart-header .chart-header-icons-wrapper[data-v-19cd92bf]{display:flex;justify-content:end}.analytics-chart-shell .chart-header .chart-export-button[data-v-19cd92bf]{display:flex;margin-left:auto;margin-left:var(--kui-space-auto, auto);margin-right:0;margin-right:var(--kui-space-0, 0px)}.analytics-chart-shell .chart-title[data-v-19cd92bf]{cursor:default;font-size:16px;font-size:var(--kui-font-size-40, 16px);font-weight:600;font-weight:var(--kui-font-weight-semibold, 600);max-width:32ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analytics-chart-shell .tooltip[data-v-19cd92bf]{display:flex;margin-left:12px;margin-left:var(--kui-space-50, 12px);margin-top:2px;margin-top:var(--kui-space-10, 2px)}.chart-parent[data-v-6596329c]{align-items:center;display:flex;height:inherit;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-6596329c]{flex-direction:column}.chart-parent.column .chart-container[data-v-6596329c]{max-height:calc(100% - 48px);width:100%}.chart-parent.legend-row[data-v-6596329c]{flex-direction:row}.chart-parent.legend-row .chart-container[data-v-6596329c]{height:100%;width:90%}@media (max-width: 767px){.chart-parent.legend-row .chart-container[data-v-6596329c]{max-height:calc(100% - 48px)!important;width:100%!important}}@media (max-width: 767px){.chart-parent.legend-row[data-v-6596329c]{display:flex;flex-wrap:wrap}}.chart-parent .chart-container[data-v-6596329c]{flex:1 1 auto;position:relative}.chart-parent[data-v-6596329c]{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-6596329c]{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-6596329c]{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-6596329c]{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-6596329c]{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)}.analytics-chart-shell[data-v-9d13f2fd],.simple-chart-shell[data-v-9d13f2fd]{border-radius:4px;border-radius:var(--kui-border-radius-20, 4px);display:flex;flex-direction:column}.analytics-chart-shell .chart-empty-state[data-v-9d13f2fd],.simple-chart-shell .chart-empty-state[data-v-9d13f2fd]{display:flex;flex-direction:column;height:100%;justify-content:center}.simple-chart-shell[data-v-9d13f2fd]{margin:0;margin:var(--kui-space-0, 0px);padding:0;padding:var(--kui-space-0, 0px)}.simple-chart-shell .chart-empty-state[data-v-9d13f2fd]{display:flex;flex-direction:column;height:100px;justify-content:center;width:100px}.simple-chart-shell .chart-empty-state[data-v-9d13f2fd] .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-5db48d63]{border:none!important;max-height:100%;padding:0!important}.kong-ui-public-top-n-table .top-n-card-description[data-v-5db48d63]{color:#6c7489;font-size:12px;text-align:right}.kong-ui-public-top-n-table[data-v-5db48d63] .k-card-actions{align-self:baseline;display:flex;line-height:22px}.kong-ui-public-top-n-table[data-v-5db48d63] .card-content{overflow-y:auto}.kong-ui-public-top-n-table[data-v-5db48d63] .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-5db48d63] .card-content ::-webkit-scrollbar{width:40,8px;width:var(--kui-space, 40, 8px)}.kong-ui-public-top-n-table[data-v-5db48d63] .card-content ::-webkit-scrollbar-track{background:transparent}.kong-ui-public-top-n-table[data-v-5db48d63] .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-5db48d63]{display:flex;flex-direction:column;max-height:100%;width:100%}.kong-ui-public-top-n-table .top-n-table .table-headings[data-v-5db48d63]{flex-shrink:0;font-size:14px;font-weight:600;line-height:24px}.kong-ui-public-top-n-table .top-n-table .table-row[data-v-5db48d63]{align-self:stretch;border-bottom:1px solid #e0e4ea;display:flex;justify-content:space-between}.kong-ui-public-top-n-table .top-n-table .table-row[data-v-5db48d63]:last-of-type{border-bottom:none}.kong-ui-public-top-n-table .top-n-table .column-1[data-v-5db48d63]{flex:1;padding:0 24px 12px 0}.kong-ui-public-top-n-table .top-n-table .column-2[data-v-5db48d63]{flex:1;max-width:110px;padding:0 0 12px}.kong-ui-public-top-n-table .top-n-table .table-body[data-v-5db48d63]{overflow-y:auto}.kong-ui-public-top-n-table .top-n-table .table-body .table-row[data-v-5db48d63]:first-of-type{border-top:1px solid #e0e4ea}.kong-ui-public-top-n-table .top-n-table .table-body .column-1[data-v-5db48d63],.kong-ui-public-top-n-table .top-n-table .table-body .column-2[data-v-5db48d63]{padding-top:12px}.kong-ui-public-top-n-table .top-n-table .table-body .column-1[data-v-5db48d63]{color:#3a3f51;font-size:14px}.kong-ui-public-top-n-table .top-n-table .table-body .column-1[data-v-5db48d63] a{color:#0044f4;font-weight:700;text-decoration:none}.kong-ui-public-top-n-table.kong-card.border{border-radius:4px;padding:20px}.kong-ui-public-top-n-table.kong-card.border .k-card-header{align-items:baseline;margin-bottom:0!important}.kong-ui-public-top-n-table.kong-card.border .k-card-header .k-card-title{margin-bottom:16px}.kong-ui-public-top-n-table.kong-card.border .k-card-header .k-card-title h4{font-size:16px;font-weight:600}
|
|
1
|
+
.locked[data-v-6d10428e]{cursor:move}.tooltip-container[data-v-6d10428e]{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;min-width:250px;position:absolute;transition:all .2s cubic-bezier(.25,.8,.25,1);z-index:999}.tooltip-container .tooltip-title[data-v-6d10428e]{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;margin:var(--kui-space-30, 6px);min-height:24px;padding-bottom:6px;padding-bottom:var(--kui-space-30, 6px)}.tooltip-container .tooltip-title .title[data-v-6d10428e]{font-size:14px;font-size:var(--kui-font-size-30, 14px);font-weight:600;font-weight:var(--kui-font-weight-semibold, 600)}.tooltip-container .tooltip-title .subtitle[data-v-6d10428e]{font-size:12px;font-size:var(--kui-font-size-20, 12px);margin-top:6px;margin-top:var(--kui-space-30, 6px)}.tooltip-container .tooltip-title .drag-icon[data-v-6d10428e]{margin-top:6px;margin-top:var(--kui-space-30, 6px);position:absolute;right:0;top:0}.tooltip-container .tooltip[data-v-6d10428e]{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-6d10428e]{-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-6d10428e] ::-webkit-scrollbar{width:40,8px;width:var(--kui-space, 40, 8px)}.tooltip-container .tooltip[data-v-6d10428e] ::-webkit-scrollbar-track{background:transparent}.tooltip-container .tooltip[data-v-6d10428e] ::-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-6d10428e]{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-6d10428e]{flex:1;max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tooltip-container .tooltip .display-label.empty[data-v-6d10428e]{font-style:italic}.tooltip-container .tooltip .display-value[data-v-6d10428e]{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-6d10428e]{display:inline-flex;flex-direction:row;height:12px;margin-right:6px;margin-right:var(--kui-space-30, 6px);width:12px}.legend-container[data-v-14909126]{display:flex;margin:6px 0 0;max-height:inherit;-ms-overflow-style:thin;overflow-x:hidden;overflow-y:auto;padding-left:0}.legend-container[data-v-14909126]{-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-14909126] ::-webkit-scrollbar{width:40,8px;width:var(--kui-space, 40, 8px)}.legend-container[data-v-14909126] ::-webkit-scrollbar-track{background:transparent}.legend-container[data-v-14909126] ::-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.vertical[data-v-14909126]{flex-direction:column;justify-content:flex-start;max-height:90%;max-width:15%;min-width:10%;padding-left:12px;row-gap:16px}.legend-container.vertical .truncate-label[data-v-14909126]{max-width:12ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legend-container.vertical li .legend[data-v-14909126]{margin-top:4px}@media (max-width: 767px){.legend-container.vertical[data-v-14909126]{column-gap:12px;display:grid;grid-template-columns:repeat(auto-fit,12ch);height:40px;justify-content:center;max-width:99%!important}.legend-container.vertical .sub-label[data-v-14909126]{display:none}}.legend-container.horizontal[data-v-14909126]{column-gap:12px;display:grid;height:var(--024ed260);justify-content:center;width:99%}.legend-container.horizontal .truncate-label[data-v-14909126]{max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legend-container.horizontal li[data-v-14909126]{align-items:center;margin-top:0}.legend-container.horizontal li .label[data-v-14909126]{line-height:24px;padding-right:2px;white-space:nowrap}.legend-container li[data-v-14909126]{align-items:start;cursor:pointer;display:flex;line-height:1}.legend-container li .square-marker[data-v-14909126]{height:8px;margin:0 6px 0 0;width:8px}.legend-container li .label[data-v-14909126]{font-size:12px}.legend-container li .sub-label[data-v-14909126]{font-size:12px;line-height:16px;word-break:none}.legend-container li .strike-through[data-v-14909126]{text-decoration:line-through}.legend-container li .empty[data-v-14909126]{font-style:italic}.legend-container li .tooltip-content[data-v-14909126]{max-width:40ch}.chart-parent[data-v-e3a7d88f]{align-items:center;display:flex;height:inherit;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-e3a7d88f]{flex-direction:column}.chart-parent.column .chart-container[data-v-e3a7d88f]{max-height:calc(100% - 48px);width:100%}.chart-parent.legend-row[data-v-e3a7d88f]{flex-direction:row}.chart-parent.legend-row .chart-container[data-v-e3a7d88f]{height:100%;width:90%}@media (max-width: 767px){.chart-parent.legend-row .chart-container[data-v-e3a7d88f]{max-height:calc(100% - 48px)!important;width:100%!important}}@media (max-width: 767px){.chart-parent.legend-row[data-v-e3a7d88f]{display:flex;flex-wrap:wrap}}.chart-parent .chart-container[data-v-e3a7d88f]{flex:1 1 auto;position:relative}.chart-container[data-v-e3a7d88f]{overflow:auto}.chart-container[data-v-e3a7d88f]{-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-e3a7d88f] ::-webkit-scrollbar{width:40,8px;width:var(--kui-space, 40, 8px)}.chart-container[data-v-e3a7d88f] ::-webkit-scrollbar-track{background:transparent}.chart-container[data-v-e3a7d88f] ::-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-e3a7d88f]{height:100%}.chart-container[data-v-e3a7d88f]::-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-e3a7d88f]::-webkit-scrollbar{width:10px}.chart-container[data-v-e3a7d88f]::-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-e3a7d88f]{left:0;pointer-events:none;position:absolute;top:0;z-index:99}.axis-tooltip[data-v-e3a7d88f]{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-e3a7d88f]{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-e3a7d88f]{height:100%;left:0;position:relative;top:0;width:100%}.chart-parent[data-v-966d2ad0]{align-items:center;display:flex;height:inherit;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-966d2ad0]{flex-direction:column}.chart-parent.column .chart-container[data-v-966d2ad0]{max-height:calc(100% - 48px);width:100%}.chart-parent.legend-row[data-v-966d2ad0]{flex-direction:row}.chart-parent.legend-row .chart-container[data-v-966d2ad0]{height:100%;width:90%}@media (max-width: 767px){.chart-parent.legend-row .chart-container[data-v-966d2ad0]{max-height:calc(100% - 48px)!important;width:100%!important}}@media (max-width: 767px){.chart-parent.legend-row[data-v-966d2ad0]{display:flex;flex-wrap:wrap}}.chart-parent .chart-container[data-v-966d2ad0]{flex:1 1 auto;position:relative}.chart-parent[data-v-4ca2b965]{align-items:center;display:flex;height:inherit;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-4ca2b965]{flex-direction:column}.chart-parent.column .chart-container[data-v-4ca2b965]{max-height:calc(100% - 48px);width:100%}.chart-parent.legend-row[data-v-4ca2b965]{flex-direction:row}.chart-parent.legend-row .chart-container[data-v-4ca2b965]{height:100%;width:90%}@media (max-width: 767px){.chart-parent.legend-row .chart-container[data-v-4ca2b965]{max-height:calc(100% - 48px)!important;width:100%!important}}@media (max-width: 767px){.chart-parent.legend-row[data-v-4ca2b965]{display:flex;flex-wrap:wrap}}.chart-parent .chart-container[data-v-4ca2b965]{flex:1 1 auto;position:relative}.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}.analytics-chart-shell[data-v-62291458],.simple-chart-shell[data-v-62291458]{border-radius:4px;border-radius:var(--kui-border-radius-20, 4px);display:flex;flex-direction:column}.analytics-chart-shell .chart-empty-state[data-v-62291458],.simple-chart-shell .chart-empty-state[data-v-62291458]{display:flex;flex-direction:column;height:100%;justify-content:center}.analytics-chart-shell[data-v-62291458]{height:100%;position:relative;width:100%}.analytics-chart-shell .analytics-chart-parent[data-v-62291458]{height:inherit;width:inherit}.analytics-chart-shell .chart-empty-state[data-v-62291458]{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-header[data-v-62291458]{align-items:center;display:flex;justify-content:flex-start;right:0;width:100%;z-index:999}.analytics-chart-shell .chart-header .chart-header-icons-wrapper[data-v-62291458]{display:flex;justify-content:end}.analytics-chart-shell .chart-header .chart-export-button[data-v-62291458]{display:flex;margin-left:auto;margin-left:var(--kui-space-auto, auto);margin-right:0;margin-right:var(--kui-space-0, 0px)}.analytics-chart-shell .chart-title[data-v-62291458]{cursor:default;font-size:16px;font-size:var(--kui-font-size-40, 16px);font-weight:600;font-weight:var(--kui-font-weight-semibold, 600);max-width:32ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analytics-chart-shell .tooltip[data-v-62291458]{display:flex;margin-left:12px;margin-left:var(--kui-space-50, 12px);margin-top:2px;margin-top:var(--kui-space-10, 2px)}.chart-parent[data-v-8095ee16]{align-items:center;display:flex;height:inherit;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-8095ee16]{flex-direction:column}.chart-parent.column .chart-container[data-v-8095ee16]{max-height:calc(100% - 48px);width:100%}.chart-parent.legend-row[data-v-8095ee16]{flex-direction:row}.chart-parent.legend-row .chart-container[data-v-8095ee16]{height:100%;width:90%}@media (max-width: 767px){.chart-parent.legend-row .chart-container[data-v-8095ee16]{max-height:calc(100% - 48px)!important;width:100%!important}}@media (max-width: 767px){.chart-parent.legend-row[data-v-8095ee16]{display:flex;flex-wrap:wrap}}.chart-parent .chart-container[data-v-8095ee16]{flex:1 1 auto;position:relative}.chart-parent[data-v-8095ee16]{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-8095ee16]{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-8095ee16]{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-8095ee16]{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-8095ee16]{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)}.analytics-chart-shell[data-v-9d13f2fd],.simple-chart-shell[data-v-9d13f2fd]{border-radius:4px;border-radius:var(--kui-border-radius-20, 4px);display:flex;flex-direction:column}.analytics-chart-shell .chart-empty-state[data-v-9d13f2fd],.simple-chart-shell .chart-empty-state[data-v-9d13f2fd]{display:flex;flex-direction:column;height:100%;justify-content:center}.simple-chart-shell[data-v-9d13f2fd]{margin:0;margin:var(--kui-space-0, 0px);padding:0;padding:var(--kui-space-0, 0px)}.simple-chart-shell .chart-empty-state[data-v-9d13f2fd]{display:flex;flex-direction:column;height:100px;justify-content:center;width:100px}.simple-chart-shell .chart-empty-state[data-v-9d13f2fd] .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-5db48d63]{border:none!important;max-height:100%;padding:0!important}.kong-ui-public-top-n-table .top-n-card-description[data-v-5db48d63]{color:#6c7489;font-size:12px;text-align:right}.kong-ui-public-top-n-table[data-v-5db48d63] .k-card-actions{align-self:baseline;display:flex;line-height:22px}.kong-ui-public-top-n-table[data-v-5db48d63] .card-content{overflow-y:auto}.kong-ui-public-top-n-table[data-v-5db48d63] .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-5db48d63] .card-content ::-webkit-scrollbar{width:40,8px;width:var(--kui-space, 40, 8px)}.kong-ui-public-top-n-table[data-v-5db48d63] .card-content ::-webkit-scrollbar-track{background:transparent}.kong-ui-public-top-n-table[data-v-5db48d63] .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-5db48d63]{display:flex;flex-direction:column;max-height:100%;width:100%}.kong-ui-public-top-n-table .top-n-table .table-headings[data-v-5db48d63]{flex-shrink:0;font-size:14px;font-weight:600;line-height:24px}.kong-ui-public-top-n-table .top-n-table .table-row[data-v-5db48d63]{align-self:stretch;border-bottom:1px solid #e0e4ea;display:flex;justify-content:space-between}.kong-ui-public-top-n-table .top-n-table .table-row[data-v-5db48d63]:last-of-type{border-bottom:none}.kong-ui-public-top-n-table .top-n-table .column-1[data-v-5db48d63]{flex:1;padding:0 24px 12px 0}.kong-ui-public-top-n-table .top-n-table .column-2[data-v-5db48d63]{flex:1;max-width:110px;padding:0 0 12px}.kong-ui-public-top-n-table .top-n-table .table-body[data-v-5db48d63]{overflow-y:auto}.kong-ui-public-top-n-table .top-n-table .table-body .table-row[data-v-5db48d63]:first-of-type{border-top:1px solid #e0e4ea}.kong-ui-public-top-n-table .top-n-table .table-body .column-1[data-v-5db48d63],.kong-ui-public-top-n-table .top-n-table .table-body .column-2[data-v-5db48d63]{padding-top:12px}.kong-ui-public-top-n-table .top-n-table .table-body .column-1[data-v-5db48d63]{color:#3a3f51;font-size:14px}.kong-ui-public-top-n-table .top-n-table .table-body .column-1[data-v-5db48d63] a{color:#0044f4;font-weight:700;text-decoration:none}.kong-ui-public-top-n-table.kong-card.border{border-radius:4px;padding:20px}.kong-ui-public-top-n-table.kong-card.border .k-card-header{align-items:baseline;margin-bottom:0!important}.kong-ui-public-top-n-table.kong-card.border .k-card-header .k-card-title{margin-bottom:16px}.kong-ui-public-top-n-table.kong-card.border .k-card-header .k-card-title h4{font-size:16px;font-weight:600}
|
|
@@ -54,8 +54,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
54
54
|
default: boolean;
|
|
55
55
|
};
|
|
56
56
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
57
|
-
top: (...args: any[]) => void;
|
|
58
57
|
left: (...args: any[]) => void;
|
|
58
|
+
top: (...args: any[]) => void;
|
|
59
59
|
dimensions: (...args: any[]) => void;
|
|
60
60
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
61
61
|
showTooltip: {
|
|
@@ -113,12 +113,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
113
113
|
default: boolean;
|
|
114
114
|
};
|
|
115
115
|
}>> & Readonly<{
|
|
116
|
-
onTop?: ((...args: any[]) => any) | undefined;
|
|
117
116
|
onLeft?: ((...args: any[]) => any) | undefined;
|
|
117
|
+
onTop?: ((...args: any[]) => any) | undefined;
|
|
118
118
|
onDimensions?: ((...args: any[]) => any) | undefined;
|
|
119
119
|
}>, {
|
|
120
|
-
top: string;
|
|
121
120
|
left: string;
|
|
121
|
+
top: string;
|
|
122
122
|
tooltipTitle: string;
|
|
123
123
|
context: string | number;
|
|
124
124
|
series: unknown[];
|
|
@@ -82,4 +82,4 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
82
82
|
datasetColors: string[] | AnalyticsChartColors;
|
|
83
83
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
84
84
|
export default _default;
|
|
85
|
-
//# sourceMappingURL=
|
|
85
|
+
//# 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":"AAkLA,OAAO,KAAK,EAAE,QAAQ,EAAO,MAAM,KAAK,CAAA;AAExC,OAAO,0BAA0B,CAAA;AACjC,OAAO,eAAe,CAAA;AAUtB,OAAO,KAAK,EAAE,oBAAoB,EAAE,UAAU,EAAgB,MAAM,aAAa,CAAA;AAEjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;;;cA+S7B,QAAQ,CAAC,UAAU,CAAC;;;;;;;;;;;;;;cAcpB,QAAQ,CAAC,GAAG,mBAAmB,EAAE,CAAC;;;;;;;;;;;;;;;cAelC,QAAQ,CAAC,oBAAoB,GAAG,MAAM,EAAE,CAAC;;;;;;cA7BzC,QAAQ,CAAC,UAAU,CAAC;;;;;;;;;;;;;;cAcpB,QAAQ,CAAC,GAAG,mBAAmB,EAAE,CAAC;;;;;;;;;;;;;;;cAelC,QAAQ,CAAC,oBAAoB,GAAG,MAAM,EAAE,CAAC;;;;;;;;;;;;AApC7D,wBAyCG"}
|
|
@@ -3,7 +3,7 @@ import useBarChartOptions from './useBarChartOptions';
|
|
|
3
3
|
import useChartJSCommon from './useChartJSCommon';
|
|
4
4
|
import useChartLegendValues from './useChartLegendValues';
|
|
5
5
|
import useChartSelectedRange from './useChartSelectedRange';
|
|
6
|
-
import
|
|
6
|
+
import useDonutChartOptions from './useDonutChartOptions';
|
|
7
7
|
import useLinechartOptions from './useLineChartOptions';
|
|
8
8
|
import useExploreResultToDatasets from './useExploreResultToDatasets';
|
|
9
9
|
import useExploreResultToTimeDataset from './useExploreResultToTimeDatasets';
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
useChartSelectedRange: typeof useChartSelectedRange;
|
|
17
17
|
useExploreResultToDatasets: typeof useExploreResultToDatasets;
|
|
18
18
|
useExploreResultToTimeDataset: typeof useExploreResultToTimeDataset;
|
|
19
|
-
|
|
19
|
+
useDonutChartOptions: typeof useDonutChartOptions;
|
|
20
20
|
useLinechartOptions: typeof useLinechartOptions;
|
|
21
21
|
useI18n: typeof useI18n;
|
|
22
22
|
useReportChartDataForSynthetics: (chartData: import("vue").Ref<any>, syntheticsDataKey: import("vue").Ref<string>) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAA;AAC/B,OAAO,kBAAkB,MAAM,sBAAsB,CAAA;AACrD,OAAO,gBAAgB,MAAM,oBAAoB,CAAA;AACjD,OAAO,oBAAoB,MAAM,wBAAwB,CAAA;AACzD,OAAO,qBAAqB,MAAM,yBAAyB,CAAA;AAC3D,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAA;AAC/B,OAAO,kBAAkB,MAAM,sBAAsB,CAAA;AACrD,OAAO,gBAAgB,MAAM,oBAAoB,CAAA;AACjD,OAAO,oBAAoB,MAAM,wBAAwB,CAAA;AACzD,OAAO,qBAAqB,MAAM,yBAAyB,CAAA;AAC3D,OAAO,oBAAoB,MAAM,wBAAwB,CAAA;AACzD,OAAO,mBAAmB,MAAM,uBAAuB,CAAA;AACvD,OAAO,0BAA0B,MAAM,8BAA8B,CAAA;AACrE,OAAO,6BAA6B,MAAM,kCAAkC,CAAA;AAE5E,OAAO,kBAAkB,MAAM,sBAAsB,CAAA;AACrD,OAAO,sBAAsB,MAAM,2BAA2B,CAAA;;;;;;;;;;;;;;;AAG9D,wBAaC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { DonutChartOptions, ExternalTooltipContext } from '../types';
|
|
2
2
|
import type { TooltipItem, TooltipPositionerFunction, ChartType } from 'chart.js';
|
|
3
|
-
export default function
|
|
3
|
+
export default function useDonutChartOptions(chartOptions: DonutChartOptions): {
|
|
4
4
|
options: import("vue").ComputedRef<{
|
|
5
5
|
responsive: boolean;
|
|
6
6
|
maintainAspectRatio: boolean;
|
|
@@ -27,7 +27,7 @@ export default function useDoughnutChartOptions(chartOptions: DoughnutChartOptio
|
|
|
27
27
|
};
|
|
28
28
|
declare module 'chart.js' {
|
|
29
29
|
interface TooltipPositionerMap {
|
|
30
|
-
|
|
30
|
+
donutChartTooltipPosition: TooltipPositionerFunction<ChartType>;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
//# sourceMappingURL=
|
|
33
|
+
//# sourceMappingURL=useDonutChartOptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDonutChartOptions.d.ts","sourceRoot":"","sources":["../../../src/composables/useDonutChartOptions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AACzE,OAAO,KAAK,EACV,WAAW,EAEX,yBAAyB,EACzB,SAAS,EACV,MAAM,UAAU,CAAA;AAMjB,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAAC,YAAY,EAAE,iBAAiB;;;;;;;;;;;;oCAmD9C,sBAAsB;;;;qCA9C7B,WAAW,CAAC,UAAU,CAAC;;;;;;;;EAyD7C;AAED,OAAO,QAAQ,UAAU,CAAC;IACxB,UAAU,oBAAoB;QAC5B,yBAAyB,EAAE,yBAAyB,CAAC,SAAS,CAAC,CAAC;KACjE;CACF"}
|
|
@@ -122,7 +122,7 @@ export interface SimpleChartOptions {
|
|
|
122
122
|
export interface LegendValues {
|
|
123
123
|
[label: string]: LegendValueEntry;
|
|
124
124
|
}
|
|
125
|
-
export interface
|
|
125
|
+
export interface DonutChartData {
|
|
126
126
|
labels: string[];
|
|
127
127
|
backgroundColor: string[];
|
|
128
128
|
borderColor: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart-data.d.ts","sourceRoot":"","sources":["../../../src/types/chart-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,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3B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;CAClB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const chartTypes: readonly ["
|
|
1
|
+
export declare const chartTypes: readonly ["donut", "horizontal_bar", "vertical_bar", "timeseries_line", "timeseries_bar"];
|
|
2
2
|
export type ChartType = typeof chartTypes[number];
|
|
3
3
|
export declare const simpleChartTypes: readonly ["gauge", "top_n"];
|
|
4
4
|
export type SimpleChartType = typeof simpleChartTypes[number];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart-types.d.ts","sourceRoot":"","sources":["../../../src/types/chart-types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"chart-types.d.ts","sourceRoot":"","sources":["../../../src/types/chart-types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,2FAMb,CAAA;AAEV,MAAM,MAAM,SAAS,GAAG,OAAO,UAAU,CAAC,MAAM,CAAC,CAAA;AAEjD,eAAO,MAAM,gBAAgB,6BAGnB,CAAA;AAEV,MAAM,MAAM,eAAe,GAAG,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAA"}
|
|
@@ -43,7 +43,7 @@ export interface LineChartOptions extends BaseChartOptions {
|
|
|
43
43
|
granularity: Ref<GranularityValues>;
|
|
44
44
|
pointsWithoutHover?: ComputedRef<boolean | undefined>;
|
|
45
45
|
}
|
|
46
|
-
export interface
|
|
46
|
+
export interface DonutChartOptions {
|
|
47
47
|
tooltipState: TooltipState;
|
|
48
48
|
legendID: string;
|
|
49
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chartjs-options.d.ts","sourceRoot":"","sources":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,MAAM,WAAW,iBAAiB;IAChC,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,YAAY,CAAC,gBAAgB,CAAC,CAAC;CACzC"}
|
package/dist/vitals-chart.es.js
CHANGED
|
@@ -12441,7 +12441,7 @@ const ic = (n, t) => {
|
|
|
12441
12441
|
}
|
|
12442
12442
|
const i = n.chartTooltipSortFn || ((a, o) => o.rawValue - a.rawValue);
|
|
12443
12443
|
if (e.body && !n.locked) {
|
|
12444
|
-
const a = e.labelColors, o = ((r = (s = t.chart.config) == null ? void 0 : s.options) == null ? void 0 : r.indexAxis) === "y" ? "x" : "y", l = ["horizontal_bar", "vertical_bar"].includes(n.chartType), c = ["gauge", "
|
|
12444
|
+
const a = e.labelColors, o = ((r = (s = t.chart.config) == null ? void 0 : s.options) == null ? void 0 : r.indexAxis) === "y" ? "x" : "y", l = ["horizontal_bar", "vertical_bar"].includes(n.chartType), c = ["gauge", "donut"].includes(n.chartType);
|
|
12445
12445
|
n.tooltipContext = l ? e.dataPoints.length > 1 ? e.dataPoints[0].label : "" : e.dataPoints[0].parsed.x, n.tooltipSeries = e.dataPoints.map((u, d) => {
|
|
12446
12446
|
const h = c ? u.parsed : u.parsed[o];
|
|
12447
12447
|
let f;
|
|
@@ -13306,7 +13306,8 @@ const qv = [
|
|
|
13306
13306
|
"upstream_status_code",
|
|
13307
13307
|
"upstream_status_code_grouped",
|
|
13308
13308
|
"response_source",
|
|
13309
|
-
"data_plane_node_version"
|
|
13309
|
+
"data_plane_node_version",
|
|
13310
|
+
"regional_consumer"
|
|
13310
13311
|
], Gv = nr(Xv), Kv = [
|
|
13311
13312
|
"control_plane",
|
|
13312
13313
|
"control_plane_group",
|
|
@@ -15770,7 +15771,7 @@ function GM(n) {
|
|
|
15770
15771
|
function KM(n) {
|
|
15771
15772
|
const t = {
|
|
15772
15773
|
enabled: !1,
|
|
15773
|
-
position: "
|
|
15774
|
+
position: "donutChartTooltipPosition",
|
|
15774
15775
|
callbacks: {
|
|
15775
15776
|
label: (i) => ({
|
|
15776
15777
|
label: i.dataset.label,
|
|
@@ -15778,7 +15779,7 @@ function KM(n) {
|
|
|
15778
15779
|
})
|
|
15779
15780
|
}
|
|
15780
15781
|
};
|
|
15781
|
-
return Ma.positioners.
|
|
15782
|
+
return Ma.positioners.donutChartTooltipPosition = function(i, s) {
|
|
15782
15783
|
if (!i.length)
|
|
15783
15784
|
return !1;
|
|
15784
15785
|
const r = this.chart.canvas.getBoundingClientRect(), a = n.tooltipState.width || this.width, o = r.width / 2, l = sc(s, a, o), c = s.y, u = s.x < o ? "left" : "center";
|
|
@@ -16138,7 +16139,7 @@ const vt = {
|
|
|
16138
16139
|
useChartSelectedRange: GM,
|
|
16139
16140
|
useExploreResultToDatasets: JM,
|
|
16140
16141
|
useExploreResultToTimeDataset: cS,
|
|
16141
|
-
|
|
16142
|
+
useDonutChartOptions: KM,
|
|
16142
16143
|
useLinechartOptions: ZM,
|
|
16143
16144
|
useI18n: np,
|
|
16144
16145
|
useReportChartDataForSynthetics: uS,
|
|
@@ -17953,7 +17954,7 @@ const WD = { class: "tooltip-title" }, BD = { class: "title font-bold" }, YD = {
|
|
|
17953
17954
|
},
|
|
17954
17955
|
setup(n) {
|
|
17955
17956
|
Pg((S) => ({
|
|
17956
|
-
"
|
|
17957
|
+
"024ed260": l.value
|
|
17957
17958
|
}));
|
|
17958
17959
|
const t = n, { i18n: e } = vt.useI18n(), i = dt(), s = dt([]), r = Ws("showLegendValues", !0), a = Ws("legendPosition", dt($t.Right)), o = dt([]), l = dt(Ed), c = () => {
|
|
17959
17960
|
const S = i.value;
|
|
@@ -18061,7 +18062,7 @@ const WD = { class: "tooltip-title" }, BD = { class: "title font-bold" }, YD = {
|
|
|
18061
18062
|
], 2)) : Kt("", !0);
|
|
18062
18063
|
};
|
|
18063
18064
|
}
|
|
18064
|
-
}), mc = /* @__PURE__ */ kn(KD, [["__scopeId", "data-v-
|
|
18065
|
+
}), mc = /* @__PURE__ */ kn(KD, [["__scopeId", "data-v-14909126"]]);
|
|
18065
18066
|
var ce = [];
|
|
18066
18067
|
for (var $o = 0; $o < 256; ++$o)
|
|
18067
18068
|
ce.push(($o + 256).toString(16).slice(1));
|
|
@@ -18698,7 +18699,7 @@ function yc(n, t) {
|
|
|
18698
18699
|
});
|
|
18699
18700
|
}
|
|
18700
18701
|
const xk = /* @__PURE__ */ yc("bar", Fs), vg = /* @__PURE__ */ yc("doughnut", Mn), wk = /* @__PURE__ */ yc("line", Ns), vk = { class: "chart-container" }, Mk = /* @__PURE__ */ we({
|
|
18701
|
-
__name: "
|
|
18702
|
+
__name: "DonutChart",
|
|
18702
18703
|
props: {
|
|
18703
18704
|
chartData: {
|
|
18704
18705
|
type: Object,
|
|
@@ -18748,7 +18749,7 @@ const xk = /* @__PURE__ */ yc("bar", Fs), vg = /* @__PURE__ */ yc("doughnut", Mn
|
|
|
18748
18749
|
offsetY: 0,
|
|
18749
18750
|
width: 0,
|
|
18750
18751
|
height: 0,
|
|
18751
|
-
chartType: "
|
|
18752
|
+
chartType: "donut"
|
|
18752
18753
|
}), o = {
|
|
18753
18754
|
id: i.value,
|
|
18754
18755
|
afterUpdate(y) {
|
|
@@ -18759,7 +18760,7 @@ const xk = /* @__PURE__ */ yc("bar", Fs), vg = /* @__PURE__ */ yc("doughnut", Mn
|
|
|
18759
18760
|
datasets: c.value
|
|
18760
18761
|
}));
|
|
18761
18762
|
vt.useReportChartDataForSynthetics(At(t, "chartData"), At(t, "syntheticsDataKey"));
|
|
18762
|
-
const { options: d } = vt.
|
|
18763
|
+
const { options: d } = vt.useDonutChartOptions({
|
|
18763
18764
|
tooltipState: a,
|
|
18764
18765
|
legendID: i.value
|
|
18765
18766
|
}), h = dt(), f = (y) => ({
|
|
@@ -18771,7 +18772,7 @@ const xk = /* @__PURE__ */ yc("bar", Fs), vg = /* @__PURE__ */ yc("doughnut", Mn
|
|
|
18771
18772
|
};
|
|
18772
18773
|
return (y, x) => (nt(), _t("div", {
|
|
18773
18774
|
class: $n(["chart-parent", f(n.legendPosition)]),
|
|
18774
|
-
"data-testid": "
|
|
18775
|
+
"data-testid": "donut-chart-parent"
|
|
18775
18776
|
}, [
|
|
18776
18777
|
bt("div", vk, [
|
|
18777
18778
|
ne(ht(vg), {
|
|
@@ -18800,7 +18801,7 @@ const xk = /* @__PURE__ */ yc("bar", Fs), vg = /* @__PURE__ */ yc("doughnut", Mn
|
|
|
18800
18801
|
}, null, 8, ["id", "chart-instance", "items", "position"])
|
|
18801
18802
|
], 2));
|
|
18802
18803
|
}
|
|
18803
|
-
}), Sk = /* @__PURE__ */ kn(Mk, [["__scopeId", "data-v-
|
|
18804
|
+
}), Sk = /* @__PURE__ */ kn(Mk, [["__scopeId", "data-v-966d2ad0"]]), ih = (n, t, e, i) => {
|
|
18804
18805
|
n.save(), n.beginPath(), n.moveTo(t, e), n.lineTo(t, i), n.lineWidth = 1, n.strokeStyle = "#0275d8", n.stroke(), n.restore();
|
|
18805
18806
|
}, Ss = {
|
|
18806
18807
|
id: "linePlugin",
|
|
@@ -19059,7 +19060,7 @@ const xk = /* @__PURE__ */ yc("bar", Fs), vg = /* @__PURE__ */ yc("doughnut", Mn
|
|
|
19059
19060
|
}), Ck = /* @__PURE__ */ kn(Tk, [["__scopeId", "data-v-4ca2b965"]]), iC = ["hidden", "single", "full"];
|
|
19060
19061
|
var Wi = /* @__PURE__ */ ((n) => (n.String = "string", n.Number = "number", n.Boolean = "boolean", n.Object = "object", n.Undefined = "undefined", n))(Wi || {});
|
|
19061
19062
|
const sC = [
|
|
19062
|
-
"
|
|
19063
|
+
"donut",
|
|
19063
19064
|
"horizontal_bar",
|
|
19064
19065
|
"vertical_bar",
|
|
19065
19066
|
"timeseries_line",
|
|
@@ -20770,7 +20771,7 @@ const uT = ["id"], dT = /* @__PURE__ */ we({
|
|
|
20770
20771
|
}), y = s.t("limitedResultsShown", { maxReturned: f.value }), x = U(() => [
|
|
20771
20772
|
"vertical_bar",
|
|
20772
20773
|
"horizontal_bar"
|
|
20773
|
-
].includes(e.chartOptions.type)), w = U(() => ["timeseries_bar", "timeseries_line"].some((I) => I === e.chartOptions.type)), M = U(() => e.chartOptions.type === "
|
|
20774
|
+
].includes(e.chartOptions.type)), w = U(() => ["timeseries_bar", "timeseries_line"].some((I) => I === e.chartOptions.type)), M = U(() => e.chartOptions.type === "donut"), D = U(() => e.chartOptions.type.includes("vertical") ? "vertical" : "horizontal"), S = U(() => {
|
|
20774
20775
|
var G, q, H;
|
|
20775
20776
|
if (!((G = e.chartData) != null && G.meta.metric_names) || !((q = e.chartData) != null && q.meta.metric_units))
|
|
20776
20777
|
return;
|
|
@@ -20891,13 +20892,13 @@ const uT = ["id"], dT = /* @__PURE__ */ we({
|
|
|
20891
20892
|
]);
|
|
20892
20893
|
};
|
|
20893
20894
|
}
|
|
20894
|
-
}), aC = /* @__PURE__ */ kn(ST, [["__scopeId", "data-v-
|
|
20895
|
+
}), aC = /* @__PURE__ */ kn(ST, [["__scopeId", "data-v-62291458"]]), DT = {
|
|
20895
20896
|
class: "chart-parent",
|
|
20896
|
-
"data-testid": "
|
|
20897
|
+
"data-testid": "donut-chart-parent"
|
|
20897
20898
|
}, kT = { class: "chart-totals-flex" }, TT = {
|
|
20898
20899
|
key: 1,
|
|
20899
20900
|
class: "metric-small",
|
|
20900
|
-
"data-testid": "
|
|
20901
|
+
"data-testid": "donut-chart-total"
|
|
20901
20902
|
}, CT = /* @__PURE__ */ we({
|
|
20902
20903
|
__name: "GaugeChart",
|
|
20903
20904
|
props: {
|
|
@@ -20973,7 +20974,7 @@ const uT = ["id"], dT = /* @__PURE__ */ we({
|
|
|
20973
20974
|
d.value ? (nt(), _t("div", {
|
|
20974
20975
|
key: 0,
|
|
20975
20976
|
class: "metric-large",
|
|
20976
|
-
"data-testid": "
|
|
20977
|
+
"data-testid": "donut-chart-metric",
|
|
20977
20978
|
style: fi(u.value)
|
|
20978
20979
|
}, mt(l.value), 5)) : Kt("", !0),
|
|
20979
20980
|
h.value ? (nt(), _t("div", TT, mt(ht(e).t("total")) + ": " + mt(c.value), 1)) : Kt("", !0)
|
|
@@ -20992,7 +20993,7 @@ const uT = ["id"], dT = /* @__PURE__ */ we({
|
|
|
20992
20993
|
], 4)
|
|
20993
20994
|
]));
|
|
20994
20995
|
}
|
|
20995
|
-
}), OT = /* @__PURE__ */ kn(CT, [["__scopeId", "data-v-
|
|
20996
|
+
}), OT = /* @__PURE__ */ kn(CT, [["__scopeId", "data-v-8095ee16"]]), PT = { class: "simple-chart-shell" }, ET = {
|
|
20996
20997
|
key: 1,
|
|
20997
20998
|
class: "analytics-chart-parent"
|
|
20998
20999
|
}, AT = /* @__PURE__ */ we({
|