@kong-ui-public/dashboard-renderer 0.17.4 → 0.18.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/dashboard-renderer.es.js +67 -65
- package/dist/dashboard-renderer.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/components/DashboardRenderer.vue.d.ts +2 -0
- package/dist/types/components/DashboardRenderer.vue.d.ts.map +1 -1
- package/dist/types/components/GoldenSignalsRenderer.vue.d.ts +2 -0
- package/dist/types/components/GoldenSignalsRenderer.vue.d.ts.map +1 -1
- package/dist/types/types/dashboard-renderer-types.d.ts +12 -0
- package/dist/types/types/dashboard-renderer-types.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as v, watchEffect as Ge, defineComponent as E, inject as ne, onUnmounted as xe, computed as m, resolveComponent as U, unref as g, openBlock as h, createBlock as
|
|
1
|
+
import { ref as v, watchEffect as Ge, defineComponent as E, inject as ne, onUnmounted as xe, computed as m, resolveComponent as U, unref as g, openBlock as h, createBlock as I, withCtx as S, createTextVNode as Te, toDisplayString as F, renderSlot as ie, createCommentVNode as B, useCssVars as G, createElementVNode as V, createVNode as q, createElementBlock as C, normalizeProps as Ie, guardReactiveProps as He, withModifiers as Ye, watch as Ze, resolveDynamicComponent as Ae, normalizeStyle as ee, pushScopeId as We, popScopeId as Je, createSlots as Qe, mergeProps as Xe, onMounted as et, Fragment as tt, renderList as rt, normalizeClass as nt } from "vue";
|
|
2
2
|
import { ChartMetricDisplay as it, ChartTypesSimple as at, SimpleChart as ot, ChartTypes as te, AnalyticsChart as Ce, TopNTable as st } from "@kong-ui-public/analytics-chart";
|
|
3
3
|
import lt from "swrv";
|
|
4
4
|
import ue from "axios";
|
|
@@ -7,11 +7,11 @@ import { MetricsProviderInternal as ct, MetricsConsumer as ut } from "@kong-ui-p
|
|
|
7
7
|
import { Timeframe as pt, GranularityKeys as pe, TimePeriods as dt } from "@kong-ui-public/analytics-utilities";
|
|
8
8
|
import "@kong/kongponents";
|
|
9
9
|
import "vue-router";
|
|
10
|
-
const
|
|
11
|
-
var
|
|
12
|
-
const
|
|
10
|
+
const Z = 170, Ne = "analytics-query-provider", de = "{entity-id}", yt = "{cp-id}", Oe = 30 * 1e3;
|
|
11
|
+
var T = /* @__PURE__ */ ((e) => (e.HorizontalBar = "horizontal_bar", e.VerticalBar = "vertical_bar", e.Gauge = "gauge", e.TimeseriesLine = "timeseries_line", e.GoldenSignals = "golden_signals", e.TopN = "top_n", e.Slottable = "slottable", e))(T || {});
|
|
12
|
+
const W = {
|
|
13
13
|
type: "string"
|
|
14
|
-
},
|
|
14
|
+
}, H = {
|
|
15
15
|
type: "string"
|
|
16
16
|
}, Re = {
|
|
17
17
|
type: "boolean"
|
|
@@ -54,8 +54,8 @@ const Z = {
|
|
|
54
54
|
type: "boolean"
|
|
55
55
|
},
|
|
56
56
|
chartDatasetColors: Le,
|
|
57
|
-
syntheticsDataKey:
|
|
58
|
-
chartTitle:
|
|
57
|
+
syntheticsDataKey: W,
|
|
58
|
+
chartTitle: H,
|
|
59
59
|
allowCsvExport: Re
|
|
60
60
|
},
|
|
61
61
|
required: ["type"],
|
|
@@ -74,8 +74,8 @@ const Z = {
|
|
|
74
74
|
type: "boolean"
|
|
75
75
|
},
|
|
76
76
|
chartDatasetColors: Le,
|
|
77
|
-
syntheticsDataKey:
|
|
78
|
-
chartTitle:
|
|
77
|
+
syntheticsDataKey: W,
|
|
78
|
+
chartTitle: H,
|
|
79
79
|
allowCsvExport: Re
|
|
80
80
|
},
|
|
81
81
|
required: ["type"],
|
|
@@ -100,16 +100,16 @@ const Z = {
|
|
|
100
100
|
numerator: {
|
|
101
101
|
type: "number"
|
|
102
102
|
},
|
|
103
|
-
syntheticsDataKey:
|
|
104
|
-
chartTitle:
|
|
103
|
+
syntheticsDataKey: W,
|
|
104
|
+
chartTitle: H
|
|
105
105
|
},
|
|
106
106
|
required: ["type"],
|
|
107
107
|
additionalProperties: !1
|
|
108
108
|
}, vt = {
|
|
109
109
|
type: "object",
|
|
110
110
|
properties: {
|
|
111
|
-
chartTitle:
|
|
112
|
-
syntheticsDataKey:
|
|
111
|
+
chartTitle: H,
|
|
112
|
+
syntheticsDataKey: W,
|
|
113
113
|
type: {
|
|
114
114
|
type: "string",
|
|
115
115
|
enum: [
|
|
@@ -129,6 +129,7 @@ const Z = {
|
|
|
129
129
|
}, _t = {
|
|
130
130
|
type: "object",
|
|
131
131
|
properties: {
|
|
132
|
+
chartTitle: H,
|
|
132
133
|
type: {
|
|
133
134
|
type: "string",
|
|
134
135
|
enum: [
|
|
@@ -337,7 +338,7 @@ const Z = {
|
|
|
337
338
|
},
|
|
338
339
|
required: ["query", "chart"],
|
|
339
340
|
additionalProperties: !1
|
|
340
|
-
},
|
|
341
|
+
}, Tt = {
|
|
341
342
|
type: "object",
|
|
342
343
|
properties: {
|
|
343
344
|
position: {
|
|
@@ -374,11 +375,11 @@ const Z = {
|
|
|
374
375
|
},
|
|
375
376
|
required: ["position", "size"],
|
|
376
377
|
additionalProperties: !1
|
|
377
|
-
},
|
|
378
|
+
}, It = {
|
|
378
379
|
type: "object",
|
|
379
380
|
properties: {
|
|
380
381
|
definition: xt,
|
|
381
|
-
layout:
|
|
382
|
+
layout: Tt
|
|
382
383
|
},
|
|
383
384
|
required: ["definition", "layout"],
|
|
384
385
|
additionalProperties: !1
|
|
@@ -387,11 +388,11 @@ const Z = {
|
|
|
387
388
|
properties: {
|
|
388
389
|
tiles: {
|
|
389
390
|
type: "array",
|
|
390
|
-
items:
|
|
391
|
+
items: It
|
|
391
392
|
},
|
|
392
393
|
tileHeight: {
|
|
393
394
|
type: "number",
|
|
394
|
-
description: `Height of each tile in pixels. Default: ${
|
|
395
|
+
description: `Height of each tile in pixels. Default: ${Z}`
|
|
395
396
|
},
|
|
396
397
|
gridSize: {
|
|
397
398
|
type: "object",
|
|
@@ -490,7 +491,7 @@ const je = {
|
|
|
490
491
|
try {
|
|
491
492
|
const u = [];
|
|
492
493
|
r.query.filters && u.push(...r.query.filters), u.push(...r.context.filters);
|
|
493
|
-
const
|
|
494
|
+
const Y = {
|
|
494
495
|
...r.query,
|
|
495
496
|
time_range: {
|
|
496
497
|
...r.context.timeSpec,
|
|
@@ -498,7 +499,7 @@ const je = {
|
|
|
498
499
|
},
|
|
499
500
|
filters: u
|
|
500
501
|
};
|
|
501
|
-
return o == null ? void 0 : o.queryFn(
|
|
502
|
+
return o == null ? void 0 : o.queryFn(Y, s);
|
|
502
503
|
} catch (u) {
|
|
503
504
|
y.value = ((j = (N = u == null ? void 0 : u.response) == null ? void 0 : N.data) == null ? void 0 : j.message) === "Range not allowed for this tier" ? n.t("queryDataProvider.timeRangeExceeded") : (($ = (O = u == null ? void 0 : u.response) == null ? void 0 : O.data) == null ? void 0 : $.message) || (u == null ? void 0 : u.message);
|
|
504
505
|
} finally {
|
|
@@ -510,18 +511,18 @@ const je = {
|
|
|
510
511
|
}), { state: c, swrvState: f } = Ct(l, p, d), y = v(null), w = m(() => c.value === f.ERROR || !!y.value), _ = m(() => !r.queryReady || c.value === f.PENDING);
|
|
511
512
|
return (N, j) => {
|
|
512
513
|
const O = U("KSkeleton"), $ = U("KEmptyState");
|
|
513
|
-
return _.value || !g(l) && !w.value ? (h(),
|
|
514
|
+
return _.value || !g(l) && !w.value ? (h(), I(O, {
|
|
514
515
|
key: 0,
|
|
515
516
|
class: "chart-skeleton",
|
|
516
517
|
type: "table"
|
|
517
|
-
})) : w.value ? (h(),
|
|
518
|
+
})) : w.value ? (h(), I($, {
|
|
518
519
|
key: 1,
|
|
519
520
|
"action-button-visible": !1,
|
|
520
521
|
"data-testid": "chart-empty-state",
|
|
521
522
|
"icon-variant": "error"
|
|
522
523
|
}, {
|
|
523
524
|
default: S(() => [
|
|
524
|
-
|
|
525
|
+
Te(F(y.value), 1)
|
|
525
526
|
]),
|
|
526
527
|
_: 1
|
|
527
528
|
})) : g(l) ? ie(N.$slots, "default", {
|
|
@@ -544,12 +545,12 @@ const je = {
|
|
|
544
545
|
"8c62ff26": `${n.height}px`
|
|
545
546
|
}));
|
|
546
547
|
const t = e, r = {
|
|
547
|
-
[
|
|
548
|
+
[T.Gauge]: at.GAUGE
|
|
548
549
|
}, i = m(() => ({
|
|
549
550
|
...t.chartOptions,
|
|
550
551
|
type: r[t.chartOptions.type]
|
|
551
552
|
}));
|
|
552
|
-
return (n, o) => (h(),
|
|
553
|
+
return (n, o) => (h(), I(J, {
|
|
553
554
|
context: n.context,
|
|
554
555
|
query: n.query,
|
|
555
556
|
"query-ready": n.queryReady
|
|
@@ -585,14 +586,14 @@ const je = {
|
|
|
585
586
|
"1eed717c": `${n.height}px`
|
|
586
587
|
}));
|
|
587
588
|
const t = e, r = {
|
|
588
|
-
[
|
|
589
|
-
[
|
|
589
|
+
[T.HorizontalBar]: te.HORIZONTAL_BAR,
|
|
590
|
+
[T.VerticalBar]: te.VERTICAL_BAR
|
|
590
591
|
}, i = m(() => ({
|
|
591
592
|
type: r[t.chartOptions.type],
|
|
592
593
|
stacked: t.chartOptions.stacked,
|
|
593
594
|
chartDatasetColors: t.chartOptions.chartDatasetColors
|
|
594
595
|
}));
|
|
595
|
-
return (n, o) => (h(),
|
|
596
|
+
return (n, o) => (h(), I(J, {
|
|
596
597
|
context: n.context,
|
|
597
598
|
query: n.query,
|
|
598
599
|
"query-ready": n.queryReady
|
|
@@ -628,7 +629,7 @@ const je = {
|
|
|
628
629
|
"4efa9c90": `${n.height}px`
|
|
629
630
|
}));
|
|
630
631
|
const t = e, r = {
|
|
631
|
-
[
|
|
632
|
+
[T.TimeseriesLine]: te.TIMESERIES_LINE
|
|
632
633
|
// TODO: Timeseries bar
|
|
633
634
|
}, i = m(() => {
|
|
634
635
|
const n = t.chartOptions.stacked ?? !1;
|
|
@@ -638,7 +639,7 @@ const je = {
|
|
|
638
639
|
chartDatasetColors: t.chartOptions.chartDatasetColors
|
|
639
640
|
};
|
|
640
641
|
});
|
|
641
|
-
return (n, o) => (h(),
|
|
642
|
+
return (n, o) => (h(), I(J, {
|
|
642
643
|
context: n.context,
|
|
643
644
|
query: n.query,
|
|
644
645
|
"query-ready": n.queryReady
|
|
@@ -693,12 +694,13 @@ const je = {
|
|
|
693
694
|
tz: t.context.tz,
|
|
694
695
|
additionalFilter: t.context.filters,
|
|
695
696
|
longCardTitles: t.chartOptions.longCardTitles,
|
|
697
|
+
containerTitle: t.chartOptions.chartTitle,
|
|
696
698
|
description: t.chartOptions.description,
|
|
697
699
|
hasTrendAccess: !0,
|
|
698
700
|
refreshInterval: t.context.refreshInterval ?? Oe
|
|
699
701
|
}));
|
|
700
702
|
return (n, o) => (h(), C("div", Ft, [
|
|
701
|
-
q(g(ct),
|
|
703
|
+
q(g(ct), Ie(He(i.value)), {
|
|
702
704
|
default: S(() => [
|
|
703
705
|
q(g(ut))
|
|
704
706
|
]),
|
|
@@ -706,7 +708,7 @@ const je = {
|
|
|
706
708
|
}, 16)
|
|
707
709
|
]));
|
|
708
710
|
}
|
|
709
|
-
}), Kt = /* @__PURE__ */ D(Vt, [["__scopeId", "data-v-
|
|
711
|
+
}), Kt = /* @__PURE__ */ D(Vt, [["__scopeId", "data-v-45b71e5d"]]), $e = "20px";
|
|
710
712
|
var P = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(P || {});
|
|
711
713
|
function Bt() {
|
|
712
714
|
return {
|
|
@@ -933,7 +935,7 @@ function nr(e, t, r, i = {
|
|
|
933
935
|
l.value = !1;
|
|
934
936
|
}
|
|
935
937
|
}, O = v(""), $ = async (u) => {
|
|
936
|
-
var
|
|
938
|
+
var Y, le, ce;
|
|
937
939
|
if (O.value !== u)
|
|
938
940
|
if (O.value = u || "", y.value === void 0)
|
|
939
941
|
try {
|
|
@@ -954,7 +956,7 @@ function nr(e, t, r, i = {
|
|
|
954
956
|
})
|
|
955
957
|
);
|
|
956
958
|
const A = await Promise.all(x), K = /* @__PURE__ */ new Set();
|
|
957
|
-
c.value = [], (
|
|
959
|
+
c.value = [], (Y = A == null ? void 0 : A.forEach) == null || Y.call(A, (k) => {
|
|
958
960
|
var R;
|
|
959
961
|
(R = k == null ? void 0 : k.forEach) == null || R.call(k, (X) => {
|
|
960
962
|
K.has(X.id) || (K.add(X.id), c.value.push(X));
|
|
@@ -1225,9 +1227,9 @@ function Sr(e, t) {
|
|
|
1225
1227
|
function xr(e) {
|
|
1226
1228
|
return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
|
|
1227
1229
|
}
|
|
1228
|
-
var
|
|
1229
|
-
isNothing:
|
|
1230
|
-
isObject:
|
|
1230
|
+
var Tr = Ve, Ir = br, Ar = wr, Cr = Sr, Er = xr, qr = kr, oe = {
|
|
1231
|
+
isNothing: Tr,
|
|
1232
|
+
isObject: Ir,
|
|
1231
1233
|
toArray: Ar,
|
|
1232
1234
|
repeat: Cr,
|
|
1233
1235
|
isNegativeZero: Er,
|
|
@@ -1664,7 +1666,7 @@ var kn = new b("tag:yaml.org,2002:binary", {
|
|
|
1664
1666
|
predicate: wn,
|
|
1665
1667
|
represent: bn
|
|
1666
1668
|
}), Sn = Object.prototype.hasOwnProperty, xn = Object.prototype.toString;
|
|
1667
|
-
function
|
|
1669
|
+
function Tn(e) {
|
|
1668
1670
|
if (e === null)
|
|
1669
1671
|
return !0;
|
|
1670
1672
|
var t = [], r, i, n, o, a, s = e;
|
|
@@ -1686,13 +1688,13 @@ function In(e) {
|
|
|
1686
1688
|
}
|
|
1687
1689
|
return !0;
|
|
1688
1690
|
}
|
|
1689
|
-
function
|
|
1691
|
+
function In(e) {
|
|
1690
1692
|
return e !== null ? e : [];
|
|
1691
1693
|
}
|
|
1692
1694
|
var An = new b("tag:yaml.org,2002:omap", {
|
|
1693
1695
|
kind: "sequence",
|
|
1694
|
-
resolve:
|
|
1695
|
-
construct:
|
|
1696
|
+
resolve: Tn,
|
|
1697
|
+
construct: In
|
|
1696
1698
|
}), Cn = Object.prototype.toString;
|
|
1697
1699
|
function En(e) {
|
|
1698
1700
|
if (e === null)
|
|
@@ -1834,7 +1836,7 @@ const Se = "24px", zn = (e, t) => {
|
|
|
1834
1836
|
lineHeight: "0",
|
|
1835
1837
|
width: r.value
|
|
1836
1838
|
}));
|
|
1837
|
-
return (n, o) => (h(),
|
|
1839
|
+
return (n, o) => (h(), I(Ae(e.as), {
|
|
1838
1840
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
1839
1841
|
class: "kui-icon copy-icon",
|
|
1840
1842
|
"data-testid": "kui-icon-wrapper-copy-icon",
|
|
@@ -1896,7 +1898,7 @@ const Se = "24px", zn = (e, t) => {
|
|
|
1896
1898
|
return (c, f) => {
|
|
1897
1899
|
const y = U("KTooltip"), w = U("KExternalLink"), _ = U("KClipboardProvider");
|
|
1898
1900
|
return h(), C("div", Mn, [
|
|
1899
|
-
s.value ? (h(), C("div", Gn, F(p.value), 1)) : l.value ? l.value ? (h(),
|
|
1901
|
+
s.value ? (h(), C("div", Gn, F(p.value), 1)) : l.value ? l.value ? (h(), I(w, {
|
|
1900
1902
|
key: 2,
|
|
1901
1903
|
class: "entity-link",
|
|
1902
1904
|
"hide-icon": !e.newWindow,
|
|
@@ -1919,7 +1921,7 @@ const Se = "24px", zn = (e, t) => {
|
|
|
1919
1921
|
]),
|
|
1920
1922
|
_: 1
|
|
1921
1923
|
}, 8, ["hide-icon", "href", "target"])) : B("", !0) : (h(), C("div", Hn, F(" – "))),
|
|
1922
|
-
l.value && e.allowCopy ? (h(),
|
|
1924
|
+
l.value && e.allowCopy ? (h(), I(y, {
|
|
1923
1925
|
key: a.value,
|
|
1924
1926
|
class: "copy-uuid-tooltip",
|
|
1925
1927
|
"max-width": "160",
|
|
@@ -1969,7 +1971,7 @@ const Se = "24px", zn = (e, t) => {
|
|
|
1969
1971
|
return t.chartOptions.entityLink.replace(de, i.id);
|
|
1970
1972
|
return "";
|
|
1971
1973
|
};
|
|
1972
|
-
return (i, n) => (h(),
|
|
1974
|
+
return (i, n) => (h(), I(J, {
|
|
1973
1975
|
context: i.context,
|
|
1974
1976
|
query: i.query,
|
|
1975
1977
|
"query-ready": i.queryReady
|
|
@@ -2005,20 +2007,20 @@ const Se = "24px", zn = (e, t) => {
|
|
|
2005
2007
|
props: {
|
|
2006
2008
|
definition: {},
|
|
2007
2009
|
context: {},
|
|
2008
|
-
height: { default:
|
|
2010
|
+
height: { default: Z }
|
|
2009
2011
|
},
|
|
2010
2012
|
setup(e) {
|
|
2011
2013
|
G((o) => ({
|
|
2012
2014
|
a16bb866: `${o.height}px`
|
|
2013
2015
|
}));
|
|
2014
2016
|
const t = parseInt($e, 10), r = e, i = {
|
|
2015
|
-
[
|
|
2016
|
-
[
|
|
2017
|
-
[
|
|
2018
|
-
[
|
|
2019
|
-
[
|
|
2020
|
-
[
|
|
2021
|
-
[
|
|
2017
|
+
[T.TimeseriesLine]: Ut,
|
|
2018
|
+
[T.HorizontalBar]: ye,
|
|
2019
|
+
[T.VerticalBar]: ye,
|
|
2020
|
+
[T.Gauge]: Dt,
|
|
2021
|
+
[T.GoldenSignals]: Kt,
|
|
2022
|
+
[T.TopN]: Jn,
|
|
2023
|
+
[T.Slottable]: void 0
|
|
2022
2024
|
}, n = m(() => {
|
|
2023
2025
|
const o = i[r.definition.chart.type];
|
|
2024
2026
|
return o && {
|
|
@@ -2034,7 +2036,7 @@ const Se = "24px", zn = (e, t) => {
|
|
|
2034
2036
|
};
|
|
2035
2037
|
});
|
|
2036
2038
|
return (o, a) => (h(), C("div", Qn, [
|
|
2037
|
-
n.value ? (h(),
|
|
2039
|
+
n.value ? (h(), I(Ae(n.value.component), Ie(Xe({ key: 0 }, n.value.rendererProps)), null, 16)) : B("", !0)
|
|
2038
2040
|
]));
|
|
2039
2041
|
}
|
|
2040
2042
|
}), ei = /* @__PURE__ */ D(Xn, [["__scopeId", "data-v-3d6e352f"]]), ti = (e, t, r) => {
|
|
@@ -2057,7 +2059,7 @@ const Se = "24px", zn = (e, t) => {
|
|
|
2057
2059
|
tileHeight: {
|
|
2058
2060
|
type: Number,
|
|
2059
2061
|
required: !1,
|
|
2060
|
-
default: () =>
|
|
2062
|
+
default: () => Z
|
|
2061
2063
|
},
|
|
2062
2064
|
tiles: {
|
|
2063
2065
|
type: Array,
|
|
@@ -2133,30 +2135,30 @@ const Se = "24px", zn = (e, t) => {
|
|
|
2133
2135
|
return (a, s) => {
|
|
2134
2136
|
const l = U("KAlert");
|
|
2135
2137
|
return h(), C("div", ii, [
|
|
2136
|
-
g(i) ? (h(),
|
|
2138
|
+
g(i) ? (h(), I(ni, {
|
|
2137
2139
|
key: 1,
|
|
2138
2140
|
"grid-size": a.config.gridSize,
|
|
2139
2141
|
"tile-height": a.config.tileHeight,
|
|
2140
2142
|
tiles: n.value
|
|
2141
2143
|
}, {
|
|
2142
2144
|
tile: S(({ tile: p }) => [
|
|
2143
|
-
p.meta.chart.type === g(
|
|
2145
|
+
p.meta.chart.type === g(T).Slottable ? (h(), C("div", ai, [
|
|
2144
2146
|
ie(a.$slots, p.meta.chart.id, {}, void 0, !0)
|
|
2145
|
-
])) : (h(),
|
|
2147
|
+
])) : (h(), I(ei, {
|
|
2146
2148
|
key: 1,
|
|
2147
2149
|
class: "tile-container",
|
|
2148
2150
|
context: o.value,
|
|
2149
2151
|
definition: p.meta,
|
|
2150
|
-
height: p.layout.size.rows * (a.config.tileHeight || g(
|
|
2152
|
+
height: p.layout.size.rows * (a.config.tileHeight || g(Z)) + parseInt(g($e), 10)
|
|
2151
2153
|
}, null, 8, ["context", "definition", "height"]))
|
|
2152
2154
|
]),
|
|
2153
2155
|
_: 3
|
|
2154
|
-
}, 8, ["grid-size", "tile-height", "tiles"])) : (h(),
|
|
2156
|
+
}, 8, ["grid-size", "tile-height", "tiles"])) : (h(), I(l, {
|
|
2155
2157
|
key: 0,
|
|
2156
2158
|
appearance: "danger"
|
|
2157
2159
|
}, {
|
|
2158
2160
|
default: S(() => [
|
|
2159
|
-
|
|
2161
|
+
Te(F(g(r).t("renderer.noQueryBridge")), 1)
|
|
2160
2162
|
]),
|
|
2161
2163
|
_: 1
|
|
2162
2164
|
}))
|
|
@@ -2166,8 +2168,8 @@ const Se = "24px", zn = (e, t) => {
|
|
|
2166
2168
|
}), mi = /* @__PURE__ */ D(oi, [["__scopeId", "data-v-1af70010"]]);
|
|
2167
2169
|
export {
|
|
2168
2170
|
yt as CP_ID_TOKEN,
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
+
T as ChartTypes,
|
|
2172
|
+
Z as DEFAULT_TILE_HEIGHT,
|
|
2171
2173
|
Oe as DEFAULT_TILE_REFRESH_INTERVAL_MS,
|
|
2172
2174
|
mi as DashboardRenderer,
|
|
2173
2175
|
de as ENTITY_ID_TOKEN,
|
|
@@ -2179,9 +2181,9 @@ export {
|
|
|
2179
2181
|
mt as gaugeChartSchema,
|
|
2180
2182
|
_t as metricCardSchema,
|
|
2181
2183
|
ft as slottableSchema,
|
|
2182
|
-
|
|
2184
|
+
It as tileConfigSchema,
|
|
2183
2185
|
xt as tileDefinitionSchema,
|
|
2184
|
-
|
|
2186
|
+
Tt as tileLayoutSchema,
|
|
2185
2187
|
gt as timeseriesChartSchema,
|
|
2186
2188
|
vt as topNTableSchema
|
|
2187
2189
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(d,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("vue"),require("@kong-ui-public/analytics-chart"),require("swrv"),require("axios"),require("@kong-ui-public/i18n"),require("@kong-ui-public/analytics-metric-provider"),require("@kong-ui-public/analytics-utilities"),require("@kong/kongponents"),require("vue-router")):typeof define=="function"&&define.amd?define(["exports","vue","@kong-ui-public/analytics-chart","swrv","axios","@kong-ui-public/i18n","@kong-ui-public/analytics-metric-provider","@kong-ui-public/analytics-utilities","@kong/kongponents","vue-router"],n):(d=typeof globalThis<"u"?globalThis:d||self,n(d["kong-ui-public-dashboard-renderer"]={},d.Vue,d["kong-ui-public-analytics-chart"],d.swrv,d.axios,d["kong-ui-public-i18n"],d["kong-ui-public-analytics-metric-provider"],d["kong-ui-public-analytics-utilities"]))})(this,function(d,n,S,Be,W,B,Q,j){"use strict";const U="analytics-query-provider",H="{entity-id}",J="{cp-id}";var b=(e=>(e.HorizontalBar="horizontal_bar",e.VerticalBar="vertical_bar",e.Gauge="gauge",e.TimeseriesLine="timeseries_line",e.GoldenSignals="golden_signals",e.TopN="top_n",e.Slottable="slottable",e))(b||{});const $={type:"string"},V={type:"string"},X={type:"boolean"},ee={type:["object","array"],items:{type:"string"},additionalProperties:{type:"string"}},te={type:"object",properties:{type:{type:"string",enum:["slottable"]},id:{type:"string"}},required:["type","id"],additionalProperties:!1},re={type:"object",properties:{type:{type:"string",enum:["horizontal_bar","vertical_bar"]},stacked:{type:"boolean"},chartDatasetColors:ee,syntheticsDataKey:$,chartTitle:V,allowCsvExport:X},required:["type"],additionalProperties:!1},ne={type:"object",properties:{type:{type:"string",enum:["timeseries_line"]},stacked:{type:"boolean"},chartDatasetColors:ee,syntheticsDataKey:$,chartTitle:V,allowCsvExport:X},required:["type"],additionalProperties:!1},ie={type:"object",properties:{type:{type:"string",enum:["gauge"]},metricDisplay:{type:"string",enum:Object.values(S.ChartMetricDisplay)},reverseDataset:{type:"boolean"},numerator:{type:"number"},syntheticsDataKey:$,chartTitle:V},required:["type"],additionalProperties:!1},oe={type:"object",properties:{chartTitle:V,syntheticsDataKey:$,type:{type:"string",enum:["top_n"]},description:{type:"string"},entityLink:{type:"string"}},required:["type"],additionalProperties:!1},ae={type:"object",properties:{type:{type:"string",enum:["golden_signals"]},longCardTitles:{type:"boolean"},description:{type:"string"}},required:["type"]},se={type:"object",description:"A query to launch at the API",properties:{metrics:{type:"array",description:"List of aggregated metrics to collect across the requested time span.",items:{type:"string",enum:["request_count","request_per_minute","response_latency_p99","response_latency_p95","response_latency_p50","response_latency_average","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","request_size_p99","request_size_p95","request_size_p50","request_size_average","response_size_average"]}},dimensions:{type:"array",description:"List of attributes or entity types to group by.",minItems:0,maxItems:2,items:{type:"string",enum:["api_product","api_product_version","application","consumer","control_plane","control_plane_group","data_plane_node","gateway_service","route","status_code","status_code_grouped","time"]}},filters:{type:"array",description:"A list of filters to apply to the query.",items:{type:"object",description:"A filter that specifies which data to include in the query",properties:{dimension:{type:"string",enum:["api_product","api_product_version","application","consumer","control_plane","control_plane_group","data_plane_node","gateway_service","route","status_code","status_code_grouped","time"]},type:{type:"string",enum:["in","not_in","selector"]},values:{type:"array",items:{type:"string"}}},required:["dimension","type","values"]}},granularity_ms:{type:"number",description:'Force time grouping into buckets of this duration in milliseconds. Only has an effect if "time" is in the "dimensions" list.',minimum:6e4},time_range:{description:"The time range to query.",oneOf:[{type:"object",properties:{tz:{type:"string",default:"Etc/UTC"},type:{type:"string",enum:["relative"]},time_range:{type:"string",enum:["15m","1h","6h","12h","24h","7d","30d","current_week","current_month","previous_week","previous_month"],default:"1h"}},required:["type","time_range"]},{type:"object",description:"A duration representing an exact start and end time.",properties:{tz:{type:"string",default:"Etc/UTC"},type:{type:"string",enum:["absolute"]},start:{type:"string"},end:{type:"string"}},required:["type"]}],default:{type:"relative",time_range:"1h"}},meta:{type:"object"}}},le={type:"object",properties:{query:se,chart:{oneOf:[re,ie,ne,ae,oe,te]}},required:["query","chart"],additionalProperties:!1},ce={type:"object",properties:{position:{type:"object",properties:{col:{type:"number"},row:{type:"number"}},description:"Position of the tile in the grid.",required:["col","row"],additionalProperties:!1},size:{type:"object",properties:{cols:{type:"number"},rows:{type:"number"},fitToContent:{type:"boolean"}},description:"Number of columns and rows the tile occupies. If fitToContent is true for every tile in a row, and each tile only occupies 1 row, then the row will auto-fit to its content.",required:["cols","rows"],additionalProperties:!1}},required:["position","size"],additionalProperties:!1},ue={type:"object",properties:{definition:le,layout:ce},required:["definition","layout"],additionalProperties:!1},je={type:"object",properties:{tiles:{type:"array",items:ue},tileHeight:{type:"number",description:"Height of each tile in pixels. Default: 170"},gridSize:{type:"object",properties:{cols:{type:"number"},rows:{type:"number"}},description:"Number of columns and rows in the grid.",required:["cols","rows"],additionalProperties:!1}},required:["tiles","gridSize"],additionalProperties:!1};var pe=(e=>(e.VALIDATING="VALIDATING",e.VALIDATING_HAS_DATA="VALIDATING_HAS_DATA",e.PENDING="PENDING",e.SUCCESS="SUCCESS",e.SUCCESS_HAS_DATA="SUCCESS_HAS_DATA",e.ERROR="ERROR",e.STALE_IF_ERROR="STALE_IF_ERROR",e))(pe||{});const $e=e=>{var t,r,o,i,s;return e?!!((t=Object.keys(e))!=null&&t.length||(r=e.data)!=null&&r.length||(i=(o=e.data)==null?void 0:o.data)!=null&&i.length||!((s=e.data)!=null&&s.data)&&typeof e.data=="object"&&Object.keys(e==null?void 0:e.data).length):!1};function Ve(e=n.ref({}),t,r,o=$e){const i=n.ref("PENDING");return n.watchEffect(()=>{const s=o(e.value);if(e.value&&s&&r.value){i.value="VALIDATING_HAS_DATA";return}if(e.value&&r.value){i.value="VALIDATING";return}if(e.value&&t.value){i.value="STALE_IF_ERROR";return}if(e.value===void 0&&!t.value){i.value="PENDING";return}if(e.value&&!t.value&&s){i.value="SUCCESS_HAS_DATA";return}if(e.value&&!t.value){i.value="SUCCESS";return}e.value===void 0&&t&&(i.value="ERROR")}),{state:i,swrvState:pe}}const ze={renderer:{noQueryBridge:"No query bridge provided. Unable to render dashboard."},queryDataProvider:{timeRangeExceeded:"The time range for this report is outside of your organization's data retention period"}};function Fe(){const e=B.createI18n("en-us",ze);return{i18n:e,i18nT:B.i18nTComponent(e)}}const de={useI18n:Fe},z=n.defineComponent({__name:"QueryDataProvider",props:{context:{},query:{},queryReady:{type:Boolean}},emits:["queryComplete"],setup(e,{emit:t}){const r=e,o=t,{i18n:i}=de.useI18n(),s=n.inject(U),a=()=>r.queryReady&&s?JSON.stringify([r.query,r.context]):null,l=new AbortController;n.onUnmounted(()=>{l.abort()});const{data:c,error:f,isValidating:y}=Be(a,async()=>{var C,L,x,O;try{const p=[];r.query.filters&&p.push(...r.query.filters),p.push(...r.context.filters);const P={...r.query,time_range:{...r.context.timeSpec,tz:r.context.tz},filters:p};return s==null?void 0:s.queryFn(P,l)}catch(p){h.value=((L=(C=p==null?void 0:p.response)==null?void 0:C.data)==null?void 0:L.message)==="Range not allowed for this tier"?i.t("queryDataProvider.timeRangeExceeded"):((O=(x=p==null?void 0:p.response)==null?void 0:x.data)==null?void 0:O.message)||(p==null?void 0:p.message)}finally{o("queryComplete")}},{refreshInterval:r.context.refreshInterval??3e4,revalidateOnFocus:!1}),{state:u,swrvState:m}=Ve(c,f,y),h=n.ref(null),k=n.computed(()=>u.value===m.ERROR||!!h.value),g=n.computed(()=>!r.queryReady||u.value===m.PENDING);return(C,L)=>{const x=n.resolveComponent("KSkeleton"),O=n.resolveComponent("KEmptyState");return g.value||!n.unref(c)&&!k.value?(n.openBlock(),n.createBlock(x,{key:0,class:"chart-skeleton",type:"table"})):k.value?(n.openBlock(),n.createBlock(O,{key:1,"action-button-visible":!1,"data-testid":"chart-empty-state","icon-variant":"error"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(h.value),1)]),_:1})):n.unref(c)?n.renderSlot(C.$slots,"default",{key:2,data:n.unref(c)}):n.createCommentVNode("",!0)}}}),Pe={class:"analytics-chart"},Ue=n.defineComponent({__name:"SimpleChartRenderer",props:{query:{},context:{},queryReady:{type:Boolean},chartOptions:{},height:{}},setup(e){n.useCssVars(i=>({"8c62ff26":`${i.height}px`}));const t=e,r={[b.Gauge]:S.ChartTypesSimple.GAUGE},o=n.computed(()=>({...t.chartOptions,type:r[t.chartOptions.type]}));return(i,s)=>(n.openBlock(),n.createBlock(z,{context:i.context,query:i.query,"query-ready":i.queryReady},{default:n.withCtx(({data:a})=>[n.createElementVNode("div",Pe,[n.createVNode(n.unref(S.SimpleChart),{"chart-data":a,"chart-options":o.value,"synthetics-data-key":i.chartOptions.syntheticsDataKey},null,8,["chart-data","chart-options","synthetics-data-key"])])]),_:1},8,["context","query","query-ready"]))}}),I=(e,t)=>{const r=e.__vccOpts||e;for(const[o,i]of t)r[o]=i;return r},He=I(Ue,[["__scopeId","data-v-f0f6ed41"]]),Ke={class:"analytics-chart"},fe=I(n.defineComponent({__name:"BarChartRenderer",props:{query:{},context:{},queryReady:{type:Boolean},chartOptions:{},height:{}},setup(e){n.useCssVars(i=>({"1eed717c":`${i.height}px`}));const t=e,r={[b.HorizontalBar]:S.ChartTypes.HORIZONTAL_BAR,[b.VerticalBar]:S.ChartTypes.VERTICAL_BAR},o=n.computed(()=>({type:r[t.chartOptions.type],stacked:t.chartOptions.stacked,chartDatasetColors:t.chartOptions.chartDatasetColors}));return(i,s)=>(n.openBlock(),n.createBlock(z,{context:i.context,query:i.query,"query-ready":i.queryReady},{default:n.withCtx(({data:a})=>[n.createElementVNode("div",Ke,[n.createVNode(n.unref(S.AnalyticsChart),{"allow-csv-export":i.chartOptions.allowCsvExport,"chart-data":a,"chart-options":o.value,"chart-title":i.chartOptions.chartTitle,"legend-position":"bottom","show-annotations":!1,"synthetics-data-key":i.chartOptions.syntheticsDataKey,"tooltip-title":""},null,8,["allow-csv-export","chart-data","chart-options","chart-title","synthetics-data-key"])])]),_:1},8,["context","query","query-ready"]))}}),[["__scopeId","data-v-36598a1b"]]),Ge={class:"analytics-chart"},Me=I(n.defineComponent({__name:"TimeseriesChartRenderer",props:{query:{},context:{},queryReady:{type:Boolean},chartOptions:{},height:{}},setup(e){n.useCssVars(i=>({"4efa9c90":`${i.height}px`}));const t=e,r={[b.TimeseriesLine]:S.ChartTypes.TIMESERIES_LINE},o=n.computed(()=>{const i=t.chartOptions.stacked??!1;return{type:r[t.chartOptions.type],stacked:i,chartDatasetColors:t.chartOptions.chartDatasetColors}});return(i,s)=>(n.openBlock(),n.createBlock(z,{context:i.context,query:i.query,"query-ready":i.queryReady},{default:n.withCtx(({data:a})=>[n.createElementVNode("div",Ge,[n.createVNode(n.unref(S.AnalyticsChart),{"allow-csv-export":i.chartOptions.allowCsvExport,"chart-data":a,"chart-options":o.value,"chart-title":i.chartOptions.chartTitle,"legend-position":"bottom","synthetics-data-key":i.chartOptions.syntheticsDataKey,"tooltip-title":""},null,8,["allow-csv-export","chart-data","chart-options","chart-title","synthetics-data-key"])])]),_:1},8,["context","query","query-ready"]))}}),[["__scopeId","data-v-ceb07ca8"]]),Ye={class:"metric-card-tile-wrapper"},Ze=I(n.defineComponent({__name:"GoldenSignalsRenderer",props:{query:{},context:{},queryReady:{type:Boolean},chartOptions:{},height:{}},setup(e){const t=e,r=n.computed(()=>{const i=t.context.timeSpec;if(i.type==="absolute")return new j.Timeframe({key:"custom",timeframeText:"custom",display:"custom",startCustom:i.start,endCustom:i.end,timeframeLength:()=>0,defaultResponseGranularity:j.GranularityKeys.DAILY,dataGranularity:j.GranularityKeys.DAILY,isRelative:!1,allowedTiers:["free","plus","enterprise"]});const s=j.TimePeriods.get(i.time_range);if(!s)throw new Error("Unknown time range");return s}),o=n.computed(()=>({overrideTimeframe:r.value,tz:t.context.tz,additionalFilter:t.context.filters,longCardTitles:t.chartOptions.longCardTitles,description:t.chartOptions.description,hasTrendAccess:!0,refreshInterval:t.context.refreshInterval??3e4}));return(i,s)=>(n.openBlock(),n.createElementBlock("div",Ye,[n.createVNode(n.unref(Q.MetricsProviderInternal),n.normalizeProps(n.guardReactiveProps(o.value)),{default:n.withCtx(()=>[n.createVNode(n.unref(Q.MetricsConsumer))]),_:1},16)]))}}),[["__scopeId","data-v-7482800d"]]),ye="20px";var N=(e=>(e[e.Loading=0]="Loading",e[e.Idle=1]="Idle",e[e.NoResults=2]="NoResults",e[e.Error=3]="Error",e))(N||{});function We(){return{getAxiosInstance:(e={})=>{try{const t=n.inject("get-axios-instance",void 0);return typeof t=="function"?t(e):W.create({withCredentials:!0,timeout:3e4,...e})}catch(t){return console.warn("getAxiosInstance:",t.message||t),W.create({withCredentials:!0,timeout:3e4,...e})}},getTraceIdFromError:e=>{var t;return((t=e==null?void 0:e.response)==null?void 0:t.headers["x-datadog-trace-id"])||""}}}function Qe(){return{debounce:(e,t)=>{let r;return(...o)=>{clearTimeout(r),r=window==null?void 0:window.setTimeout(()=>{e(...o)},t)}}}}function K(e={}){const{getAxiosInstance:t}=We();return{axiosInstance:t(e)}}const Je={actions:{copyId:"Copy ID",copied_id:'Copied "{id}" to the clipboard',copyToClipboard:"Copied successfully!",copyToClipboardFailed:"Failed to copy to the clipboard"}},Xe={message:"Are you sure you want to delete this {entityType}?",messageWithName:"Are you sure you want to delete this {entityType} {entityName}?"},et={actions:{viewConfiguration:"View Configuration",save:"Save",cancel:"Cancel",back:"Back"},configuration:{title:"Configuration",message:"Export configurations for core Kong Gateway objects, like services, routes, and plugins, to either YAML or JSON. This allows for straightforward importing into APIOps tools like decK with YAML, or Insomnia and cURL with JSON.",yaml:"YAML",json:"JSON"},errors:{edit:"The entity could not be edited at this time."}},tt={emptyState:{noSearchResultsTitle:"No results found",noSearchResultsMessage:"Please adjust the criteria and try again.",noSearchResultsCtaText:"Clear"}},rt={title:"Configuration",actions:{copy:"Copy JSON"},sections:{advanced:"Advanced",plugin:"Plugin Specific Configuration"},commonFields:{id_label:"ID",name_label:"Name",enabled_label:"Enabled",enabled_tooltip:"Enabled is FTW",updated_at_label:"Last Updated",created_at_label:"Created",tags_label:"Tags",link:"Link"},statusBadge:{enabledLabel:"Enabled",disabledLabel:"Disabled"},copy:{tooltip:"Copy {label}",success:"Copied!"},errors:{load:"The entity configuration data could not be loaded at this time.",copy:"Failed to copy to clipboard"},general:{entryTitle:"Entry {index}",structuredFormat:"Structured"}},nt={filterButtonText:"Filter",fieldLabel:"Filter by:",inputPlaceholder:"Enter a value",selectPlaceholder:"Select an item",applyButtonText:"Apply",clearButtonText:"Clear",clearAllButtonText:"Clear all filters"},it={errors:{fetch:"Could not fetch available items",invalid:"Please select a valid value"}},ot={unexpected:"An unexpected error has occurred",dataKeyUndefined:'The data key "{dataKey}" does not exist in the response.'},at={utf8Name:"The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."},st={enable:{title:"Enable {entityType}",message:"Are you sure you want to enable the {entityType} {entityName}?",confirmText:"Yes, enable"},disable:{title:"Disable {entityType}",message:"Are you sure you want to disable the {entityType} {entityName}?",confirmText:"Yes, disable"}},lt={global:Je,deleteModal:Xe,baseForm:et,baseTable:tt,baseConfigCard:rt,filter:nt,debouncedFilter:it,errors:ot,validationErrors:at,toggleModal:st};function F(){const e=B.createI18n("en-us",lt);return{i18n:e,i18nT:B.i18nTComponent(e)}}function he(){const e=(r,o)=>(o==null?void 0:o[r])??void 0,t=(r,o)=>{if(r.length!==o.length)return!1;const i=new Set([...r,...o]);for(const s of i){const a=r.filter(c=>c===s).length,l=o.filter(c=>c===s).length;if(a!==l)return!1}return!0};return{getPropValue:e,objectsAreEqual:(r,o,i)=>{if(i){if(Object.keys(r).length===Object.keys(o).length)for(const s in r)if(Array.isArray(r[s])&&Array.isArray(o[s])){if(t(r[s],o[s]))continue;return!1}else{if(r[s]===o[s])continue;return!1}else return!1;return!0}try{return JSON.stringify(r)===JSON.stringify(o)}catch{return!1}},sortAlpha:r=>(o,i)=>{let s=o[r]===void 0||o[r]===null?"":o[r],a=i[r]===void 0||i[r]===null?"":i[r];return Array.isArray(o[r])&&(s=o[r][0]),Array.isArray(i[r])&&(a=i[r][0]),s.localeCompare(a)},isValidUuid:r=>r?/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(r):!1}}function ct(e,t,r,o={fetchedItemsKey:"data",searchKeys:["id"]}){r||(r="1000");const{axiosInstance:i}=K({headers:e.requestHeaders}),{i18n:{t:s}}=F(),{debounce:a}=Qe(),l=a(async p=>{await O(p)},200),c=n.ref(!1),f=n.ref(""),y=n.ref(""),u=n.ref([]),m=n.ref([]),h=n.ref(void 0),k=n.unref(t);let g=`${e.apiBaseUrl}${k}`;e.app==="konnect"?g=g.replace(/{controlPlaneId}/gi,(e==null?void 0:e.controlPlaneId)||""):e.app==="kongManager"&&(g=g.replace(/\/{workspace}/gi,e!=null&&e.workspace?`/${e.workspace}`:""));const{isValidUuid:C}=he(),L=async()=>{try{c.value=!0;const{data:p}=await i.get(`${g}?size=${r}`);p!=null&&p.next||(h.value=o.fetchedItemsKey in p?p[o.fetchedItemsKey]:[]),m.value=o.fetchedItemsKey in p?p[o.fetchedItemsKey]:[],u.value=m.value}catch{u.value=[],f.value=s("debouncedFilter.errors.fetch")}finally{c.value=!1}},x=n.ref(""),O=async p=>{var P,Re,De;if(x.value!==p)if(x.value=p||"",h.value===void 0)try{if(c.value=!0,f.value="",y.value="",e.app==="konnect"){let T=g+"";p&&(T+=`/${p}`);const{data:E}=await i.get(`${T}?size=${r}`);o.fetchedItemsKey in E?u.value=E[o.fetchedItemsKey]:E!=null&&E.id?u.value=[E]:u.value=[]}else if(p){const T=[];C(p)&&o.searchKeys.includes("id")?T.push((async()=>{const{data:w}=await i.get(`${g}/${p}`);return[w[o.fetchedItemsKey]??w]})()):T.push(...o.searchKeys.filter(w=>w!=="id").map(async w=>{const{data:A}=await i.get(`${g}?${w}=${p}`);return A[o.fetchedItemsKey]}));const E=await Promise.all(T),D=new Set;u.value=[],(P=E==null?void 0:E.forEach)==null||P.call(E,w=>{var A;(A=w==null?void 0:w.forEach)==null||A.call(w,Z=>{D.has(Z.id)||(D.add(Z.id),u.value.push(Z))})})}else u.value=m.value}catch(T){((Re=T==null?void 0:T.response)==null?void 0:Re.status)===404?y.value=s("debouncedFilter.errors.invalid"):(u.value=[],f.value=s("debouncedFilter.errors.fetch"))}finally{c.value=!1}else c.value=!0,y.value="",p?(u.value=(De=h.value)==null?void 0:De.filter(T=>{var E;let D=!1;for(const w of o.searchKeys){const A=typeof T[w]=="string"?(E=T[w])==null?void 0:E.toLowerCase():T[w];A!=null&&A.includes(p.toLowerCase())&&(D=!0)}return D}),(!u.value||!u.value.length)&&(y.value=s("debouncedFilter.errors.invalid"))):u.value=h.value,c.value=!1};return{loading:c,error:f,validationError:y,results:u,allRecords:h,loadItems:L,debouncedQueryChange:l}}function ut(e,t){const r=n.unref(t),o=n.computed(()=>e.apiBaseUrl.startsWith("/")?new URL(`${window.location.origin}${r}`):new URL(r));return o.value.search="",i=>`${o.value.href}/${i}`}function pt(){const{i18n:{t:e}}=F();return{getMessageFromError:t=>{var r,o,i,s;if(!t)return e("errors.unexpected");if(((r=t==null?void 0:t.response)==null?void 0:r.status)===401)return console.warn("getMessageFromError: User auth token is expired or missing, returning empty message."),"";if((o=t==null?void 0:t.response)!=null&&o.data){if(t.response.data.detail)return t.response.data.detail;if((i=t.response.data.details)!=null&&i.length)return t.response.data.details.map(a=>{let l=e("errors.unexpected");return a.messages&&typeof a.messages=="object"&&a.messages.length&&(l=a.messages.join(", ")),a.field?`${a.field} - ${l}`:l}).join("; ");if(t.response.data.message){const{message:a}=t.response.data;return Array.isArray(a)?(s=a[0])!=null&&s.constraints?Object.values(a[0].constraints)[0]:a[0]:a}if(typeof t.response.data=="string")return t.response.data;if(typeof t.response.data=="object")return Object.keys(t.response.data).map(a=>`${a} ${t.response.data[a]}`).join(", ")}return t.message||e("errors.unexpected")}}}function dt(e){const t=window.location.origin,r=t.endsWith("/")?t:`${t}/`;try{const o=e.join("/"),i=`${r}${o}`,s=e.some(a=>a.trim()==="");if(/^(https:\/\/(www\.)?([a-zA-Z0-9-]+\.){1,}[a-zA-Z]{2,}(:[0-9]+)?(\/[^\/]+)*)$|^(https|http):\/\/localhost(:[0-9]+)?(\/[^\/]+)*$/.test(i)&&!s&&new URL(i))return`${r}${o}`;throw new Error("Invalid url")}catch(o){return console.warn("Failed to build valid URL:",o),""}}function me(e,t){const r=n.ref(n.unref(e)),o=n.ref(n.unref(t)),i=n.computed(()=>!!(r.value.app==="konnect"||r.value.isExactMatch)),s=n.computed(()=>o.value.startsWith("/")?new URL(`${window.location.origin}${o.value}`):new URL(o.value));return a=>{const{page:l,pageSize:c,offset:f,sortColumnKey:y,sortColumnOrder:u,query:m}=a;try{let h=new URL(s.value.href);return i.value&&m?(h.search="",h=r.value.isExactMatch?new URL(`${h.href}/${m}/`):new URL(`${h.href}?filter[name][contains]=${m}`)):(i.value||new URLSearchParams(m).forEach((k,g)=>{h.searchParams.append(g,k)}),y&&h.searchParams.append("sort_by",y),u==="desc"&&h.searchParams.append("sort_desc","1"),h.searchParams.append("size",String(c))),f&&l!==1&&h.searchParams.append("offset",String(f)),h.href}catch(h){return console.error("RouteList(fetcher)",h),o.value}}}function ft(e,t,r="data"){var o;const i=n.unref(t),{axiosInstance:s}=K({...e.axiosRequestConfig,headers:{...(o=e.axiosRequestConfig)==null?void 0:o.headers,...e.requestHeaders}}),a=me(e,i),l=n.ref({status:N.Idle});return{fetcher:async c=>{var f;try{l.value={status:N.Loading};let y=a(c);y.includes("filter[name]")&&(y=`${y}&page[size]=${c.pageSize}&page[number]=${c.page}`);const u=await s.get(y);if(u.status>=400)throw u;const m=u.data,h=r&&r.replace(/[^\w-_]/gi,"");let k;m[h]&&Array.isArray(m[h])?k=m[h]:Array.isArray(m)?k=m:k=Object.keys(m).length?[m]:[];const g={data:k,total:k.length,...m.offset?{pagination:{offset:m.offset}}:null};return l.value={status:N.Idle,response:g},g}catch(y){const u={data:[],total:0};return c.query&&(((f=y.response)==null?void 0:f.status)===404||y.status===404)?(l.value={status:N.NoResults,response:u,error:y.response?y:{response:y}},u):(l.value={status:N.Error,response:u,error:y.response?y:{response:y}},u)}},fetcherState:l}}function yt(){const e=(r,o="_")=>r?r.split(o).map(i=>i.toLowerCase()==="id"?i.toUpperCase():i.charAt(0).toUpperCase()+i.substring(1)).join(" "):"",t=/(?:^|[\s-:'"])\w/g;return{capitalize:r=>r?r.replace(t,o=>o.toUpperCase()):"",convertKeyToTitle:e}}const ge=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,_e=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(ge);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},be=e=>e==="*"||e==="x"||e==="X",ke=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},ht=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],mt=(e,t)=>{if(be(e)||be(t))return 0;const[r,o]=ht(ke(e),ke(t));return r>o?1:r<o?-1:0},we=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const o=mt(e[r]||"0",t[r]||"0");if(o!==0)return o}return 0},gt=(e,t)=>{const r=_e(e),o=_e(t),i=r.pop(),s=o.pop(),a=we(r,o);return a!==0?a:i&&s?we(i.split("."),s.split(".")):i||s?i?-1:1:0},Te=(e,t,r)=>{_t(r);const o=gt(e,t);return Ee[r].includes(o)},Ee={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},Se=Object.keys(Ee),_t=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(Se.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${Se.join("|")}`)},bt=e=>typeof e=="string"&&/^[v\d]/.test(e)&&ge.test(e);function kt(e){const{gatewayInfo:t,supportedRange:r}=e;if(!t)return!0;const{edition:o,version:i}=t;if(!bt(i))return console.error("Invalid version"),!1;const s=r[o];if(!s)return!1;const[a,l]=s;return!(a&&Te(i,a,"<")||l&&Te(i,l,">"))}function wt(e){const t=n.ref(0),r=n.ref(0),o=n.ref(!1);return n.watch(e,i=>{i&&!o.value&&(t.value=i.offsetWidth,r.value=i.scrollWidth,o.value=!0)}),{isTruncated:n.computed(()=>t.value<r.value)}}function Tt(){const{i18n:{t:e}}=F();return{utf8Name:t=>/^[\p{N}\p{L}.\-_~]*$/u.test(t)?"":e("validationErrors.utf8Name")}}const Ce={useAxios:K,useDebouncedFilter:ct,useDeleteUrlBuilder:ut,useErrors:pt,useExternalLinkCreator:dt,useFetcher:ft,useFetchUrlBuilder:me,useHelpers:he,useStringHelpers:yt,useI18n:F,useGatewayFeatureSupported:kt,useTruncationDetector:wt,useValidators:Tt},Et=(e,t)=>{const r=e.__vccOpts||e;for(const[o,i]of t)r[o]=i;return r},St="#0044f4",Ct="16px";/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function Ie(e){return typeof e>"u"||e===null}function It(e){return typeof e=="object"&&e!==null}function vt(e){return Array.isArray(e)?e:Ie(e)?[]:[e]}function xt(e,t){var r,o,i,s;if(t)for(s=Object.keys(t),r=0,o=s.length;r<o;r+=1)i=s[r],e[i]=t[i];return e}function At(e,t){var r="",o;for(o=0;o<t;o+=1)r+=e;return r}function Nt(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var qt=Ie,Lt=It,Ot=vt,Rt=At,Dt=Nt,Bt=xt,G={isNothing:qt,isObject:Lt,toArray:Ot,repeat:Rt,isNegativeZero:Dt,extend:Bt};function ve(e,t){var r="",o=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+=`
|
|
1
|
+
(function(d,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("vue"),require("@kong-ui-public/analytics-chart"),require("swrv"),require("axios"),require("@kong-ui-public/i18n"),require("@kong-ui-public/analytics-metric-provider"),require("@kong-ui-public/analytics-utilities"),require("@kong/kongponents"),require("vue-router")):typeof define=="function"&&define.amd?define(["exports","vue","@kong-ui-public/analytics-chart","swrv","axios","@kong-ui-public/i18n","@kong-ui-public/analytics-metric-provider","@kong-ui-public/analytics-utilities","@kong/kongponents","vue-router"],n):(d=typeof globalThis<"u"?globalThis:d||self,n(d["kong-ui-public-dashboard-renderer"]={},d.Vue,d["kong-ui-public-analytics-chart"],d.swrv,d.axios,d["kong-ui-public-i18n"],d["kong-ui-public-analytics-metric-provider"],d["kong-ui-public-analytics-utilities"]))})(this,function(d,n,S,Be,W,j,Q,$){"use strict";const U="analytics-query-provider",H="{entity-id}",J="{cp-id}";var b=(e=>(e.HorizontalBar="horizontal_bar",e.VerticalBar="vertical_bar",e.Gauge="gauge",e.TimeseriesLine="timeseries_line",e.GoldenSignals="golden_signals",e.TopN="top_n",e.Slottable="slottable",e))(b||{});const V={type:"string"},R={type:"string"},X={type:"boolean"},ee={type:["object","array"],items:{type:"string"},additionalProperties:{type:"string"}},te={type:"object",properties:{type:{type:"string",enum:["slottable"]},id:{type:"string"}},required:["type","id"],additionalProperties:!1},re={type:"object",properties:{type:{type:"string",enum:["horizontal_bar","vertical_bar"]},stacked:{type:"boolean"},chartDatasetColors:ee,syntheticsDataKey:V,chartTitle:R,allowCsvExport:X},required:["type"],additionalProperties:!1},ne={type:"object",properties:{type:{type:"string",enum:["timeseries_line"]},stacked:{type:"boolean"},chartDatasetColors:ee,syntheticsDataKey:V,chartTitle:R,allowCsvExport:X},required:["type"],additionalProperties:!1},ie={type:"object",properties:{type:{type:"string",enum:["gauge"]},metricDisplay:{type:"string",enum:Object.values(S.ChartMetricDisplay)},reverseDataset:{type:"boolean"},numerator:{type:"number"},syntheticsDataKey:V,chartTitle:R},required:["type"],additionalProperties:!1},oe={type:"object",properties:{chartTitle:R,syntheticsDataKey:V,type:{type:"string",enum:["top_n"]},description:{type:"string"},entityLink:{type:"string"}},required:["type"],additionalProperties:!1},ae={type:"object",properties:{chartTitle:R,type:{type:"string",enum:["golden_signals"]},longCardTitles:{type:"boolean"},description:{type:"string"}},required:["type"]},se={type:"object",description:"A query to launch at the API",properties:{metrics:{type:"array",description:"List of aggregated metrics to collect across the requested time span.",items:{type:"string",enum:["request_count","request_per_minute","response_latency_p99","response_latency_p95","response_latency_p50","response_latency_average","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","request_size_p99","request_size_p95","request_size_p50","request_size_average","response_size_average"]}},dimensions:{type:"array",description:"List of attributes or entity types to group by.",minItems:0,maxItems:2,items:{type:"string",enum:["api_product","api_product_version","application","consumer","control_plane","control_plane_group","data_plane_node","gateway_service","route","status_code","status_code_grouped","time"]}},filters:{type:"array",description:"A list of filters to apply to the query.",items:{type:"object",description:"A filter that specifies which data to include in the query",properties:{dimension:{type:"string",enum:["api_product","api_product_version","application","consumer","control_plane","control_plane_group","data_plane_node","gateway_service","route","status_code","status_code_grouped","time"]},type:{type:"string",enum:["in","not_in","selector"]},values:{type:"array",items:{type:"string"}}},required:["dimension","type","values"]}},granularity_ms:{type:"number",description:'Force time grouping into buckets of this duration in milliseconds. Only has an effect if "time" is in the "dimensions" list.',minimum:6e4},time_range:{description:"The time range to query.",oneOf:[{type:"object",properties:{tz:{type:"string",default:"Etc/UTC"},type:{type:"string",enum:["relative"]},time_range:{type:"string",enum:["15m","1h","6h","12h","24h","7d","30d","current_week","current_month","previous_week","previous_month"],default:"1h"}},required:["type","time_range"]},{type:"object",description:"A duration representing an exact start and end time.",properties:{tz:{type:"string",default:"Etc/UTC"},type:{type:"string",enum:["absolute"]},start:{type:"string"},end:{type:"string"}},required:["type"]}],default:{type:"relative",time_range:"1h"}},meta:{type:"object"}}},le={type:"object",properties:{query:se,chart:{oneOf:[re,ie,ne,ae,oe,te]}},required:["query","chart"],additionalProperties:!1},ce={type:"object",properties:{position:{type:"object",properties:{col:{type:"number"},row:{type:"number"}},description:"Position of the tile in the grid.",required:["col","row"],additionalProperties:!1},size:{type:"object",properties:{cols:{type:"number"},rows:{type:"number"},fitToContent:{type:"boolean"}},description:"Number of columns and rows the tile occupies. If fitToContent is true for every tile in a row, and each tile only occupies 1 row, then the row will auto-fit to its content.",required:["cols","rows"],additionalProperties:!1}},required:["position","size"],additionalProperties:!1},ue={type:"object",properties:{definition:le,layout:ce},required:["definition","layout"],additionalProperties:!1},je={type:"object",properties:{tiles:{type:"array",items:ue},tileHeight:{type:"number",description:"Height of each tile in pixels. Default: 170"},gridSize:{type:"object",properties:{cols:{type:"number"},rows:{type:"number"}},description:"Number of columns and rows in the grid.",required:["cols","rows"],additionalProperties:!1}},required:["tiles","gridSize"],additionalProperties:!1};var pe=(e=>(e.VALIDATING="VALIDATING",e.VALIDATING_HAS_DATA="VALIDATING_HAS_DATA",e.PENDING="PENDING",e.SUCCESS="SUCCESS",e.SUCCESS_HAS_DATA="SUCCESS_HAS_DATA",e.ERROR="ERROR",e.STALE_IF_ERROR="STALE_IF_ERROR",e))(pe||{});const $e=e=>{var t,r,o,i,s;return e?!!((t=Object.keys(e))!=null&&t.length||(r=e.data)!=null&&r.length||(i=(o=e.data)==null?void 0:o.data)!=null&&i.length||!((s=e.data)!=null&&s.data)&&typeof e.data=="object"&&Object.keys(e==null?void 0:e.data).length):!1};function Ve(e=n.ref({}),t,r,o=$e){const i=n.ref("PENDING");return n.watchEffect(()=>{const s=o(e.value);if(e.value&&s&&r.value){i.value="VALIDATING_HAS_DATA";return}if(e.value&&r.value){i.value="VALIDATING";return}if(e.value&&t.value){i.value="STALE_IF_ERROR";return}if(e.value===void 0&&!t.value){i.value="PENDING";return}if(e.value&&!t.value&&s){i.value="SUCCESS_HAS_DATA";return}if(e.value&&!t.value){i.value="SUCCESS";return}e.value===void 0&&t&&(i.value="ERROR")}),{state:i,swrvState:pe}}const ze={renderer:{noQueryBridge:"No query bridge provided. Unable to render dashboard."},queryDataProvider:{timeRangeExceeded:"The time range for this report is outside of your organization's data retention period"}};function Fe(){const e=j.createI18n("en-us",ze);return{i18n:e,i18nT:j.i18nTComponent(e)}}const de={useI18n:Fe},z=n.defineComponent({__name:"QueryDataProvider",props:{context:{},query:{},queryReady:{type:Boolean}},emits:["queryComplete"],setup(e,{emit:t}){const r=e,o=t,{i18n:i}=de.useI18n(),s=n.inject(U),a=()=>r.queryReady&&s?JSON.stringify([r.query,r.context]):null,l=new AbortController;n.onUnmounted(()=>{l.abort()});const{data:c,error:f,isValidating:y}=Be(a,async()=>{var C,L,x,O;try{const p=[];r.query.filters&&p.push(...r.query.filters),p.push(...r.context.filters);const P={...r.query,time_range:{...r.context.timeSpec,tz:r.context.tz},filters:p};return s==null?void 0:s.queryFn(P,l)}catch(p){h.value=((L=(C=p==null?void 0:p.response)==null?void 0:C.data)==null?void 0:L.message)==="Range not allowed for this tier"?i.t("queryDataProvider.timeRangeExceeded"):((O=(x=p==null?void 0:p.response)==null?void 0:x.data)==null?void 0:O.message)||(p==null?void 0:p.message)}finally{o("queryComplete")}},{refreshInterval:r.context.refreshInterval??3e4,revalidateOnFocus:!1}),{state:u,swrvState:m}=Ve(c,f,y),h=n.ref(null),k=n.computed(()=>u.value===m.ERROR||!!h.value),g=n.computed(()=>!r.queryReady||u.value===m.PENDING);return(C,L)=>{const x=n.resolveComponent("KSkeleton"),O=n.resolveComponent("KEmptyState");return g.value||!n.unref(c)&&!k.value?(n.openBlock(),n.createBlock(x,{key:0,class:"chart-skeleton",type:"table"})):k.value?(n.openBlock(),n.createBlock(O,{key:1,"action-button-visible":!1,"data-testid":"chart-empty-state","icon-variant":"error"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(h.value),1)]),_:1})):n.unref(c)?n.renderSlot(C.$slots,"default",{key:2,data:n.unref(c)}):n.createCommentVNode("",!0)}}}),Pe={class:"analytics-chart"},Ue=n.defineComponent({__name:"SimpleChartRenderer",props:{query:{},context:{},queryReady:{type:Boolean},chartOptions:{},height:{}},setup(e){n.useCssVars(i=>({"8c62ff26":`${i.height}px`}));const t=e,r={[b.Gauge]:S.ChartTypesSimple.GAUGE},o=n.computed(()=>({...t.chartOptions,type:r[t.chartOptions.type]}));return(i,s)=>(n.openBlock(),n.createBlock(z,{context:i.context,query:i.query,"query-ready":i.queryReady},{default:n.withCtx(({data:a})=>[n.createElementVNode("div",Pe,[n.createVNode(n.unref(S.SimpleChart),{"chart-data":a,"chart-options":o.value,"synthetics-data-key":i.chartOptions.syntheticsDataKey},null,8,["chart-data","chart-options","synthetics-data-key"])])]),_:1},8,["context","query","query-ready"]))}}),I=(e,t)=>{const r=e.__vccOpts||e;for(const[o,i]of t)r[o]=i;return r},He=I(Ue,[["__scopeId","data-v-f0f6ed41"]]),Ke={class:"analytics-chart"},fe=I(n.defineComponent({__name:"BarChartRenderer",props:{query:{},context:{},queryReady:{type:Boolean},chartOptions:{},height:{}},setup(e){n.useCssVars(i=>({"1eed717c":`${i.height}px`}));const t=e,r={[b.HorizontalBar]:S.ChartTypes.HORIZONTAL_BAR,[b.VerticalBar]:S.ChartTypes.VERTICAL_BAR},o=n.computed(()=>({type:r[t.chartOptions.type],stacked:t.chartOptions.stacked,chartDatasetColors:t.chartOptions.chartDatasetColors}));return(i,s)=>(n.openBlock(),n.createBlock(z,{context:i.context,query:i.query,"query-ready":i.queryReady},{default:n.withCtx(({data:a})=>[n.createElementVNode("div",Ke,[n.createVNode(n.unref(S.AnalyticsChart),{"allow-csv-export":i.chartOptions.allowCsvExport,"chart-data":a,"chart-options":o.value,"chart-title":i.chartOptions.chartTitle,"legend-position":"bottom","show-annotations":!1,"synthetics-data-key":i.chartOptions.syntheticsDataKey,"tooltip-title":""},null,8,["allow-csv-export","chart-data","chart-options","chart-title","synthetics-data-key"])])]),_:1},8,["context","query","query-ready"]))}}),[["__scopeId","data-v-36598a1b"]]),Ge={class:"analytics-chart"},Me=I(n.defineComponent({__name:"TimeseriesChartRenderer",props:{query:{},context:{},queryReady:{type:Boolean},chartOptions:{},height:{}},setup(e){n.useCssVars(i=>({"4efa9c90":`${i.height}px`}));const t=e,r={[b.TimeseriesLine]:S.ChartTypes.TIMESERIES_LINE},o=n.computed(()=>{const i=t.chartOptions.stacked??!1;return{type:r[t.chartOptions.type],stacked:i,chartDatasetColors:t.chartOptions.chartDatasetColors}});return(i,s)=>(n.openBlock(),n.createBlock(z,{context:i.context,query:i.query,"query-ready":i.queryReady},{default:n.withCtx(({data:a})=>[n.createElementVNode("div",Ge,[n.createVNode(n.unref(S.AnalyticsChart),{"allow-csv-export":i.chartOptions.allowCsvExport,"chart-data":a,"chart-options":o.value,"chart-title":i.chartOptions.chartTitle,"legend-position":"bottom","synthetics-data-key":i.chartOptions.syntheticsDataKey,"tooltip-title":""},null,8,["allow-csv-export","chart-data","chart-options","chart-title","synthetics-data-key"])])]),_:1},8,["context","query","query-ready"]))}}),[["__scopeId","data-v-ceb07ca8"]]),Ye={class:"metric-card-tile-wrapper"},Ze=I(n.defineComponent({__name:"GoldenSignalsRenderer",props:{query:{},context:{},queryReady:{type:Boolean},chartOptions:{},height:{}},setup(e){const t=e,r=n.computed(()=>{const i=t.context.timeSpec;if(i.type==="absolute")return new $.Timeframe({key:"custom",timeframeText:"custom",display:"custom",startCustom:i.start,endCustom:i.end,timeframeLength:()=>0,defaultResponseGranularity:$.GranularityKeys.DAILY,dataGranularity:$.GranularityKeys.DAILY,isRelative:!1,allowedTiers:["free","plus","enterprise"]});const s=$.TimePeriods.get(i.time_range);if(!s)throw new Error("Unknown time range");return s}),o=n.computed(()=>({overrideTimeframe:r.value,tz:t.context.tz,additionalFilter:t.context.filters,longCardTitles:t.chartOptions.longCardTitles,containerTitle:t.chartOptions.chartTitle,description:t.chartOptions.description,hasTrendAccess:!0,refreshInterval:t.context.refreshInterval??3e4}));return(i,s)=>(n.openBlock(),n.createElementBlock("div",Ye,[n.createVNode(n.unref(Q.MetricsProviderInternal),n.normalizeProps(n.guardReactiveProps(o.value)),{default:n.withCtx(()=>[n.createVNode(n.unref(Q.MetricsConsumer))]),_:1},16)]))}}),[["__scopeId","data-v-45b71e5d"]]),ye="20px";var N=(e=>(e[e.Loading=0]="Loading",e[e.Idle=1]="Idle",e[e.NoResults=2]="NoResults",e[e.Error=3]="Error",e))(N||{});function We(){return{getAxiosInstance:(e={})=>{try{const t=n.inject("get-axios-instance",void 0);return typeof t=="function"?t(e):W.create({withCredentials:!0,timeout:3e4,...e})}catch(t){return console.warn("getAxiosInstance:",t.message||t),W.create({withCredentials:!0,timeout:3e4,...e})}},getTraceIdFromError:e=>{var t;return((t=e==null?void 0:e.response)==null?void 0:t.headers["x-datadog-trace-id"])||""}}}function Qe(){return{debounce:(e,t)=>{let r;return(...o)=>{clearTimeout(r),r=window==null?void 0:window.setTimeout(()=>{e(...o)},t)}}}}function K(e={}){const{getAxiosInstance:t}=We();return{axiosInstance:t(e)}}const Je={actions:{copyId:"Copy ID",copied_id:'Copied "{id}" to the clipboard',copyToClipboard:"Copied successfully!",copyToClipboardFailed:"Failed to copy to the clipboard"}},Xe={message:"Are you sure you want to delete this {entityType}?",messageWithName:"Are you sure you want to delete this {entityType} {entityName}?"},et={actions:{viewConfiguration:"View Configuration",save:"Save",cancel:"Cancel",back:"Back"},configuration:{title:"Configuration",message:"Export configurations for core Kong Gateway objects, like services, routes, and plugins, to either YAML or JSON. This allows for straightforward importing into APIOps tools like decK with YAML, or Insomnia and cURL with JSON.",yaml:"YAML",json:"JSON"},errors:{edit:"The entity could not be edited at this time."}},tt={emptyState:{noSearchResultsTitle:"No results found",noSearchResultsMessage:"Please adjust the criteria and try again.",noSearchResultsCtaText:"Clear"}},rt={title:"Configuration",actions:{copy:"Copy JSON"},sections:{advanced:"Advanced",plugin:"Plugin Specific Configuration"},commonFields:{id_label:"ID",name_label:"Name",enabled_label:"Enabled",enabled_tooltip:"Enabled is FTW",updated_at_label:"Last Updated",created_at_label:"Created",tags_label:"Tags",link:"Link"},statusBadge:{enabledLabel:"Enabled",disabledLabel:"Disabled"},copy:{tooltip:"Copy {label}",success:"Copied!"},errors:{load:"The entity configuration data could not be loaded at this time.",copy:"Failed to copy to clipboard"},general:{entryTitle:"Entry {index}",structuredFormat:"Structured"}},nt={filterButtonText:"Filter",fieldLabel:"Filter by:",inputPlaceholder:"Enter a value",selectPlaceholder:"Select an item",applyButtonText:"Apply",clearButtonText:"Clear",clearAllButtonText:"Clear all filters"},it={errors:{fetch:"Could not fetch available items",invalid:"Please select a valid value"}},ot={unexpected:"An unexpected error has occurred",dataKeyUndefined:'The data key "{dataKey}" does not exist in the response.'},at={utf8Name:"The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."},st={enable:{title:"Enable {entityType}",message:"Are you sure you want to enable the {entityType} {entityName}?",confirmText:"Yes, enable"},disable:{title:"Disable {entityType}",message:"Are you sure you want to disable the {entityType} {entityName}?",confirmText:"Yes, disable"}},lt={global:Je,deleteModal:Xe,baseForm:et,baseTable:tt,baseConfigCard:rt,filter:nt,debouncedFilter:it,errors:ot,validationErrors:at,toggleModal:st};function F(){const e=j.createI18n("en-us",lt);return{i18n:e,i18nT:j.i18nTComponent(e)}}function he(){const e=(r,o)=>(o==null?void 0:o[r])??void 0,t=(r,o)=>{if(r.length!==o.length)return!1;const i=new Set([...r,...o]);for(const s of i){const a=r.filter(c=>c===s).length,l=o.filter(c=>c===s).length;if(a!==l)return!1}return!0};return{getPropValue:e,objectsAreEqual:(r,o,i)=>{if(i){if(Object.keys(r).length===Object.keys(o).length)for(const s in r)if(Array.isArray(r[s])&&Array.isArray(o[s])){if(t(r[s],o[s]))continue;return!1}else{if(r[s]===o[s])continue;return!1}else return!1;return!0}try{return JSON.stringify(r)===JSON.stringify(o)}catch{return!1}},sortAlpha:r=>(o,i)=>{let s=o[r]===void 0||o[r]===null?"":o[r],a=i[r]===void 0||i[r]===null?"":i[r];return Array.isArray(o[r])&&(s=o[r][0]),Array.isArray(i[r])&&(a=i[r][0]),s.localeCompare(a)},isValidUuid:r=>r?/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(r):!1}}function ct(e,t,r,o={fetchedItemsKey:"data",searchKeys:["id"]}){r||(r="1000");const{axiosInstance:i}=K({headers:e.requestHeaders}),{i18n:{t:s}}=F(),{debounce:a}=Qe(),l=a(async p=>{await O(p)},200),c=n.ref(!1),f=n.ref(""),y=n.ref(""),u=n.ref([]),m=n.ref([]),h=n.ref(void 0),k=n.unref(t);let g=`${e.apiBaseUrl}${k}`;e.app==="konnect"?g=g.replace(/{controlPlaneId}/gi,(e==null?void 0:e.controlPlaneId)||""):e.app==="kongManager"&&(g=g.replace(/\/{workspace}/gi,e!=null&&e.workspace?`/${e.workspace}`:""));const{isValidUuid:C}=he(),L=async()=>{try{c.value=!0;const{data:p}=await i.get(`${g}?size=${r}`);p!=null&&p.next||(h.value=o.fetchedItemsKey in p?p[o.fetchedItemsKey]:[]),m.value=o.fetchedItemsKey in p?p[o.fetchedItemsKey]:[],u.value=m.value}catch{u.value=[],f.value=s("debouncedFilter.errors.fetch")}finally{c.value=!1}},x=n.ref(""),O=async p=>{var P,Re,De;if(x.value!==p)if(x.value=p||"",h.value===void 0)try{if(c.value=!0,f.value="",y.value="",e.app==="konnect"){let T=g+"";p&&(T+=`/${p}`);const{data:E}=await i.get(`${T}?size=${r}`);o.fetchedItemsKey in E?u.value=E[o.fetchedItemsKey]:E!=null&&E.id?u.value=[E]:u.value=[]}else if(p){const T=[];C(p)&&o.searchKeys.includes("id")?T.push((async()=>{const{data:w}=await i.get(`${g}/${p}`);return[w[o.fetchedItemsKey]??w]})()):T.push(...o.searchKeys.filter(w=>w!=="id").map(async w=>{const{data:A}=await i.get(`${g}?${w}=${p}`);return A[o.fetchedItemsKey]}));const E=await Promise.all(T),B=new Set;u.value=[],(P=E==null?void 0:E.forEach)==null||P.call(E,w=>{var A;(A=w==null?void 0:w.forEach)==null||A.call(w,Z=>{B.has(Z.id)||(B.add(Z.id),u.value.push(Z))})})}else u.value=m.value}catch(T){((Re=T==null?void 0:T.response)==null?void 0:Re.status)===404?y.value=s("debouncedFilter.errors.invalid"):(u.value=[],f.value=s("debouncedFilter.errors.fetch"))}finally{c.value=!1}else c.value=!0,y.value="",p?(u.value=(De=h.value)==null?void 0:De.filter(T=>{var E;let B=!1;for(const w of o.searchKeys){const A=typeof T[w]=="string"?(E=T[w])==null?void 0:E.toLowerCase():T[w];A!=null&&A.includes(p.toLowerCase())&&(B=!0)}return B}),(!u.value||!u.value.length)&&(y.value=s("debouncedFilter.errors.invalid"))):u.value=h.value,c.value=!1};return{loading:c,error:f,validationError:y,results:u,allRecords:h,loadItems:L,debouncedQueryChange:l}}function ut(e,t){const r=n.unref(t),o=n.computed(()=>e.apiBaseUrl.startsWith("/")?new URL(`${window.location.origin}${r}`):new URL(r));return o.value.search="",i=>`${o.value.href}/${i}`}function pt(){const{i18n:{t:e}}=F();return{getMessageFromError:t=>{var r,o,i,s;if(!t)return e("errors.unexpected");if(((r=t==null?void 0:t.response)==null?void 0:r.status)===401)return console.warn("getMessageFromError: User auth token is expired or missing, returning empty message."),"";if((o=t==null?void 0:t.response)!=null&&o.data){if(t.response.data.detail)return t.response.data.detail;if((i=t.response.data.details)!=null&&i.length)return t.response.data.details.map(a=>{let l=e("errors.unexpected");return a.messages&&typeof a.messages=="object"&&a.messages.length&&(l=a.messages.join(", ")),a.field?`${a.field} - ${l}`:l}).join("; ");if(t.response.data.message){const{message:a}=t.response.data;return Array.isArray(a)?(s=a[0])!=null&&s.constraints?Object.values(a[0].constraints)[0]:a[0]:a}if(typeof t.response.data=="string")return t.response.data;if(typeof t.response.data=="object")return Object.keys(t.response.data).map(a=>`${a} ${t.response.data[a]}`).join(", ")}return t.message||e("errors.unexpected")}}}function dt(e){const t=window.location.origin,r=t.endsWith("/")?t:`${t}/`;try{const o=e.join("/"),i=`${r}${o}`,s=e.some(a=>a.trim()==="");if(/^(https:\/\/(www\.)?([a-zA-Z0-9-]+\.){1,}[a-zA-Z]{2,}(:[0-9]+)?(\/[^\/]+)*)$|^(https|http):\/\/localhost(:[0-9]+)?(\/[^\/]+)*$/.test(i)&&!s&&new URL(i))return`${r}${o}`;throw new Error("Invalid url")}catch(o){return console.warn("Failed to build valid URL:",o),""}}function me(e,t){const r=n.ref(n.unref(e)),o=n.ref(n.unref(t)),i=n.computed(()=>!!(r.value.app==="konnect"||r.value.isExactMatch)),s=n.computed(()=>o.value.startsWith("/")?new URL(`${window.location.origin}${o.value}`):new URL(o.value));return a=>{const{page:l,pageSize:c,offset:f,sortColumnKey:y,sortColumnOrder:u,query:m}=a;try{let h=new URL(s.value.href);return i.value&&m?(h.search="",h=r.value.isExactMatch?new URL(`${h.href}/${m}/`):new URL(`${h.href}?filter[name][contains]=${m}`)):(i.value||new URLSearchParams(m).forEach((k,g)=>{h.searchParams.append(g,k)}),y&&h.searchParams.append("sort_by",y),u==="desc"&&h.searchParams.append("sort_desc","1"),h.searchParams.append("size",String(c))),f&&l!==1&&h.searchParams.append("offset",String(f)),h.href}catch(h){return console.error("RouteList(fetcher)",h),o.value}}}function ft(e,t,r="data"){var o;const i=n.unref(t),{axiosInstance:s}=K({...e.axiosRequestConfig,headers:{...(o=e.axiosRequestConfig)==null?void 0:o.headers,...e.requestHeaders}}),a=me(e,i),l=n.ref({status:N.Idle});return{fetcher:async c=>{var f;try{l.value={status:N.Loading};let y=a(c);y.includes("filter[name]")&&(y=`${y}&page[size]=${c.pageSize}&page[number]=${c.page}`);const u=await s.get(y);if(u.status>=400)throw u;const m=u.data,h=r&&r.replace(/[^\w-_]/gi,"");let k;m[h]&&Array.isArray(m[h])?k=m[h]:Array.isArray(m)?k=m:k=Object.keys(m).length?[m]:[];const g={data:k,total:k.length,...m.offset?{pagination:{offset:m.offset}}:null};return l.value={status:N.Idle,response:g},g}catch(y){const u={data:[],total:0};return c.query&&(((f=y.response)==null?void 0:f.status)===404||y.status===404)?(l.value={status:N.NoResults,response:u,error:y.response?y:{response:y}},u):(l.value={status:N.Error,response:u,error:y.response?y:{response:y}},u)}},fetcherState:l}}function yt(){const e=(r,o="_")=>r?r.split(o).map(i=>i.toLowerCase()==="id"?i.toUpperCase():i.charAt(0).toUpperCase()+i.substring(1)).join(" "):"",t=/(?:^|[\s-:'"])\w/g;return{capitalize:r=>r?r.replace(t,o=>o.toUpperCase()):"",convertKeyToTitle:e}}const ge=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,_e=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(ge);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},be=e=>e==="*"||e==="x"||e==="X",ke=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},ht=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],mt=(e,t)=>{if(be(e)||be(t))return 0;const[r,o]=ht(ke(e),ke(t));return r>o?1:r<o?-1:0},we=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const o=mt(e[r]||"0",t[r]||"0");if(o!==0)return o}return 0},gt=(e,t)=>{const r=_e(e),o=_e(t),i=r.pop(),s=o.pop(),a=we(r,o);return a!==0?a:i&&s?we(i.split("."),s.split(".")):i||s?i?-1:1:0},Te=(e,t,r)=>{_t(r);const o=gt(e,t);return Ee[r].includes(o)},Ee={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},Se=Object.keys(Ee),_t=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(Se.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${Se.join("|")}`)},bt=e=>typeof e=="string"&&/^[v\d]/.test(e)&&ge.test(e);function kt(e){const{gatewayInfo:t,supportedRange:r}=e;if(!t)return!0;const{edition:o,version:i}=t;if(!bt(i))return console.error("Invalid version"),!1;const s=r[o];if(!s)return!1;const[a,l]=s;return!(a&&Te(i,a,"<")||l&&Te(i,l,">"))}function wt(e){const t=n.ref(0),r=n.ref(0),o=n.ref(!1);return n.watch(e,i=>{i&&!o.value&&(t.value=i.offsetWidth,r.value=i.scrollWidth,o.value=!0)}),{isTruncated:n.computed(()=>t.value<r.value)}}function Tt(){const{i18n:{t:e}}=F();return{utf8Name:t=>/^[\p{N}\p{L}.\-_~]*$/u.test(t)?"":e("validationErrors.utf8Name")}}const Ce={useAxios:K,useDebouncedFilter:ct,useDeleteUrlBuilder:ut,useErrors:pt,useExternalLinkCreator:dt,useFetcher:ft,useFetchUrlBuilder:me,useHelpers:he,useStringHelpers:yt,useI18n:F,useGatewayFeatureSupported:kt,useTruncationDetector:wt,useValidators:Tt},Et=(e,t)=>{const r=e.__vccOpts||e;for(const[o,i]of t)r[o]=i;return r},St="#0044f4",Ct="16px";/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function Ie(e){return typeof e>"u"||e===null}function It(e){return typeof e=="object"&&e!==null}function vt(e){return Array.isArray(e)?e:Ie(e)?[]:[e]}function xt(e,t){var r,o,i,s;if(t)for(s=Object.keys(t),r=0,o=s.length;r<o;r+=1)i=s[r],e[i]=t[i];return e}function At(e,t){var r="",o;for(o=0;o<t;o+=1)r+=e;return r}function Nt(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var qt=Ie,Lt=It,Ot=vt,Rt=At,Dt=Nt,Bt=xt,G={isNothing:qt,isObject:Lt,toArray:Ot,repeat:Rt,isNegativeZero:Dt,extend:Bt};function ve(e,t){var r="",o=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+=`
|
|
2
2
|
|
|
3
|
-
`+e.mark.snippet),o+" "+r):o}function
|
|
3
|
+
`+e.mark.snippet),o+" "+r):o}function D(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=ve(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}D.prototype=Object.create(Error.prototype),D.prototype.constructor=D,D.prototype.toString=function(e){return this.name+": "+ve(this,e)};var v=D,jt=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],$t=["scalar","sequence","mapping"];function Vt(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(o){t[String(o)]=r})}),t}function zt(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(jt.indexOf(r)===-1)throw new v('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=Vt(t.styleAliases||null),$t.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var _=zt;function xe(e,t){var r=[];return e[t].forEach(function(o){var i=r.length;r.forEach(function(s,a){s.tag===o.tag&&s.kind===o.kind&&s.multi===o.multi&&(i=a)}),r[i]=o}),r}function Ft(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function o(i){i.multi?(e.multi[i.kind].push(i),e.multi.fallback.push(i)):e[i.kind][i.tag]=e.fallback[i.tag]=i}for(t=0,r=arguments.length;t<r;t+=1)arguments[t].forEach(o);return e}function M(e){return this.extend(e)}M.prototype.extend=function(e){var t=[],r=[];if(e instanceof _)r.push(e);else if(Array.isArray(e))r=r.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(r=r.concat(e.explicit));else throw new v("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.forEach(function(i){if(!(i instanceof _))throw new v("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(i.loadKind&&i.loadKind!=="scalar")throw new v("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(i.multi)throw new v("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),r.forEach(function(i){if(!(i instanceof _))throw new v("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var o=Object.create(M.prototype);return o.implicit=(this.implicit||[]).concat(t),o.explicit=(this.explicit||[]).concat(r),o.compiledImplicit=xe(o,"implicit"),o.compiledExplicit=xe(o,"explicit"),o.compiledTypeMap=Ft(o.compiledImplicit,o.compiledExplicit),o};var Pt=M,Ut=new _("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),Ht=new _("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),Kt=new _("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),Gt=new Pt({explicit:[Ut,Ht,Kt]});function Mt(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function Yt(){return null}function Zt(e){return e===null}var Wt=new _("tag:yaml.org,2002:null",{kind:"scalar",resolve:Mt,construct:Yt,predicate:Zt,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function Qt(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function Jt(e){return e==="true"||e==="True"||e==="TRUE"}function Xt(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var er=new _("tag:yaml.org,2002:bool",{kind:"scalar",resolve:Qt,construct:Jt,predicate:Xt,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function tr(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function rr(e){return 48<=e&&e<=55}function nr(e){return 48<=e&&e<=57}function ir(e){if(e===null)return!1;var t=e.length,r=0,o=!1,i;if(!t)return!1;if(i=e[r],(i==="-"||i==="+")&&(i=e[++r]),i==="0"){if(r+1===t)return!0;if(i=e[++r],i==="b"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(i!=="0"&&i!=="1")return!1;o=!0}return o&&i!=="_"}if(i==="x"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(!tr(e.charCodeAt(r)))return!1;o=!0}return o&&i!=="_"}if(i==="o"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(!rr(e.charCodeAt(r)))return!1;o=!0}return o&&i!=="_"}}if(i==="_")return!1;for(;r<t;r++)if(i=e[r],i!=="_"){if(!nr(e.charCodeAt(r)))return!1;o=!0}return!(!o||i==="_")}function or(e){var t=e,r=1,o;if(t.indexOf("_")!==-1&&(t=t.replace(/_/g,"")),o=t[0],(o==="-"||o==="+")&&(o==="-"&&(r=-1),t=t.slice(1),o=t[0]),t==="0")return 0;if(o==="0"){if(t[1]==="b")return r*parseInt(t.slice(2),2);if(t[1]==="x")return r*parseInt(t.slice(2),16);if(t[1]==="o")return r*parseInt(t.slice(2),8)}return r*parseInt(t,10)}function ar(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!G.isNegativeZero(e)}var sr=new _("tag:yaml.org,2002:int",{kind:"scalar",resolve:ir,construct:or,predicate:ar,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),lr=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function cr(e){return!(e===null||!lr.test(e)||e[e.length-1]==="_")}function ur(e){var t,r;return t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:r*parseFloat(t,10)}var pr=/^[-+]?[0-9]+e/;function dr(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(G.isNegativeZero(e))return"-0.0";return r=e.toString(10),pr.test(r)?r.replace("e",".e"):r}function fr(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||G.isNegativeZero(e))}var yr=new _("tag:yaml.org,2002:float",{kind:"scalar",resolve:cr,construct:ur,predicate:fr,represent:dr,defaultStyle:"lowercase"}),hr=Gt.extend({implicit:[Wt,er,sr,yr]}),mr=hr,Ae=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Ne=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function gr(e){return e===null?!1:Ae.exec(e)!==null||Ne.exec(e)!==null}function _r(e){var t,r,o,i,s,a,l,c=0,f=null,y,u,m;if(t=Ae.exec(e),t===null&&(t=Ne.exec(e)),t===null)throw new Error("Date resolve error");if(r=+t[1],o=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(r,o,i));if(s=+t[4],a=+t[5],l=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(y=+t[10],u=+(t[11]||0),f=(y*60+u)*6e4,t[9]==="-"&&(f=-f)),m=new Date(Date.UTC(r,o,i,s,a,l,c)),f&&m.setTime(m.getTime()-f),m}function br(e){return e.toISOString()}var kr=new _("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:gr,construct:_r,instanceOf:Date,represent:br});function wr(e){return e==="<<"||e===null}var Tr=new _("tag:yaml.org,2002:merge",{kind:"scalar",resolve:wr}),Y=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
4
4
|
\r`;function Er(e){if(e===null)return!1;var t,r,o=0,i=e.length,s=Y;for(r=0;r<i;r++)if(t=s.indexOf(e.charAt(r)),!(t>64)){if(t<0)return!1;o+=6}return o%8===0}function Sr(e){var t,r,o=e.replace(/[\r\n=]/g,""),i=o.length,s=Y,a=0,l=[];for(t=0;t<i;t++)t%4===0&&t&&(l.push(a>>16&255),l.push(a>>8&255),l.push(a&255)),a=a<<6|s.indexOf(o.charAt(t));return r=i%4*6,r===0?(l.push(a>>16&255),l.push(a>>8&255),l.push(a&255)):r===18?(l.push(a>>10&255),l.push(a>>2&255)):r===12&&l.push(a>>4&255),new Uint8Array(l)}function Cr(e){var t="",r=0,o,i,s=e.length,a=Y;for(o=0;o<s;o++)o%3===0&&o&&(t+=a[r>>18&63],t+=a[r>>12&63],t+=a[r>>6&63],t+=a[r&63]),r=(r<<8)+e[o];return i=s%3,i===0?(t+=a[r>>18&63],t+=a[r>>12&63],t+=a[r>>6&63],t+=a[r&63]):i===2?(t+=a[r>>10&63],t+=a[r>>4&63],t+=a[r<<2&63],t+=a[64]):i===1&&(t+=a[r>>2&63],t+=a[r<<4&63],t+=a[64],t+=a[64]),t}function Ir(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var vr=new _("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Er,construct:Sr,predicate:Ir,represent:Cr}),xr=Object.prototype.hasOwnProperty,Ar=Object.prototype.toString;function Nr(e){if(e===null)return!0;var t=[],r,o,i,s,a,l=e;for(r=0,o=l.length;r<o;r+=1){if(i=l[r],a=!1,Ar.call(i)!=="[object Object]")return!1;for(s in i)if(xr.call(i,s))if(!a)a=!0;else return!1;if(!a)return!1;if(t.indexOf(s)===-1)t.push(s);else return!1}return!0}function qr(e){return e!==null?e:[]}var Lr=new _("tag:yaml.org,2002:omap",{kind:"sequence",resolve:Nr,construct:qr}),Or=Object.prototype.toString;function Rr(e){if(e===null)return!0;var t,r,o,i,s,a=e;for(s=new Array(a.length),t=0,r=a.length;t<r;t+=1){if(o=a[t],Or.call(o)!=="[object Object]"||(i=Object.keys(o),i.length!==1))return!1;s[t]=[i[0],o[i[0]]]}return!0}function Dr(e){if(e===null)return[];var t,r,o,i,s,a=e;for(s=new Array(a.length),t=0,r=a.length;t<r;t+=1)o=a[t],i=Object.keys(o),s[t]=[i[0],o[i[0]]];return s}var Br=new _("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:Rr,construct:Dr}),jr=Object.prototype.hasOwnProperty;function $r(e){if(e===null)return!0;var t,r=e;for(t in r)if(jr.call(r,t)&&r[t]!==null)return!1;return!0}function Vr(e){return e!==null?e:{}}var zr=new _("tag:yaml.org,2002:set",{kind:"mapping",resolve:$r,construct:Vr});mr.extend({implicit:[kr,Tr],explicit:[vr,Lr,Br,zr]});function qe(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
|
|
5
5
|
`:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"
":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}for(var Fr=new Array(256),Pr=new Array(256),q=0;q<256;q++)Fr[q]=qe(q)?1:0,Pr[q]=qe(q);const Le="24px",Ur=(e,t)=>{const r=e.__vccOpts||e;for(const[o,i]of t)r[o]=i;return r},Hr=e=>(n.pushScopeId("data-v-13f41aa3"),e=e(),n.popScopeId(),e),Kr=["aria-hidden"],Gr={key:0,"data-testid":"kui-icon-svg-title"},Mr=Hr(()=>n.createElementVNode("path",{d:"M5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V6H5V20H16V22H5ZM9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16Z",fill:"currentColor"},null,-1)),Yr=n.defineComponent({__name:"CopyIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:Le,validator:e=>{if(typeof e=="number"&&e>0)return!0;if(typeof e=="string"){const t=String(e).replace(/px/gi,""),r=Number(t);if(r&&!isNaN(r)&&Number.isInteger(r)&&r>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(e){const t=e,r=n.computed(()=>{if(typeof t.size=="number"&&t.size>0)return`${t.size}px`;if(typeof t.size=="string"){const i=String(t.size).replace(/px/gi,""),s=Number(i);if(s&&!isNaN(s)&&Number.isInteger(s)&&s>0)return`${s}px`}return Le}),o=n.computed(()=>({boxSizing:"border-box",color:t.color,display:t.display,height:r.value,lineHeight:"0",width:r.value}));return(i,s)=>(n.openBlock(),n.createBlock(n.resolveDynamicComponent(e.as),{"aria-hidden":e.decorative?"true":void 0,class:"kui-icon copy-icon","data-testid":"kui-icon-wrapper-copy-icon",style:n.normalizeStyle(o.value)},{default:n.withCtx(()=>[(n.openBlock(),n.createElementBlock("svg",{"aria-hidden":e.decorative?"true":void 0,"data-testid":"kui-icon-svg-copy-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[e.title?(n.openBlock(),n.createElementBlock("title",Gr,n.toDisplayString(e.title),1)):n.createCommentVNode("",!0),Mr],8,Kr))]),_:1},8,["aria-hidden","style"]))}}),Zr=Ur(Yr,[["__scopeId","data-v-13f41aa3"]]),Wr={class:"kong-ui-public-entity-link","data-testid":"entity-link-parent"},Qr={key:0,class:"deleted-entity"},Jr={key:1},Xr=["onClick"],en=n.defineComponent({__name:"EntityLink",props:{entityLinkData:{type:Object,required:!0},externalLink:{type:String,required:!1,default:""},newWindow:{type:Boolean,required:!1,default:!1},allowCopy:{type:Boolean,required:!1,default:!1}},setup(e){const t=e,r=n.ref(),{isTruncated:o}=Ce.useTruncationDetector(r),{i18n:{t:i}}=Ce.useI18n(),s=i("global.actions.copyId"),a=n.ref(s),l=n.computed(()=>t.entityLinkData.deleted??!1),c=n.computed(()=>t.entityLinkData.id.toString().includes(":")?t.entityLinkData.id.toString().split(":")[1]:t.entityLinkData.id),f=n.computed(()=>`${c.value.toString().slice(0,5)} (deleted)`),y=async u=>{await u(c.value||"")&&(a.value=i("global.actions.copyToClipboard"),setTimeout(()=>{a.value=s},1800))};return(u,m)=>{const h=n.resolveComponent("KTooltip"),k=n.resolveComponent("KExternalLink"),g=n.resolveComponent("KClipboardProvider");return n.openBlock(),n.createElementBlock("div",Wr,[l.value?(n.openBlock(),n.createElementBlock("div",Qr,n.toDisplayString(f.value),1)):c.value?c.value?(n.openBlock(),n.createBlock(k,{key:2,class:"entity-link","hide-icon":!e.newWindow,href:e.externalLink,target:e.newWindow?"_blank":"_self"},{default:n.withCtx(()=>[n.createVNode(h,{text:n.unref(o)&&e.entityLinkData.label||""},{default:n.withCtx(()=>[n.createElementVNode("span",{ref_key:"textContent",ref:r,class:"entity-link-label"},n.toDisplayString(e.entityLinkData.label),513)]),_:1},8,["text"])]),_:1},8,["hide-icon","href","target"])):n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("div",Jr,n.toDisplayString(" – "))),c.value&&e.allowCopy?(n.openBlock(),n.createBlock(h,{key:a.value,class:"copy-uuid-tooltip","max-width":"160",placement:"bottomEnd",text:a.value},{default:n.withCtx(()=>[n.createVNode(g,null,{default:n.withCtx(({copyToClipboard:C})=>[n.createElementVNode("span",{class:"entity-link-copy-id",onClick:n.withModifiers(L=>y(C),["stop"])},[n.createVNode(n.unref(Zr),{class:"copy-icon",color:n.unref(St),"data-testid":"copy-id",size:n.unref(Ct)},null,8,["color","size"])],8,Xr)]),_:1})]),_:1},8,["text"])):n.createCommentVNode("",!0)])}}}),tn=Et(en,[["__scopeId","data-v-ff8e5179"]]),rn=n.defineComponent({__name:"TopNTableRenderer",props:{query:{},context:{},queryReady:{type:Boolean},chartOptions:{},height:{}},setup(e){const t=e,r=o=>{var i;if((i=t.chartOptions)!=null&&i.entityLink)if(o.id.includes(":")){const[s,a]=o.id.split(":");return t.chartOptions.entityLink.replace(J,s).replace(H,a)}else return t.chartOptions.entityLink.replace(H,o.id);return""};return(o,i)=>(n.openBlock(),n.createBlock(z,{context:o.context,query:o.query,"query-ready":o.queryReady},{default:n.withCtx(({data:s})=>[n.createVNode(n.unref(S.TopNTable),{data:s,description:o.chartOptions.description,"synthetics-data-key":o.chartOptions.syntheticsDataKey,title:o.chartOptions.chartTitle||""},n.createSlots({_:2},[t.chartOptions.entityLink?{name:"name",fn:n.withCtx(({record:a})=>[n.createVNode(n.unref(tn),{"entity-link-data":{id:a.id,label:a.name,deleted:a.deleted},"external-link":r(a)},null,8,["entity-link-data","external-link"])]),key:"0"}:void 0]),1032,["data","description","synthetics-data-key","title"])]),_:1},8,["context","query","query-ready"]))}}),nn={class:"tile-boundary"},on=I(n.defineComponent({__name:"DashboardTile",props:{definition:{},context:{},height:{default:170}},setup(e){n.useCssVars(s=>({a16bb866:`${s.height}px`}));const t=parseInt(ye,10),r=e,o={[b.TimeseriesLine]:Me,[b.HorizontalBar]:fe,[b.VerticalBar]:fe,[b.Gauge]:He,[b.GoldenSignals]:Ze,[b.TopN]:rn,[b.Slottable]:void 0},i=n.computed(()=>{const s=o[r.definition.chart.type];return s&&{component:s,rendererProps:{query:r.definition.query,context:r.context,queryReady:!0,chartOptions:r.definition.chart,height:r.height-t*2}}});return(s,a)=>(n.openBlock(),n.createElementBlock("div",nn,[i.value?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(i.value.component),n.normalizeProps(n.mergeProps({key:0},i.value.rendererProps)),null,16)):n.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-3d6e352f"]]),an=(e,t,r)=>{const o=new Map;r.forEach(s=>{const a=s.layout.position.row,l=o.get(a),c=s.layout.size.rows===1&&!!s.layout.size.fitToContent;l===void 0?o.set(a,c):o.set(a,l&&c)});const i=[];for(let s=0;s<e;s++)o.get(s)?i.push("auto"):i.push(`${t}px`);return i},Oe=I(n.defineComponent({__name:"GridLayout",props:{gridSize:{type:Object,required:!0},tileHeight:{type:Number,required:!1,default:()=>170},tiles:{type:Array,required:!0}},setup(e){n.useCssVars(l=>({"13009fee":e.gridSize.cols,c934c2be:s.value}));const t=e,r=n.ref(null),o=n.ref(0),i=new ResizeObserver(l=>{o.value=l[0].contentRect.width});n.onMounted(()=>{r.value&&i.observe(r.value)}),n.onUnmounted(()=>{r.value&&i.unobserve(r.value)});const s=n.computed(()=>{var c;return an((c=t.gridSize)==null?void 0:c.rows,t.tileHeight,t.tiles).join(" ")}),a=n.computed(()=>t.tiles.map((l,c)=>({key:`tile-${c}`,tile:l,style:{"grid-column-start":l.layout.position.col+1,"grid-column-end":l.layout.position.col+1+l.layout.size.cols,"grid-row-start":l.layout.position.row+1,"grid-row-end":l.layout.position.row+1+l.layout.size.rows}})));return(l,c)=>(n.openBlock(),n.createElementBlock("div",{ref_key:"gridContainer",ref:r,class:"kong-ui-public-grid-layout"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(a.value,f=>(n.openBlock(),n.createElementBlock("div",{key:f.key,class:n.normalizeClass(["grid-cell",{"empty-cell":!f.tile}]),style:n.normalizeStyle(f.style)},[n.renderSlot(l.$slots,"tile",{style:n.normalizeStyle(f.style),tile:f.tile},void 0,!0)],6))),128))],512))}}),[["__scopeId","data-v-04f865ab"]]),sn={class:"kong-ui-public-dashboard-renderer"},ln={key:0,class:"tile-container"},cn=I(n.defineComponent({__name:"DashboardRenderer",props:{context:{},config:{}},setup(e){const t=e,{i18n:r}=de.useI18n(),o=n.inject(U);o||(console.warn("Analytics dashboards require a query bridge supplied via provide / inject."),console.warn("Please ensure your application has a query bridge provided under the key 'analytics-query-provider', as described in"),console.warn("https://github.com/Kong/public-ui-components/blob/main/packages/analytics/dashboard-renderer/README.md#requirements"));const i=n.computed(()=>t.config.tiles.map((a,l)=>({layout:a.layout,meta:a.definition,id:l}))),s=n.computed(()=>t.context.tz?t.context:{...t.context,tz:new Intl.DateTimeFormat().resolvedOptions().timeZone});return(a,l)=>{const c=n.resolveComponent("KAlert");return n.openBlock(),n.createElementBlock("div",sn,[n.unref(o)?(n.openBlock(),n.createBlock(Oe,{key:1,"grid-size":a.config.gridSize,"tile-height":a.config.tileHeight,tiles:i.value},{tile:n.withCtx(({tile:f})=>[f.meta.chart.type===n.unref(b).Slottable?(n.openBlock(),n.createElementBlock("div",ln,[n.renderSlot(a.$slots,f.meta.chart.id,{},void 0,!0)])):(n.openBlock(),n.createBlock(on,{key:1,class:"tile-container",context:s.value,definition:f.meta,height:f.layout.size.rows*(a.config.tileHeight||n.unref(170))+parseInt(n.unref(ye),10)},null,8,["context","definition","height"]))]),_:3},8,["grid-size","tile-height","tiles"])):(n.openBlock(),n.createBlock(c,{key:0,appearance:"danger"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(r).t("renderer.noQueryBridge")),1)]),_:1}))])}}}),[["__scopeId","data-v-1af70010"]]);d.CP_ID_TOKEN=J,d.ChartTypes=b,d.DEFAULT_TILE_HEIGHT=170,d.DEFAULT_TILE_REFRESH_INTERVAL_MS=3e4,d.DashboardRenderer=cn,d.ENTITY_ID_TOKEN=H,d.GridLayout=Oe,d.INJECT_QUERY_PROVIDER=U,d.barChartSchema=re,d.dashboardConfigSchema=je,d.exploreV4QuerySchema=se,d.gaugeChartSchema=ie,d.metricCardSchema=ae,d.slottableSchema=te,d.tileConfigSchema=ue,d.tileDefinitionSchema=le,d.tileLayoutSchema=ce,d.timeseriesChartSchema=ne,d.topNTableSchema=oe,Object.defineProperty(d,Symbol.toStringTag,{value:"Module"})});
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.locked[data-v-d8d2d0cd]{cursor:move}.tooltip-container[data-v-d8d2d0cd]{background-color:#fff;border-radius:3px;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-d8d2d0cd]{border-bottom:1px solid rgba(0,0,0,.1);display:flex;flex-direction:column;margin:8px;min-height:24px;padding-bottom:8px}.tooltip-container .tooltip-title .title[data-v-d8d2d0cd]{font-size:16px;font-weight:600}.tooltip-container .tooltip-title .subtitle[data-v-d8d2d0cd]{font-size:14px;margin-top:8px}.tooltip-container .tooltip-title .drag-icon[data-v-d8d2d0cd]{margin-top:6px;position:absolute;right:0;top:0}ul.tooltip[data-v-d8d2d0cd]{list-style:none;margin:0;max-height:300px;min-width:250px;overflow-y:auto;padding-left:0;-ms-overflow-style:thin;scrollbar-color:#e0e4ea transparent;scrollbar-width:auto}ul.tooltip[data-v-d8d2d0cd] ::-webkit-scrollbar{width:8px}ul.tooltip[data-v-d8d2d0cd] ::-webkit-scrollbar-track{background:transparent}ul.tooltip[data-v-d8d2d0cd] ::-webkit-scrollbar-thumb{background-color:#e0e4ea;border-radius:10px}ul.tooltip li[data-v-d8d2d0cd]{display:flex;font-size:14px;line-height:1;margin:8px}ul.tooltip li[data-v-d8d2d0cd]:last-child{padding-bottom:8px}ul.tooltip .display-label[data-v-d8d2d0cd]{max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ul.tooltip .display-value[data-v-d8d2d0cd]{margin-left:auto;padding-left:8px;white-space:nowrap}ul.tooltip .tooltip-legend[data-v-d8d2d0cd]{display:inline-flex;flex-direction:row;height:15px;margin-right:8px;width:3px}.legend-container[data-v-554b4d9c]{display:flex;margin:6px 0 0;max-height:inherit;overflow-x:hidden;overflow-y:auto;padding-left:0;-ms-overflow-style:thin;scrollbar-color:#e0e4ea transparent;scrollbar-width:auto}.legend-container[data-v-554b4d9c] ::-webkit-scrollbar{width:8px}.legend-container[data-v-554b4d9c] ::-webkit-scrollbar-track{background:transparent}.legend-container[data-v-554b4d9c] ::-webkit-scrollbar-thumb{background-color:#e0e4ea;border-radius:10px}.legend-container.vertical[data-v-554b4d9c]{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-554b4d9c]{max-width:12ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legend-container.vertical li .legend[data-v-554b4d9c]{margin-top:4px}@media (max-width: 767px){.legend-container.vertical[data-v-554b4d9c]{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-554b4d9c]{display:none}}.legend-container.horizontal[data-v-554b4d9c]{column-gap:12px;display:grid;height:var(--1c6c065c);justify-content:center;width:99%}.legend-container.horizontal .truncate-label[data-v-554b4d9c]{max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legend-container.horizontal li[data-v-554b4d9c]{align-items:center;margin-top:0}.legend-container.horizontal li .label[data-v-554b4d9c]{line-height:24px;white-space:nowrap}.legend-container li[data-v-554b4d9c]{align-items:start;cursor:pointer;display:flex;line-height:1}.legend-container li .legend[data-v-554b4d9c]{flex:0 0 14px;height:3px;margin-right:6px}.legend-container li .label[data-v-554b4d9c]{font-size:12px}.legend-container li .sub-label[data-v-554b4d9c]{font-size:12px;line-height:16px;word-break:none}.legend-container li .strike-through[data-v-554b4d9c]{text-decoration:line-through}.chart-parent[data-v-fdeee739]{align-items:center;display:flex;height:inherit;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-fdeee739]{flex-direction:column}.chart-parent.column .chart-container[data-v-fdeee739]{max-height:calc(100% - 48px);width:100%}.chart-parent.legend-row[data-v-fdeee739]{flex-direction:row}.chart-parent.legend-row .chart-container[data-v-fdeee739]{height:100%;width:90%}@media (max-width: 767px){.chart-parent.legend-row .chart-container[data-v-fdeee739]{max-height:calc(100% - 48px)!important;width:100%!important}}@media (max-width: 767px){.chart-parent.legend-row[data-v-fdeee739]{display:flex;flex-wrap:wrap}}.chart-parent .chart-container[data-v-fdeee739]{flex:1 1 auto;position:relative}.chart-container[data-v-fdeee739]{overflow:auto;-ms-overflow-style:thin;scrollbar-color:#e0e4ea transparent;scrollbar-width:auto}.chart-container[data-v-fdeee739] ::-webkit-scrollbar{width:8px}.chart-container[data-v-fdeee739] ::-webkit-scrollbar-track{background:transparent}.chart-container[data-v-fdeee739] ::-webkit-scrollbar-thumb{background-color:#e0e4ea;border-radius:10px}.chart-container .chart-body[data-v-fdeee739]{height:100%}.chart-container[data-v-fdeee739]::-webkit-scrollbar-track{background-color:#fff;border-radius:10px}.chart-container[data-v-fdeee739]::-webkit-scrollbar{width:10px}.chart-container[data-v-fdeee739]::-webkit-scrollbar-thumb{background-color:#e0e4ea;border-radius:10px}.axis[data-v-fdeee739]{left:0;pointer-events:none;position:absolute;top:0;z-index:99}.axis-tooltip[data-v-fdeee739]{background-color:#3a3f51;color:#fff;padding:4px 8px;position:absolute;width:max-content;z-index:100}.tooltip-boundary[data-v-fdeee739]{height:100%;left:0;position:relative;top:0;width:100%}.chart-parent[data-v-07ea8b82]{align-items:center;display:flex;height:inherit;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-07ea8b82]{flex-direction:column}.chart-parent.column .chart-container[data-v-07ea8b82]{max-height:calc(100% - 48px);width:100%}.chart-parent.legend-row[data-v-07ea8b82]{flex-direction:row}.chart-parent.legend-row .chart-container[data-v-07ea8b82]{height:100%;width:90%}@media (max-width: 767px){.chart-parent.legend-row .chart-container[data-v-07ea8b82]{max-height:calc(100% - 48px)!important;width:100%!important}}@media (max-width: 767px){.chart-parent.legend-row[data-v-07ea8b82]{display:flex;flex-wrap:wrap}}.chart-parent .chart-container[data-v-07ea8b82]{flex:1 1 auto;position:relative}.chart-parent[data-v-3abbf084]{align-items:center;display:flex;height:inherit;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-3abbf084]{flex-direction:column}.chart-parent.column .chart-container[data-v-3abbf084]{max-height:calc(100% - 48px);width:100%}.chart-parent.legend-row[data-v-3abbf084]{flex-direction:row}.chart-parent.legend-row .chart-container[data-v-3abbf084]{height:100%;width:90%}@media (max-width: 767px){.chart-parent.legend-row .chart-container[data-v-3abbf084]{max-height:calc(100% - 48px)!important;width:100%!important}}@media (max-width: 767px){.chart-parent.legend-row[data-v-3abbf084]{display:flex;flex-wrap:wrap}}.chart-parent .chart-container[data-v-3abbf084]{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-4027c7fb],.simple-chart-shell[data-v-4027c7fb]{border-radius:4px;display:flex;flex-direction:column}.analytics-chart-shell .chart-empty-state[data-v-4027c7fb],.simple-chart-shell .chart-empty-state[data-v-4027c7fb]{display:flex;flex-direction:column;height:100%;justify-content:center}.analytics-chart-shell[data-v-4027c7fb]{height:100%;width:100%}.analytics-chart-shell .analytics-chart-parent[data-v-4027c7fb]{height:inherit;width:inherit}.analytics-chart-shell .chart-empty-state[data-v-4027c7fb]{padding:20px 0 16px}.analytics-chart-shell .chart-header[data-v-4027c7fb]{align-items:center;display:flex;justify-content:flex-start;padding-bottom:16px}.analytics-chart-shell .chart-header .chart-header-icons-wrapper[data-v-4027c7fb]{display:flex;justify-content:end}.analytics-chart-shell .chart-header .chart-export-button[data-v-4027c7fb]{display:flex;margin-left:auto;margin-right:0}.analytics-chart-shell .chart-title[data-v-4027c7fb]{font-size:16px;font-weight:600}.analytics-chart-shell .tooltip[data-v-4027c7fb]{display:flex;margin-left:12px;margin-top:2px}.chart-parent[data-v-5871cb7a]{align-items:center;display:flex;height:inherit;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-5871cb7a]{flex-direction:column}.chart-parent.column .chart-container[data-v-5871cb7a]{max-height:calc(100% - 48px);width:100%}.chart-parent.legend-row[data-v-5871cb7a]{flex-direction:row}.chart-parent.legend-row .chart-container[data-v-5871cb7a]{height:100%;width:90%}@media (max-width: 767px){.chart-parent.legend-row .chart-container[data-v-5871cb7a]{max-height:calc(100% - 48px)!important;width:100%!important}}@media (max-width: 767px){.chart-parent.legend-row[data-v-5871cb7a]{display:flex;flex-wrap:wrap}}.chart-parent .chart-container[data-v-5871cb7a]{flex:1 1 auto;position:relative}.chart-parent[data-v-5871cb7a]{height:auto;margin:0;padding:0;width:auto}.chart-parent .chart-container[data-v-5871cb7a]{margin:0;max-height:100px;max-width:100px;padding:0}.chart-parent .chart-totals-flex[data-v-5871cb7a]{align-items:center;display:flex;flex-direction:column;height:100px;justify-content:center;padding:24px 0 0;position:absolute;width:100px;z-index:2}.chart-parent .chart-totals-flex .metric-large[data-v-5871cb7a]{font-size:20px;font-weight:500;line-height:28px}.chart-parent .chart-totals-flex .metric-small[data-v-5871cb7a]{color:#6c7489;font-size:10px;font-weight:400;line-height:12px}.analytics-chart-shell[data-v-cb92de46],.simple-chart-shell[data-v-cb92de46]{border-radius:4px;display:flex;flex-direction:column}.analytics-chart-shell .chart-empty-state[data-v-cb92de46],.simple-chart-shell .chart-empty-state[data-v-cb92de46]{display:flex;flex-direction:column;height:100%;justify-content:center}.simple-chart-shell[data-v-cb92de46]{margin:0;padding:0}.simple-chart-shell .chart-empty-state[data-v-cb92de46]{display:flex;flex-direction:column;height:100px;justify-content:center;width:100px}.simple-chart-shell .chart-empty-state[data-v-cb92de46] .empty-state-title{font-size:12px;line-height:16px;margin:0}.kong-ui-public-top-n-table[data-v-80a3b24a]{border:none!important;height:100%;padding:0!important}.kong-ui-public-top-n-table .top-n-card-description[data-v-80a3b24a]{color:#6c7489;font-size:12px;text-align:right}.kong-ui-public-top-n-table[data-v-80a3b24a] .k-card-actions{align-self:baseline;display:flex;line-height:22px}.kong-ui-public-top-n-table[data-v-80a3b24a] .card-content{overflow-y:auto;-ms-overflow-style:thin;scrollbar-color:#e0e4ea transparent;scrollbar-width:auto}.kong-ui-public-top-n-table[data-v-80a3b24a] .card-content ::-webkit-scrollbar{width:8px}.kong-ui-public-top-n-table[data-v-80a3b24a] .card-content ::-webkit-scrollbar-track{background:transparent}.kong-ui-public-top-n-table[data-v-80a3b24a] .card-content ::-webkit-scrollbar-thumb{background-color:#e0e4ea;border-radius:10px}.kong-ui-public-top-n-table .top-n-table[data-v-80a3b24a]{display:flex;flex-direction:column;max-height:100%;width:100%}.kong-ui-public-top-n-table .top-n-table .table-headings[data-v-80a3b24a]{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-80a3b24a]{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-80a3b24a]:last-of-type{border-bottom:none}.kong-ui-public-top-n-table .top-n-table .column-1[data-v-80a3b24a]{padding:0 24px 12px 0}.kong-ui-public-top-n-table .top-n-table .column-2[data-v-80a3b24a]{flex:1;max-width:110px;padding:0 0 12px}.kong-ui-public-top-n-table .top-n-table .table-body[data-v-80a3b24a]{overflow-y:auto}.kong-ui-public-top-n-table .top-n-table .table-body .table-row[data-v-80a3b24a]:first-of-type{border-top:1px solid #e0e4ea}.kong-ui-public-top-n-table .top-n-table .table-body .column-1[data-v-80a3b24a],.kong-ui-public-top-n-table .top-n-table .table-body .column-2[data-v-80a3b24a]{padding-top:12px}.kong-ui-public-top-n-table .top-n-table .table-body .column-1[data-v-80a3b24a]{color:#3a3f51;font-size:14px}.kong-ui-public-top-n-table .top-n-table .table-body .column-1[data-v-80a3b24a] 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}.metricscard-tooltip,.trafficcard.active .metricscard-tooltip{pointer-events:all}.metricscard[data-v-b64f16bb]{display:flex;flex-direction:column;width:100%}@media (max-width: 767px){.metricscard[data-v-b64f16bb]{max-width:none;width:auto}}@media (min-width: 768px){.metricscard[data-v-b64f16bb]{height:100%;justify-content:space-evenly}}.metricscard[data-v-b64f16bb]:hover{border:none;text-decoration:none}.metricscard-title[data-v-b64f16bb]{align-items:center;color:#000933;color:var(--kong-ui-metric-card-title, #000933);display:flex;flex-direction:row;font-size:14px;font-weight:500;line-height:16px;margin:0}.metricscard-title.sm[data-v-b64f16bb]{font-size:12px}.metricscard-description[data-v-b64f16bb]{color:#afb7c5;color:var(--kong-ui-metric-card-value, #afb7c5);font-size:12px;line-height:16px;margin-top:10px}.metricscard-icon[data-v-b64f16bb]{margin-right:6px}.metricscard-value[data-v-b64f16bb]{color:#000933;color:var(--kong-ui-metric-card-value, #000933);display:flex;flex-direction:row;font-weight:600;justify-content:space-between;line-height:32px}.metricscard-value.sm[data-v-b64f16bb]{line-height:24px}.metricscard-valuetrend[data-v-b64f16bb]{display:flex;flex-direction:column;row-gap:12px}.metricscard-valuetrend.is-compact[data-v-b64f16bb]{align-items:center;flex-direction:row!important;justify-content:space-between;margin-top:0}.metricscard-trend[data-v-b64f16bb]{align-items:center;column-gap:8px;display:flex}.metricscard-trend-change[data-v-b64f16bb]{align-items:center;border-radius:4px;display:flex;flex-direction:row;font-size:12px;font-weight:600;padding:4px 8px}.metricscard-trend-change .kui-icon[data-v-b64f16bb]{margin-right:4px}.metricscard-trend-change.positive[data-v-b64f16bb]{background-color:#ecfffb;background-color:var(--kong-ui-metric-card-trend-bg-positive, #ecfffb);color:#007d60;color:var(--kong-ui-metric-card-trend-positive, #007d60)}.metricscard-trend-change.negative[data-v-b64f16bb]{background-color:#ffe5e5;background-color:var(--kong-ui-metric-card-trend-bg-negative, #ffe5e5);color:#ad000e;color:var(--kong-ui-metric-card-trend-negative, #ad000e)}.metricscard-trend-change.neutral[data-v-b64f16bb]{background-color:#e0e4ea;background-color:var(--kong-ui-metric-card-trend-bg-neutral, #e0e4ea);color:#52596e;color:var(--kong-ui-metric-card-trend-neutral, #52596e)}.metricscard-trend-range[data-v-b64f16bb]{color:#000933;font-size:12px}.metricscard-tooltip[data-v-b64f16bb]{display:inline-flex;margin:auto 0 auto 4px;vertical-align:middle}.metricscard-error[data-v-b64f16bb]{align-items:center;color:#3a3f51;display:flex;flex-direction:row;font-size:12px;margin-top:8px}.metricscard-error .kong-icon-warning[data-v-b64f16bb]{margin-right:12px}.metricscard.active .metricscard-tooltip[data-v-b64f16bb]{pointer-events:all}.loading-tabs[data-v-f7eb9c40]{display:flex;flex-direction:column}.loading-tabs-large[data-v-f7eb9c40]{padding:4px;row-gap:12px;width:240px}.loading-tabs-small[data-v-f7eb9c40]{padding:2px;row-gap:8px;width:120px}.loading-tabs-small .box[data-v-f7eb9c40]{height:12px}@media (max-width: 767px){.loading-tabs[data-v-f7eb9c40]{width:auto}}.kong-ui-public-metric-card-container[data-v-081c6557]{background-color:transparent;background-color:var(--kong-ui-metric-card-background, transparent);display:flex;flex-direction:row;justify-content:space-between;width:100%;column-gap:24px;row-gap:16px}@media (max-width: 767px){.kong-ui-public-metric-card-container[data-v-081c6557]{column-gap:16px;row-gap:16px;flex-direction:column}}.kong-ui-public-metric-card-container.sm[data-v-081c6557]{column-gap:0;row-gap:0}.kong-ui-public-metric-card-container .error-display[data-v-081c6557]{align-items:center;display:flex;justify-content:center;margin:auto}.kong-ui-public-metric-card-container .error-display-icon[data-v-081c6557]{display:flex}.kong-ui-public-metric-card-container .error-display-message[data-v-081c6557]{color:#6c7489;font-size:14px;margin-left:12px}.analytics-chart[data-v-f0f6ed41]{height:var(--8c62ff26)}.analytics-chart[data-v-36598a1b]{height:var(--1eed717c)}.analytics-chart[data-v-ceb07ca8]{height:var(--4efa9c90)}@media (min-width: 767px){.metric-card-tile-wrapper[data-v-7482800d]{align-items:center;display:flex;height:100%}}.metric-card-tile-wrapper[data-v-7482800d] .kong-ui-public-metric-card-container{height:100%}@media (min-width: 767px){.metric-card-tile-wrapper[data-v-7482800d] .kong-ui-public-metric-card-container .metricscard:not(:last-of-type){border-right:1px solid #e0e4ea}}.metric-card-tile-wrapper[data-v-7482800d] .kong-ui-public-metric-card-container .metricscard .metricscard-title.lg{font-size:16px;font-weight:600}.config-card-fieldset[data-v-68ca83ec]{border:solid 1px #e0e4ea;border-radius:4px;margin-bottom:8px;margin-top:4px}.config-card-fieldset-title[data-v-68ca83ec]{font-size:14px;padding:0 8px;width:auto}fieldset.config-card-fieldset .config-card-details-row{width:unset}.config-card-json-item .config-card-details-row,fieldset.config-card-fieldset .config-card-details-row{margin:0 16px}.config-card-json-item .config-card-details-row:last-of-type,fieldset.config-card-fieldset .config-card-details-row:last-of-type{border-bottom:none}[data-v-c96811e5] .k-button.navigation-button{font-size:14px;font-weight:400}.config-card-details-row[data-v-d056663c]{align-items:center;border-bottom:var(--07753575);display:var(--32d44ea8);padding:16px 16px 16px 0;width:100%}.config-card-details-row .config-card-details-label[data-v-d056663c]{width:var(--5036b738)}.config-card-details-row .config-card-details-label label[data-v-d056663c]{color:#3a3f51}.config-card-details-row .config-card-details-value[data-v-d056663c]{width:var(--5038fd13)}.config-card-details-row .config-card-details-value .truncated[data-v-d056663c]{display:inline-block;line-height:initial;max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.config-card-details-row .config-card-details-value span.attrs-data-text[data-v-d056663c]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-d056663c] .k-copy:not(:last-of-type){margin-bottom:8px}.config-card-details-row .config-card-details-value .method-badge-array[data-v-d056663c]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-d056663c]{margin-right:4px}.config-card-details-row[data-v-d056663c] .k-label{margin-bottom:0}.config-card-details-row[data-v-d056663c] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-d056663c] .config-card-details-row{width:auto}.json-config #json-endpoint-codeblock .k-highlighted-code-block code,.json-config #json-codeblock .k-highlighted-code-block code{background-color:#232633}.json-config #json-endpoint-codeblock .k-code-block-secondary-actions,.json-config #json-codeblock .k-code-block-secondary-actions{top:12px!important}.json-content .k-highlighted-code-block{border-top-left-radius:0!important;border-top-right-radius:0!important}.json-endpoint{align-items:baseline;background-color:#232633;border-bottom:1px solid rgba(255,255,255,.24);border-top-left-radius:8px;border-top-right-radius:8px;display:flex;padding-left:12px}.json-endpoint .k-badge{height:24px}.json-endpoint .k-code-block{flex:auto}.json-endpoint code{direction:rtl;max-width:var(--954d3eca);overflow:hidden!important;text-align:left;text-overflow:ellipsis;white-space:nowrap}.yaml-config #yaml-codeblock .k-highlighted-code-block code{background-color:#232633}.yaml-config #yaml-codeblock .k-code-block-secondary-actions{top:12px!important}.config-card-prop-section-title[data-v-147a2f70]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card .config-card-actions[data-v-7c5b607d]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-7c5b607d]{margin-bottom:0;margin-right:8px}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-7c5b607d]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card[data-v-7c5b607d] .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .book-icon[data-v-7c5b607d]{margin-left:8px;padding:0}.kong-ui-entity-base-form[data-v-1d932d98]{box-sizing:border-box;max-width:1536px;width:100%}.kong-ui-entity-base-form .form-actions[data-v-1d932d98]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px}.kong-ui-entity-base-form .form-actions[data-v-1d932d98] .k-button:last-of-type,.kong-ui-entity-base-form .form-actions[data-v-1d932d98] .k-button:nth-last-of-type(2){margin-left:16px}.kong-ui-entity-base-form[data-v-1d932d98] .k-slideout-title{color:#000933!important;font-size:24px!important;font-weight:700!important;line-height:32px!important;margin-bottom:16px!important}.kong-ui-entity-base-form[data-v-1d932d98] .k-card.content-card{padding:0 16px!important}.kong-ui-entity-base-form[data-v-1d932d98] .tab-item>div.tab-link.has-panels{color:#6c7489!important;font-size:14px!important;font-weight:700!important;line-height:24px!important}.kong-ui-entity-base-form[data-v-1d932d98] .tab-item.active>div.tab-link.has-panels{color:#000933!important;font-weight:600!important}.content-wrapper[data-v-c4379fd4] [role=button]{display:inline}.content-wrapper[data-v-c4379fd4] .k-tooltip{word-break:break-all}.kong-ui-entity-base-table .toolbar-container[data-v-99908c24]{align-items:center}.kong-ui-entity-base-table .toolbar-button-container[data-v-99908c24]{margin-left:auto}.kong-ui-entity-base-table .actions-container[data-v-99908c24]{float:right}.kong-ui-entity-base-table .actions-container[data-v-99908c24] .k-dropdown-item-trigger{margin-bottom:0;margin-top:0}.kong-ui-entity-base-table .actions-trigger[data-v-99908c24]{background-color:#0000!important;border:none!important;cursor:pointer!important;font-weight:400!important}.kong-ui-entity-base-table :deep(.k-table){table-layout:fixed}.kong-ui-entity-delete-modal .message[data-v-4361d622],.kong-ui-entity-delete-modal .description[data-v-4361d622]{line-height:24px;margin:0}.kong-ui-entity-delete-modal .message strong[data-v-4361d622]{font-weight:600}.kong-ui-entity-delete-modal .description[data-v-4361d622]{margin-top:32px}.kong-ui-entity-delete-error[data-v-4361d622]{margin-bottom:16px}.kong-ui-entity-filter-input[data-v-8cfadde3]{width:100%}.kong-ui-entity-filter-clear[data-v-8cfadde3]{cursor:pointer}.kong-ui-entity-filter[data-v-8cfadde3]{display:flex;position:relative}.kong-ui-entity-filter[data-v-8cfadde3] .menu-content{flex-direction:column}.kong-ui-entity-filter[data-v-8cfadde3] .k-menu-item-divider hr{margin:12px 0}.kong-ui-entity-filter-backdrop[data-v-8cfadde3]{bottom:0;left:0;position:fixed;right:0;top:0;z-index:1050}.kong-ui-entity-filter-menu[data-v-8cfadde3]{background-color:#fff;border:1px solid #afb7c5;border-radius:4px;box-shadow:0 4px 20px #e0e4ea;left:0;margin-top:16px;padding:8px 0 12px;position:absolute;top:100%;width:300px;z-index:1060}.kong-ui-entity-filter-menu-item[data-v-8cfadde3]{border-bottom:1px solid #e0e4ea;color:#6c7489;font-size:12px;font-weight:400;line-height:16px;list-style:none;margin:0 20px;padding:16px 0;position:relative;white-space:nowrap}.menu-item-title[data-v-8cfadde3]{align-items:center;cursor:pointer;display:flex;line-height:24px}.menu-item-title.expanded[data-v-8cfadde3]{color:#232633}.menu-item-expand-icon[data-v-8cfadde3]{margin-left:auto}.menu-item-expand-icon.expanded[data-v-8cfadde3]{transform:rotate(180deg)}.menu-item-indicator[data-v-8cfadde3]{background-color:#0044f4;border-radius:50%;height:4px;margin-left:4px;width:4px}.menu-item-body[data-v-8cfadde3]{align-items:center;display:flex;justify-content:space-between;margin-top:16px}.menu-item-body[data-v-8cfadde3] .k-input{padding-bottom:4px!important;padding-top:4px!important}.menu-item-body[data-v-8cfadde3] .k-input-wrapper{width:100%}.menu-item-body[data-v-8cfadde3] .k-select-input .k-input{font-size:12px}.menu-item-body[data-v-8cfadde3] .k-select-input .k-input::placeholder{color:#00000073!important;font-size:12px}.menu-item-label[data-v-8cfadde3]{margin-bottom:0;margin-right:12px}.menu-item-buttons[data-v-8cfadde3]{display:flex;justify-content:space-between;margin:10px 0 6px}.filter-clear-button-container[data-v-8cfadde3]{padding:12px 20px 0}fieldset[data-v-4bb31634]{margin:0;padding:0}.kong-ui-entity-form-section[data-v-4bb31634]{border:0}.kong-ui-entity-form-section .form-section-wrapper[data-v-4bb31634]{column-gap:16px;display:flex;flex-direction:column;padding-bottom:64px;row-gap:12px;width:100%}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper[data-v-4bb31634]{flex-direction:row}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-4bb31634]{flex:1}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-4bb31634]{max-width:350px}.kong-ui-entity-form-section .form-section-wrapper .form-section-info.sticky[data-v-4bb31634]{height:fit-content;margin-bottom:16px;position:sticky;top:16px}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-title[data-v-4bb31634]{color:#000933;font-size:16px;font-weight:700;line-height:20px;margin-bottom:8px;margin-top:0}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-4bb31634],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description p[data-v-4bb31634],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-4bb31634] p{color:#000933;font-size:14px;font-weight:400;line-height:20px;margin:0}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-footer[data-v-4bb31634]{margin-top:32px}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-4bb31634]{flex:1}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-4bb31634]>*:not(:first-child){margin-top:24px}.kong-ui-entity-form-section.has-divider .form-section-wrapper[data-v-4bb31634]{border-bottom:1px solid #e0e4ea}.kong-ui-public-entity-link[data-v-ff8e5179]{align-items:center;display:flex}.kong-ui-public-entity-link .deleted-entity[data-v-ff8e5179]{font-style:italic}.kong-ui-public-entity-link .entity-link[data-v-ff8e5179]{display:flex}.kong-ui-public-entity-link .entity-link[data-v-ff8e5179] .external-link-icon{color:#0044f4;margin-left:4px;padding:2px}.kong-ui-public-entity-link .entity-link-label[data-v-ff8e5179]{display:inline-block;font-weight:400;max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kong-ui-public-entity-link .copy-uuid-tooltip[data-v-ff8e5179]{align-items:center;cursor:pointer;display:flex}.kong-ui-public-entity-link .copy-uuid-tooltip .entity-link-copy-id[data-v-ff8e5179]{margin-left:2px}.tile-boundary[data-v-3d6e352f]{height:var(--a16bb866)}.kong-ui-public-grid-layout[data-v-04f865ab]{display:grid;gap:20px;grid-template-columns:repeat(var(--13009fee),1fr);grid-template-rows:var(--c934c2be);width:100%}@media (max-width: 768px){.kong-ui-public-grid-layout[data-v-04f865ab]{display:flex;flex-direction:column}.kong-ui-public-grid-layout .grid-cell[data-v-04f865ab]{height:auto!important;left:auto!important;position:relative;top:auto!important;transform:none!important;width:auto!important}.kong-ui-public-grid-layout .grid-cell[data-v-04f865ab]:not(:first-child){margin-top:20px}.kong-ui-public-grid-layout .empty-cell[data-v-04f865ab]{display:none}}.kong-ui-public-dashboard-renderer .tile-container[data-v-1af70010]{border:1px solid #e0e4ea;border-radius:4px;height:100%;padding:20px}
|
|
1
|
+
.locked[data-v-d8d2d0cd]{cursor:move}.tooltip-container[data-v-d8d2d0cd]{background-color:#fff;border-radius:3px;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-d8d2d0cd]{border-bottom:1px solid rgba(0,0,0,.1);display:flex;flex-direction:column;margin:8px;min-height:24px;padding-bottom:8px}.tooltip-container .tooltip-title .title[data-v-d8d2d0cd]{font-size:16px;font-weight:600}.tooltip-container .tooltip-title .subtitle[data-v-d8d2d0cd]{font-size:14px;margin-top:8px}.tooltip-container .tooltip-title .drag-icon[data-v-d8d2d0cd]{margin-top:6px;position:absolute;right:0;top:0}ul.tooltip[data-v-d8d2d0cd]{list-style:none;margin:0;max-height:300px;min-width:250px;overflow-y:auto;padding-left:0;-ms-overflow-style:thin;scrollbar-color:#e0e4ea transparent;scrollbar-width:auto}ul.tooltip[data-v-d8d2d0cd] ::-webkit-scrollbar{width:8px}ul.tooltip[data-v-d8d2d0cd] ::-webkit-scrollbar-track{background:transparent}ul.tooltip[data-v-d8d2d0cd] ::-webkit-scrollbar-thumb{background-color:#e0e4ea;border-radius:10px}ul.tooltip li[data-v-d8d2d0cd]{display:flex;font-size:14px;line-height:1;margin:8px}ul.tooltip li[data-v-d8d2d0cd]:last-child{padding-bottom:8px}ul.tooltip .display-label[data-v-d8d2d0cd]{max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ul.tooltip .display-value[data-v-d8d2d0cd]{margin-left:auto;padding-left:8px;white-space:nowrap}ul.tooltip .tooltip-legend[data-v-d8d2d0cd]{display:inline-flex;flex-direction:row;height:15px;margin-right:8px;width:3px}.legend-container[data-v-554b4d9c]{display:flex;margin:6px 0 0;max-height:inherit;overflow-x:hidden;overflow-y:auto;padding-left:0;-ms-overflow-style:thin;scrollbar-color:#e0e4ea transparent;scrollbar-width:auto}.legend-container[data-v-554b4d9c] ::-webkit-scrollbar{width:8px}.legend-container[data-v-554b4d9c] ::-webkit-scrollbar-track{background:transparent}.legend-container[data-v-554b4d9c] ::-webkit-scrollbar-thumb{background-color:#e0e4ea;border-radius:10px}.legend-container.vertical[data-v-554b4d9c]{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-554b4d9c]{max-width:12ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legend-container.vertical li .legend[data-v-554b4d9c]{margin-top:4px}@media (max-width: 767px){.legend-container.vertical[data-v-554b4d9c]{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-554b4d9c]{display:none}}.legend-container.horizontal[data-v-554b4d9c]{column-gap:12px;display:grid;height:var(--1c6c065c);justify-content:center;width:99%}.legend-container.horizontal .truncate-label[data-v-554b4d9c]{max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legend-container.horizontal li[data-v-554b4d9c]{align-items:center;margin-top:0}.legend-container.horizontal li .label[data-v-554b4d9c]{line-height:24px;white-space:nowrap}.legend-container li[data-v-554b4d9c]{align-items:start;cursor:pointer;display:flex;line-height:1}.legend-container li .legend[data-v-554b4d9c]{flex:0 0 14px;height:3px;margin-right:6px}.legend-container li .label[data-v-554b4d9c]{font-size:12px}.legend-container li .sub-label[data-v-554b4d9c]{font-size:12px;line-height:16px;word-break:none}.legend-container li .strike-through[data-v-554b4d9c]{text-decoration:line-through}.chart-parent[data-v-fdeee739]{align-items:center;display:flex;height:inherit;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-fdeee739]{flex-direction:column}.chart-parent.column .chart-container[data-v-fdeee739]{max-height:calc(100% - 48px);width:100%}.chart-parent.legend-row[data-v-fdeee739]{flex-direction:row}.chart-parent.legend-row .chart-container[data-v-fdeee739]{height:100%;width:90%}@media (max-width: 767px){.chart-parent.legend-row .chart-container[data-v-fdeee739]{max-height:calc(100% - 48px)!important;width:100%!important}}@media (max-width: 767px){.chart-parent.legend-row[data-v-fdeee739]{display:flex;flex-wrap:wrap}}.chart-parent .chart-container[data-v-fdeee739]{flex:1 1 auto;position:relative}.chart-container[data-v-fdeee739]{overflow:auto;-ms-overflow-style:thin;scrollbar-color:#e0e4ea transparent;scrollbar-width:auto}.chart-container[data-v-fdeee739] ::-webkit-scrollbar{width:8px}.chart-container[data-v-fdeee739] ::-webkit-scrollbar-track{background:transparent}.chart-container[data-v-fdeee739] ::-webkit-scrollbar-thumb{background-color:#e0e4ea;border-radius:10px}.chart-container .chart-body[data-v-fdeee739]{height:100%}.chart-container[data-v-fdeee739]::-webkit-scrollbar-track{background-color:#fff;border-radius:10px}.chart-container[data-v-fdeee739]::-webkit-scrollbar{width:10px}.chart-container[data-v-fdeee739]::-webkit-scrollbar-thumb{background-color:#e0e4ea;border-radius:10px}.axis[data-v-fdeee739]{left:0;pointer-events:none;position:absolute;top:0;z-index:99}.axis-tooltip[data-v-fdeee739]{background-color:#3a3f51;color:#fff;padding:4px 8px;position:absolute;width:max-content;z-index:100}.tooltip-boundary[data-v-fdeee739]{height:100%;left:0;position:relative;top:0;width:100%}.chart-parent[data-v-07ea8b82]{align-items:center;display:flex;height:inherit;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-07ea8b82]{flex-direction:column}.chart-parent.column .chart-container[data-v-07ea8b82]{max-height:calc(100% - 48px);width:100%}.chart-parent.legend-row[data-v-07ea8b82]{flex-direction:row}.chart-parent.legend-row .chart-container[data-v-07ea8b82]{height:100%;width:90%}@media (max-width: 767px){.chart-parent.legend-row .chart-container[data-v-07ea8b82]{max-height:calc(100% - 48px)!important;width:100%!important}}@media (max-width: 767px){.chart-parent.legend-row[data-v-07ea8b82]{display:flex;flex-wrap:wrap}}.chart-parent .chart-container[data-v-07ea8b82]{flex:1 1 auto;position:relative}.chart-parent[data-v-3abbf084]{align-items:center;display:flex;height:inherit;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-3abbf084]{flex-direction:column}.chart-parent.column .chart-container[data-v-3abbf084]{max-height:calc(100% - 48px);width:100%}.chart-parent.legend-row[data-v-3abbf084]{flex-direction:row}.chart-parent.legend-row .chart-container[data-v-3abbf084]{height:100%;width:90%}@media (max-width: 767px){.chart-parent.legend-row .chart-container[data-v-3abbf084]{max-height:calc(100% - 48px)!important;width:100%!important}}@media (max-width: 767px){.chart-parent.legend-row[data-v-3abbf084]{display:flex;flex-wrap:wrap}}.chart-parent .chart-container[data-v-3abbf084]{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-4027c7fb],.simple-chart-shell[data-v-4027c7fb]{border-radius:4px;display:flex;flex-direction:column}.analytics-chart-shell .chart-empty-state[data-v-4027c7fb],.simple-chart-shell .chart-empty-state[data-v-4027c7fb]{display:flex;flex-direction:column;height:100%;justify-content:center}.analytics-chart-shell[data-v-4027c7fb]{height:100%;width:100%}.analytics-chart-shell .analytics-chart-parent[data-v-4027c7fb]{height:inherit;width:inherit}.analytics-chart-shell .chart-empty-state[data-v-4027c7fb]{padding:20px 0 16px}.analytics-chart-shell .chart-header[data-v-4027c7fb]{align-items:center;display:flex;justify-content:flex-start;padding-bottom:16px}.analytics-chart-shell .chart-header .chart-header-icons-wrapper[data-v-4027c7fb]{display:flex;justify-content:end}.analytics-chart-shell .chart-header .chart-export-button[data-v-4027c7fb]{display:flex;margin-left:auto;margin-right:0}.analytics-chart-shell .chart-title[data-v-4027c7fb]{font-size:16px;font-weight:600}.analytics-chart-shell .tooltip[data-v-4027c7fb]{display:flex;margin-left:12px;margin-top:2px}.chart-parent[data-v-5871cb7a]{align-items:center;display:flex;height:inherit;justify-content:space-evenly;position:relative;width:inherit}.chart-parent.column[data-v-5871cb7a]{flex-direction:column}.chart-parent.column .chart-container[data-v-5871cb7a]{max-height:calc(100% - 48px);width:100%}.chart-parent.legend-row[data-v-5871cb7a]{flex-direction:row}.chart-parent.legend-row .chart-container[data-v-5871cb7a]{height:100%;width:90%}@media (max-width: 767px){.chart-parent.legend-row .chart-container[data-v-5871cb7a]{max-height:calc(100% - 48px)!important;width:100%!important}}@media (max-width: 767px){.chart-parent.legend-row[data-v-5871cb7a]{display:flex;flex-wrap:wrap}}.chart-parent .chart-container[data-v-5871cb7a]{flex:1 1 auto;position:relative}.chart-parent[data-v-5871cb7a]{height:auto;margin:0;padding:0;width:auto}.chart-parent .chart-container[data-v-5871cb7a]{margin:0;max-height:100px;max-width:100px;padding:0}.chart-parent .chart-totals-flex[data-v-5871cb7a]{align-items:center;display:flex;flex-direction:column;height:100px;justify-content:center;padding:24px 0 0;position:absolute;width:100px;z-index:2}.chart-parent .chart-totals-flex .metric-large[data-v-5871cb7a]{font-size:20px;font-weight:500;line-height:28px}.chart-parent .chart-totals-flex .metric-small[data-v-5871cb7a]{color:#6c7489;font-size:10px;font-weight:400;line-height:12px}.analytics-chart-shell[data-v-cb92de46],.simple-chart-shell[data-v-cb92de46]{border-radius:4px;display:flex;flex-direction:column}.analytics-chart-shell .chart-empty-state[data-v-cb92de46],.simple-chart-shell .chart-empty-state[data-v-cb92de46]{display:flex;flex-direction:column;height:100%;justify-content:center}.simple-chart-shell[data-v-cb92de46]{margin:0;padding:0}.simple-chart-shell .chart-empty-state[data-v-cb92de46]{display:flex;flex-direction:column;height:100px;justify-content:center;width:100px}.simple-chart-shell .chart-empty-state[data-v-cb92de46] .empty-state-title{font-size:12px;line-height:16px;margin:0}.kong-ui-public-top-n-table[data-v-80a3b24a]{border:none!important;height:100%;padding:0!important}.kong-ui-public-top-n-table .top-n-card-description[data-v-80a3b24a]{color:#6c7489;font-size:12px;text-align:right}.kong-ui-public-top-n-table[data-v-80a3b24a] .k-card-actions{align-self:baseline;display:flex;line-height:22px}.kong-ui-public-top-n-table[data-v-80a3b24a] .card-content{overflow-y:auto;-ms-overflow-style:thin;scrollbar-color:#e0e4ea transparent;scrollbar-width:auto}.kong-ui-public-top-n-table[data-v-80a3b24a] .card-content ::-webkit-scrollbar{width:8px}.kong-ui-public-top-n-table[data-v-80a3b24a] .card-content ::-webkit-scrollbar-track{background:transparent}.kong-ui-public-top-n-table[data-v-80a3b24a] .card-content ::-webkit-scrollbar-thumb{background-color:#e0e4ea;border-radius:10px}.kong-ui-public-top-n-table .top-n-table[data-v-80a3b24a]{display:flex;flex-direction:column;max-height:100%;width:100%}.kong-ui-public-top-n-table .top-n-table .table-headings[data-v-80a3b24a]{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-80a3b24a]{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-80a3b24a]:last-of-type{border-bottom:none}.kong-ui-public-top-n-table .top-n-table .column-1[data-v-80a3b24a]{padding:0 24px 12px 0}.kong-ui-public-top-n-table .top-n-table .column-2[data-v-80a3b24a]{flex:1;max-width:110px;padding:0 0 12px}.kong-ui-public-top-n-table .top-n-table .table-body[data-v-80a3b24a]{overflow-y:auto}.kong-ui-public-top-n-table .top-n-table .table-body .table-row[data-v-80a3b24a]:first-of-type{border-top:1px solid #e0e4ea}.kong-ui-public-top-n-table .top-n-table .table-body .column-1[data-v-80a3b24a],.kong-ui-public-top-n-table .top-n-table .table-body .column-2[data-v-80a3b24a]{padding-top:12px}.kong-ui-public-top-n-table .top-n-table .table-body .column-1[data-v-80a3b24a]{color:#3a3f51;font-size:14px}.kong-ui-public-top-n-table .top-n-table .table-body .column-1[data-v-80a3b24a] 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}.metricscard-tooltip,.trafficcard.active .metricscard-tooltip{pointer-events:all}.metricscard[data-v-bb9e718a]{display:flex;flex-direction:column;width:100%}@media (max-width: 767px){.metricscard[data-v-bb9e718a]{max-width:none;width:auto}}@media (min-width: 768px){.metricscard[data-v-bb9e718a]{height:100%;justify-content:space-evenly}}.metricscard[data-v-bb9e718a]:hover{border:none;text-decoration:none}.metricscard-title[data-v-bb9e718a]{align-items:center;color:#000933;color:var(--kong-ui-metric-card-title, #000933);display:flex;flex-direction:row;font-size:14px;font-weight:500;line-height:16px;margin:0}.metricscard-title.sm[data-v-bb9e718a]{font-size:12px}.metricscard-title.md[data-v-bb9e718a]{font-size:14px;font-weight:600}.metricscard-title.lg[data-v-bb9e718a],.metricscard-title.xl[data-v-bb9e718a]{font-size:14px}.metricscard-description[data-v-bb9e718a]{color:#afb7c5;color:var(--kong-ui-metric-card-value, #afb7c5);font-size:12px;line-height:16px;margin-top:10px}.metricscard-icon[data-v-bb9e718a]{margin-right:4px}.metricscard-value[data-v-bb9e718a]{color:#000933;color:var(--kong-ui-metric-card-value, #000933);display:flex;flex-direction:row;font-size:24px;font-weight:600;justify-content:space-between;line-height:32px}.metricscard-value.sm[data-v-bb9e718a]{font-size:14px;line-height:24px}.metricscard-value.xl[data-v-bb9e718a]{font-size:48px}.metricscard-valuetrend[data-v-bb9e718a]{display:flex;flex-direction:column;row-gap:12px}.metricscard-valuetrend.is-compact[data-v-bb9e718a]{align-items:center;flex-direction:row!important;justify-content:space-between;margin-top:0}.metricscard-trend[data-v-bb9e718a]{align-items:center;column-gap:8px;display:flex}.metricscard-trend-change[data-v-bb9e718a]{align-items:center;border-radius:4px;display:flex;flex-direction:row;font-size:12px;font-weight:600;padding:4px 8px}.metricscard-trend-change .kui-icon[data-v-bb9e718a]{margin-right:4px}.metricscard-trend-change.positive[data-v-bb9e718a]{background-color:#ecfffb;background-color:var(--kong-ui-metric-card-trend-bg-positive, #ecfffb);color:#007d60;color:var(--kong-ui-metric-card-trend-positive, #007d60)}.metricscard-trend-change.negative[data-v-bb9e718a]{background-color:#ffe5e5;background-color:var(--kong-ui-metric-card-trend-bg-negative, #ffe5e5);color:#ad000e;color:var(--kong-ui-metric-card-trend-negative, #ad000e)}.metricscard-trend-change.neutral[data-v-bb9e718a]{background-color:#e0e4ea;background-color:var(--kong-ui-metric-card-trend-bg-neutral, #e0e4ea);color:#52596e;color:var(--kong-ui-metric-card-trend-neutral, #52596e)}.metricscard-trend-range[data-v-bb9e718a]{color:#000933;font-size:12px}.metricscard-tooltip[data-v-bb9e718a]{display:inline-flex;margin:auto 0 auto 4px;vertical-align:middle}.metricscard-error[data-v-bb9e718a]{align-items:center;color:#3a3f51;display:flex;flex-direction:row;font-size:12px;margin-top:8px}.metricscard-error .kong-icon-warning[data-v-bb9e718a]{margin-right:12px}.metricscard.active .metricscard-tooltip[data-v-bb9e718a]{pointer-events:all}.loading-tabs[data-v-f7eb9c40]{display:flex;flex-direction:column}.loading-tabs-large[data-v-f7eb9c40]{padding:4px;row-gap:12px;width:240px}.loading-tabs-small[data-v-f7eb9c40]{padding:2px;row-gap:8px;width:120px}.loading-tabs-small .box[data-v-f7eb9c40]{height:12px}@media (max-width: 767px){.loading-tabs[data-v-f7eb9c40]{width:auto}}.kong-ui-public-metric-card-container[data-v-0483795d]{background-color:transparent;background-color:var(--kong-ui-metric-card-background, transparent);display:flex;flex-direction:column;justify-content:space-between;width:100%}.kong-ui-public-metric-card-container .container-title[data-v-0483795d]{font-size:16px;font-weight:600;margin-bottom:12px}.kong-ui-public-metric-card-container .cards-wrapper[data-v-0483795d]{display:flex;flex-direction:row;flex-grow:1;column-gap:24px;row-gap:16px}@media (max-width: 767px){.kong-ui-public-metric-card-container .cards-wrapper[data-v-0483795d]{column-gap:16px;row-gap:16px;flex-direction:column}}.kong-ui-public-metric-card-container.sm[data-v-0483795d]{column-gap:0;row-gap:0}.kong-ui-public-metric-card-container .error-display[data-v-0483795d]{align-items:center;display:flex;justify-content:center;margin:auto}.kong-ui-public-metric-card-container .error-display-icon[data-v-0483795d]{display:flex}.kong-ui-public-metric-card-container .error-display-message[data-v-0483795d]{color:#6c7489;font-size:14px;margin-left:12px}.analytics-chart[data-v-f0f6ed41]{height:var(--8c62ff26)}.analytics-chart[data-v-36598a1b]{height:var(--1eed717c)}.analytics-chart[data-v-ceb07ca8]{height:var(--4efa9c90)}@media (min-width: 767px){.metric-card-tile-wrapper[data-v-45b71e5d]{align-items:center;display:flex;height:100%}}.metric-card-tile-wrapper[data-v-45b71e5d] .kong-ui-public-metric-card-container{height:100%}@media (min-width: 767px){.metric-card-tile-wrapper[data-v-45b71e5d] .kong-ui-public-metric-card-container .metricscard:not(:last-of-type){border-right:1px solid #e0e4ea}}.config-card-fieldset[data-v-68ca83ec]{border:solid 1px #e0e4ea;border-radius:4px;margin-bottom:8px;margin-top:4px}.config-card-fieldset-title[data-v-68ca83ec]{font-size:14px;padding:0 8px;width:auto}fieldset.config-card-fieldset .config-card-details-row{width:unset}.config-card-json-item .config-card-details-row,fieldset.config-card-fieldset .config-card-details-row{margin:0 16px}.config-card-json-item .config-card-details-row:last-of-type,fieldset.config-card-fieldset .config-card-details-row:last-of-type{border-bottom:none}[data-v-c96811e5] .k-button.navigation-button{font-size:14px;font-weight:400}.config-card-details-row[data-v-d056663c]{align-items:center;border-bottom:var(--07753575);display:var(--32d44ea8);padding:16px 16px 16px 0;width:100%}.config-card-details-row .config-card-details-label[data-v-d056663c]{width:var(--5036b738)}.config-card-details-row .config-card-details-label label[data-v-d056663c]{color:#3a3f51}.config-card-details-row .config-card-details-value[data-v-d056663c]{width:var(--5038fd13)}.config-card-details-row .config-card-details-value .truncated[data-v-d056663c]{display:inline-block;line-height:initial;max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.config-card-details-row .config-card-details-value span.attrs-data-text[data-v-d056663c]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-d056663c] .k-copy:not(:last-of-type){margin-bottom:8px}.config-card-details-row .config-card-details-value .method-badge-array[data-v-d056663c]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-d056663c]{margin-right:4px}.config-card-details-row[data-v-d056663c] .k-label{margin-bottom:0}.config-card-details-row[data-v-d056663c] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-d056663c] .config-card-details-row{width:auto}.json-config #json-endpoint-codeblock .k-highlighted-code-block code,.json-config #json-codeblock .k-highlighted-code-block code{background-color:#232633}.json-config #json-endpoint-codeblock .k-code-block-secondary-actions,.json-config #json-codeblock .k-code-block-secondary-actions{top:12px!important}.json-content .k-highlighted-code-block{border-top-left-radius:0!important;border-top-right-radius:0!important}.json-endpoint{align-items:baseline;background-color:#232633;border-bottom:1px solid rgba(255,255,255,.24);border-top-left-radius:8px;border-top-right-radius:8px;display:flex;padding-left:12px}.json-endpoint .k-badge{height:24px}.json-endpoint .k-code-block{flex:auto}.json-endpoint code{direction:rtl;max-width:var(--954d3eca);overflow:hidden!important;text-align:left;text-overflow:ellipsis;white-space:nowrap}.yaml-config #yaml-codeblock .k-highlighted-code-block code{background-color:#232633}.yaml-config #yaml-codeblock .k-code-block-secondary-actions{top:12px!important}.config-card-prop-section-title[data-v-147a2f70]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card .config-card-actions[data-v-7c5b607d]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-7c5b607d]{margin-bottom:0;margin-right:8px}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-7c5b607d]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card[data-v-7c5b607d] .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .book-icon[data-v-7c5b607d]{margin-left:8px;padding:0}.kong-ui-entity-base-form[data-v-1d932d98]{box-sizing:border-box;max-width:1536px;width:100%}.kong-ui-entity-base-form .form-actions[data-v-1d932d98]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px}.kong-ui-entity-base-form .form-actions[data-v-1d932d98] .k-button:last-of-type,.kong-ui-entity-base-form .form-actions[data-v-1d932d98] .k-button:nth-last-of-type(2){margin-left:16px}.kong-ui-entity-base-form[data-v-1d932d98] .k-slideout-title{color:#000933!important;font-size:24px!important;font-weight:700!important;line-height:32px!important;margin-bottom:16px!important}.kong-ui-entity-base-form[data-v-1d932d98] .k-card.content-card{padding:0 16px!important}.kong-ui-entity-base-form[data-v-1d932d98] .tab-item>div.tab-link.has-panels{color:#6c7489!important;font-size:14px!important;font-weight:700!important;line-height:24px!important}.kong-ui-entity-base-form[data-v-1d932d98] .tab-item.active>div.tab-link.has-panels{color:#000933!important;font-weight:600!important}.content-wrapper[data-v-c4379fd4] [role=button]{display:inline}.content-wrapper[data-v-c4379fd4] .k-tooltip{word-break:break-all}.kong-ui-entity-base-table .toolbar-container[data-v-99908c24]{align-items:center}.kong-ui-entity-base-table .toolbar-button-container[data-v-99908c24]{margin-left:auto}.kong-ui-entity-base-table .actions-container[data-v-99908c24]{float:right}.kong-ui-entity-base-table .actions-container[data-v-99908c24] .k-dropdown-item-trigger{margin-bottom:0;margin-top:0}.kong-ui-entity-base-table .actions-trigger[data-v-99908c24]{background-color:#0000!important;border:none!important;cursor:pointer!important;font-weight:400!important}.kong-ui-entity-base-table :deep(.k-table){table-layout:fixed}.kong-ui-entity-delete-modal .message[data-v-4361d622],.kong-ui-entity-delete-modal .description[data-v-4361d622]{line-height:24px;margin:0}.kong-ui-entity-delete-modal .message strong[data-v-4361d622]{font-weight:600}.kong-ui-entity-delete-modal .description[data-v-4361d622]{margin-top:32px}.kong-ui-entity-delete-error[data-v-4361d622]{margin-bottom:16px}.kong-ui-entity-filter-input[data-v-8cfadde3]{width:100%}.kong-ui-entity-filter-clear[data-v-8cfadde3]{cursor:pointer}.kong-ui-entity-filter[data-v-8cfadde3]{display:flex;position:relative}.kong-ui-entity-filter[data-v-8cfadde3] .menu-content{flex-direction:column}.kong-ui-entity-filter[data-v-8cfadde3] .k-menu-item-divider hr{margin:12px 0}.kong-ui-entity-filter-backdrop[data-v-8cfadde3]{bottom:0;left:0;position:fixed;right:0;top:0;z-index:1050}.kong-ui-entity-filter-menu[data-v-8cfadde3]{background-color:#fff;border:1px solid #afb7c5;border-radius:4px;box-shadow:0 4px 20px #e0e4ea;left:0;margin-top:16px;padding:8px 0 12px;position:absolute;top:100%;width:300px;z-index:1060}.kong-ui-entity-filter-menu-item[data-v-8cfadde3]{border-bottom:1px solid #e0e4ea;color:#6c7489;font-size:12px;font-weight:400;line-height:16px;list-style:none;margin:0 20px;padding:16px 0;position:relative;white-space:nowrap}.menu-item-title[data-v-8cfadde3]{align-items:center;cursor:pointer;display:flex;line-height:24px}.menu-item-title.expanded[data-v-8cfadde3]{color:#232633}.menu-item-expand-icon[data-v-8cfadde3]{margin-left:auto}.menu-item-expand-icon.expanded[data-v-8cfadde3]{transform:rotate(180deg)}.menu-item-indicator[data-v-8cfadde3]{background-color:#0044f4;border-radius:50%;height:4px;margin-left:4px;width:4px}.menu-item-body[data-v-8cfadde3]{align-items:center;display:flex;justify-content:space-between;margin-top:16px}.menu-item-body[data-v-8cfadde3] .k-input{padding-bottom:4px!important;padding-top:4px!important}.menu-item-body[data-v-8cfadde3] .k-input-wrapper{width:100%}.menu-item-body[data-v-8cfadde3] .k-select-input .k-input{font-size:12px}.menu-item-body[data-v-8cfadde3] .k-select-input .k-input::placeholder{color:#00000073!important;font-size:12px}.menu-item-label[data-v-8cfadde3]{margin-bottom:0;margin-right:12px}.menu-item-buttons[data-v-8cfadde3]{display:flex;justify-content:space-between;margin:10px 0 6px}.filter-clear-button-container[data-v-8cfadde3]{padding:12px 20px 0}fieldset[data-v-4bb31634]{margin:0;padding:0}.kong-ui-entity-form-section[data-v-4bb31634]{border:0}.kong-ui-entity-form-section .form-section-wrapper[data-v-4bb31634]{column-gap:16px;display:flex;flex-direction:column;padding-bottom:64px;row-gap:12px;width:100%}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper[data-v-4bb31634]{flex-direction:row}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-4bb31634]{flex:1}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-4bb31634]{max-width:350px}.kong-ui-entity-form-section .form-section-wrapper .form-section-info.sticky[data-v-4bb31634]{height:fit-content;margin-bottom:16px;position:sticky;top:16px}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-title[data-v-4bb31634]{color:#000933;font-size:16px;font-weight:700;line-height:20px;margin-bottom:8px;margin-top:0}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-4bb31634],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description p[data-v-4bb31634],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-4bb31634] p{color:#000933;font-size:14px;font-weight:400;line-height:20px;margin:0}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-footer[data-v-4bb31634]{margin-top:32px}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-4bb31634]{flex:1}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-4bb31634]>*:not(:first-child){margin-top:24px}.kong-ui-entity-form-section.has-divider .form-section-wrapper[data-v-4bb31634]{border-bottom:1px solid #e0e4ea}.kong-ui-public-entity-link[data-v-ff8e5179]{align-items:center;display:flex}.kong-ui-public-entity-link .deleted-entity[data-v-ff8e5179]{font-style:italic}.kong-ui-public-entity-link .entity-link[data-v-ff8e5179]{display:flex}.kong-ui-public-entity-link .entity-link[data-v-ff8e5179] .external-link-icon{color:#0044f4;margin-left:4px;padding:2px}.kong-ui-public-entity-link .entity-link-label[data-v-ff8e5179]{display:inline-block;font-weight:400;max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kong-ui-public-entity-link .copy-uuid-tooltip[data-v-ff8e5179]{align-items:center;cursor:pointer;display:flex}.kong-ui-public-entity-link .copy-uuid-tooltip .entity-link-copy-id[data-v-ff8e5179]{margin-left:2px}.tile-boundary[data-v-3d6e352f]{height:var(--a16bb866)}.kong-ui-public-grid-layout[data-v-04f865ab]{display:grid;gap:20px;grid-template-columns:repeat(var(--13009fee),1fr);grid-template-rows:var(--c934c2be);width:100%}@media (max-width: 768px){.kong-ui-public-grid-layout[data-v-04f865ab]{display:flex;flex-direction:column}.kong-ui-public-grid-layout .grid-cell[data-v-04f865ab]{height:auto!important;left:auto!important;position:relative;top:auto!important;transform:none!important;width:auto!important}.kong-ui-public-grid-layout .grid-cell[data-v-04f865ab]:not(:first-child){margin-top:20px}.kong-ui-public-grid-layout .empty-cell[data-v-04f865ab]{display:none}}.kong-ui-public-dashboard-renderer .tile-container[data-v-1af70010]{border:1px solid #e0e4ea;border-radius:4px;height:100%;padding:20px}
|
|
@@ -61,6 +61,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
61
61
|
} | {
|
|
62
62
|
[x: string]: unknown;
|
|
63
63
|
description?: string | undefined;
|
|
64
|
+
chartTitle?: string | undefined;
|
|
64
65
|
longCardTitles?: boolean | undefined;
|
|
65
66
|
type: ChartTypes.GoldenSignals;
|
|
66
67
|
} | {
|
|
@@ -152,6 +153,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
152
153
|
} | {
|
|
153
154
|
[x: string]: unknown;
|
|
154
155
|
description?: string | undefined;
|
|
156
|
+
chartTitle?: string | undefined;
|
|
155
157
|
longCardTitles?: boolean | undefined;
|
|
156
158
|
type: ChartTypes.GoldenSignals;
|
|
157
159
|
} | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DashboardRenderer.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,KAAK,EAAyC,wBAAwB,EAAkB,MAAM,UAAU,CAAA
|
|
1
|
+
{"version":3,"file":"DashboardRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DashboardRenderer.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,KAAK,EAAyC,wBAAwB,EAAkB,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkN/G,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -2,11 +2,13 @@ import type { RendererProps } from '../types';
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<RendererProps<{
|
|
3
3
|
[x: string]: unknown;
|
|
4
4
|
description?: string | undefined;
|
|
5
|
+
chartTitle?: string | undefined;
|
|
5
6
|
longCardTitles?: boolean | undefined;
|
|
6
7
|
type: import("../types").ChartTypes.GoldenSignals;
|
|
7
8
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<RendererProps<{
|
|
8
9
|
[x: string]: unknown;
|
|
9
10
|
description?: string | undefined;
|
|
11
|
+
chartTitle?: string | undefined;
|
|
10
12
|
longCardTitles?: boolean | undefined;
|
|
11
13
|
type: import("../types").ChartTypes.GoldenSignals;
|
|
12
14
|
}>>>>, {}, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoldenSignalsRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/GoldenSignalsRenderer.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAqB,aAAa,EAAE,MAAM,UAAU,CAAA
|
|
1
|
+
{"version":3,"file":"GoldenSignalsRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/GoldenSignalsRenderer.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAqB,aAAa,EAAE,MAAM,UAAU,CAAA;;;;;;;;;;;;;;AAmIhE,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -152,6 +152,9 @@ export type TopNTableOptions = FromSchema<typeof topNTableSchema>;
|
|
|
152
152
|
export declare const metricCardSchema: {
|
|
153
153
|
readonly type: "object";
|
|
154
154
|
readonly properties: {
|
|
155
|
+
readonly chartTitle: {
|
|
156
|
+
readonly type: "string";
|
|
157
|
+
};
|
|
155
158
|
readonly type: {
|
|
156
159
|
readonly type: "string";
|
|
157
160
|
readonly enum: readonly [ChartTypes.GoldenSignals];
|
|
@@ -467,6 +470,9 @@ export declare const tileDefinitionSchema: {
|
|
|
467
470
|
}, {
|
|
468
471
|
readonly type: "object";
|
|
469
472
|
readonly properties: {
|
|
473
|
+
readonly chartTitle: {
|
|
474
|
+
readonly type: "string";
|
|
475
|
+
};
|
|
470
476
|
readonly type: {
|
|
471
477
|
readonly type: "string";
|
|
472
478
|
readonly enum: readonly [ChartTypes.GoldenSignals];
|
|
@@ -761,6 +767,9 @@ export declare const tileConfigSchema: {
|
|
|
761
767
|
}, {
|
|
762
768
|
readonly type: "object";
|
|
763
769
|
readonly properties: {
|
|
770
|
+
readonly chartTitle: {
|
|
771
|
+
readonly type: "string";
|
|
772
|
+
};
|
|
764
773
|
readonly type: {
|
|
765
774
|
readonly type: "string";
|
|
766
775
|
readonly enum: readonly [ChartTypes.GoldenSignals];
|
|
@@ -1063,6 +1072,9 @@ export declare const dashboardConfigSchema: {
|
|
|
1063
1072
|
}, {
|
|
1064
1073
|
readonly type: "object";
|
|
1065
1074
|
readonly properties: {
|
|
1075
|
+
readonly chartTitle: {
|
|
1076
|
+
readonly type: "string";
|
|
1077
|
+
};
|
|
1066
1078
|
readonly type: {
|
|
1067
1079
|
readonly type: "string";
|
|
1068
1080
|
readonly enum: readonly [ChartTypes.GoldenSignals];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-renderer-types.d.ts","sourceRoot":"","sources":["../../../src/types/dashboard-renderer-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAc,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AAEpE,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAA;AAEnG,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,aAAa,EAAE,CAAA;IACxB,QAAQ,EAAE,WAAW,CAAA;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,oBAAY,UAAU;IACpB,aAAa,mBAAmB;IAChC,WAAW,iBAAiB;IAC5B,KAAK,UAAU;IACf,cAAc,oBAAoB;IAClC,aAAa,mBAAmB;IAChC,IAAI,UAAU;IACd,SAAS,cAAc;CACxB;AAyBD,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAaG,CAAA;AAE/B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAA;AAEjE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBI,CAAA;AAE/B,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;AAE/D,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBH,CAAA;AAE/B,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAE7E,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBE,CAAA;AAE/B,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEnE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;CAkBG,CAAA;AAE/B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAA;AAEjE,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"dashboard-renderer-types.d.ts","sourceRoot":"","sources":["../../../src/types/dashboard-renderer-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAc,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AAEpE,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAA;AAEnG,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,aAAa,EAAE,CAAA;IACxB,QAAQ,EAAE,WAAW,CAAA;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,oBAAY,UAAU;IACpB,aAAa,mBAAmB;IAChC,WAAW,iBAAiB;IAC5B,KAAK,UAAU;IACf,cAAc,oBAAoB;IAClC,aAAa,mBAAmB;IAChC,IAAI,UAAU;IACd,SAAS,cAAc;CACxB;AAyBD,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAaG,CAAA;AAE/B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAA;AAEjE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBI,CAAA;AAE/B,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;AAE/D,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBH,CAAA;AAE/B,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAE7E,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBE,CAAA;AAE/B,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEnE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;CAkBG,CAAA;AAE/B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAA;AAEjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;CAgBE,CAAA;AAE/B,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAA;AA4GnE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmFF,CAAA;AAE/B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUF,CAAA;AAE/B,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEpE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCE,CAAA;AAE/B,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAE5D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQE,CAAA;AAE/B,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAE5D,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BH,CAAA;AAE/B,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEtE,MAAM,WAAW,aAAa,CAAC,CAAC;IAC9B,KAAK,EAAE,YAAY,CAAA;IACnB,OAAO,EAAE,wBAAwB,CAAA;IACjC,UAAU,EAAE,OAAO,CAAA;IACnB,YAAY,EAAE,CAAC,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;CACf"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kong-ui-public/dashboard-renderer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/dashboard-renderer.umd.js",
|
|
6
6
|
"module": "./dist/dashboard-renderer.es.js",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"swrv": "^1.0.4",
|
|
29
29
|
"vue": "^3.4.21",
|
|
30
30
|
"@kong-ui-public/analytics-chart": "^3.0.3",
|
|
31
|
-
"@kong-ui-public/
|
|
31
|
+
"@kong-ui-public/i18n": "^2.1.4",
|
|
32
32
|
"@kong-ui-public/analytics-utilities": "^2.0.2",
|
|
33
|
-
"@kong-ui-public/
|
|
34
|
-
"@kong-ui-public/
|
|
33
|
+
"@kong-ui-public/analytics-metric-provider": "^5.1.0",
|
|
34
|
+
"@kong-ui-public/sandbox-layout": "^2.0.47"
|
|
35
35
|
},
|
|
36
36
|
"repository": {
|
|
37
37
|
"type": "git",
|
|
@@ -55,14 +55,14 @@
|
|
|
55
55
|
"swrv": "^1.0.4",
|
|
56
56
|
"vue": ">= 3.3.13 < 4",
|
|
57
57
|
"@kong-ui-public/analytics-chart": "^3.0.3",
|
|
58
|
-
"@kong-ui-public/analytics-metric-provider": "^5.0
|
|
58
|
+
"@kong-ui-public/analytics-metric-provider": "^5.1.0",
|
|
59
59
|
"@kong-ui-public/analytics-utilities": "^2.0.2",
|
|
60
60
|
"@kong-ui-public/i18n": "^2.1.4"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"ajv": "^8.12.0",
|
|
64
|
-
"@kong-ui-public/
|
|
65
|
-
"@kong-ui-public/
|
|
64
|
+
"@kong-ui-public/entities-shared": "^2.12.8",
|
|
65
|
+
"@kong-ui-public/core": "^1.5.8"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|
|
68
68
|
"dev": "cross-env USE_SANDBOX=true vite",
|