@kong-ui-public/analytics-chart 10.8.1-pr.2619.2f99c8509.0 → 10.8.1-pr.2619.f5f10d099.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/vitals-chart.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var dm = Object.defineProperty;
|
|
2
2
|
var hm = (n, t, e) => t in n ? dm(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
|
|
3
3
|
var O = (n, t, e) => hm(n, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
-
import { computed as N, getCurrentInstance as tc, onUnmounted as
|
|
4
|
+
import { computed as N, getCurrentInstance as tc, onUnmounted as ei, shallowRef as Ge, onMounted as ni, onBeforeUnmount as Eh, watch as ce, inject as Qs, nextTick as Ah, isRef as fm, toRefs as gm, customRef as mm, toValue as Gt, getCurrentScope as pm, onScopeDispose as ym, ref as Lt, unref as X, watchEffect as $c, defineComponent as de, createElementBlock as pt, openBlock as K, createElementVNode as ut, toDisplayString as dt, createVNode as Kt, Fragment as Js, renderList as Ra, normalizeClass as Kn, createCommentVNode as Zt, normalizeStyle as vi, createBlock as Nt, resolveComponent as Re, createSlots as Rh, withCtx as Ht, useTemplateRef as Xi, reactive as tr, toRef as It, Teleport as Ih, h as bl, toRaw as _l, version as bm, isProxy as Lh, provide as Uc, createTextVNode as Be, renderSlot as er, withKeys as _m } from "vue";
|
|
5
5
|
import { createI18n as xm, i18nTComponent as vm } from "@kong-ui-public/i18n";
|
|
6
6
|
import { CloseIcon as wm, DragIcon as Mm, WarningIcon as Sm, InfoIcon as Tm } from "@kong/icons";
|
|
7
7
|
const Dm = "No data in the current time frame", km = "Once there is traffic, it will display here", Cm = "Not all data is shown in the below report. Reports are currently limited to a maximum of {maxReturned} entities.", Om = "no-name", Pm = "debug", Em = "Total", Am = "Open in explorer", Rm = "More actions", Im = "Requests that do not have a value for the selected group", Lm = {
|
|
@@ -858,7 +858,7 @@ function Mp(n) {
|
|
|
858
858
|
return e;
|
|
859
859
|
};
|
|
860
860
|
}
|
|
861
|
-
function
|
|
861
|
+
function Zn(n, t) {
|
|
862
862
|
return (Kc[t] || (Kc[t] = Mp(t)))(n);
|
|
863
863
|
}
|
|
864
864
|
function sc(n) {
|
|
@@ -895,7 +895,7 @@ function Dp(n) {
|
|
|
895
895
|
function kp(n) {
|
|
896
896
|
return typeof n == "symbol" || typeof n == "object" && n !== null && !(Symbol.toPrimitive in n || "toString" in n || "valueOf" in n);
|
|
897
897
|
}
|
|
898
|
-
function
|
|
898
|
+
function Qn(n) {
|
|
899
899
|
return !kp(n) && !isNaN(parseFloat(n)) && isFinite(n);
|
|
900
900
|
}
|
|
901
901
|
function Cp(n, t) {
|
|
@@ -1457,7 +1457,7 @@ function Up(n, t, e, i) {
|
|
|
1457
1457
|
}
|
|
1458
1458
|
return a;
|
|
1459
1459
|
}
|
|
1460
|
-
function
|
|
1460
|
+
function hi(n, t, e) {
|
|
1461
1461
|
const i = n.currentDevicePixelRatio, s = e !== 0 ? Math.max(e / 2, 0.5) : 0;
|
|
1462
1462
|
return Math.round((t - s) * i) / i + s;
|
|
1463
1463
|
}
|
|
@@ -1635,7 +1635,7 @@ function ey(n, t, e) {
|
|
|
1635
1635
|
max: a(s, r)
|
|
1636
1636
|
};
|
|
1637
1637
|
}
|
|
1638
|
-
function
|
|
1638
|
+
function ii(n, t) {
|
|
1639
1639
|
return Object.assign(Object.create(n), t);
|
|
1640
1640
|
}
|
|
1641
1641
|
function uc(n, t = [
|
|
@@ -1812,7 +1812,7 @@ function ry(n, t, e, i) {
|
|
|
1812
1812
|
function Jh(n, t, e) {
|
|
1813
1813
|
return Ne(n) ? n(t, e) : n;
|
|
1814
1814
|
}
|
|
1815
|
-
const ay = (n, t) => n === !0 ? t : typeof n == "string" ?
|
|
1815
|
+
const ay = (n, t) => n === !0 ? t : typeof n == "string" ? Zn(t, n) : void 0;
|
|
1816
1816
|
function oy(n, t, e, i, s) {
|
|
1817
1817
|
for (const r of t) {
|
|
1818
1818
|
const a = ay(e, r);
|
|
@@ -1879,7 +1879,7 @@ function ef(n, t, e, i) {
|
|
|
1879
1879
|
let o, l, c, u;
|
|
1880
1880
|
for (o = 0, l = i; o < l; ++o)
|
|
1881
1881
|
c = o + e, u = t[c], a[o] = {
|
|
1882
|
-
r: s.parse(
|
|
1882
|
+
r: s.parse(Zn(u, r), c)
|
|
1883
1883
|
};
|
|
1884
1884
|
return a;
|
|
1885
1885
|
}
|
|
@@ -1975,7 +1975,7 @@ const _y = [
|
|
|
1975
1975
|
"bottom",
|
|
1976
1976
|
"left"
|
|
1977
1977
|
];
|
|
1978
|
-
function
|
|
1978
|
+
function xi(n, t, e) {
|
|
1979
1979
|
const i = {};
|
|
1980
1980
|
e = e ? "-" + e : "";
|
|
1981
1981
|
for (let s = 0; s < 4; s++) {
|
|
@@ -2003,7 +2003,7 @@ function vy(n, t) {
|
|
|
2003
2003
|
function Yn(n, t) {
|
|
2004
2004
|
if ("native" in n)
|
|
2005
2005
|
return n;
|
|
2006
|
-
const { canvas: e, currentDevicePixelRatio: i } = t, s = Na(e), r = s.boxSizing === "border-box", a =
|
|
2006
|
+
const { canvas: e, currentDevicePixelRatio: i } = t, s = Na(e), r = s.boxSizing === "border-box", a = xi(s, "padding"), o = xi(s, "border", "width"), { x: l, y: c, box: u } = vy(n, e), d = a.left + (u && o.left), h = a.top + (u && o.top);
|
|
2007
2007
|
let { width: f, height: g } = t;
|
|
2008
2008
|
return r && (f -= a.width + o.width, g -= a.height + o.height), {
|
|
2009
2009
|
x: Math.round((l - d) / f * e.width / i),
|
|
@@ -2017,7 +2017,7 @@ function wy(n, t, e) {
|
|
|
2017
2017
|
if (!r)
|
|
2018
2018
|
t = n.clientWidth, e = n.clientHeight;
|
|
2019
2019
|
else {
|
|
2020
|
-
const a = r.getBoundingClientRect(), o = Na(r), l =
|
|
2020
|
+
const a = r.getBoundingClientRect(), o = Na(r), l = xi(o, "border", "width"), c = xi(o, "padding");
|
|
2021
2021
|
t = a.width - c.width - l.width, e = a.height - c.height - l.height, i = ba(o.maxWidth, r, "clientWidth"), s = ba(o.maxHeight, r, "clientHeight");
|
|
2022
2022
|
}
|
|
2023
2023
|
}
|
|
@@ -2030,10 +2030,10 @@ function wy(n, t, e) {
|
|
|
2030
2030
|
}
|
|
2031
2031
|
const Ur = (n) => Math.round(n * 10) / 10;
|
|
2032
2032
|
function My(n, t, e, i) {
|
|
2033
|
-
const s = Na(n), r =
|
|
2033
|
+
const s = Na(n), r = xi(s, "margin"), a = ba(s.maxWidth, n, "clientWidth") || ga, o = ba(s.maxHeight, n, "clientHeight") || ga, l = wy(n, t, e);
|
|
2034
2034
|
let { width: c, height: u } = l;
|
|
2035
2035
|
if (s.boxSizing === "content-box") {
|
|
2036
|
-
const h =
|
|
2036
|
+
const h = xi(s, "border", "width"), f = xi(s, "padding");
|
|
2037
2037
|
c -= f.width + h.width, u -= f.height + h.height;
|
|
2038
2038
|
}
|
|
2039
2039
|
return c = Math.max(0, c - r.width), u = Math.max(0, i ? c / i : u - r.height), c = Ur(Math.min(c, a, l.maxWidth)), u = Ur(Math.min(u, o, l.maxHeight)), c && !u && (u = Ur(c / 2)), (t !== void 0 || e !== void 0) && i && l.height && u > l.height && (u = l.height, c = Ur(Math.floor(u * i))), {
|
|
@@ -2064,7 +2064,7 @@ function cu(n, t) {
|
|
|
2064
2064
|
const e = by(n, t), i = e && e.match(/^(\d+)(\.\d+)?px$/);
|
|
2065
2065
|
return i ? +i[1] : void 0;
|
|
2066
2066
|
}
|
|
2067
|
-
function
|
|
2067
|
+
function pi(n, t, e, i) {
|
|
2068
2068
|
return {
|
|
2069
2069
|
x: n.x + e * (t.x - n.x),
|
|
2070
2070
|
y: n.y + e * (t.y - n.y)
|
|
@@ -2083,8 +2083,8 @@ function Dy(n, t, e, i) {
|
|
|
2083
2083
|
}, r = {
|
|
2084
2084
|
x: t.cp1x,
|
|
2085
2085
|
y: t.cp1y
|
|
2086
|
-
}, a =
|
|
2087
|
-
return
|
|
2086
|
+
}, a = pi(n, s, e), o = pi(s, r, e), l = pi(r, t, e), c = pi(a, o, e), u = pi(o, l, e);
|
|
2087
|
+
return pi(c, u, e);
|
|
2088
2088
|
}
|
|
2089
2089
|
const ky = function(n, t) {
|
|
2090
2090
|
return {
|
|
@@ -2274,7 +2274,7 @@ function Ry(n, t, e, i) {
|
|
|
2274
2274
|
let m = e[d % l], _;
|
|
2275
2275
|
for (h = d + 1; h <= g.end; h++) {
|
|
2276
2276
|
const v = e[h % l];
|
|
2277
|
-
_ = hu(i.setContext(
|
|
2277
|
+
_ = hu(i.setContext(ii(s, {
|
|
2278
2278
|
type: "segment",
|
|
2279
2279
|
p0: m,
|
|
2280
2280
|
p1: v,
|
|
@@ -2684,7 +2684,7 @@ function Fo(n, t) {
|
|
|
2684
2684
|
return Object.keys(e).filter((i) => e[i].axis === t).shift();
|
|
2685
2685
|
}
|
|
2686
2686
|
function qy(n, t) {
|
|
2687
|
-
return
|
|
2687
|
+
return ii(n, {
|
|
2688
2688
|
active: !1,
|
|
2689
2689
|
dataset: void 0,
|
|
2690
2690
|
datasetIndex: t,
|
|
@@ -2694,7 +2694,7 @@ function qy(n, t) {
|
|
|
2694
2694
|
});
|
|
2695
2695
|
}
|
|
2696
2696
|
function Xy(n, t, e) {
|
|
2697
|
-
return
|
|
2697
|
+
return ii(n, {
|
|
2698
2698
|
active: !1,
|
|
2699
2699
|
dataIndex: t,
|
|
2700
2700
|
parsed: void 0,
|
|
@@ -2824,8 +2824,8 @@ class nn {
|
|
|
2824
2824
|
let u, d, h, f;
|
|
2825
2825
|
for (u = 0, d = s; u < d; ++u)
|
|
2826
2826
|
h = u + i, f = e[h], c[u] = {
|
|
2827
|
-
x: r.parse(
|
|
2828
|
-
y: a.parse(
|
|
2827
|
+
x: r.parse(Zn(f, o), h),
|
|
2828
|
+
y: a.parse(Zn(f, l), h)
|
|
2829
2829
|
};
|
|
2830
2830
|
return c;
|
|
2831
2831
|
}
|
|
@@ -3201,7 +3201,7 @@ class $s extends nn {
|
|
|
3201
3201
|
const { iScale: r, vScale: a } = t, { xAxisKey: o = "x", yAxisKey: l = "y" } = this._parsing, c = r.axis === "x" ? o : l, u = a.axis === "x" ? o : l, d = [];
|
|
3202
3202
|
let h, f, g, m;
|
|
3203
3203
|
for (h = i, f = i + s; h < f; ++h)
|
|
3204
|
-
m = e[h], g = {}, g[r.axis] = r.parse(
|
|
3204
|
+
m = e[h], g = {}, g[r.axis] = r.parse(Zn(m, c), h), d.push(df(Zn(m, u), g, a, h));
|
|
3205
3205
|
return d;
|
|
3206
3206
|
}
|
|
3207
3207
|
updateRangeFromParsed(t, e, i, s) {
|
|
@@ -3486,7 +3486,7 @@ class Cn extends nn {
|
|
|
3486
3486
|
let r = (l) => +i[l];
|
|
3487
3487
|
if (yt(i[t])) {
|
|
3488
3488
|
const { key: l = "value" } = this._parsing;
|
|
3489
|
-
r = (c) => +
|
|
3489
|
+
r = (c) => +Zn(i[c], l);
|
|
3490
3490
|
}
|
|
3491
3491
|
let a, o;
|
|
3492
3492
|
for (a = t, o = t + e; a < o; ++a)
|
|
@@ -3675,7 +3675,7 @@ class Us extends nn {
|
|
|
3675
3675
|
}, t), this.updateElements(s, o, l, t);
|
|
3676
3676
|
}
|
|
3677
3677
|
updateElements(t, e, i, s) {
|
|
3678
|
-
const r = s === "reset", { iScale: a, vScale: o, _stacked: l, _dataset: c } = this._cachedMeta, { sharedOptions: u, includeOptions: d } = this._getSharedOptions(e, s), h = a.axis, f = o.axis, { spanGaps: g, segment: m } = this.options, _ =
|
|
3678
|
+
const r = s === "reset", { iScale: a, vScale: o, _stacked: l, _dataset: c } = this._cachedMeta, { sharedOptions: u, includeOptions: d } = this._getSharedOptions(e, s), h = a.axis, f = o.axis, { spanGaps: g, segment: m } = this.options, _ = Qn(g) ? g : Number.POSITIVE_INFINITY, v = this.chart._animationsDisabled || r || s === "none", w = e + i, S = t.length;
|
|
3679
3679
|
let D = e > 0 && this.getParsed(e - 1);
|
|
3680
3680
|
for (let P = 0; P < S; ++P) {
|
|
3681
3681
|
const I = t[P], k = v ? I : {};
|
|
@@ -3941,7 +3941,7 @@ class sa extends nn {
|
|
|
3941
3941
|
!this.datasetElementType && t && (this.datasetElementType = this.chart.registry.getElement("line")), super.addElements();
|
|
3942
3942
|
}
|
|
3943
3943
|
updateElements(t, e, i, s) {
|
|
3944
|
-
const r = s === "reset", { iScale: a, vScale: o, _stacked: l, _dataset: c } = this._cachedMeta, u = this.resolveDataElementOptions(e, s), d = this.getSharedOptions(u), h = this.includeOptions(s, d), f = a.axis, g = o.axis, { spanGaps: m, segment: _ } = this.options, v =
|
|
3944
|
+
const r = s === "reset", { iScale: a, vScale: o, _stacked: l, _dataset: c } = this._cachedMeta, u = this.resolveDataElementOptions(e, s), d = this.getSharedOptions(u), h = this.includeOptions(s, d), f = a.axis, g = o.axis, { spanGaps: m, segment: _ } = this.options, v = Qn(m) ? m : Number.POSITIVE_INFINITY, w = this.chart._animationsDisabled || r || s === "none";
|
|
3945
3945
|
let S = e > 0 && this.getParsed(e - 1);
|
|
3946
3946
|
for (let D = e; D < e + i; ++D) {
|
|
3947
3947
|
const P = t[D], I = this.getParsed(D), k = w ? P : {}, y = ot(I[g]), b = k[f] = a.getPixelForValue(I[f], D), M = k[g] = r || y ? o.getBasePixel() : o.getPixelForValue(l ? this.applyStack(o, I, l) : I[g], D);
|
|
@@ -3993,7 +3993,7 @@ var ob = /* @__PURE__ */ Object.freeze({
|
|
|
3993
3993
|
RadarController: ia,
|
|
3994
3994
|
ScatterController: sa
|
|
3995
3995
|
});
|
|
3996
|
-
function
|
|
3996
|
+
function fi() {
|
|
3997
3997
|
throw new Error("This method is not implemented: Check that a complete date adapter is provided.");
|
|
3998
3998
|
}
|
|
3999
3999
|
class pc {
|
|
@@ -4018,25 +4018,25 @@ class pc {
|
|
|
4018
4018
|
init() {
|
|
4019
4019
|
}
|
|
4020
4020
|
formats() {
|
|
4021
|
-
return
|
|
4021
|
+
return fi();
|
|
4022
4022
|
}
|
|
4023
4023
|
parse() {
|
|
4024
|
-
return
|
|
4024
|
+
return fi();
|
|
4025
4025
|
}
|
|
4026
4026
|
format() {
|
|
4027
|
-
return
|
|
4027
|
+
return fi();
|
|
4028
4028
|
}
|
|
4029
4029
|
add() {
|
|
4030
|
-
return
|
|
4030
|
+
return fi();
|
|
4031
4031
|
}
|
|
4032
4032
|
diff() {
|
|
4033
|
-
return
|
|
4033
|
+
return fi();
|
|
4034
4034
|
}
|
|
4035
4035
|
startOf() {
|
|
4036
|
-
return
|
|
4036
|
+
return fi();
|
|
4037
4037
|
}
|
|
4038
4038
|
endOf() {
|
|
4039
|
-
return
|
|
4039
|
+
return fi();
|
|
4040
4040
|
}
|
|
4041
4041
|
}
|
|
4042
4042
|
var hf = {
|
|
@@ -4650,7 +4650,7 @@ class ue {
|
|
|
4650
4650
|
};
|
|
4651
4651
|
}
|
|
4652
4652
|
hasValue() {
|
|
4653
|
-
return
|
|
4653
|
+
return Qn(this.x) && Qn(this.y);
|
|
4654
4654
|
}
|
|
4655
4655
|
getProps(t, e) {
|
|
4656
4656
|
const i = this.$animations;
|
|
@@ -4758,13 +4758,13 @@ function Eu(n, t) {
|
|
|
4758
4758
|
return (kt(n.text) ? n.text.length : 1) * e.lineHeight + i.height;
|
|
4759
4759
|
}
|
|
4760
4760
|
function Yb(n, t) {
|
|
4761
|
-
return
|
|
4761
|
+
return ii(n, {
|
|
4762
4762
|
scale: t,
|
|
4763
4763
|
type: "scale"
|
|
4764
4764
|
});
|
|
4765
4765
|
}
|
|
4766
4766
|
function jb(n, t, e) {
|
|
4767
|
-
return
|
|
4767
|
+
return ii(n, {
|
|
4768
4768
|
tick: e,
|
|
4769
4769
|
index: t,
|
|
4770
4770
|
type: "tick"
|
|
@@ -5071,7 +5071,7 @@ class Ti extends ue {
|
|
|
5071
5071
|
getPixelForDecimal(t) {
|
|
5072
5072
|
this._reversePixels && (t = 1 - t);
|
|
5073
5073
|
const e = this._startPixel + t * this._length;
|
|
5074
|
-
return Pp(this._alignToPixels ?
|
|
5074
|
+
return Pp(this._alignToPixels ? hi(this.chart, e, 0) : e);
|
|
5075
5075
|
}
|
|
5076
5076
|
getDecimalForPixel(t) {
|
|
5077
5077
|
const e = (t - this._startPixel) / this._length;
|
|
@@ -5102,7 +5102,7 @@ class Ti extends ue {
|
|
|
5102
5102
|
}
|
|
5103
5103
|
_computeGridLineItems(t) {
|
|
5104
5104
|
const e = this.axis, i = this.chart, s = this.options, { grid: r, position: a, border: o } = s, l = r.offset, c = this.isHorizontal(), d = this.ticks.length + (l ? 1 : 0), h = ws(r), f = [], g = o.setContext(this.getContext()), m = g.display ? g.width : 0, _ = m / 2, v = function(et) {
|
|
5105
|
-
return
|
|
5105
|
+
return hi(i, et, m);
|
|
5106
5106
|
};
|
|
5107
5107
|
let w, S, D, P, I, k, y, b, M, C, E, R;
|
|
5108
5108
|
if (a === "top")
|
|
@@ -5133,7 +5133,7 @@ class Ti extends ue {
|
|
|
5133
5133
|
const z = at(s.ticks.maxTicksLimit, d), V = Math.max(1, Math.ceil(d / z));
|
|
5134
5134
|
for (S = 0; S < d; S += V) {
|
|
5135
5135
|
const et = this.getContext(S), $ = r.setContext(et), ct = o.setContext(et), q = $.lineWidth, Q = $.color, H = ct.dash || [], U = ct.dashOffset, Y = $.tickWidth, vt = $.tickColor, Mt = $.tickBorderDash || [], j = $.tickBorderDashOffset;
|
|
5136
|
-
D = Bb(this, S, l), D !== void 0 && (P =
|
|
5136
|
+
D = Bb(this, S, l), D !== void 0 && (P = hi(i, D, q), c ? I = y = M = E = P : k = b = C = R = P, f.push({
|
|
5137
5137
|
tx1: I,
|
|
5138
5138
|
ty1: k,
|
|
5139
5139
|
tx2: y,
|
|
@@ -5325,7 +5325,7 @@ class Ti extends ue {
|
|
|
5325
5325
|
return;
|
|
5326
5326
|
const o = s.setContext(this.getContext(0)).lineWidth, l = this._borderValue;
|
|
5327
5327
|
let c, u, d, h;
|
|
5328
|
-
this.isHorizontal() ? (c =
|
|
5328
|
+
this.isHorizontal() ? (c = hi(t, this.left, a) - a / 2, u = hi(t, this.right, o) + o / 2, d = h = l) : (d = hi(t, this.top, a) - a / 2, h = hi(t, this.bottom, o) + o / 2, c = u = l), e.save(), e.lineWidth = r.width, e.strokeStyle = r.color, e.beginPath(), e.moveTo(c, d), e.lineTo(u, h), e.stroke(), e.restore();
|
|
5329
5329
|
}
|
|
5330
5330
|
drawLabels(t) {
|
|
5331
5331
|
if (!this.options.ticks.display)
|
|
@@ -5715,7 +5715,7 @@ function Kr(n, t) {
|
|
|
5715
5715
|
return e || (e = t(), Iu.set(n, e), xf.add(e)), e;
|
|
5716
5716
|
}
|
|
5717
5717
|
const Ms = (n, t, e) => {
|
|
5718
|
-
const i =
|
|
5718
|
+
const i = Zn(t, e);
|
|
5719
5719
|
i !== void 0 && n.add(i);
|
|
5720
5720
|
};
|
|
5721
5721
|
class o0 {
|
|
@@ -6229,7 +6229,7 @@ let Fe = (Bn = class {
|
|
|
6229
6229
|
}, i.push(s)), s;
|
|
6230
6230
|
}
|
|
6231
6231
|
getContext() {
|
|
6232
|
-
return this.$context || (this.$context =
|
|
6232
|
+
return this.$context || (this.$context = ii(null, {
|
|
6233
6233
|
chart: this,
|
|
6234
6234
|
type: "chart"
|
|
6235
6235
|
}));
|
|
@@ -6621,7 +6621,7 @@ function kl(n) {
|
|
|
6621
6621
|
return !n._decimated && !n._loop && !t.tension && t.cubicInterpolationMode !== "monotone" && !t.stepped && !e ? S0 : M0;
|
|
6622
6622
|
}
|
|
6623
6623
|
function T0(n) {
|
|
6624
|
-
return n.stepped ? Ty : n.tension || n.cubicInterpolationMode === "monotone" ? Dy :
|
|
6624
|
+
return n.stepped ? Ty : n.tension || n.cubicInterpolationMode === "monotone" ? Dy : pi;
|
|
6625
6625
|
}
|
|
6626
6626
|
function D0(n, t, e, i) {
|
|
6627
6627
|
let s = t._path;
|
|
@@ -8078,7 +8078,7 @@ function ed(n) {
|
|
|
8078
8078
|
return on([], Mn(n));
|
|
8079
8079
|
}
|
|
8080
8080
|
function C_(n, t, e) {
|
|
8081
|
-
return
|
|
8081
|
+
return ii(n, {
|
|
8082
8082
|
tooltip: t,
|
|
8083
8083
|
tooltipItems: e,
|
|
8084
8084
|
type: "tooltip"
|
|
@@ -8696,7 +8696,7 @@ O(Al, "id", "linear"), O(Al, "defaults", {
|
|
|
8696
8696
|
callback: La.formatters.numeric
|
|
8697
8697
|
}
|
|
8698
8698
|
});
|
|
8699
|
-
const ar = (n) => Math.floor($n(n)),
|
|
8699
|
+
const ar = (n) => Math.floor($n(n)), gi = (n, t) => Math.pow(10, ar(n) + t);
|
|
8700
8700
|
function rd(n) {
|
|
8701
8701
|
return n / Math.pow(10, ar(n)) === 1;
|
|
8702
8702
|
}
|
|
@@ -8749,13 +8749,13 @@ class Rl extends Ti {
|
|
|
8749
8749
|
}
|
|
8750
8750
|
determineDataLimits() {
|
|
8751
8751
|
const { min: t, max: e } = this.getMinMax(!0);
|
|
8752
|
-
this.min = Bt(t) ? Math.max(0, t) : null, this.max = Bt(e) ? Math.max(0, e) : null, this.options.beginAtZero && (this._zero = !0), this._zero && this.min !== this._suggestedMin && !Bt(this._userMin) && (this.min = t ===
|
|
8752
|
+
this.min = Bt(t) ? Math.max(0, t) : null, this.max = Bt(e) ? Math.max(0, e) : null, this.options.beginAtZero && (this._zero = !0), this._zero && this.min !== this._suggestedMin && !Bt(this._userMin) && (this.min = t === gi(this.min, 0) ? gi(this.min, -1) : gi(this.min, 0)), this.handleTickRangeOptions();
|
|
8753
8753
|
}
|
|
8754
8754
|
handleTickRangeOptions() {
|
|
8755
8755
|
const { minDefined: t, maxDefined: e } = this.getUserBounds();
|
|
8756
8756
|
let i = this.min, s = this.max;
|
|
8757
8757
|
const r = (o) => i = t ? i : o, a = (o) => s = e ? s : o;
|
|
8758
|
-
i === s && (i <= 0 ? (r(1), a(10)) : (r(
|
|
8758
|
+
i === s && (i <= 0 ? (r(1), a(10)) : (r(gi(i, -1)), a(gi(s, 1)))), i <= 0 && r(gi(s, -1)), s <= 0 && a(gi(i, 1)), this.min = i, this.max = s;
|
|
8759
8759
|
}
|
|
8760
8760
|
buildTicks() {
|
|
8761
8761
|
const t = this.options, e = {
|
|
@@ -8937,7 +8937,7 @@ function q_(n, t, e, i, s) {
|
|
|
8937
8937
|
!a && !i || !o || !l || e < 0 || (r.save(), r.strokeStyle = o, r.lineWidth = l, r.setLineDash(s.dash || []), r.lineDashOffset = s.dashOffset, r.beginPath(), Af(n, e, a, i), r.closePath(), r.stroke(), r.restore());
|
|
8938
8938
|
}
|
|
8939
8939
|
function X_(n, t, e) {
|
|
8940
|
-
return
|
|
8940
|
+
return ii(n, {
|
|
8941
8941
|
label: e,
|
|
8942
8942
|
index: t,
|
|
8943
8943
|
type: "pointLabel"
|
|
@@ -9165,7 +9165,7 @@ function cd(n, t) {
|
|
|
9165
9165
|
return null;
|
|
9166
9166
|
const e = n._adapter, { parser: i, round: s, isoWeekday: r } = n._parseOpts;
|
|
9167
9167
|
let a = t;
|
|
9168
|
-
return typeof i == "function" && (a = i(a)), Bt(a) || (a = typeof i == "string" ? e.parse(a, i) : e.parse(a)), a === null ? null : (s && (a = s === "week" && (
|
|
9168
|
+
return typeof i == "function" && (a = i(a)), Bt(a) || (a = typeof i == "string" ? e.parse(a, i) : e.parse(a)), a === null ? null : (s && (a = s === "week" && (Qn(r) || r === !0) ? e.startOf(a, "isoWeek", r) : e.startOf(a, s)), +a);
|
|
9169
9169
|
}
|
|
9170
9170
|
function ud(n, t, e, i) {
|
|
9171
9171
|
const s = Ie.length;
|
|
@@ -9276,7 +9276,7 @@ class or extends Ti {
|
|
|
9276
9276
|
};
|
|
9277
9277
|
}
|
|
9278
9278
|
_generate() {
|
|
9279
|
-
const t = this._adapter, e = this.min, i = this.max, s = this.options, r = s.time, a = r.unit || ud(r.minUnit, e, i, this._getLabelCapacity(e)), o = at(s.ticks.stepSize, 1), l = a === "week" ? r.isoWeekday : !1, c =
|
|
9279
|
+
const t = this._adapter, e = this.min, i = this.max, s = this.options, r = s.time, a = r.unit || ud(r.minUnit, e, i, this._getLabelCapacity(e)), o = at(s.ticks.stepSize, 1), l = a === "week" ? r.isoWeekday : !1, c = Qn(l) || l === !0, u = {};
|
|
9280
9280
|
let d = e, h, f;
|
|
9281
9281
|
if (c && (d = +t.startOf(d, "isoWeek", l)), d = +t.startOf(d, c ? "day" : a), t.diff(i, e, a) > 1e5 * o)
|
|
9282
9282
|
throw new Error(e + " and " + i + " are too far apart with stepSize of " + o + " " + a);
|
|
@@ -10654,11 +10654,11 @@ const Fn = {
|
|
|
10654
10654
|
return yd(i);
|
|
10655
10655
|
case "XXXX":
|
|
10656
10656
|
case "XX":
|
|
10657
|
-
return
|
|
10657
|
+
return yi(i);
|
|
10658
10658
|
case "XXXXX":
|
|
10659
10659
|
case "XXX":
|
|
10660
10660
|
default:
|
|
10661
|
-
return
|
|
10661
|
+
return yi(i, ":");
|
|
10662
10662
|
}
|
|
10663
10663
|
},
|
|
10664
10664
|
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
@@ -10669,11 +10669,11 @@ const Fn = {
|
|
|
10669
10669
|
return yd(i);
|
|
10670
10670
|
case "xxxx":
|
|
10671
10671
|
case "xx":
|
|
10672
|
-
return
|
|
10672
|
+
return yi(i);
|
|
10673
10673
|
case "xxxxx":
|
|
10674
10674
|
case "xxx":
|
|
10675
10675
|
default:
|
|
10676
|
-
return
|
|
10676
|
+
return yi(i, ":");
|
|
10677
10677
|
}
|
|
10678
10678
|
},
|
|
10679
10679
|
// Timezone (GMT)
|
|
@@ -10686,7 +10686,7 @@ const Fn = {
|
|
|
10686
10686
|
return "GMT" + pd(i, ":");
|
|
10687
10687
|
case "OOOO":
|
|
10688
10688
|
default:
|
|
10689
|
-
return "GMT" +
|
|
10689
|
+
return "GMT" + yi(i, ":");
|
|
10690
10690
|
}
|
|
10691
10691
|
},
|
|
10692
10692
|
// Timezone (specific non-location)
|
|
@@ -10699,7 +10699,7 @@ const Fn = {
|
|
|
10699
10699
|
return "GMT" + pd(i, ":");
|
|
10700
10700
|
case "zzzz":
|
|
10701
10701
|
default:
|
|
10702
|
-
return "GMT" +
|
|
10702
|
+
return "GMT" + yi(i, ":");
|
|
10703
10703
|
}
|
|
10704
10704
|
},
|
|
10705
10705
|
// Seconds timestamp
|
|
@@ -10717,9 +10717,9 @@ function pd(n, t = "") {
|
|
|
10717
10717
|
return r === 0 ? e + String(s) : e + String(s) + t + Ct(r, 2);
|
|
10718
10718
|
}
|
|
10719
10719
|
function yd(n, t) {
|
|
10720
|
-
return n % 60 === 0 ? (n > 0 ? "-" : "+") + Ct(Math.abs(n) / 60, 2) :
|
|
10720
|
+
return n % 60 === 0 ? (n > 0 ? "-" : "+") + Ct(Math.abs(n) / 60, 2) : yi(n, t);
|
|
10721
10721
|
}
|
|
10722
|
-
function
|
|
10722
|
+
function yi(n, t = "") {
|
|
10723
10723
|
const e = n > 0 ? "-" : "+", i = Math.abs(n), s = Ct(Math.trunc(i / 60), 2), r = Ct(i % 60, 2);
|
|
10724
10724
|
return e + s + t + r;
|
|
10725
10725
|
}
|
|
@@ -13948,11 +13948,11 @@ const zn = {
|
|
|
13948
13948
|
return Md(i);
|
|
13949
13949
|
case "XXXX":
|
|
13950
13950
|
case "XX":
|
|
13951
|
-
return
|
|
13951
|
+
return bi(i);
|
|
13952
13952
|
case "XXXXX":
|
|
13953
13953
|
case "XXX":
|
|
13954
13954
|
default:
|
|
13955
|
-
return
|
|
13955
|
+
return bi(i, ":");
|
|
13956
13956
|
}
|
|
13957
13957
|
},
|
|
13958
13958
|
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
@@ -13963,11 +13963,11 @@ const zn = {
|
|
|
13963
13963
|
return Md(i);
|
|
13964
13964
|
case "xxxx":
|
|
13965
13965
|
case "xx":
|
|
13966
|
-
return
|
|
13966
|
+
return bi(i);
|
|
13967
13967
|
case "xxxxx":
|
|
13968
13968
|
case "xxx":
|
|
13969
13969
|
default:
|
|
13970
|
-
return
|
|
13970
|
+
return bi(i, ":");
|
|
13971
13971
|
}
|
|
13972
13972
|
},
|
|
13973
13973
|
// Timezone (GMT)
|
|
@@ -13980,7 +13980,7 @@ const zn = {
|
|
|
13980
13980
|
return "GMT" + wd(i, ":");
|
|
13981
13981
|
case "OOOO":
|
|
13982
13982
|
default:
|
|
13983
|
-
return "GMT" +
|
|
13983
|
+
return "GMT" + bi(i, ":");
|
|
13984
13984
|
}
|
|
13985
13985
|
},
|
|
13986
13986
|
// Timezone (specific non-location)
|
|
@@ -13993,7 +13993,7 @@ const zn = {
|
|
|
13993
13993
|
return "GMT" + wd(i, ":");
|
|
13994
13994
|
case "zzzz":
|
|
13995
13995
|
default:
|
|
13996
|
-
return "GMT" +
|
|
13996
|
+
return "GMT" + bi(i, ":");
|
|
13997
13997
|
}
|
|
13998
13998
|
},
|
|
13999
13999
|
// Seconds timestamp
|
|
@@ -14011,9 +14011,9 @@ function wd(n, t = "") {
|
|
|
14011
14011
|
return r === 0 ? e + String(s) : e + String(s) + t + Ot(r, 2);
|
|
14012
14012
|
}
|
|
14013
14013
|
function Md(n, t) {
|
|
14014
|
-
return n % 60 === 0 ? (n > 0 ? "-" : "+") + Ot(Math.abs(n) / 60, 2) :
|
|
14014
|
+
return n % 60 === 0 ? (n > 0 ? "-" : "+") + Ot(Math.abs(n) / 60, 2) : bi(n, t);
|
|
14015
14015
|
}
|
|
14016
|
-
function
|
|
14016
|
+
function bi(n, t = "") {
|
|
14017
14017
|
const e = n > 0 ? "-" : "+", i = Math.abs(n), s = Ot(Math.trunc(i / 60), 2), r = Ot(i % 60, 2);
|
|
14018
14018
|
return e + s + t + r;
|
|
14019
14019
|
}
|
|
@@ -14715,7 +14715,7 @@ Ca.exports;
|
|
|
14715
14715
|
return x ? "Symbol(src)_1." + x : "";
|
|
14716
14716
|
}(), sn = Dt.toString, At = he.hasOwnProperty, fe = he.toString, jt = RegExp(
|
|
14717
14717
|
"^" + sn.call(At).replace(et, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
14718
|
-
), se = j ? Y.Buffer : void 0, ge = Y.Symbol, rn = Y.Uint8Array,
|
|
14718
|
+
), se = j ? Y.Buffer : void 0, ge = Y.Symbol, rn = Y.Uint8Array, si = ft(Object.getPrototypeOf, Object), Qe = Object.create, $t = he.propertyIsEnumerable, Ce = lt.splice, ri = Object.getOwnPropertySymbols, Mr = se ? se.isBuffer : void 0, Sr = ft(Object.keys, Object), ls = In(Y, "DataView"), ai = In(Y, "Map"), cs = In(Y, "Promise"), oi = In(Y, "Set"), fn = In(Y, "WeakMap"), gn = In(Object, "create"), us = ye(ls), ds = ye(ai), li = ye(cs), Ga = ye(oi), Ka = ye(fn), Tr = ge ? ge.prototype : void 0, Dr = Tr ? Tr.valueOf : void 0;
|
|
14719
14719
|
function mn(x) {
|
|
14720
14720
|
var A = -1, F = x ? x.length : 0;
|
|
14721
14721
|
for (this.clear(); ++A < F; ) {
|
|
@@ -14785,7 +14785,7 @@ Ca.exports;
|
|
|
14785
14785
|
function no() {
|
|
14786
14786
|
this.__data__ = {
|
|
14787
14787
|
hash: new mn(),
|
|
14788
|
-
map: new (
|
|
14788
|
+
map: new (ai || Je)(),
|
|
14789
14789
|
string: new mn()
|
|
14790
14790
|
};
|
|
14791
14791
|
}
|
|
@@ -14821,7 +14821,7 @@ Ca.exports;
|
|
|
14821
14821
|
var F = this.__data__;
|
|
14822
14822
|
if (F instanceof Je) {
|
|
14823
14823
|
var nt = F.__data__;
|
|
14824
|
-
if (!
|
|
14824
|
+
if (!ai || nt.length < e - 1)
|
|
14825
14825
|
return nt.push([x, A]), this;
|
|
14826
14826
|
F = this.__data__ = new An(nt);
|
|
14827
14827
|
}
|
|
@@ -14845,7 +14845,7 @@ Ca.exports;
|
|
|
14845
14845
|
return -1;
|
|
14846
14846
|
}
|
|
14847
14847
|
function ho(x, A) {
|
|
14848
|
-
return x && Cr(A,
|
|
14848
|
+
return x && Cr(A, ci(A), x);
|
|
14849
14849
|
}
|
|
14850
14850
|
function fs(x, A, F, nt, Xt, re, Oe) {
|
|
14851
14851
|
var oe;
|
|
@@ -14877,9 +14877,9 @@ Ca.exports;
|
|
|
14877
14877
|
if (Fr)
|
|
14878
14878
|
return Fr;
|
|
14879
14879
|
if (Oe.set(x, oe), !Lr)
|
|
14880
|
-
var
|
|
14881
|
-
return J(
|
|
14882
|
-
|
|
14880
|
+
var ui = F ? To(x) : ci(x);
|
|
14881
|
+
return J(ui || x, function(bs, zi) {
|
|
14882
|
+
ui && (zi = bs, bs = x[zi]), $e(oe, zi, fs(bs, A, F, nt, zi, x, Oe));
|
|
14883
14883
|
}), oe;
|
|
14884
14884
|
}
|
|
14885
14885
|
function fo(x) {
|
|
@@ -14957,7 +14957,7 @@ Ca.exports;
|
|
|
14957
14957
|
return Cr(x, Or(x), A);
|
|
14958
14958
|
}
|
|
14959
14959
|
function To(x) {
|
|
14960
|
-
return go(x,
|
|
14960
|
+
return go(x, ci, Or);
|
|
14961
14961
|
}
|
|
14962
14962
|
function Li(x, A) {
|
|
14963
14963
|
var F = x.__data__;
|
|
@@ -14967,8 +14967,8 @@ Ca.exports;
|
|
|
14967
14967
|
var F = Tt(x, A);
|
|
14968
14968
|
return Ri(F) ? F : void 0;
|
|
14969
14969
|
}
|
|
14970
|
-
var Or =
|
|
14971
|
-
(ls && an(new ls(new ArrayBuffer(1))) != I ||
|
|
14970
|
+
var Or = ri ? ft(ri, Object) : Rr, an = mo;
|
|
14971
|
+
(ls && an(new ls(new ArrayBuffer(1))) != I || ai && an(new ai()) != h || cs && an(cs.resolve()) != m || oi && an(new oi()) != v || fn && an(new fn()) != D) && (an = function(x) {
|
|
14972
14972
|
var A = fe.call(x), F = A == g ? x.constructor : void 0, nt = F ? ye(F) : void 0;
|
|
14973
14973
|
if (nt)
|
|
14974
14974
|
switch (nt) {
|
|
@@ -14976,7 +14976,7 @@ Ca.exports;
|
|
|
14976
14976
|
return I;
|
|
14977
14977
|
case ds:
|
|
14978
14978
|
return h;
|
|
14979
|
-
case
|
|
14979
|
+
case li:
|
|
14980
14980
|
return m;
|
|
14981
14981
|
case Ga:
|
|
14982
14982
|
return v;
|
|
@@ -14990,7 +14990,7 @@ Ca.exports;
|
|
|
14990
14990
|
return A && typeof x[0] == "string" && At.call(x, "index") && (F.index = x.index, F.input = x.input), F;
|
|
14991
14991
|
}
|
|
14992
14992
|
function Pr(x) {
|
|
14993
|
-
return typeof x.constructor == "function" && !yn(x) ? fo(
|
|
14993
|
+
return typeof x.constructor == "function" && !yn(x) ? fo(si(x)) : {};
|
|
14994
14994
|
}
|
|
14995
14995
|
function ko(x, A, F, nt) {
|
|
14996
14996
|
var Xt = x.constructor;
|
|
@@ -15083,7 +15083,7 @@ Ca.exports;
|
|
|
15083
15083
|
function _n(x) {
|
|
15084
15084
|
return !!x && typeof x == "object";
|
|
15085
15085
|
}
|
|
15086
|
-
function
|
|
15086
|
+
function ci(x) {
|
|
15087
15087
|
return Er(x) ? uo(x) : po(x);
|
|
15088
15088
|
}
|
|
15089
15089
|
function Rr() {
|
|
@@ -15581,7 +15581,7 @@ const yg = (n, t, e) => {
|
|
|
15581
15581
|
value: t && t[s.text],
|
|
15582
15582
|
isSegmentEmpty: i.datasets[r].isSegmentEmpty
|
|
15583
15583
|
})).sort(e);
|
|
15584
|
-
},
|
|
15584
|
+
}, $O = 2, ZM = 10, QM = 12, Yl = 10, Hd = "#6c7489", JM = "#d60027", kc = "#6c7489", tS = "#995c00", eS = "#ffc400", Cc = "16px", nS = "20px", iS = "'Inter', Roboto, Helvetica, sans-serif", Bd = {
|
|
15585
15585
|
"1XXCount|1XX|1[0-9][0-9]": { solid: "#0072E5", light: "#4DA6FF", description: "Informational" },
|
|
15586
15586
|
"SuccessfulRequests|2XXCount|2XX|2[0-9][0-9]|SUCCESS": { solid: "#0BB652", light: "#6FCC83", description: "Success" },
|
|
15587
15587
|
"3XXCount|3XX|3[0-9][0-9]": { solid: "#FDC53B", light: "#FFD982", description: "Redirection" },
|
|
@@ -15598,13 +15598,13 @@ const yg = (n, t, e) => {
|
|
|
15598
15598
|
LatencyP99: { solid: "#1356cb", light: "#1356cb" },
|
|
15599
15599
|
LatencyP95: { solid: "#1fbecd", light: "#1fbecd" },
|
|
15600
15600
|
LatencyP50: { solid: "#1df97d", light: "#1df97d" }
|
|
15601
|
-
},
|
|
15601
|
+
}, Jn = [
|
|
15602
15602
|
"#a86cd5",
|
|
15603
15603
|
"#6a86d2",
|
|
15604
15604
|
"#00bbf9",
|
|
15605
15605
|
"#00c4b0",
|
|
15606
15606
|
"#ffdf15"
|
|
15607
|
-
], jl = (n, t) => (t ||
|
|
15607
|
+
], jl = (n, t) => (t || Jn)[n % Jn.length], sS = (n, t) => {
|
|
15608
15608
|
n[0] === "#" && (n = n.slice(1));
|
|
15609
15609
|
let e = parseInt(n.substring(0, 2), 16), i = parseInt(n.substring(2, 4), 16), s = parseInt(n.substring(4, 6), 16);
|
|
15610
15610
|
e = e - t, i = i - t, s = s - t, e > 255 ? e = 255 : e < 0 && (e = 0), i > 255 ? i = 255 : i < 0 && (i = 0), s > 255 ? s = 255 : s < 0 && (s = 0);
|
|
@@ -15616,21 +15616,21 @@ const yg = (n, t, e) => {
|
|
|
15616
15616
|
300: { background: "#fff1d5", text: "#a06027" },
|
|
15617
15617
|
400: { background: "#fee3b6", text: "#944d19" },
|
|
15618
15618
|
500: { background: "#fedada", text: "#852021" }
|
|
15619
|
-
},
|
|
15619
|
+
}, UO = (n) => {
|
|
15620
15620
|
var e;
|
|
15621
15621
|
const t = Math.floor(parseInt(n, 10) / 100) * 100;
|
|
15622
15622
|
return ((e = aS[t]) == null ? void 0 : e.background) || "#fafafa";
|
|
15623
|
-
},
|
|
15623
|
+
}, VO = {
|
|
15624
15624
|
SUCCESS: "#6FCC83",
|
|
15625
15625
|
FAILURE: "#FF8484"
|
|
15626
|
-
},
|
|
15626
|
+
}, qO = {
|
|
15627
15627
|
"4XX": "#FFBA81",
|
|
15628
15628
|
"5XX": "#FF8484"
|
|
15629
|
-
},
|
|
15629
|
+
}, XO = {
|
|
15630
15630
|
LatencyP99: "#1356cb",
|
|
15631
15631
|
LatencyP95: "#1fbecd",
|
|
15632
15632
|
LatencyP50: "#1df97d"
|
|
15633
|
-
},
|
|
15633
|
+
}, GO = "#dad4c7", oS = "#afb7c5", KO = (n) => {
|
|
15634
15634
|
const t = Object.entries(Bd).find(([e]) => new RegExp(e).test(n));
|
|
15635
15635
|
return t && t[1] || Bd.standard;
|
|
15636
15636
|
}, bg = (n, t, e, i) => {
|
|
@@ -15716,7 +15716,7 @@ const yg = (n, t, e) => {
|
|
|
15716
15716
|
]), _g = (n) => {
|
|
15717
15717
|
const t = parseInt(n, 10), e = Math.floor(t / 100) * 100, i = pS.get(e);
|
|
15718
15718
|
return i === void 0 ? Yd : i.get(t) ?? i.get(-1) ?? Yd;
|
|
15719
|
-
},
|
|
15719
|
+
}, ZO = (n) => {
|
|
15720
15720
|
const t = _g(n);
|
|
15721
15721
|
return { solid: t, light: t };
|
|
15722
15722
|
}, yS = Array.from({ length: 500 }, (n, t) => 100 + t), al = {
|
|
@@ -16164,17 +16164,17 @@ function Gs(n, t, e, i) {
|
|
|
16164
16164
|
originalDate: n
|
|
16165
16165
|
}, Ul($S(n, t, { timeZone: i.timeZone }), e, i);
|
|
16166
16166
|
}
|
|
16167
|
-
const US = (n, t) => `${Gs(n, t, "yyyy")} W${Gs(n, t, "II")}`, hl = "yyyy-MM-dd h:mm:ss a", fl = "h:mm:ss a",
|
|
16167
|
+
const US = (n, t) => `${Gs(n, t, "yyyy")} W${Gs(n, t, "II")}`, hl = "yyyy-MM-dd h:mm:ss a", fl = "h:mm:ss a", mi = "yyyy-MM-dd h:mm a", ji = "h:mm a", VS = "yyyy-MM-dd", gl = "MMM dd, yyyy h:mm:ss a", Hn = "MMM dd, yyyy h:mm a", qS = {
|
|
16168
16168
|
secondly: (n) => n ? hl : fl,
|
|
16169
16169
|
tenSecondly: (n) => n ? hl : fl,
|
|
16170
16170
|
thirtySecondly: (n) => n ? hl : fl,
|
|
16171
|
-
minutely: (n) => n ?
|
|
16172
|
-
fiveMinutely: (n) => n ?
|
|
16173
|
-
tenMinutely: (n) => n ?
|
|
16174
|
-
thirtyMinutely: (n) => n ?
|
|
16175
|
-
hourly: (n) => n ?
|
|
16176
|
-
twoHourly: (n) => n ?
|
|
16177
|
-
twelveHourly: () =>
|
|
16171
|
+
minutely: (n) => n ? mi : ji,
|
|
16172
|
+
fiveMinutely: (n) => n ? mi : ji,
|
|
16173
|
+
tenMinutely: (n) => n ? mi : ji,
|
|
16174
|
+
thirtyMinutely: (n) => n ? mi : ji,
|
|
16175
|
+
hourly: (n) => n ? mi : ji,
|
|
16176
|
+
twoHourly: (n) => n ? mi : ji,
|
|
16177
|
+
twelveHourly: () => mi,
|
|
16178
16178
|
daily: () => VS
|
|
16179
16179
|
}, XS = {
|
|
16180
16180
|
secondly: () => gl,
|
|
@@ -16233,7 +16233,7 @@ const GS = ({
|
|
|
16233
16233
|
timezone: e,
|
|
16234
16234
|
tooltipMap: XS,
|
|
16235
16235
|
defaultFormat: "MMM dd, yyyy h:mm:ss a"
|
|
16236
|
-
}),
|
|
16236
|
+
}), QO = (n) => {
|
|
16237
16237
|
var e, i, s, r, a;
|
|
16238
16238
|
const { i18n: t } = _t.useI18n();
|
|
16239
16239
|
return (n == null ? void 0 : n.status) === 403 ? {
|
|
@@ -16378,7 +16378,7 @@ function KS(n) {
|
|
|
16378
16378
|
}
|
|
16379
16379
|
};
|
|
16380
16380
|
});
|
|
16381
|
-
return tc() &&
|
|
16381
|
+
return tc() && ei(() => {
|
|
16382
16382
|
We.positioners[e] && delete We.positioners[e];
|
|
16383
16383
|
}), o;
|
|
16384
16384
|
}
|
|
@@ -16397,7 +16397,7 @@ function QS(n, t, e, i, s) {
|
|
|
16397
16397
|
options: l
|
|
16398
16398
|
});
|
|
16399
16399
|
};
|
|
16400
|
-
return
|
|
16400
|
+
return ni(() => {
|
|
16401
16401
|
r.value = a(e.value, s.value);
|
|
16402
16402
|
}), Eh(() => {
|
|
16403
16403
|
ot(r.value) || r.value.destroy();
|
|
@@ -16530,7 +16530,7 @@ function nT(n) {
|
|
|
16530
16530
|
}
|
|
16531
16531
|
}
|
|
16532
16532
|
}));
|
|
16533
|
-
return
|
|
16533
|
+
return ei(() => {
|
|
16534
16534
|
We.positioners[e] && delete We.positioners[e];
|
|
16535
16535
|
}), {
|
|
16536
16536
|
options: s
|
|
@@ -16675,7 +16675,7 @@ function iT(n) {
|
|
|
16675
16675
|
}
|
|
16676
16676
|
};
|
|
16677
16677
|
});
|
|
16678
|
-
return
|
|
16678
|
+
return ei(() => {
|
|
16679
16679
|
We.positioners[s] && delete We.positioners[s];
|
|
16680
16680
|
}), {
|
|
16681
16681
|
options: o
|
|
@@ -16694,7 +16694,7 @@ function sT(n) {
|
|
|
16694
16694
|
return t ? i.map((u) => ({
|
|
16695
16695
|
// @ts-ignore - dynamic i18n key
|
|
16696
16696
|
label: l && l.te(`chartLabels.${u}`) && l.t(`chartLabels.${u}`) || u,
|
|
16697
|
-
backgroundColor: jl(i.indexOf(u),
|
|
16697
|
+
backgroundColor: jl(i.indexOf(u), Jn),
|
|
16698
16698
|
data: a.map((d, h) => e ? r[`${d.id},${u}`] || 0 : r[`${h},${u}`] || null)
|
|
16699
16699
|
})) : Array.from(s).flatMap((u, d) => {
|
|
16700
16700
|
if (!u)
|
|
@@ -16745,7 +16745,7 @@ function rT(n, t) {
|
|
|
16745
16745
|
barSegmentLabels: D,
|
|
16746
16746
|
pivotRecords: g,
|
|
16747
16747
|
rowLabels: S,
|
|
16748
|
-
colorPalette: n.colorPalette ||
|
|
16748
|
+
colorPalette: n.colorPalette || Jn
|
|
16749
16749
|
}), I = c ? S.map((b) => e && e.te(`chartLabels.${b.name}`) && e.t(`chartLabels.${b.name}`) || b.name) : a.map((b) => e && e.te(`chartLabels.${b}`) && e.t(`chartLabels.${b}`) || b), k = S.map((b) => b.id === "empty");
|
|
16750
16750
|
return {
|
|
16751
16751
|
labels: I,
|
|
@@ -16812,7 +16812,7 @@ function cT(n, t) {
|
|
|
16812
16812
|
}, {}) : {}, S = [...a.length === 1 ? a.flatMap((D) => h.map((P) => [D, P.name, P.id === "empty"])) : h.map((D) => [D.name, D.name, D.id === "empty"])].map(([D, P, I], k) => {
|
|
16813
16813
|
const y = m.map((E) => E in v && D in v[E] ? { x: E, y: v[E][D][P] || 0 } : { x: E, y: 0 });
|
|
16814
16814
|
let { colorPalette: b, fill: M } = n;
|
|
16815
|
-
ot(b) && (b =
|
|
16815
|
+
ot(b) && (b = Jn);
|
|
16816
16816
|
const C = bg(k, P, I, b);
|
|
16817
16817
|
return {
|
|
16818
16818
|
rawDimension: P,
|
|
@@ -16907,7 +16907,7 @@ function bT(n, t = {}) {
|
|
|
16907
16907
|
return e;
|
|
16908
16908
|
}
|
|
16909
16909
|
function _T(n, t = !0, e) {
|
|
16910
|
-
yT() ?
|
|
16910
|
+
yT() ? ni(n, e) : t ? n() : Ah(n);
|
|
16911
16911
|
}
|
|
16912
16912
|
function xT(n, t, e) {
|
|
16913
16913
|
return ce(
|
|
@@ -16962,7 +16962,7 @@ function Ks(...n) {
|
|
|
16962
16962
|
}
|
|
16963
16963
|
function vT() {
|
|
16964
16964
|
const n = Ge(!1), t = tc();
|
|
16965
|
-
return t &&
|
|
16965
|
+
return t && ni(() => {
|
|
16966
16966
|
n.value = !0;
|
|
16967
16967
|
}, t), n;
|
|
16968
16968
|
}
|
|
@@ -17212,7 +17212,7 @@ function PT({
|
|
|
17212
17212
|
const M = Object.values(u.minCounts), C = M.length ? M[0] : 0;
|
|
17213
17213
|
return M.reduce((E, R) => Math.min(E, R), C);
|
|
17214
17214
|
}), b = N(() => Object.values(u.maxCounts).reduce((M, C) => Math.max(M, C), 0));
|
|
17215
|
-
return
|
|
17215
|
+
return ei(() => {
|
|
17216
17216
|
n !== void 0 && e !== void 0 && OT(n, e);
|
|
17217
17217
|
}), {
|
|
17218
17218
|
syncedMinStamp: m,
|
|
@@ -17316,7 +17316,7 @@ function Ci(n, t, e) {
|
|
|
17316
17316
|
y: a + s * (n.x - r) + i * (n.y - a)
|
|
17317
17317
|
};
|
|
17318
17318
|
}
|
|
17319
|
-
const IT = (n, t) => t > n || n.length > t.length && n.slice(0, t.length) === t,
|
|
17319
|
+
const IT = (n, t) => t > n || n.length > t.length && n.slice(0, t.length) === t, _i = 1e-3, Wa = (n, t, e) => Math.min(e, Math.max(t, n)), Cg = (n, t) => n.value >= n.start - t && n.value <= n.end + t;
|
|
17320
17320
|
function LT(n, t, e) {
|
|
17321
17321
|
for (const i of Object.keys(n))
|
|
17322
17322
|
n[i] = Wa(n[i], t, e);
|
|
@@ -17326,7 +17326,7 @@ function NT(n, t, e, i) {
|
|
|
17326
17326
|
return !n || !t || e <= 0 ? !1 : Math.pow(n.x - t.x, 2) + Math.pow(n.y - t.y, 2) <= Math.pow(e + i, 2);
|
|
17327
17327
|
}
|
|
17328
17328
|
function Og(n, { x: t, y: e, x2: i, y2: s }, r, { borderWidth: a, hitTolerance: o }) {
|
|
17329
|
-
const l = (a + o) / 2, c = n.x >= t - l -
|
|
17329
|
+
const l = (a + o) / 2, c = n.x >= t - l - _i && n.x <= i + l + _i, u = n.y >= e - l - _i && n.y <= s + l + _i;
|
|
17330
17330
|
return r === "x" ? c : (r === "y" || c) && u;
|
|
17331
17331
|
}
|
|
17332
17332
|
function Pg(n, { rect: t, center: e }, i, { rotation: s, borderWidth: r, hitTolerance: a }) {
|
|
@@ -17364,7 +17364,7 @@ const Eg = (n) => typeof n == "string" && n.endsWith("%"), Ag = (n) => parseFloa
|
|
|
17364
17364
|
function Rc(n, t) {
|
|
17365
17365
|
return t === "start" ? 0 : t === "end" ? n : Eg(t) ? Rg(t) * n : n / 2;
|
|
17366
17366
|
}
|
|
17367
|
-
function
|
|
17367
|
+
function ti(n, t, e = !0) {
|
|
17368
17368
|
return typeof t == "number" ? t : Eg(t) ? (e ? Rg(t) : Ag(t)) * n : n;
|
|
17369
17369
|
}
|
|
17370
17370
|
function HT(n, t) {
|
|
@@ -17455,8 +17455,8 @@ function $a(n, t) {
|
|
|
17455
17455
|
const e = t.content;
|
|
17456
17456
|
if (Ya(e))
|
|
17457
17457
|
return {
|
|
17458
|
-
width:
|
|
17459
|
-
height:
|
|
17458
|
+
width: ti(e.width, t.width),
|
|
17459
|
+
height: ti(e.height, t.height)
|
|
17460
17460
|
};
|
|
17461
17461
|
const i = Ng(t), s = t.textStrokeWidth, r = kt(e) ? e : [e], a = r.join() + YT(i) + s + (n._measureText ? "-spriting" : "");
|
|
17462
17462
|
return ml.has(a) || ml.set(a, VT(n, r, i, s)), ml.get(a);
|
|
@@ -17561,8 +17561,8 @@ function XT(n, { x: t, y: e }, i, { fonts: s, colors: r }) {
|
|
|
17561
17561
|
});
|
|
17562
17562
|
}
|
|
17563
17563
|
function GT(n, t) {
|
|
17564
|
-
const e =
|
|
17565
|
-
return
|
|
17564
|
+
const e = Qn(n) ? n : t;
|
|
17565
|
+
return Qn(e) ? Wa(e, 0, 1) : 1;
|
|
17566
17566
|
}
|
|
17567
17567
|
const Yg = ["left", "bottom", "top", "right"];
|
|
17568
17568
|
function KT(n, t) {
|
|
@@ -17588,7 +17588,7 @@ function QT(n, t) {
|
|
|
17588
17588
|
function JT(n, t, e) {
|
|
17589
17589
|
const { y: i, width: s, height: r, options: a } = n, o = a.callout.start, l = tD(t, a.callout);
|
|
17590
17590
|
let c, u;
|
|
17591
|
-
return t === "left" || t === "right" ? (c = { x: e.x, y: i +
|
|
17591
|
+
return t === "left" || t === "right" ? (c = { x: e.x, y: i + ti(r, o) }, u = { x: c.x + l, y: c.y }) : (c = { x: e.x + ti(s, o), y: e.y }, u = { x: c.x, y: c.y + l }), { sideStart: c, sideEnd: u };
|
|
17592
17592
|
}
|
|
17593
17593
|
function tD(n, t) {
|
|
17594
17594
|
const e = t.side;
|
|
@@ -17599,7 +17599,7 @@ function eD(n, t) {
|
|
|
17599
17599
|
return Yg.includes(e) ? e : nD(n, t);
|
|
17600
17600
|
}
|
|
17601
17601
|
function nD(n, t) {
|
|
17602
|
-
const { x: e, y: i, x2: s, y2: r, width: a, height: o, pointX: l, pointY: c, centerX: u, centerY: d, rotation: h } = n, f = { x: u, y: d }, g = t.start, m =
|
|
17602
|
+
const { x: e, y: i, x2: s, y2: r, width: a, height: o, pointX: l, pointY: c, centerX: u, centerY: d, rotation: h } = n, f = { x: u, y: d }, g = t.start, m = ti(a, g), _ = ti(o, g), v = [e, e + m, e + m, s], w = [i + _, r, i, r], S = [];
|
|
17603
17603
|
for (let D = 0; D < 4; D++) {
|
|
17604
17604
|
const P = Ci({ x: v[D], y: w[D] }, f, te(h));
|
|
17605
17605
|
S.push({
|
|
@@ -18370,7 +18370,7 @@ function AD(n, t, e) {
|
|
|
18370
18370
|
const { x: i, y: s } = gh(n, t, e), { x: r, y: a } = gh(t, n, e);
|
|
18371
18371
|
return { x: i, y: s, x2: r, y2: a, width: Math.abs(r - i), height: Math.abs(a - s) };
|
|
18372
18372
|
}
|
|
18373
|
-
function RD(n, { mouseX: t, mouseY: e }, i =
|
|
18373
|
+
function RD(n, { mouseX: t, mouseY: e }, i = _i, s) {
|
|
18374
18374
|
const { x: r, y: a, x2: o, y2: l } = n.getProps(["x", "y", "x2", "y2"], s), c = o - r, u = l - a, d = Hs(c) + Hs(u), h = d === 0 ? -1 : ((t - r) * c + (e - a) * u) / d;
|
|
18375
18375
|
let f, g;
|
|
18376
18376
|
return h < 0 ? (f = r, g = a) : h > 1 ? (f = o, g = l) : (f = r + h * c, g = a + h * u), Hs(t - f) + Hs(e - g) <= i;
|
|
@@ -18455,8 +18455,8 @@ function Kl(n, t, e, i) {
|
|
|
18455
18455
|
}
|
|
18456
18456
|
function BD(n, t, e) {
|
|
18457
18457
|
const { x: i, y: s, x2: r, y2: a, centerX: o, centerY: l } = n, c = Math.atan2(a - s, r - i), u = Ic(t.controlPoint, 0), d = {
|
|
18458
|
-
x: o +
|
|
18459
|
-
y: l +
|
|
18458
|
+
x: o + ti(e, u.x, !1),
|
|
18459
|
+
y: l + ti(e, u.y, !1)
|
|
18460
18460
|
};
|
|
18461
18461
|
return Ci(d, { x: o, y: l }, c);
|
|
18462
18462
|
}
|
|
@@ -18473,7 +18473,7 @@ class wr extends ue {
|
|
|
18473
18473
|
if (i !== "x" && i !== "y")
|
|
18474
18474
|
return YD({ x: t, y: e }, this.getProps(["width", "height", "centerX", "centerY"], s), r, a);
|
|
18475
18475
|
const { x: o, y: l, x2: c, y2: u } = this.getProps(["x", "y", "x2", "y2"], s), d = i === "y" ? { start: l, end: u } : { start: o, end: c }, h = Ci({ x: t, y: e }, this.getCenterPoint(s), te(-r));
|
|
18476
|
-
return h[i] >= d.start - a -
|
|
18476
|
+
return h[i] >= d.start - a - _i && h[i] <= d.end + a + _i;
|
|
18477
18477
|
}
|
|
18478
18478
|
getCenterPoint(t) {
|
|
18479
18479
|
return Oi(this, t);
|
|
@@ -18971,7 +18971,7 @@ const ik = { class: "zoom-timerange-container" }, sk = { class: "zoom-timerange-
|
|
|
18971
18971
|
ut("div", uk, [
|
|
18972
18972
|
(K(!0), pt(Js, null, Ra(n.zoomActionItems, (o) => (K(), pt("div", {
|
|
18973
18973
|
key: o.key,
|
|
18974
|
-
class:
|
|
18974
|
+
class: Kn(["zoom-action-item", { disabled: o.disabled }]),
|
|
18975
18975
|
"data-testid": `zoom-action-item-${o.key}`
|
|
18976
18976
|
}, [
|
|
18977
18977
|
o.href ? (K(), pt("a", {
|
|
@@ -19025,7 +19025,7 @@ const ik = { class: "zoom-timerange-container" }, sk = { class: "zoom-timerange-
|
|
|
19025
19025
|
key: 0,
|
|
19026
19026
|
ref_key: "tooltipEl",
|
|
19027
19027
|
ref: s,
|
|
19028
|
-
class:
|
|
19028
|
+
class: Kn(["tooltip-container", { locked: n.state.interactionMode === "interactive" }]),
|
|
19029
19029
|
style: vi({
|
|
19030
19030
|
transform: h.value ? `translate(${c.value}, ${l.value})` : `translate(${n.absoluteLeft}, ${n.absoluteTop})`,
|
|
19031
19031
|
left: "0",
|
|
@@ -19070,7 +19070,7 @@ const ik = { class: "zoom-timerange-container" }, sk = { class: "zoom-timerange-
|
|
|
19070
19070
|
style: vi({ background: v, "border-color": w })
|
|
19071
19071
|
}, null, 4),
|
|
19072
19072
|
ut("span", {
|
|
19073
|
-
class:
|
|
19073
|
+
class: Kn(["display-label", { empty: P }])
|
|
19074
19074
|
}, dt(S), 3),
|
|
19075
19075
|
ut("span", Sk, dt(D), 1)
|
|
19076
19076
|
])) : Zt("", !0)
|
|
@@ -19132,7 +19132,7 @@ const ik = { class: "zoom-timerange-container" }, sk = { class: "zoom-timerange-
|
|
|
19132
19132
|
Kt(u, null, Rh({
|
|
19133
19133
|
default: Ht(() => [
|
|
19134
19134
|
ut("div", {
|
|
19135
|
-
class:
|
|
19135
|
+
class: Kn(["label-container", { "strike-through": !o(g, m) }]),
|
|
19136
19136
|
title: _ && X(s) ? `${f}: ${_.formatted}` : f
|
|
19137
19137
|
}, [
|
|
19138
19138
|
ut("div", Ck, dt(f), 1),
|
|
@@ -19153,7 +19153,7 @@ const ik = { class: "zoom-timerange-container" }, sk = { class: "zoom-timerange-
|
|
|
19153
19153
|
], 512)) : Zt("", !0);
|
|
19154
19154
|
};
|
|
19155
19155
|
}
|
|
19156
|
-
}), Hc = /* @__PURE__ */ je(Ek, [["__scopeId", "data-v-
|
|
19156
|
+
}), Hc = /* @__PURE__ */ je(Ek, [["__scopeId", "data-v-4e0ac0c5"]]), me = [];
|
|
19157
19157
|
for (let n = 0; n < 256; ++n)
|
|
19158
19158
|
me.push((n + 256).toString(16).slice(1));
|
|
19159
19159
|
function Ak(n, t = 0) {
|
|
@@ -19349,9 +19349,9 @@ const Nk = ["id"], Fk = ["id"], zk = { class: "axis-tooltip-content" }, Hk = "10
|
|
|
19349
19349
|
const j = (G = (B = t.chartData) == null ? void 0 : B.labels) == null ? void 0 : G.length;
|
|
19350
19350
|
return d.value && j && S.value ? `${Math.max(j * (Yk + Sh), V.value)}px` : Bk;
|
|
19351
19351
|
});
|
|
19352
|
-
_t.useReportChartDataForSynthetics(It(t, "chartData"), It(t, "syntheticsDataKey")),
|
|
19352
|
+
_t.useReportChartDataForSynthetics(It(t, "chartData"), It(t, "syntheticsDataKey")), ni(() => {
|
|
19353
19353
|
t.annotations && Fe.register(vh), o.value && (z.value = o.value.offsetWidth, V.value = o.value.offsetHeight, et.observe(o.value));
|
|
19354
|
-
}),
|
|
19354
|
+
}), ei(() => {
|
|
19355
19355
|
o.value && et.unobserve(o.value);
|
|
19356
19356
|
});
|
|
19357
19357
|
const q = N(() => {
|
|
@@ -19422,7 +19422,7 @@ const Nk = ["id"], Fk = ["id"], zk = { class: "axis-tooltip-content" }, Hk = "10
|
|
|
19422
19422
|
};
|
|
19423
19423
|
return (j, B) => (K(), pt("div", {
|
|
19424
19424
|
ref: "chartParent",
|
|
19425
|
-
class:
|
|
19425
|
+
class: Kn(["chart-parent", H[X(_)]])
|
|
19426
19426
|
}, [
|
|
19427
19427
|
ut("canvas", {
|
|
19428
19428
|
id: X(s),
|
|
@@ -19700,7 +19700,7 @@ const nC = de({
|
|
|
19700
19700
|
}, l = (c) => {
|
|
19701
19701
|
c.update(n.updateMode);
|
|
19702
19702
|
};
|
|
19703
|
-
return
|
|
19703
|
+
return ni(a), ei(o), ce([
|
|
19704
19704
|
() => n.options,
|
|
19705
19705
|
() => n.data
|
|
19706
19706
|
], (c, u) => {
|
|
@@ -19762,7 +19762,7 @@ const im = /* @__PURE__ */ Bc("bar", $s), sm = /* @__PURE__ */ Bc("doughnut", Cn
|
|
|
19762
19762
|
legendPosition: { default: Ye.Bottom },
|
|
19763
19763
|
legendValues: { default: void 0 },
|
|
19764
19764
|
syntheticsDataKey: { default: "" },
|
|
19765
|
-
datasetColors: { default: () =>
|
|
19765
|
+
datasetColors: { default: () => Jn },
|
|
19766
19766
|
tooltipDimensionDisplay: { default: "" },
|
|
19767
19767
|
tooltipMetricDisplay: { default: "" }
|
|
19768
19768
|
},
|
|
@@ -19808,7 +19808,7 @@ const im = /* @__PURE__ */ Bc("bar", $s), sm = /* @__PURE__ */ Bc("doughnut", Cn
|
|
|
19808
19808
|
};
|
|
19809
19809
|
return (w, S) => (K(), pt("div", {
|
|
19810
19810
|
ref: "chartParent",
|
|
19811
|
-
class:
|
|
19811
|
+
class: Kn(["chart-parent", _(n.legendPosition)]),
|
|
19812
19812
|
"data-testid": "donut-chart-parent"
|
|
19813
19813
|
}, [
|
|
19814
19814
|
ut("div", iC, [
|
|
@@ -19987,15 +19987,15 @@ class uC {
|
|
|
19987
19987
|
this._clearSelectionArea = !0, this._chart && this._chart.update();
|
|
19988
19988
|
}
|
|
19989
19989
|
}
|
|
19990
|
-
const
|
|
19990
|
+
const JO = ["hidden", "single", "full"];
|
|
19991
19991
|
var qi = /* @__PURE__ */ ((n) => (n.String = "string", n.Number = "number", n.Boolean = "boolean", n.Object = "object", n.Undefined = "undefined", n))(qi || {});
|
|
19992
|
-
const
|
|
19992
|
+
const tP = [
|
|
19993
19993
|
"donut",
|
|
19994
19994
|
"horizontal_bar",
|
|
19995
19995
|
"vertical_bar",
|
|
19996
19996
|
"timeseries_line",
|
|
19997
19997
|
"timeseries_bar"
|
|
19998
|
-
],
|
|
19998
|
+
], eP = [
|
|
19999
19999
|
"gauge",
|
|
20000
20000
|
"top_n",
|
|
20001
20001
|
"single_value"
|
|
@@ -20236,14 +20236,14 @@ const yC = /* @__PURE__ */ de({
|
|
|
20236
20236
|
}, () => {
|
|
20237
20237
|
var H;
|
|
20238
20238
|
(H = u.value) != null && H.chart && (u.value.chart.canvas.removeEventListener("dragSelect", ct), u.value.chart.canvas.removeEventListener("dragSelectMove", q), u.value.chart.canvas.addEventListener("dragSelect", ct), u.value.chart.canvas.addEventListener("dragSelectMove", q));
|
|
20239
|
-
}),
|
|
20239
|
+
}), ni(() => {
|
|
20240
20240
|
document.addEventListener("click", Q, !0);
|
|
20241
|
-
}),
|
|
20241
|
+
}), ei(() => {
|
|
20242
20242
|
var H;
|
|
20243
20243
|
(H = u.value) != null && H.chart && (u.value.chart.canvas.removeEventListener("dragSelect", ct), u.value.chart.canvas.removeEventListener("dragSelectMove", q)), document.removeEventListener("click", Q, !0);
|
|
20244
20244
|
}), (H, U) => (K(), pt("div", {
|
|
20245
20245
|
ref: "chartParent",
|
|
20246
|
-
class:
|
|
20246
|
+
class: Kn(["chart-parent", E(X(m))]),
|
|
20247
20247
|
"data-testid": "line-chart-parent"
|
|
20248
20248
|
}, [
|
|
20249
20249
|
ut("div", {
|
|
@@ -20294,14 +20294,14 @@ const yC = /* @__PURE__ */ de({
|
|
|
20294
20294
|
}, null, 8, ["id", "chart-instance", "items"])
|
|
20295
20295
|
], 2));
|
|
20296
20296
|
}
|
|
20297
|
-
}), bC = /* @__PURE__ */ je(yC, [["__scopeId", "data-v-0a32a7ca"]]), _C = {
|
|
20297
|
+
}), bC = /* @__PURE__ */ je(yC, [["__scopeId", "data-v-0a32a7ca"]]), _C = {
|
|
20298
20298
|
key: 0,
|
|
20299
20299
|
class: "chart-truncation-warning",
|
|
20300
20300
|
"data-testid": "truncation-warning"
|
|
20301
|
-
},
|
|
20301
|
+
}, xC = { class: "tooltip-content" }, vC = {
|
|
20302
20302
|
key: 2,
|
|
20303
20303
|
class: "analytics-chart-parent"
|
|
20304
|
-
},
|
|
20304
|
+
}, wC = /* @__PURE__ */ de({
|
|
20305
20305
|
__name: "AnalyticsChart",
|
|
20306
20306
|
props: {
|
|
20307
20307
|
chartData: {},
|
|
@@ -20405,15 +20405,19 @@ const yC = /* @__PURE__ */ de({
|
|
|
20405
20405
|
]);
|
|
20406
20406
|
return Uc("showLegendValues", c), Uc("legendPosition", It(i, "legendPosition")), (R, z) => {
|
|
20407
20407
|
const V = Re("KTooltip"), et = Re("KEmptyState");
|
|
20408
|
-
return K(), pt("div",
|
|
20409
|
-
|
|
20408
|
+
return K(), pt("div", {
|
|
20409
|
+
class: Kn(["analytics-chart-shell", {
|
|
20410
|
+
"show-values": c.value
|
|
20411
|
+
}])
|
|
20412
|
+
}, [
|
|
20413
|
+
y.value && h.value && d.value ? (K(), pt("div", _C, [
|
|
20410
20414
|
Kt(V, {
|
|
20411
20415
|
class: "tooltip",
|
|
20412
20416
|
"max-width": "500",
|
|
20413
20417
|
placement: "right"
|
|
20414
20418
|
}, {
|
|
20415
20419
|
content: Ht(() => [
|
|
20416
|
-
ut("div",
|
|
20420
|
+
ut("div", xC, dt(X(f)), 1)
|
|
20417
20421
|
]),
|
|
20418
20422
|
default: Ht(() => [
|
|
20419
20423
|
Kt(X(Sm), {
|
|
@@ -20424,7 +20428,7 @@ const yC = /* @__PURE__ */ de({
|
|
|
20424
20428
|
_: 1
|
|
20425
20429
|
})
|
|
20426
20430
|
])) : Zt("", !0),
|
|
20427
|
-
y.value ? (K(), pt("div",
|
|
20431
|
+
y.value ? (K(), pt("div", vC, [
|
|
20428
20432
|
m.value ? (K(), Nt(bC, {
|
|
20429
20433
|
key: 0,
|
|
20430
20434
|
brush: a.value,
|
|
@@ -20489,17 +20493,17 @@ const yC = /* @__PURE__ */ de({
|
|
|
20489
20493
|
]),
|
|
20490
20494
|
_: 1
|
|
20491
20495
|
}))
|
|
20492
|
-
]);
|
|
20496
|
+
], 2);
|
|
20493
20497
|
};
|
|
20494
20498
|
}
|
|
20495
|
-
}),
|
|
20499
|
+
}), nP = /* @__PURE__ */ je(wC, [["__scopeId", "data-v-b2eeb763"]]), MC = {
|
|
20496
20500
|
class: "chart-parent",
|
|
20497
20501
|
"data-testid": "gauge-chart-parent"
|
|
20498
|
-
},
|
|
20502
|
+
}, SC = { class: "chart-totals-flex" }, TC = {
|
|
20499
20503
|
key: 1,
|
|
20500
20504
|
class: "metric-small",
|
|
20501
20505
|
"data-testid": "gauge-chart-total"
|
|
20502
|
-
},
|
|
20506
|
+
}, DC = /* @__PURE__ */ de({
|
|
20503
20507
|
__name: "GaugeChart",
|
|
20504
20508
|
props: {
|
|
20505
20509
|
chartData: {
|
|
@@ -20525,7 +20529,7 @@ const yC = /* @__PURE__ */ de({
|
|
|
20525
20529
|
datasetColors: {
|
|
20526
20530
|
type: Object,
|
|
20527
20531
|
required: !1,
|
|
20528
|
-
default:
|
|
20532
|
+
default: Jn
|
|
20529
20533
|
},
|
|
20530
20534
|
height: {
|
|
20531
20535
|
type: String,
|
|
@@ -20569,15 +20573,15 @@ const yC = /* @__PURE__ */ de({
|
|
|
20569
20573
|
var f;
|
|
20570
20574
|
return `color: ${(f = s == null ? void 0 : s.value[0]) == null ? void 0 : f.backgroundColor[t.numerator]}`;
|
|
20571
20575
|
}), d = N(() => ["full", "single"].includes(t.metricDisplay)), h = N(() => t.metricDisplay === "full");
|
|
20572
|
-
return (f, g) => (K(), pt("div",
|
|
20573
|
-
ut("div",
|
|
20576
|
+
return (f, g) => (K(), pt("div", MC, [
|
|
20577
|
+
ut("div", SC, [
|
|
20574
20578
|
d.value ? (K(), pt("div", {
|
|
20575
20579
|
key: 0,
|
|
20576
20580
|
class: "metric-large",
|
|
20577
20581
|
"data-testid": "gauge-chart-metric",
|
|
20578
20582
|
style: vi(u.value)
|
|
20579
20583
|
}, dt(l.value), 5)) : Zt("", !0),
|
|
20580
|
-
h.value ? (K(), pt("div",
|
|
20584
|
+
h.value ? (K(), pt("div", TC, dt(X(e).t("total")) + ": " + dt(c.value), 1)) : Zt("", !0)
|
|
20581
20585
|
]),
|
|
20582
20586
|
ut("div", {
|
|
20583
20587
|
class: "chart-container",
|
|
@@ -20593,19 +20597,19 @@ const yC = /* @__PURE__ */ de({
|
|
|
20593
20597
|
], 4)
|
|
20594
20598
|
]));
|
|
20595
20599
|
}
|
|
20596
|
-
}),
|
|
20600
|
+
}), kC = /* @__PURE__ */ je(DC, [["__scopeId", "data-v-32e7f9e0"]]), CC = {
|
|
20597
20601
|
class: "chart-parent",
|
|
20598
20602
|
"data-testid": "single-value-parent"
|
|
20599
|
-
},
|
|
20603
|
+
}, OC = {
|
|
20600
20604
|
key: 1,
|
|
20601
20605
|
class: "single-value-wrapper"
|
|
20602
|
-
},
|
|
20606
|
+
}, PC = {
|
|
20603
20607
|
class: "single-value",
|
|
20604
20608
|
"data-testid": "single-value-chart"
|
|
20605
|
-
},
|
|
20609
|
+
}, EC = {
|
|
20606
20610
|
key: 0,
|
|
20607
20611
|
class: "single-value-unit"
|
|
20608
|
-
},
|
|
20612
|
+
}, AC = /* @__PURE__ */ de({
|
|
20609
20613
|
__name: "SingleValue",
|
|
20610
20614
|
props: {
|
|
20611
20615
|
data: {
|
|
@@ -20650,29 +20654,29 @@ const yC = /* @__PURE__ */ de({
|
|
|
20650
20654
|
const d = i.decimalPoints && typeof i.decimalPoints == "number" ? i.decimalPoints : th;
|
|
20651
20655
|
return u.toLocaleString("en-US", { maximumFractionDigits: d });
|
|
20652
20656
|
});
|
|
20653
|
-
return
|
|
20657
|
+
return ni(() => {
|
|
20654
20658
|
var u, d;
|
|
20655
20659
|
((d = (u = i.data) == null ? void 0 : u.data) == null ? void 0 : d.length) > 1 && console.warn("SingleValue chart should only be used with a single data point. Data length:", i.data.data.length);
|
|
20656
20660
|
}), (u, d) => {
|
|
20657
20661
|
const h = Re("KEmptyState");
|
|
20658
|
-
return K(), pt("div",
|
|
20662
|
+
return K(), pt("div", CC, [
|
|
20659
20663
|
l.value === null ? (K(), Nt(h, {
|
|
20660
20664
|
key: 0,
|
|
20661
20665
|
class: "single-value-error",
|
|
20662
20666
|
"data-testid": "single-value-error",
|
|
20663
20667
|
"icon-variant": "error",
|
|
20664
20668
|
title: X(t).t("singleValue.valueError")
|
|
20665
|
-
}, null, 8, ["title"])) : (K(), pt("div",
|
|
20666
|
-
ut("span",
|
|
20667
|
-
o.value ? (K(), pt("span",
|
|
20669
|
+
}, null, 8, ["title"])) : (K(), pt("div", OC, [
|
|
20670
|
+
ut("span", PC, dt(c.value), 1),
|
|
20671
|
+
o.value ? (K(), pt("span", EC, " " + dt(a.value), 1)) : Zt("", !0)
|
|
20668
20672
|
]))
|
|
20669
20673
|
]);
|
|
20670
20674
|
};
|
|
20671
20675
|
}
|
|
20672
|
-
}),
|
|
20676
|
+
}), RC = /* @__PURE__ */ je(AC, [["__scopeId", "data-v-8fd9e5ef"]]), IC = { class: "simple-chart-shell" }, LC = {
|
|
20673
20677
|
key: 1,
|
|
20674
20678
|
class: "analytics-chart-parent"
|
|
20675
|
-
},
|
|
20679
|
+
}, NC = /* @__PURE__ */ de({
|
|
20676
20680
|
__name: "SimpleChart",
|
|
20677
20681
|
props: {
|
|
20678
20682
|
chartData: {
|
|
@@ -20711,7 +20715,7 @@ const yC = /* @__PURE__ */ de({
|
|
|
20711
20715
|
var u;
|
|
20712
20716
|
const c = _t.useExploreResultToDatasets(
|
|
20713
20717
|
{
|
|
20714
|
-
colorPalette: t.chartOptions.chartDatasetColors ||
|
|
20718
|
+
colorPalette: t.chartOptions.chartDatasetColors || Jn
|
|
20715
20719
|
},
|
|
20716
20720
|
It(t, "chartData")
|
|
20717
20721
|
).value;
|
|
@@ -20730,9 +20734,9 @@ const yC = /* @__PURE__ */ de({
|
|
|
20730
20734
|
});
|
|
20731
20735
|
return (c, u) => {
|
|
20732
20736
|
const d = Re("KEmptyState");
|
|
20733
|
-
return K(), pt("div",
|
|
20734
|
-
l.value ? (K(), pt("div",
|
|
20735
|
-
r.value ? (K(), Nt(
|
|
20737
|
+
return K(), pt("div", IC, [
|
|
20738
|
+
l.value ? (K(), pt("div", LC, [
|
|
20739
|
+
r.value ? (K(), Nt(kC, {
|
|
20736
20740
|
key: 0,
|
|
20737
20741
|
"chart-data": i.value,
|
|
20738
20742
|
"dataset-colors": n.chartOptions.chartDatasetColors,
|
|
@@ -20743,7 +20747,7 @@ const yC = /* @__PURE__ */ de({
|
|
|
20743
20747
|
"synthetics-data-key": n.syntheticsDataKey,
|
|
20744
20748
|
width: n.width
|
|
20745
20749
|
}, null, 8, ["chart-data", "dataset-colors", "metric-display", "metric-unit", "numerator", "synthetics-data-key", "width"])) : Zt("", !0),
|
|
20746
|
-
a.value ? (K(), Nt(
|
|
20750
|
+
a.value ? (K(), Nt(RC, {
|
|
20747
20751
|
key: 1,
|
|
20748
20752
|
data: n.chartData,
|
|
20749
20753
|
"decimal-points": n.chartOptions.decimalPoints
|
|
@@ -20762,20 +20766,20 @@ const yC = /* @__PURE__ */ de({
|
|
|
20762
20766
|
]);
|
|
20763
20767
|
};
|
|
20764
20768
|
}
|
|
20765
|
-
}),
|
|
20769
|
+
}), iP = /* @__PURE__ */ je(NC, [["__scopeId", "data-v-471652c8"]]), FC = {
|
|
20766
20770
|
class: "top-n-card-title",
|
|
20767
20771
|
"data-testid": "top-n-card-title"
|
|
20768
|
-
},
|
|
20772
|
+
}, zC = {
|
|
20769
20773
|
class: "top-n-card-description",
|
|
20770
20774
|
"data-testid": "top-n-card-description"
|
|
20771
|
-
},
|
|
20775
|
+
}, HC = {
|
|
20772
20776
|
key: 3,
|
|
20773
20777
|
class: "top-n-table",
|
|
20774
20778
|
"data-testid": "top-n-table"
|
|
20775
|
-
},
|
|
20779
|
+
}, BC = { class: "table-headings" }, WC = { class: "table-row" }, YC = { class: "column-1" }, jC = { class: "column-2" }, $C = {
|
|
20776
20780
|
class: "table-body",
|
|
20777
20781
|
"data-testid": "top-n-data"
|
|
20778
|
-
},
|
|
20782
|
+
}, UC = ["data-testid"], VC = { class: "column-1" }, qC = { class: "column-2" }, XC = /* @__PURE__ */ de({
|
|
20779
20783
|
__name: "TopNTable",
|
|
20780
20784
|
props: {
|
|
20781
20785
|
title: { default: "" },
|
|
@@ -20844,20 +20848,20 @@ const yC = /* @__PURE__ */ de({
|
|
|
20844
20848
|
key: 1,
|
|
20845
20849
|
"table-columns": 2,
|
|
20846
20850
|
type: "table"
|
|
20847
|
-
})) : s.value ? (K(), pt("div",
|
|
20848
|
-
ut("div",
|
|
20849
|
-
ut("div",
|
|
20850
|
-
ut("div",
|
|
20851
|
-
ut("div",
|
|
20851
|
+
})) : s.value ? (K(), pt("div", HC, [
|
|
20852
|
+
ut("div", BC, [
|
|
20853
|
+
ut("div", WC, [
|
|
20854
|
+
ut("div", YC, dt(X(e).t("topNTable.nameLabel")), 1),
|
|
20855
|
+
ut("div", jC, dt(l.value), 1)
|
|
20852
20856
|
])
|
|
20853
20857
|
]),
|
|
20854
|
-
ut("div",
|
|
20858
|
+
ut("div", $C, [
|
|
20855
20859
|
(K(!0), pt(Js, null, Ra(i.value, (S, D) => (K(), pt("div", {
|
|
20856
20860
|
key: `entry-${D}`,
|
|
20857
20861
|
class: "table-row",
|
|
20858
20862
|
"data-testid": `row-${u(S)}`
|
|
20859
20863
|
}, [
|
|
20860
|
-
ut("div",
|
|
20864
|
+
ut("div", VC, [
|
|
20861
20865
|
er(g.$slots, "name", {
|
|
20862
20866
|
record: {
|
|
20863
20867
|
id: u(S),
|
|
@@ -20869,8 +20873,8 @@ const yC = /* @__PURE__ */ de({
|
|
|
20869
20873
|
Be(dt(d(S)), 1)
|
|
20870
20874
|
], !0)
|
|
20871
20875
|
]),
|
|
20872
|
-
ut("div",
|
|
20873
|
-
], 8,
|
|
20876
|
+
ut("div", qC, " " + dt(f(S)), 1)
|
|
20877
|
+
], 8, UC))), 128))
|
|
20874
20878
|
])
|
|
20875
20879
|
])) : (K(), Nt(_, {
|
|
20876
20880
|
key: 2,
|
|
@@ -20888,21 +20892,21 @@ const yC = /* @__PURE__ */ de({
|
|
|
20888
20892
|
n.title ? {
|
|
20889
20893
|
name: "title",
|
|
20890
20894
|
fn: Ht(() => [
|
|
20891
|
-
ut("span",
|
|
20895
|
+
ut("span", FC, dt(n.title), 1)
|
|
20892
20896
|
]),
|
|
20893
20897
|
key: "0"
|
|
20894
20898
|
} : void 0,
|
|
20895
20899
|
n.description ? {
|
|
20896
20900
|
name: "actions",
|
|
20897
20901
|
fn: Ht(() => [
|
|
20898
|
-
ut("div",
|
|
20902
|
+
ut("div", zC, dt(n.description), 1)
|
|
20899
20903
|
]),
|
|
20900
20904
|
key: "1"
|
|
20901
20905
|
} : void 0
|
|
20902
20906
|
]), 1032, ["title-tag"]);
|
|
20903
20907
|
};
|
|
20904
20908
|
}
|
|
20905
|
-
}),
|
|
20909
|
+
}), sP = /* @__PURE__ */ je(XC, [["__scopeId", "data-v-665e7735"]]);
|
|
20906
20910
|
var Aa = { exports: {} };
|
|
20907
20911
|
Aa.exports;
|
|
20908
20912
|
(function(n, t) {
|
|
@@ -20964,12 +20968,12 @@ Aa.exports;
|
|
|
20964
20968
|
L[++T] = W;
|
|
20965
20969
|
}), L;
|
|
20966
20970
|
}
|
|
20967
|
-
var jt = Array.prototype, se = Function.prototype, ge = Object.prototype, rn = tt["__core-js_shared__"],
|
|
20971
|
+
var jt = Array.prototype, se = Function.prototype, ge = Object.prototype, rn = tt["__core-js_shared__"], si = function() {
|
|
20968
20972
|
var p = /[^.]+$/.exec(rn && rn.keys && rn.keys.IE_PROTO || "");
|
|
20969
20973
|
return p ? "Symbol(src)_1." + p : "";
|
|
20970
|
-
}(), Qe = se.toString, $t = ge.hasOwnProperty, Ce = ge.toString,
|
|
20974
|
+
}(), Qe = se.toString, $t = ge.hasOwnProperty, Ce = ge.toString, ri = RegExp(
|
|
20971
20975
|
"^" + Qe.call($t).replace(Y, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
20972
|
-
), Mr = tt.Symbol, Sr = tt.Uint8Array, ls = ge.propertyIsEnumerable,
|
|
20976
|
+
), Mr = tt.Symbol, Sr = tt.Uint8Array, ls = ge.propertyIsEnumerable, ai = jt.splice, cs = At(Object.keys, Object), oi = yn(tt, "DataView"), fn = yn(tt, "Map"), gn = yn(tt, "Promise"), us = yn(tt, "Set"), ds = yn(tt, "WeakMap"), li = yn(Object, "create"), Ga = _n(oi), Ka = _n(fn), Tr = _n(gn), Dr = _n(us), mn = _n(ds), Pi = Mr ? Mr.prototype : void 0, hs = Pi ? Pi.valueOf : void 0, kr = Pi ? Pi.toString : void 0;
|
|
20973
20977
|
function pn(p) {
|
|
20974
20978
|
var T = -1, L = p ? p.length : 0;
|
|
20975
20979
|
for (this.clear(); ++T < L; ) {
|
|
@@ -20978,14 +20982,14 @@ Aa.exports;
|
|
|
20978
20982
|
}
|
|
20979
20983
|
}
|
|
20980
20984
|
function Za() {
|
|
20981
|
-
this.__data__ =
|
|
20985
|
+
this.__data__ = li ? li(null) : {};
|
|
20982
20986
|
}
|
|
20983
20987
|
function Je(p) {
|
|
20984
20988
|
return this.has(p) && delete this.__data__[p];
|
|
20985
20989
|
}
|
|
20986
20990
|
function Qa(p) {
|
|
20987
20991
|
var T = this.__data__;
|
|
20988
|
-
if (
|
|
20992
|
+
if (li) {
|
|
20989
20993
|
var L = T[p];
|
|
20990
20994
|
return L === s ? void 0 : L;
|
|
20991
20995
|
}
|
|
@@ -20993,11 +20997,11 @@ Aa.exports;
|
|
|
20993
20997
|
}
|
|
20994
20998
|
function Ja(p) {
|
|
20995
20999
|
var T = this.__data__;
|
|
20996
|
-
return
|
|
21000
|
+
return li ? T[p] !== void 0 : $t.call(T, p);
|
|
20997
21001
|
}
|
|
20998
21002
|
function to(p, T) {
|
|
20999
21003
|
var L = this.__data__;
|
|
21000
|
-
return L[p] =
|
|
21004
|
+
return L[p] = li && T === void 0 ? s : T, this;
|
|
21001
21005
|
}
|
|
21002
21006
|
pn.prototype.clear = Za, pn.prototype.delete = Je, pn.prototype.get = Qa, pn.prototype.has = Ja, pn.prototype.set = to;
|
|
21003
21007
|
function tn(p) {
|
|
@@ -21015,7 +21019,7 @@ Aa.exports;
|
|
|
21015
21019
|
if (L < 0)
|
|
21016
21020
|
return !1;
|
|
21017
21021
|
var W = T.length - 1;
|
|
21018
|
-
return L == W ? T.pop() :
|
|
21022
|
+
return L == W ? T.pop() : ai.call(T, L, 1), !0;
|
|
21019
21023
|
}
|
|
21020
21024
|
function no(p) {
|
|
21021
21025
|
var T = this.__data__, L = Ri(T, p);
|
|
@@ -21108,7 +21112,7 @@ Aa.exports;
|
|
|
21108
21112
|
}
|
|
21109
21113
|
var po = Do();
|
|
21110
21114
|
function yo(p, T) {
|
|
21111
|
-
return p && po(p, T,
|
|
21115
|
+
return p && po(p, T, ui);
|
|
21112
21116
|
}
|
|
21113
21117
|
function Ii(p, T) {
|
|
21114
21118
|
T = Fi(T, p) ? [T] : an(T);
|
|
@@ -21166,7 +21170,7 @@ Aa.exports;
|
|
|
21166
21170
|
function wo(p) {
|
|
21167
21171
|
if (!re(p) || Er(p))
|
|
21168
21172
|
return !1;
|
|
21169
|
-
var T = nt(p) || ie(p) ?
|
|
21173
|
+
var T = nt(p) || ie(p) ? ri : Mt;
|
|
21170
21174
|
return T.test(_n(p));
|
|
21171
21175
|
}
|
|
21172
21176
|
function Mo(p) {
|
|
@@ -21240,9 +21244,9 @@ Aa.exports;
|
|
|
21240
21244
|
break;
|
|
21241
21245
|
}
|
|
21242
21246
|
if (Me) {
|
|
21243
|
-
if (!ne(T, function(xn,
|
|
21244
|
-
if (!Me.has(
|
|
21245
|
-
return Me.add(
|
|
21247
|
+
if (!ne(T, function(xn, di) {
|
|
21248
|
+
if (!Me.has(di) && (Ue === xn || L(Ue, xn, W, gt, it)))
|
|
21249
|
+
return Me.add(di);
|
|
21246
21250
|
})) {
|
|
21247
21251
|
Ee = !1;
|
|
21248
21252
|
break;
|
|
@@ -21290,7 +21294,7 @@ Aa.exports;
|
|
|
21290
21294
|
return !1;
|
|
21291
21295
|
}
|
|
21292
21296
|
function Co(p, T, L, W, gt, it) {
|
|
21293
|
-
var xt = gt & a, ae =
|
|
21297
|
+
var xt = gt & a, ae = ui(p), Ut = ae.length, be = ui(T), Pe = be.length;
|
|
21294
21298
|
if (Ut != Pe && !xt)
|
|
21295
21299
|
return !1;
|
|
21296
21300
|
for (var Ee = Ut; Ee--; ) {
|
|
@@ -21305,10 +21309,10 @@ Aa.exports;
|
|
|
21305
21309
|
it.set(p, T), it.set(T, p);
|
|
21306
21310
|
for (var Nn = xt; ++Ee < Ut; ) {
|
|
21307
21311
|
Me = ae[Ee];
|
|
21308
|
-
var xn = p[Me],
|
|
21312
|
+
var xn = p[Me], di = T[Me];
|
|
21309
21313
|
if (W)
|
|
21310
|
-
var jc = xt ? W(
|
|
21311
|
-
if (!(jc === void 0 ? xn ===
|
|
21314
|
+
var jc = xt ? W(di, xn, Me, T, p, it) : W(xn, di, Me, p, T, it);
|
|
21315
|
+
if (!(jc === void 0 ? xn === di || L(xn, di, W, gt, it) : jc)) {
|
|
21312
21316
|
Ve = !1;
|
|
21313
21317
|
break;
|
|
21314
21318
|
}
|
|
@@ -21325,7 +21329,7 @@ Aa.exports;
|
|
|
21325
21329
|
return ps(T) ? L[typeof T == "string" ? "string" : "hash"] : L.map;
|
|
21326
21330
|
}
|
|
21327
21331
|
function Oo(p) {
|
|
21328
|
-
for (var T =
|
|
21332
|
+
for (var T = ui(p), L = T.length; L--; ) {
|
|
21329
21333
|
var W = T[L], gt = p[W];
|
|
21330
21334
|
T[L] = [W, gt, Ar(gt)];
|
|
21331
21335
|
}
|
|
@@ -21336,7 +21340,7 @@ Aa.exports;
|
|
|
21336
21340
|
return wo(L) ? L : void 0;
|
|
21337
21341
|
}
|
|
21338
21342
|
var ye = bo;
|
|
21339
|
-
(
|
|
21343
|
+
(oi && ye(new oi(new ArrayBuffer(1))) != b || fn && ye(new fn()) != m || gn && ye(gn.resolve()) != w || us && ye(new us()) != D || ds && ye(new ds()) != k) && (ye = function(p) {
|
|
21340
21344
|
var T = Ce.call(p), L = T == v ? p.constructor : void 0, W = L ? _n(L) : void 0;
|
|
21341
21345
|
if (W)
|
|
21342
21346
|
switch (W) {
|
|
@@ -21380,7 +21384,7 @@ Aa.exports;
|
|
|
21380
21384
|
return T == "string" || T == "number" || T == "symbol" || T == "boolean" ? p !== "__proto__" : p === null;
|
|
21381
21385
|
}
|
|
21382
21386
|
function Er(p) {
|
|
21383
|
-
return !!
|
|
21387
|
+
return !!si && si in p;
|
|
21384
21388
|
}
|
|
21385
21389
|
function Eo(p) {
|
|
21386
21390
|
var T = p && p.constructor, L = typeof T == "function" && T.prototype || ge;
|
|
@@ -21394,7 +21398,7 @@ Aa.exports;
|
|
|
21394
21398
|
return L == null ? !1 : L[p] === T && (T !== void 0 || p in Object(L));
|
|
21395
21399
|
};
|
|
21396
21400
|
}
|
|
21397
|
-
var Ao =
|
|
21401
|
+
var Ao = ci(function(p) {
|
|
21398
21402
|
p = Ln(p);
|
|
21399
21403
|
var T = [];
|
|
21400
21404
|
return H.test(p) && T.push(""), p.replace(U, function(L, W, gt, it) {
|
|
@@ -21420,7 +21424,7 @@ Aa.exports;
|
|
|
21420
21424
|
}
|
|
21421
21425
|
return "";
|
|
21422
21426
|
}
|
|
21423
|
-
function
|
|
21427
|
+
function ci(p, T) {
|
|
21424
21428
|
if (typeof p != "function" || T && typeof T != "function")
|
|
21425
21429
|
throw new TypeError(i);
|
|
21426
21430
|
var L = function() {
|
|
@@ -21430,9 +21434,9 @@ Aa.exports;
|
|
|
21430
21434
|
var xt = p.apply(this, W);
|
|
21431
21435
|
return L.cache = it.set(gt, xt), xt;
|
|
21432
21436
|
};
|
|
21433
|
-
return L.cache = new (
|
|
21437
|
+
return L.cache = new (ci.Cache || en)(), L;
|
|
21434
21438
|
}
|
|
21435
|
-
|
|
21439
|
+
ci.Cache = en;
|
|
21436
21440
|
function Rr(p, T) {
|
|
21437
21441
|
return p === T || p !== p && T !== T;
|
|
21438
21442
|
}
|
|
@@ -21474,7 +21478,7 @@ Aa.exports;
|
|
|
21474
21478
|
function Fr(p, T) {
|
|
21475
21479
|
return p != null && Po(p, T, _o);
|
|
21476
21480
|
}
|
|
21477
|
-
function
|
|
21481
|
+
function ui(p) {
|
|
21478
21482
|
return A(p) ? mo(p) : So(p);
|
|
21479
21483
|
}
|
|
21480
21484
|
function bs(p, T) {
|
|
@@ -21491,10 +21495,10 @@ Aa.exports;
|
|
|
21491
21495
|
}
|
|
21492
21496
|
n.exports = bs;
|
|
21493
21497
|
})(Aa, Aa.exports);
|
|
21494
|
-
var
|
|
21495
|
-
const
|
|
21496
|
-
var
|
|
21497
|
-
function
|
|
21498
|
+
var GC = Aa.exports;
|
|
21499
|
+
const KC = /* @__PURE__ */ Pc(GC);
|
|
21500
|
+
var ZC = 9007199254740991, QC = "[object Arguments]", JC = "[object Function]", tO = "[object GeneratorFunction]", eO = "[object Symbol]", nO = typeof Le == "object" && Le && Le.Object === Object && Le, iO = typeof self == "object" && self && self.Object === Object && self, sO = nO || iO || Function("return this")();
|
|
21501
|
+
function rO(n, t, e) {
|
|
21498
21502
|
switch (e.length) {
|
|
21499
21503
|
case 0:
|
|
21500
21504
|
return n.call(t);
|
|
@@ -21507,87 +21511,87 @@ function aO(n, t, e) {
|
|
|
21507
21511
|
}
|
|
21508
21512
|
return n.apply(t, e);
|
|
21509
21513
|
}
|
|
21510
|
-
function
|
|
21514
|
+
function aO(n, t) {
|
|
21511
21515
|
for (var e = -1, i = n ? n.length : 0, s = Array(i); ++e < i; )
|
|
21512
21516
|
s[e] = t(n[e], e, n);
|
|
21513
21517
|
return s;
|
|
21514
21518
|
}
|
|
21515
|
-
function
|
|
21519
|
+
function oO(n, t) {
|
|
21516
21520
|
for (var e = -1, i = t.length, s = n.length; ++e < i; )
|
|
21517
21521
|
n[s + e] = t[e];
|
|
21518
21522
|
return n;
|
|
21519
21523
|
}
|
|
21520
|
-
var Wc = Object.prototype,
|
|
21521
|
-
function
|
|
21524
|
+
var Wc = Object.prototype, lO = Wc.hasOwnProperty, Yc = Wc.toString, kh = sO.Symbol, cO = Wc.propertyIsEnumerable, Ch = kh ? kh.isConcatSpreadable : void 0, Oh = Math.max;
|
|
21525
|
+
function uO(n, t, e, i, s) {
|
|
21522
21526
|
var r = -1, a = n.length;
|
|
21523
|
-
for (e || (e =
|
|
21527
|
+
for (e || (e = gO), s || (s = []); ++r < a; ) {
|
|
21524
21528
|
var o = n[r];
|
|
21525
|
-
e(o) ?
|
|
21529
|
+
e(o) ? oO(s, o) : s[s.length] = o;
|
|
21526
21530
|
}
|
|
21527
21531
|
return s;
|
|
21528
21532
|
}
|
|
21529
|
-
function
|
|
21530
|
-
return n = Object(n),
|
|
21533
|
+
function dO(n, t) {
|
|
21534
|
+
return n = Object(n), hO(n, t, function(e, i) {
|
|
21531
21535
|
return i in n;
|
|
21532
21536
|
});
|
|
21533
21537
|
}
|
|
21534
|
-
function
|
|
21538
|
+
function hO(n, t, e) {
|
|
21535
21539
|
for (var i = -1, s = t.length, r = {}; ++i < s; ) {
|
|
21536
21540
|
var a = t[i], o = n[a];
|
|
21537
21541
|
e(o, a) && (r[a] = o);
|
|
21538
21542
|
}
|
|
21539
21543
|
return r;
|
|
21540
21544
|
}
|
|
21541
|
-
function
|
|
21545
|
+
function fO(n, t) {
|
|
21542
21546
|
return t = Oh(t === void 0 ? n.length - 1 : t, 0), function() {
|
|
21543
21547
|
for (var e = arguments, i = -1, s = Oh(e.length - t, 0), r = Array(s); ++i < s; )
|
|
21544
21548
|
r[i] = e[t + i];
|
|
21545
21549
|
i = -1;
|
|
21546
21550
|
for (var a = Array(t + 1); ++i < t; )
|
|
21547
21551
|
a[i] = e[i];
|
|
21548
|
-
return a[t] = r,
|
|
21552
|
+
return a[t] = r, rO(n, this, a);
|
|
21549
21553
|
};
|
|
21550
21554
|
}
|
|
21551
|
-
function
|
|
21552
|
-
return
|
|
21555
|
+
function gO(n) {
|
|
21556
|
+
return yO(n) || pO(n) || !!(Ch && n && n[Ch]);
|
|
21553
21557
|
}
|
|
21554
|
-
function
|
|
21555
|
-
if (typeof n == "string" ||
|
|
21558
|
+
function mO(n) {
|
|
21559
|
+
if (typeof n == "string" || MO(n))
|
|
21556
21560
|
return n;
|
|
21557
21561
|
var t = n + "";
|
|
21558
21562
|
return t == "0" && 1 / n == -1 / 0 ? "-0" : t;
|
|
21559
21563
|
}
|
|
21560
|
-
function
|
|
21561
|
-
return
|
|
21564
|
+
function pO(n) {
|
|
21565
|
+
return _O(n) && lO.call(n, "callee") && (!cO.call(n, "callee") || Yc.call(n) == QC);
|
|
21566
|
+
}
|
|
21567
|
+
var yO = Array.isArray;
|
|
21568
|
+
function bO(n) {
|
|
21569
|
+
return n != null && vO(n.length) && !xO(n);
|
|
21562
21570
|
}
|
|
21563
|
-
var bO = Array.isArray;
|
|
21564
21571
|
function _O(n) {
|
|
21565
|
-
return
|
|
21572
|
+
return om(n) && bO(n);
|
|
21566
21573
|
}
|
|
21567
21574
|
function xO(n) {
|
|
21568
|
-
|
|
21575
|
+
var t = wO(n) ? Yc.call(n) : "";
|
|
21576
|
+
return t == JC || t == tO;
|
|
21569
21577
|
}
|
|
21570
21578
|
function vO(n) {
|
|
21571
|
-
|
|
21572
|
-
return t == tO || t == eO;
|
|
21579
|
+
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= ZC;
|
|
21573
21580
|
}
|
|
21574
21581
|
function wO(n) {
|
|
21575
|
-
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= QC;
|
|
21576
|
-
}
|
|
21577
|
-
function MO(n) {
|
|
21578
21582
|
var t = typeof n;
|
|
21579
21583
|
return !!n && (t == "object" || t == "function");
|
|
21580
21584
|
}
|
|
21581
21585
|
function om(n) {
|
|
21582
21586
|
return !!n && typeof n == "object";
|
|
21583
21587
|
}
|
|
21584
|
-
function
|
|
21585
|
-
return typeof n == "symbol" || om(n) && Yc.call(n) ==
|
|
21588
|
+
function MO(n) {
|
|
21589
|
+
return typeof n == "symbol" || om(n) && Yc.call(n) == eO;
|
|
21586
21590
|
}
|
|
21587
|
-
var
|
|
21588
|
-
return n == null ? {} :
|
|
21589
|
-
}),
|
|
21590
|
-
const
|
|
21591
|
+
var SO = fO(function(n, t) {
|
|
21592
|
+
return n == null ? {} : dO(n, aO(uO(t), mO));
|
|
21593
|
+
}), TO = SO;
|
|
21594
|
+
const DO = /* @__PURE__ */ Pc(TO);
|
|
21591
21595
|
var lm = { exports: {} };
|
|
21592
21596
|
(function(n, t) {
|
|
21593
21597
|
(function(e, i) {
|
|
@@ -21657,7 +21661,7 @@ var lm = { exports: {} };
|
|
|
21657
21661
|
a.saveAs = l.saveAs = l, n.exports = l;
|
|
21658
21662
|
});
|
|
21659
21663
|
})(lm);
|
|
21660
|
-
var
|
|
21664
|
+
var kO = lm.exports, cm = { exports: {} };
|
|
21661
21665
|
/* @license
|
|
21662
21666
|
Papa Parse
|
|
21663
21667
|
v5.5.3
|
|
@@ -21920,17 +21924,17 @@ License: MIT
|
|
|
21920
21924
|
function At(jt) {
|
|
21921
21925
|
if (y.header && !U && J.length && !et) {
|
|
21922
21926
|
var se = J[0], ge = /* @__PURE__ */ Object.create(null), rn = new Set(se);
|
|
21923
|
-
let
|
|
21927
|
+
let si = !1;
|
|
21924
21928
|
for (let Qe = 0; Qe < se.length; Qe++) {
|
|
21925
21929
|
let $t = se[Qe];
|
|
21926
21930
|
if (ge[$t = k(y.transformHeader) ? y.transformHeader($t, Qe) : $t]) {
|
|
21927
|
-
let Ce,
|
|
21928
|
-
for (; Ce = $t + "_" +
|
|
21929
|
-
rn.add(Ce), se[Qe] = Ce, ge[$t]++,
|
|
21931
|
+
let Ce, ri = ge[$t];
|
|
21932
|
+
for (; Ce = $t + "_" + ri, ri++, rn.has(Ce); ) ;
|
|
21933
|
+
rn.add(Ce), se[Qe] = Ce, ge[$t]++, si = !0, (V = V === null ? {} : V)[Ce] = $t;
|
|
21930
21934
|
} else ge[$t] = 1, se[Qe] = $t;
|
|
21931
21935
|
rn.add($t);
|
|
21932
21936
|
}
|
|
21933
|
-
|
|
21937
|
+
si && console.warn("Duplicate headers found and renamed."), et = !0;
|
|
21934
21938
|
}
|
|
21935
21939
|
return { data: J, errors: tt, meta: { delimiter: b, linebreak: M, aborted: Q, truncated: !!jt, cursor: bt + (U || 0), renamedHeaders: V } };
|
|
21936
21940
|
}
|
|
@@ -22072,8 +22076,8 @@ License: MIT
|
|
|
22072
22076
|
}), (d.prototype = Object.create(u.prototype)).constructor = d, (h.prototype = Object.create(u.prototype)).constructor = h, (f.prototype = Object.create(f.prototype)).constructor = f, (g.prototype = Object.create(u.prototype)).constructor = g, c;
|
|
22073
22077
|
});
|
|
22074
22078
|
})(cm);
|
|
22075
|
-
var
|
|
22076
|
-
const
|
|
22079
|
+
var CO = cm.exports;
|
|
22080
|
+
const OO = ["id"], PO = /* @__PURE__ */ de({
|
|
22077
22081
|
__name: "VueJsonCsv",
|
|
22078
22082
|
props: {
|
|
22079
22083
|
data: {
|
|
@@ -22138,12 +22142,12 @@ const PO = ["id"], EO = /* @__PURE__ */ de({
|
|
|
22138
22142
|
const u = i.labels;
|
|
22139
22143
|
if (typeof i.fields !== qi.Object)
|
|
22140
22144
|
throw new Error("Labels needs to be a object containing key / value pairs.");
|
|
22141
|
-
return typeof u === qi.Object ? (d) =>
|
|
22145
|
+
return typeof u === qi.Object ? (d) => KC(d, (h, f) => u[f] || f) : (d) => d;
|
|
22142
22146
|
}, o = () => {
|
|
22143
22147
|
const u = i.fields;
|
|
22144
22148
|
if (typeof i.fields !== qi.Object && !Array.isArray(u))
|
|
22145
22149
|
throw new Error("Fields needs to be an array of strings.");
|
|
22146
|
-
return Array.isArray(u) ? (d) =>
|
|
22150
|
+
return Array.isArray(u) ? (d) => DO(d, u) : (d) => d;
|
|
22147
22151
|
}, l = () => {
|
|
22148
22152
|
if (typeof i.fields === qi.Undefined && typeof i.labels === qi.Undefined)
|
|
22149
22153
|
return i.data;
|
|
@@ -22155,7 +22159,7 @@ const PO = ["id"], EO = /* @__PURE__ */ de({
|
|
|
22155
22159
|
return;
|
|
22156
22160
|
}
|
|
22157
22161
|
e("export-started", r.value);
|
|
22158
|
-
let u =
|
|
22162
|
+
let u = CO.unparse(r.value, Object.assign({
|
|
22159
22163
|
delimiter: i.delimiter,
|
|
22160
22164
|
encoding: i.encoding
|
|
22161
22165
|
}));
|
|
@@ -22164,7 +22168,7 @@ const PO = ["id"], EO = /* @__PURE__ */ de({
|
|
|
22164
22168
|
const d = new Blob([u], {
|
|
22165
22169
|
type: "text/csv;charset=" + i.encoding
|
|
22166
22170
|
});
|
|
22167
|
-
|
|
22171
|
+
kO.saveAs(d, i.filename);
|
|
22168
22172
|
}
|
|
22169
22173
|
};
|
|
22170
22174
|
return (u, d) => (K(), pt("div", {
|
|
@@ -22175,9 +22179,9 @@ const PO = ["id"], EO = /* @__PURE__ */ de({
|
|
|
22175
22179
|
er(u.$slots, "default", {}, () => [
|
|
22176
22180
|
Be("Download " + dt(n.filename), 1)
|
|
22177
22181
|
])
|
|
22178
|
-
], 8,
|
|
22182
|
+
], 8, OO));
|
|
22179
22183
|
}
|
|
22180
|
-
}),
|
|
22184
|
+
}), EO = /* @__PURE__ */ de({
|
|
22181
22185
|
__name: "DownloadCsv",
|
|
22182
22186
|
props: {
|
|
22183
22187
|
rows: {},
|
|
@@ -22187,7 +22191,7 @@ const PO = ["id"], EO = /* @__PURE__ */ de({
|
|
|
22187
22191
|
setup(n) {
|
|
22188
22192
|
const t = n, e = N(() => Object.keys(t.headers));
|
|
22189
22193
|
return (i, s) => (K(), pt("div", null, [
|
|
22190
|
-
Kt(
|
|
22194
|
+
Kt(PO, {
|
|
22191
22195
|
data: n.rows,
|
|
22192
22196
|
fields: e.value,
|
|
22193
22197
|
filename: n.filename,
|
|
@@ -22200,14 +22204,14 @@ const PO = ["id"], EO = /* @__PURE__ */ de({
|
|
|
22200
22204
|
}, 8, ["data", "fields", "filename", "labels"])
|
|
22201
22205
|
]));
|
|
22202
22206
|
}
|
|
22203
|
-
}),
|
|
22207
|
+
}), AO = { class: "kong-ui-public-csv-export-modal" }, RO = {
|
|
22204
22208
|
key: 0,
|
|
22205
22209
|
class: "selected-range"
|
|
22206
|
-
},
|
|
22210
|
+
}, IO = {
|
|
22207
22211
|
key: 4,
|
|
22208
22212
|
class: "text-muted",
|
|
22209
22213
|
tag: "span"
|
|
22210
|
-
}, Ph = 3,
|
|
22214
|
+
}, Ph = 3, rP = /* @__PURE__ */ de({
|
|
22211
22215
|
__name: "CsvExportModal",
|
|
22212
22216
|
props: {
|
|
22213
22217
|
exportState: {},
|
|
@@ -22284,7 +22288,7 @@ const PO = ["id"], EO = /* @__PURE__ */ de({
|
|
|
22284
22288
|
a.value++;
|
|
22285
22289
|
}), (g, m) => {
|
|
22286
22290
|
const _ = Re("KSkeleton"), v = Re("KEmptyState"), w = Re("KTableData"), S = Re("KTooltip"), D = Re("KButton"), P = Re("KModal");
|
|
22287
|
-
return K(), pt("div",
|
|
22291
|
+
return K(), pt("div", AO, [
|
|
22288
22292
|
Kt(P, {
|
|
22289
22293
|
class: "vitals-report",
|
|
22290
22294
|
"data-testid": "csv-export-modal",
|
|
@@ -22298,7 +22302,7 @@ const PO = ["id"], EO = /* @__PURE__ */ de({
|
|
|
22298
22302
|
var I;
|
|
22299
22303
|
return [
|
|
22300
22304
|
ut("div", null, [
|
|
22301
|
-
n.exportState.status === "success" && l.value ? (K(), pt("div",
|
|
22305
|
+
n.exportState.status === "success" && l.value ? (K(), pt("div", RO, [
|
|
22302
22306
|
ut("p", null, dt(n.modalDescription ? n.modalDescription : X(e).t("csvExport.exportDescription")), 1),
|
|
22303
22307
|
ut("p", null, dt(X(e).t("csvExport.exportTimeRange")) + ": " + dt(c.value), 1)
|
|
22304
22308
|
])) : Zt("", !0),
|
|
@@ -22337,7 +22341,7 @@ const PO = ["id"], EO = /* @__PURE__ */ de({
|
|
|
22337
22341
|
]),
|
|
22338
22342
|
_: 1
|
|
22339
22343
|
})) : Zt("", !0),
|
|
22340
|
-
n.exportState.status === "success" && l.value ? (K(), pt("div",
|
|
22344
|
+
n.exportState.status === "success" && l.value ? (K(), pt("div", IO, [
|
|
22341
22345
|
Be(dt(u.value) + " ", 1),
|
|
22342
22346
|
Kt(S, {
|
|
22343
22347
|
class: "preview-tooltip",
|
|
@@ -22367,7 +22371,7 @@ const PO = ["id"], EO = /* @__PURE__ */ de({
|
|
|
22367
22371
|
]),
|
|
22368
22372
|
_: 1
|
|
22369
22373
|
}),
|
|
22370
|
-
Kt(
|
|
22374
|
+
Kt(EO, {
|
|
22371
22375
|
class: "vitals-report-export-button",
|
|
22372
22376
|
filename: r,
|
|
22373
22377
|
headers: h.value.csvHeaders,
|
|
@@ -22393,11 +22397,11 @@ const PO = ["id"], EO = /* @__PURE__ */ de({
|
|
|
22393
22397
|
]);
|
|
22394
22398
|
};
|
|
22395
22399
|
}
|
|
22396
|
-
}),
|
|
22400
|
+
}), LO = { class: "container" }, NO = {
|
|
22397
22401
|
key: 0,
|
|
22398
22402
|
class: "no-data",
|
|
22399
22403
|
"data-testId": "sparkline-empty"
|
|
22400
|
-
},
|
|
22404
|
+
}, FO = ["title"], zO = /* @__PURE__ */ de({
|
|
22401
22405
|
__name: "SparklineChart",
|
|
22402
22406
|
props: {
|
|
22403
22407
|
chartKey: { default: () => {
|
|
@@ -22545,7 +22549,7 @@ const PO = ["id"], EO = /* @__PURE__ */ de({
|
|
|
22545
22549
|
}
|
|
22546
22550
|
};
|
|
22547
22551
|
}), P = Lt("0"), I = Lt("0");
|
|
22548
|
-
return
|
|
22552
|
+
return ni(() => {
|
|
22549
22553
|
We.positioners[S] = function(k, y) {
|
|
22550
22554
|
if (!k.length || u.interactionMode === "interactive")
|
|
22551
22555
|
return !1;
|
|
@@ -22557,9 +22561,9 @@ const PO = ["id"], EO = /* @__PURE__ */ de({
|
|
|
22557
22561
|
yAlign: R ? "top" : "bottom"
|
|
22558
22562
|
};
|
|
22559
22563
|
};
|
|
22560
|
-
}),
|
|
22564
|
+
}), ei(() => {
|
|
22561
22565
|
We.positioners[S] && delete We.positioners[S];
|
|
22562
|
-
}), (k, y) => (K(), pt("div",
|
|
22566
|
+
}), (k, y) => (K(), pt("div", LO, [
|
|
22563
22567
|
_.value ? n.type === "sparkline_bar" ? (K(), Nt(X(im), {
|
|
22564
22568
|
key: 1,
|
|
22565
22569
|
"chart-id": X(t),
|
|
@@ -22574,7 +22578,7 @@ const PO = ["id"], EO = /* @__PURE__ */ de({
|
|
|
22574
22578
|
"data-testId": n.type === "sparkline_line" ? "sparkline-line" : "sparkline-step",
|
|
22575
22579
|
options: D.value,
|
|
22576
22580
|
plugins: h.value
|
|
22577
|
-
}, null, 8, ["chart-id", "data", "data-testId", "options", "plugins"])) : Zt("", !0) : (K(), pt("div",
|
|
22581
|
+
}, null, 8, ["chart-id", "data", "data-testId", "options", "plugins"])) : Zt("", !0) : (K(), pt("div", NO, [
|
|
22578
22582
|
er(k.$slots, "empty", {}, () => [
|
|
22579
22583
|
Be(dt(X(e).t("sparkline_no_data")), 1)
|
|
22580
22584
|
], !0)
|
|
@@ -22600,43 +22604,43 @@ const PO = ["id"], EO = /* @__PURE__ */ de({
|
|
|
22600
22604
|
}, () => [
|
|
22601
22605
|
Be(dt(g.value), 1)
|
|
22602
22606
|
], !0)
|
|
22603
|
-
], 8,
|
|
22607
|
+
], 8, FO)) : Zt("", !0)
|
|
22604
22608
|
]));
|
|
22605
22609
|
}
|
|
22606
|
-
}),
|
|
22610
|
+
}), aP = /* @__PURE__ */ je(zO, [["__scopeId", "data-v-e18e899f"]]);
|
|
22607
22611
|
export {
|
|
22608
|
-
|
|
22612
|
+
nP as AnalyticsChart,
|
|
22609
22613
|
Ye as ChartLegendPosition,
|
|
22610
|
-
|
|
22611
|
-
|
|
22614
|
+
rP as CsvExportModal,
|
|
22615
|
+
$O as DECIMAL_DISPLAY,
|
|
22612
22616
|
oS as EMPTY_COLOR,
|
|
22613
22617
|
QM as FONT_SIZE_REGULAR,
|
|
22614
22618
|
ZM as FONT_SIZE_SMALL,
|
|
22615
22619
|
Yl as MAX_LABEL_LENGTH,
|
|
22616
|
-
|
|
22617
|
-
|
|
22618
|
-
|
|
22619
|
-
|
|
22620
|
+
GO as OTHERS_COLOR,
|
|
22621
|
+
iP as SimpleChart,
|
|
22622
|
+
aP as SparklineChart,
|
|
22623
|
+
sP as TopNTable,
|
|
22620
22624
|
qi as ValidType,
|
|
22621
22625
|
rS as accessibleGrey,
|
|
22622
22626
|
aS as apiRequestStatusCodeColors,
|
|
22623
|
-
|
|
22627
|
+
tP as chartTypes,
|
|
22624
22628
|
pS as codesInSpec,
|
|
22625
22629
|
sS as darkenColor,
|
|
22626
|
-
|
|
22630
|
+
Jn as datavisPalette,
|
|
22627
22631
|
al as defaultStatusCodeColors,
|
|
22628
22632
|
bg as determineBaseColor,
|
|
22629
|
-
|
|
22630
|
-
|
|
22631
|
-
|
|
22633
|
+
qO as errorRateColors,
|
|
22634
|
+
QO as handleQueryError,
|
|
22635
|
+
XO as latencyColors,
|
|
22632
22636
|
Yd as lightGrey,
|
|
22633
|
-
|
|
22637
|
+
KO as lookupColor,
|
|
22634
22638
|
jl as lookupDatavisColor,
|
|
22635
|
-
|
|
22639
|
+
ZO as lookupStatusCodeCategoryColor,
|
|
22636
22640
|
_g as lookupStatusCodeColor,
|
|
22637
|
-
|
|
22638
|
-
|
|
22639
|
-
|
|
22641
|
+
JO as simpleChartMetricDisplay,
|
|
22642
|
+
eP as simpleChartTypes,
|
|
22643
|
+
UO as statusCodeBadgeBackgroundColor,
|
|
22640
22644
|
sl as thresholdColor,
|
|
22641
|
-
|
|
22645
|
+
VO as trafficColors
|
|
22642
22646
|
};
|