@kong-ui-public/analytics-chart 13.0.1 → 13.0.2

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.
@@ -1,4 +1,4 @@
1
- import { computed as M, getCurrentInstance as er, onUnmounted as qe, shallowRef as be, onMounted as fn, onBeforeUnmount as md, watch as It, hasInjectionContext as dg, inject as Ye, nextTick as gd, isRef as hg, toRefs as fg, customRef as mg, toValue as mt, getCurrentScope as gg, onScopeDispose as pg, ref as St, unref as B, watchEffect as cl, defineComponent as Ht, openBlock as L, createElementBlock as q, createElementVNode as G, toDisplayString as tt, createVNode as Gt, Fragment as _e, renderList as Oe, normalizeClass as Lt, normalizeStyle as We, createBlock as ft, createCommentVNode as bt, resolveComponent as an, createSlots as nr, withCtx as Bt, createTextVNode as he, onWatcherCleanup as yg, useTemplateRef as tn, reactive as ai, toRef as st, Teleport as pd, h as Sa, toRaw as ka, version as bg, isProxy as yd, provide as ul, resolveDynamicComponent as Da, renderSlot as Ki, useCssVars as bd, useSlots as _g } from "vue";
1
+ import { computed as M, getCurrentInstance as er, onUnmounted as qe, shallowRef as be, onMounted as fn, onBeforeUnmount as md, watch as Et, hasInjectionContext as dg, inject as Ye, nextTick as gd, isRef as hg, toRefs as fg, customRef as mg, toValue as mt, getCurrentScope as gg, onScopeDispose as pg, ref as St, unref as B, watchEffect as cl, defineComponent as Ht, openBlock as L, createElementBlock as q, createElementVNode as G, toDisplayString as tt, createVNode as Gt, Fragment as _e, renderList as Oe, normalizeClass as Rt, normalizeStyle as We, createBlock as ft, createCommentVNode as gt, resolveComponent as an, createSlots as nr, withCtx as Bt, createTextVNode as he, onWatcherCleanup as yg, useTemplateRef as tn, reactive as ai, toRef as st, Teleport as pd, h as Sa, toRaw as ka, version as bg, isProxy as yd, provide as ul, resolveDynamicComponent as Da, renderSlot as Ki, useCssVars as bd, useSlots as _g } from "vue";
2
2
  import { CloseIcon as vg, DragIcon as xg, WarningIcon as wg, EqualIcon as Mg, GrokIcon as Tg, VllmIcon as Sg, GoogleVertexIcon as kg, OpenAiIcon as Dg, OllamaIcon as Cg, NvidiaIcon as Og, KimiIcon as Pg, MistralIcon as Ag, MetaLlamaIcon as Rg, HuggingFaceIcon as Ig, GeminiIcon as Eg, DeepseekIcon as Lg, DatabricksIcon as Ng, CohereIcon as Fg, CerebrasIcon as zg, AmazonBedrockIcon as Ug, AzureIcon as Hg, AnthropicIcon as Bg } from "@kong/icons";
3
3
  import { createI18n as $g, i18nTComponent as Yg } from "@kong-ui-public/i18n";
4
4
  import { useDatasourceConfigStore as _d } from "@kong-ui-public/analytics-config-store";
@@ -2355,7 +2355,7 @@ function l0() {
2355
2355
  ;
2356
2356
  return y;
2357
2357
  }
2358
- function pt(y, O) {
2358
+ function yt(y, O) {
2359
2359
  for (var E = -1, K = O.length, Xt = y.length; ++E < K; )
2360
2360
  y[Xt + E] = O[E];
2361
2361
  return y;
@@ -2365,7 +2365,7 @@ function l0() {
2365
2365
  E = O(E, y[Xt], Xt, y);
2366
2366
  return E;
2367
2367
  }
2368
- function Et(y, O) {
2368
+ function Lt(y, O) {
2369
2369
  for (var E = -1, K = Array(y); ++E < y; )
2370
2370
  K[E] = O(E);
2371
2371
  return K;
@@ -2518,7 +2518,7 @@ function l0() {
2518
2518
  }
2519
2519
  $n.prototype.clear = Om, $n.prototype.delete = Pm, $n.prototype.get = Am, $n.prototype.has = Rm, $n.prototype.set = Im;
2520
2520
  function Em(y, O) {
2521
- var E = Bo(y) || sg(y) ? Et(y.length, String) : [], K = E.length, Xt = !!K;
2521
+ var E = Bo(y) || sg(y) ? Lt(y.length, String) : [], K = E.length, Xt = !!K;
2522
2522
  for (var ce in y)
2523
2523
  Te.call(y, ce) && !(Xt && (ce == "length" || tg(ce, K))) && E.push(ce);
2524
2524
  return E;
@@ -2576,7 +2576,7 @@ function l0() {
2576
2576
  }
2577
2577
  function Fm(y, O, E) {
2578
2578
  var K = O(y);
2579
- return Bo(y) ? K : pt(K, E(y));
2579
+ return Bo(y) ? K : yt(K, E(y));
2580
2580
  }
2581
2581
  function zm(y) {
2582
2582
  return Hn.call(y);
@@ -4700,7 +4700,7 @@ class yv extends Xd {
4700
4700
  return n.timestampIsSet ? t : Nt(t, fv(t, this.context));
4701
4701
  }
4702
4702
  }
4703
- class gt {
4703
+ class pt {
4704
4704
  run(t, n, i, s) {
4705
4705
  const o = this.parse(t, n, i, s);
4706
4706
  return o ? {
@@ -4718,7 +4718,7 @@ class gt {
4718
4718
  return !0;
4719
4719
  }
4720
4720
  }
4721
- class bv extends gt {
4721
+ class bv extends pt {
4722
4722
  priority = 140;
4723
4723
  parse(t, n, i) {
4724
4724
  switch (n) {
@@ -4790,7 +4790,7 @@ function Ut(e, t) {
4790
4790
  rest: e.rest
4791
4791
  };
4792
4792
  }
4793
- function Rt(e, t) {
4793
+ function It(e, t) {
4794
4794
  const n = t.match(e);
4795
4795
  return n ? {
4796
4796
  value: parseInt(n[0], 10),
@@ -4813,34 +4813,34 @@ function Ce(e, t) {
4813
4813
  };
4814
4814
  }
4815
4815
  function Kd(e) {
4816
- return Rt(zt.anyDigitsSigned, e);
4816
+ return It(zt.anyDigitsSigned, e);
4817
4817
  }
4818
4818
  function Ft(e, t) {
4819
4819
  switch (e) {
4820
4820
  case 1:
4821
- return Rt(zt.singleDigit, t);
4821
+ return It(zt.singleDigit, t);
4822
4822
  case 2:
4823
- return Rt(zt.twoDigits, t);
4823
+ return It(zt.twoDigits, t);
4824
4824
  case 3:
4825
- return Rt(zt.threeDigits, t);
4825
+ return It(zt.threeDigits, t);
4826
4826
  case 4:
4827
- return Rt(zt.fourDigits, t);
4827
+ return It(zt.fourDigits, t);
4828
4828
  default:
4829
- return Rt(new RegExp("^\\d{1," + e + "}"), t);
4829
+ return It(new RegExp("^\\d{1," + e + "}"), t);
4830
4830
  }
4831
4831
  }
4832
4832
  function to(e, t) {
4833
4833
  switch (e) {
4834
4834
  case 1:
4835
- return Rt(zt.singleDigitSigned, t);
4835
+ return It(zt.singleDigitSigned, t);
4836
4836
  case 2:
4837
- return Rt(zt.twoDigitsSigned, t);
4837
+ return It(zt.twoDigitsSigned, t);
4838
4838
  case 3:
4839
- return Rt(zt.threeDigitsSigned, t);
4839
+ return It(zt.threeDigitsSigned, t);
4840
4840
  case 4:
4841
- return Rt(zt.fourDigitsSigned, t);
4841
+ return It(zt.fourDigitsSigned, t);
4842
4842
  default:
4843
- return Rt(new RegExp("^-?\\d{1," + e + "}"), t);
4843
+ return It(new RegExp("^-?\\d{1," + e + "}"), t);
4844
4844
  }
4845
4845
  }
4846
4846
  function mr(e) {
@@ -4871,7 +4871,7 @@ function Zd(e, t) {
4871
4871
  function Qd(e) {
4872
4872
  return e % 400 === 0 || e % 4 === 0 && e % 100 !== 0;
4873
4873
  }
4874
- class _v extends gt {
4874
+ class _v extends pt {
4875
4875
  priority = 130;
4876
4876
  incompatibleTokens = ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"];
4877
4877
  parse(t, n, i) {
@@ -4909,7 +4909,7 @@ class _v extends gt {
4909
4909
  return t.setFullYear(o, 0, 1), t.setHours(0, 0, 0, 0), t;
4910
4910
  }
4911
4911
  }
4912
- class vv extends gt {
4912
+ class vv extends pt {
4913
4913
  priority = 130;
4914
4914
  parse(t, n, i) {
4915
4915
  const s = (o) => ({
@@ -4965,7 +4965,7 @@ class vv extends gt {
4965
4965
  "T"
4966
4966
  ];
4967
4967
  }
4968
- class xv extends gt {
4968
+ class xv extends pt {
4969
4969
  priority = 130;
4970
4970
  parse(t, n) {
4971
4971
  return to(n === "R" ? 4 : n.length, t);
@@ -4992,7 +4992,7 @@ class xv extends gt {
4992
4992
  "T"
4993
4993
  ];
4994
4994
  }
4995
- class wv extends gt {
4995
+ class wv extends pt {
4996
4996
  priority = 130;
4997
4997
  parse(t, n) {
4998
4998
  return to(n === "u" ? 4 : n.length, t);
@@ -5002,7 +5002,7 @@ class wv extends gt {
5002
5002
  }
5003
5003
  incompatibleTokens = ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"];
5004
5004
  }
5005
- class Mv extends gt {
5005
+ class Mv extends pt {
5006
5006
  priority = 120;
5007
5007
  parse(t, n, i) {
5008
5008
  switch (n) {
@@ -5064,7 +5064,7 @@ class Mv extends gt {
5064
5064
  "T"
5065
5065
  ];
5066
5066
  }
5067
- class Tv extends gt {
5067
+ class Tv extends pt {
5068
5068
  priority = 120;
5069
5069
  parse(t, n, i) {
5070
5070
  switch (n) {
@@ -5126,7 +5126,7 @@ class Tv extends gt {
5126
5126
  "T"
5127
5127
  ];
5128
5128
  }
5129
- class Sv extends gt {
5129
+ class Sv extends pt {
5130
5130
  incompatibleTokens = [
5131
5131
  "Y",
5132
5132
  "R",
@@ -5149,7 +5149,7 @@ class Sv extends gt {
5149
5149
  // 1, 2, ..., 12
5150
5150
  case "M":
5151
5151
  return Ut(
5152
- Rt(zt.month, t),
5152
+ It(zt.month, t),
5153
5153
  s
5154
5154
  );
5155
5155
  // 01, 02, ..., 12
@@ -5189,7 +5189,7 @@ class Sv extends gt {
5189
5189
  return t.setMonth(i, 1), t.setHours(0, 0, 0, 0), t;
5190
5190
  }
5191
5191
  }
5192
- class kv extends gt {
5192
+ class kv extends pt {
5193
5193
  priority = 110;
5194
5194
  parse(t, n, i) {
5195
5195
  const s = (o) => o - 1;
@@ -5197,7 +5197,7 @@ class kv extends gt {
5197
5197
  // 1, 2, ..., 12
5198
5198
  case "L":
5199
5199
  return Ut(
5200
- Rt(zt.month, t),
5200
+ It(zt.month, t),
5201
5201
  s
5202
5202
  );
5203
5203
  // 01, 02, ..., 12
@@ -5256,12 +5256,12 @@ function Dv(e, t, n) {
5256
5256
  const i = ot(e, n?.in), s = Wd(i, n) - t;
5257
5257
  return i.setDate(i.getDate() - s * 7), ot(i, n?.in);
5258
5258
  }
5259
- class Cv extends gt {
5259
+ class Cv extends pt {
5260
5260
  priority = 100;
5261
5261
  parse(t, n, i) {
5262
5262
  switch (n) {
5263
5263
  case "w":
5264
- return Rt(zt.week, t);
5264
+ return It(zt.week, t);
5265
5265
  case "wo":
5266
5266
  return i.ordinalNumber(t, { unit: "week" });
5267
5267
  default:
@@ -5294,12 +5294,12 @@ function Ov(e, t, n) {
5294
5294
  const i = ot(e, n?.in), s = Yd(i, n) - t;
5295
5295
  return i.setDate(i.getDate() - s * 7), i;
5296
5296
  }
5297
- class Pv extends gt {
5297
+ class Pv extends pt {
5298
5298
  priority = 100;
5299
5299
  parse(t, n, i) {
5300
5300
  switch (n) {
5301
5301
  case "I":
5302
- return Rt(zt.week, t);
5302
+ return It(zt.week, t);
5303
5303
  case "Io":
5304
5304
  return i.ordinalNumber(t, { unit: "week" });
5305
5305
  default:
@@ -5343,13 +5343,13 @@ const Av = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Rv = [
5343
5343
  30,
5344
5344
  31
5345
5345
  ];
5346
- class Iv extends gt {
5346
+ class Iv extends pt {
5347
5347
  priority = 90;
5348
5348
  subPriority = 1;
5349
5349
  parse(t, n, i) {
5350
5350
  switch (n) {
5351
5351
  case "d":
5352
- return Rt(zt.date, t);
5352
+ return It(zt.date, t);
5353
5353
  case "do":
5354
5354
  return i.ordinalNumber(t, { unit: "date" });
5355
5355
  default:
@@ -5378,14 +5378,14 @@ class Iv extends gt {
5378
5378
  "T"
5379
5379
  ];
5380
5380
  }
5381
- class Ev extends gt {
5381
+ class Ev extends pt {
5382
5382
  priority = 90;
5383
5383
  subpriority = 1;
5384
5384
  parse(t, n, i) {
5385
5385
  switch (n) {
5386
5386
  case "D":
5387
5387
  case "DD":
5388
- return Rt(zt.dayOfYear, t);
5388
+ return It(zt.dayOfYear, t);
5389
5389
  case "Do":
5390
5390
  return i.ordinalNumber(t, { unit: "date" });
5391
5391
  default:
@@ -5421,7 +5421,7 @@ function gr(e, t, n) {
5421
5421
  const i = Ln(), s = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? i.weekStartsOn ?? i.locale?.options?.weekStartsOn ?? 0, o = ot(e, n?.in), a = o.getDay(), l = (t % 7 + 7) % 7, c = 7 - s, u = t < 0 || t > 6 ? t - (a + c) % 7 : (l + c) % 7 - (a + c) % 7;
5422
5422
  return po(o, u, n);
5423
5423
  }
5424
- class Lv extends gt {
5424
+ class Lv extends pt {
5425
5425
  priority = 90;
5426
5426
  parse(t, n, i) {
5427
5427
  switch (n) {
@@ -5457,7 +5457,7 @@ class Lv extends gt {
5457
5457
  }
5458
5458
  incompatibleTokens = ["D", "i", "e", "c", "t", "T"];
5459
5459
  }
5460
- class Nv extends gt {
5460
+ class Nv extends pt {
5461
5461
  priority = 90;
5462
5462
  parse(t, n, i, s) {
5463
5463
  const o = (a) => {
@@ -5523,7 +5523,7 @@ class Nv extends gt {
5523
5523
  "T"
5524
5524
  ];
5525
5525
  }
5526
- class Fv extends gt {
5526
+ class Fv extends pt {
5527
5527
  priority = 90;
5528
5528
  parse(t, n, i, s) {
5529
5529
  const o = (a) => {
@@ -5593,7 +5593,7 @@ function zv(e, t, n) {
5593
5593
  const i = ot(e, n?.in), s = hv(i, n), o = t - s;
5594
5594
  return po(i, o, n);
5595
5595
  }
5596
- class Uv extends gt {
5596
+ class Uv extends pt {
5597
5597
  priority = 90;
5598
5598
  parse(t, n, i) {
5599
5599
  const s = (o) => o === 0 ? 7 : o;
@@ -5684,7 +5684,7 @@ class Uv extends gt {
5684
5684
  "T"
5685
5685
  ];
5686
5686
  }
5687
- class Hv extends gt {
5687
+ class Hv extends pt {
5688
5688
  priority = 80;
5689
5689
  parse(t, n, i) {
5690
5690
  switch (n) {
@@ -5721,7 +5721,7 @@ class Hv extends gt {
5721
5721
  }
5722
5722
  incompatibleTokens = ["b", "B", "H", "k", "t", "T"];
5723
5723
  }
5724
- class Bv extends gt {
5724
+ class Bv extends pt {
5725
5725
  priority = 80;
5726
5726
  parse(t, n, i) {
5727
5727
  switch (n) {
@@ -5758,7 +5758,7 @@ class Bv extends gt {
5758
5758
  }
5759
5759
  incompatibleTokens = ["a", "B", "H", "k", "t", "T"];
5760
5760
  }
5761
- class $v extends gt {
5761
+ class $v extends pt {
5762
5762
  priority = 80;
5763
5763
  parse(t, n, i) {
5764
5764
  switch (n) {
@@ -5795,12 +5795,12 @@ class $v extends gt {
5795
5795
  }
5796
5796
  incompatibleTokens = ["a", "b", "t", "T"];
5797
5797
  }
5798
- class Yv extends gt {
5798
+ class Yv extends pt {
5799
5799
  priority = 70;
5800
5800
  parse(t, n, i) {
5801
5801
  switch (n) {
5802
5802
  case "h":
5803
- return Rt(zt.hour12h, t);
5803
+ return It(zt.hour12h, t);
5804
5804
  case "ho":
5805
5805
  return i.ordinalNumber(t, { unit: "hour" });
5806
5806
  default:
@@ -5816,12 +5816,12 @@ class Yv extends gt {
5816
5816
  }
5817
5817
  incompatibleTokens = ["H", "K", "k", "t", "T"];
5818
5818
  }
5819
- class Wv extends gt {
5819
+ class Wv extends pt {
5820
5820
  priority = 70;
5821
5821
  parse(t, n, i) {
5822
5822
  switch (n) {
5823
5823
  case "H":
5824
- return Rt(zt.hour23h, t);
5824
+ return It(zt.hour23h, t);
5825
5825
  case "Ho":
5826
5826
  return i.ordinalNumber(t, { unit: "hour" });
5827
5827
  default:
@@ -5836,12 +5836,12 @@ class Wv extends gt {
5836
5836
  }
5837
5837
  incompatibleTokens = ["a", "b", "h", "K", "k", "t", "T"];
5838
5838
  }
5839
- class Vv extends gt {
5839
+ class Vv extends pt {
5840
5840
  priority = 70;
5841
5841
  parse(t, n, i) {
5842
5842
  switch (n) {
5843
5843
  case "K":
5844
- return Rt(zt.hour11h, t);
5844
+ return It(zt.hour11h, t);
5845
5845
  case "Ko":
5846
5846
  return i.ordinalNumber(t, { unit: "hour" });
5847
5847
  default:
@@ -5856,12 +5856,12 @@ class Vv extends gt {
5856
5856
  }
5857
5857
  incompatibleTokens = ["h", "H", "k", "t", "T"];
5858
5858
  }
5859
- class jv extends gt {
5859
+ class jv extends pt {
5860
5860
  priority = 70;
5861
5861
  parse(t, n, i) {
5862
5862
  switch (n) {
5863
5863
  case "k":
5864
- return Rt(zt.hour24h, t);
5864
+ return It(zt.hour24h, t);
5865
5865
  case "ko":
5866
5866
  return i.ordinalNumber(t, { unit: "hour" });
5867
5867
  default:
@@ -5877,12 +5877,12 @@ class jv extends gt {
5877
5877
  }
5878
5878
  incompatibleTokens = ["a", "b", "h", "H", "K", "t", "T"];
5879
5879
  }
5880
- class qv extends gt {
5880
+ class qv extends pt {
5881
5881
  priority = 60;
5882
5882
  parse(t, n, i) {
5883
5883
  switch (n) {
5884
5884
  case "m":
5885
- return Rt(zt.minute, t);
5885
+ return It(zt.minute, t);
5886
5886
  case "mo":
5887
5887
  return i.ordinalNumber(t, { unit: "minute" });
5888
5888
  default:
@@ -5897,12 +5897,12 @@ class qv extends gt {
5897
5897
  }
5898
5898
  incompatibleTokens = ["t", "T"];
5899
5899
  }
5900
- class Gv extends gt {
5900
+ class Gv extends pt {
5901
5901
  priority = 50;
5902
5902
  parse(t, n, i) {
5903
5903
  switch (n) {
5904
5904
  case "s":
5905
- return Rt(zt.second, t);
5905
+ return It(zt.second, t);
5906
5906
  case "so":
5907
5907
  return i.ordinalNumber(t, { unit: "second" });
5908
5908
  default:
@@ -5917,7 +5917,7 @@ class Gv extends gt {
5917
5917
  }
5918
5918
  incompatibleTokens = ["t", "T"];
5919
5919
  }
5920
- class Xv extends gt {
5920
+ class Xv extends pt {
5921
5921
  priority = 30;
5922
5922
  parse(t, n) {
5923
5923
  const i = (s) => Math.trunc(s * Math.pow(10, -n.length + 3));
@@ -5928,7 +5928,7 @@ class Xv extends gt {
5928
5928
  }
5929
5929
  incompatibleTokens = ["t", "T"];
5930
5930
  }
5931
- class Kv extends gt {
5931
+ class Kv extends pt {
5932
5932
  priority = 10;
5933
5933
  parse(t, n) {
5934
5934
  switch (n) {
@@ -5961,7 +5961,7 @@ class Kv extends gt {
5961
5961
  }
5962
5962
  incompatibleTokens = ["t", "T", "x"];
5963
5963
  }
5964
- class Zv extends gt {
5964
+ class Zv extends pt {
5965
5965
  priority = 10;
5966
5966
  parse(t, n) {
5967
5967
  switch (n) {
@@ -5994,7 +5994,7 @@ class Zv extends gt {
5994
5994
  }
5995
5995
  incompatibleTokens = ["t", "T", "X"];
5996
5996
  }
5997
- class Qv extends gt {
5997
+ class Qv extends pt {
5998
5998
  priority = 40;
5999
5999
  parse(t) {
6000
6000
  return Kd(t);
@@ -6004,7 +6004,7 @@ class Qv extends gt {
6004
6004
  }
6005
6005
  incompatibleTokens = "*";
6006
6006
  }
6007
- class Jv extends gt {
6007
+ class Jv extends pt {
6008
6008
  priority = 20;
6009
6009
  parse(t) {
6010
6010
  return Kd(t);
@@ -6715,7 +6715,7 @@ const vw = /* @__PURE__ */ (() => {
6715
6715
  function nt(e) {
6716
6716
  return e == null;
6717
6717
  }
6718
- function yt(e) {
6718
+ function bt(e) {
6719
6719
  if (Array.isArray && Array.isArray(e))
6720
6720
  return !0;
6721
6721
  const t = Object.prototype.toString.call(e);
@@ -6740,7 +6740,7 @@ function xt(e, t, n) {
6740
6740
  }
6741
6741
  function wt(e, t, n, i) {
6742
6742
  let s, o, a;
6743
- if (yt(e))
6743
+ if (bt(e))
6744
6744
  for (o = e.length, s = 0; s < o; s++)
6745
6745
  t.call(n, e[s], s);
6746
6746
  else if (rt(e))
@@ -6757,7 +6757,7 @@ function eo(e, t) {
6757
6757
  return !0;
6758
6758
  }
6759
6759
  function no(e) {
6760
- if (yt(e))
6760
+ if (bt(e))
6761
6761
  return e.map(no);
6762
6762
  if (rt(e)) {
6763
6763
  const t = /* @__PURE__ */ Object.create(null), n = Object.keys(e), i = n.length;
@@ -6782,7 +6782,7 @@ function ww(e, t, n, i) {
6782
6782
  rt(s) && rt(o) ? Qi(s, o, i) : t[e] = no(o);
6783
6783
  }
6784
6784
  function Qi(e, t, n) {
6785
- const i = yt(t) ? t : [
6785
+ const i = bt(t) ? t : [
6786
6786
  t
6787
6787
  ], s = i.length;
6788
6788
  if (!rt(e))
@@ -7218,7 +7218,7 @@ function cs(e, t, n) {
7218
7218
  }
7219
7219
  const mh = {
7220
7220
  values(e) {
7221
- return yt(e) ? e : "" + e;
7221
+ return bt(e) ? e : "" + e;
7222
7222
  },
7223
7223
  numeric(e, t, n) {
7224
7224
  if (e === 0)
@@ -7420,11 +7420,11 @@ function qw(e, t, n, i) {
7420
7420
  const r = n.length;
7421
7421
  let l, c, u, d, h;
7422
7422
  for (l = 0; l < r; l++)
7423
- if (d = n[l], d != null && !yt(d))
7423
+ if (d = n[l], d != null && !bt(d))
7424
7424
  a = ro(e, s, o, a, d);
7425
- else if (yt(d))
7425
+ else if (bt(d))
7426
7426
  for (c = 0, u = d.length; c < u; c++)
7427
- h = d[c], h != null && !yt(h) && (a = ro(e, s, o, a, h));
7427
+ h = d[c], h != null && !bt(h) && (a = ro(e, s, o, a, h));
7428
7428
  e.restore();
7429
7429
  const f = o.length / 2;
7430
7430
  if (f > n.length) {
@@ -7533,7 +7533,7 @@ function Qw(e, t) {
7533
7533
  e.fillStyle = t.color, e.fillRect(t.left, t.top, t.width, t.height), e.fillStyle = n;
7534
7534
  }
7535
7535
  function Rn(e, t, n, i, s, o = {}) {
7536
- const a = yt(t) ? t : [
7536
+ const a = bt(t) ? t : [
7537
7537
  t
7538
7538
  ], r = o.strokeWidth > 0 && o.strokeColor !== "";
7539
7539
  let l, c;
@@ -7765,7 +7765,7 @@ function bh(e, t, n) {
7765
7765
  function oM(e, t, n) {
7766
7766
  const { _proxy: i, _context: s, _subProxy: o, _descriptors: a } = e;
7767
7767
  let r = i[t];
7768
- return me(r) && a.isScriptable(t) && (r = aM(t, r, e, n)), yt(r) && r.length && (r = rM(t, r, e, a.isIndexable)), Dr(t, r) && (r = di(r, s, o && o[t], a)), r;
7768
+ return me(r) && a.isScriptable(t) && (r = aM(t, r, e, n)), bt(r) && r.length && (r = rM(t, r, e, a.isIndexable)), Dr(t, r) && (r = di(r, s, o && o[t], a)), r;
7769
7769
  }
7770
7770
  function aM(e, t, n, i) {
7771
7771
  const { _proxy: s, _context: o, _subProxy: a, _stack: r } = n;
@@ -7826,7 +7826,7 @@ function uM(e, t, n) {
7826
7826
  const i = e._getTarget();
7827
7827
  t in i || (i[t] = {});
7828
7828
  const s = i[t];
7829
- return yt(s) && rt(n) ? n : s || {};
7829
+ return bt(s) && rt(n) ? n : s || {};
7830
7830
  }
7831
7831
  function dM(e, t, n, i) {
7832
7832
  let s;
@@ -8480,7 +8480,7 @@ class Ar {
8480
8480
  const a = {};
8481
8481
  for (const r of n)
8482
8482
  a[r] = o[r];
8483
- (yt(o.properties) && o.properties || [
8483
+ (bt(o.properties) && o.properties || [
8484
8484
  s
8485
8485
  ]).forEach((r) => {
8486
8486
  (r === s || !i.has(r)) && i.set(r, a);
@@ -8768,7 +8768,7 @@ class pn {
8768
8768
  if (this._parsing === !1)
8769
8769
  i._parsed = s, i._sorted = !0, h = s;
8770
8770
  else {
8771
- yt(s[t]) ? h = this.parseArrayData(i, s, t, n) : rt(s[t]) ? h = this.parseObjectData(i, s, t, n) : h = this.parsePrimitiveData(i, s, t, n);
8771
+ bt(s[t]) ? h = this.parseArrayData(i, s, t, n) : rt(s[t]) ? h = this.parseObjectData(i, s, t, n) : h = this.parsePrimitiveData(i, s, t, n);
8772
8772
  const f = () => d[r] === null || c && d[r] < c[r];
8773
8773
  for (u = 0; u < n; ++u)
8774
8774
  i._parsed[u + t] = d = h[u], l && (f() && (l = !1), c = d);
@@ -9110,7 +9110,7 @@ function nT(e, t, n, i) {
9110
9110
  };
9111
9111
  }
9112
9112
  function Ph(e, t, n, i) {
9113
- return yt(e) ? nT(e, t, n, i) : t[n.axis] = n.parse(e, i), t;
9113
+ return bt(e) ? nT(e, t, n, i) : t[n.axis] = n.parse(e, i), t;
9114
9114
  }
9115
9115
  function xc(e, t, n, i) {
9116
9116
  const s = e.iScale, o = e.vScale, a = s.getLabels(), r = s === o, l = [];
@@ -10747,7 +10747,7 @@ function Ic(e, t) {
10747
10747
  if (!e.display)
10748
10748
  return 0;
10749
10749
  const n = Ot(e.font, t), i = Yt(e.padding);
10750
- return (yt(e.text) ? e.text.length : 1) * n.lineHeight + i.height;
10750
+ return (bt(e.text) ? e.text.length : 1) * n.lineHeight + i.height;
10751
10751
  }
10752
10752
  function qT(e, t) {
10753
10753
  return gn(e, {
@@ -11027,11 +11027,11 @@ class Fn extends se {
11027
11027
  if (m = t[d].label, g = this._resolveTickFontOptions(d), s.font = p = g.string, b = o[p] = o[p] || {
11028
11028
  data: {},
11029
11029
  gc: []
11030
- }, _ = g.lineHeight, w = S = 0, !nt(m) && !yt(m))
11030
+ }, _ = g.lineHeight, w = S = 0, !nt(m) && !bt(m))
11031
11031
  w = ro(s, b.data, b.gc, w, m), S = _;
11032
- else if (yt(m))
11032
+ else if (bt(m))
11033
11033
  for (h = 0, f = m.length; h < f; ++h)
11034
- v = m[h], !nt(v) && !yt(v) && (w = ro(s, b.data, b.gc, w, v), S += _);
11034
+ v = m[h], !nt(v) && !bt(v) && (w = ro(s, b.data, b.gc, w, v), S += _);
11035
11035
  a.push(w), r.push(S), c = Math.max(w, c), u = Math.max(S, u);
11036
11036
  }
11037
11037
  jT(o, n);
@@ -11181,7 +11181,7 @@ class Fn extends se {
11181
11181
  for (b = 0, _ = r.length; b < _; ++b) {
11182
11182
  w = r[b], S = w.label;
11183
11183
  const Y = o.setContext(this.getContext(b));
11184
- P = this.getPixelForTick(b) + o.labelOffset, I = this._resolveTickFontOptions(b), R = I.lineHeight, x = yt(S) ? S.length : 1;
11184
+ P = this.getPixelForTick(b) + o.labelOffset, I = this._resolveTickFontOptions(b), R = I.lineHeight, x = bt(S) ? S.length : 1;
11185
11185
  const j = x / 2, Z = Y.color, ct = Y.textStrokeColor, ut = Y.textStrokeWidth;
11186
11186
  let et = T;
11187
11187
  a ? (v = P, T === "inner" && (b === _ - 1 ? et = this.options.reverse ? "left" : "right" : b === 0 ? et = this.options.reverse ? "right" : "left" : et = "center"), s === "top" ? c === "near" || g !== 0 ? C = -x * R + R / 2 : c === "center" ? C = -F.highest.height / 2 - j * R + R : C = -F.highest.height + R / 2 : c === "near" || g !== 0 ? C = R / 2 : c === "center" ? C = F.highest.height / 2 - j * R : C = F.highest.height - x * R, d && (C *= -1), g !== 0 && !Y.showLabelBackdrop && (v += R / 2 * Math.sin(g))) : (D = P, C = (1 - x) * R / 2);
@@ -11337,7 +11337,7 @@ class Fn extends se {
11337
11337
  return;
11338
11338
  const o = Ot(i.font), a = Yt(i.padding), r = i.align;
11339
11339
  let l = o.lineHeight / 2;
11340
- n === "bottom" || n === "center" || rt(n) ? (l += a.bottom, yt(i.text) && (l += o.lineHeight * (i.text.length - 1))) : l += a.top;
11340
+ n === "bottom" || n === "center" || rt(n) ? (l += a.bottom, bt(i.text) && (l += o.lineHeight * (i.text.length - 1))) : l += a.top;
11341
11341
  const { titleX: c, titleY: u, maxWidth: d, rotation: h } = KT(this, l, n, r);
11342
11342
  Rn(t, i.text, 0, 0, o, {
11343
11343
  color: i.color,
@@ -11852,7 +11852,7 @@ function m1(e, t) {
11852
11852
  const { isScriptable: n, isIndexable: i } = yh(e);
11853
11853
  for (const s of t) {
11854
11854
  const o = n(s), a = i(s), r = (a || o) && e[s];
11855
- if (o && (me(r) || f1(r)) || a && yt(r))
11855
+ if (o && (me(r) || f1(r)) || a && bt(r))
11856
11856
  return !0;
11857
11857
  }
11858
11858
  return !1;
@@ -13200,7 +13200,7 @@ function qc(e, t, n, i) {
13200
13200
  }
13201
13201
  function Zh(e, t) {
13202
13202
  let n = [], i = !1;
13203
- return yt(e) ? (i = !0, n = e) : n = nS(e, t), n.length ? new vo({
13203
+ return bt(e) ? (i = !0, n = e) : n = nS(e, t), n.length ? new vo({
13204
13204
  points: n,
13205
13205
  options: {
13206
13206
  tension: 0
@@ -13840,7 +13840,7 @@ class Ir extends se {
13840
13840
  return;
13841
13841
  }
13842
13842
  this.width = this.right = t, this.height = this.bottom = n;
13843
- const s = yt(i.text) ? i.text.length : 1;
13843
+ const s = bt(i.text) ? i.text.length : 1;
13844
13844
  this._padding = Yt(i.padding);
13845
13845
  const o = s * Ot(i.font).lineHeight + this._padding.height;
13846
13846
  this.isHorizontal() ? this.height = o : this.width = o;
@@ -13998,7 +13998,7 @@ const Fi = {
13998
13998
  }
13999
13999
  };
14000
14000
  function Se(e, t) {
14001
- return t && (yt(t) ? Array.prototype.push.apply(e, t) : e.push(t)), e;
14001
+ return t && (bt(t) ? Array.prototype.push.apply(e, t) : e.push(t)), e;
14002
14002
  }
14003
14003
  function ze(e) {
14004
14004
  return (typeof e == "string" || e instanceof String) && e.indexOf(`
@@ -14805,7 +14805,7 @@ function $a(e) {
14805
14805
  return 0;
14806
14806
  }
14807
14807
  function qS(e, t, n) {
14808
- return n = yt(n) ? n : [
14808
+ return n = bt(n) ? n : [
14809
14809
  n
14810
14810
  ], {
14811
14811
  w: qw(e, t.string, n),
@@ -15603,16 +15603,16 @@ function gk(e, t, n, i, s) {
15603
15603
  o.value = a(n.value, s.value);
15604
15604
  }), md(() => {
15605
15605
  nt(o.value) || o.value.destroy();
15606
- }), It(n, (r, l) => {
15606
+ }), Et(n, (r, l) => {
15607
15607
  if (mk(l, r) && !nt(o.value)) {
15608
15608
  for (const [c, u] of r.datasets.entries())
15609
15609
  Object.assign(o.value.data.datasets[c], u);
15610
15610
  o.value.data.labels = r.labels, o.value.update();
15611
15611
  } else
15612
15612
  nt(o.value) || o.value.destroy(), o.value = a(r, s.value);
15613
- }), It(t, () => {
15613
+ }), Et(t, () => {
15614
15614
  nt(o.value) || o.value.destroy(), o.value = a(n.value, s.value);
15615
- }), It(s, (r, l) => {
15615
+ }), Et(s, (r, l) => {
15616
15616
  (r.indexAxis !== l.indexAxis || // @ts-ignore - chart js options internally, are not well typed
15617
15617
  JSON.stringify(r.scales.x.title) !== JSON.stringify(l.scales.x.title) || // @ts-ignore - chart js options internally, are not well typed
15618
15618
  JSON.stringify(r.scales.y.title) !== JSON.stringify(l.scales.y.title)) && (nt(o.value) || o.value.destroy(), o.value = a(n.value, r));
@@ -16472,7 +16472,7 @@ function cC(e, t, n, i) {
16472
16472
  });
16473
16473
  }
16474
16474
  const uC = (e, t) => {
16475
- It(
16475
+ Et(
16476
16476
  [e, t],
16477
16477
  (n, i, s) => {
16478
16478
  const [o, a] = n;
@@ -16539,7 +16539,7 @@ function bC(e, t = !0, n) {
16539
16539
  pC() ? fn(e, n) : t ? e() : gd(e);
16540
16540
  }
16541
16541
  function _C(e, t, n) {
16542
- return It(e, t, {
16542
+ return Et(e, t, {
16543
16543
  ...n,
16544
16544
  immediate: !0
16545
16545
  });
@@ -16588,7 +16588,7 @@ function xC(e, t, n = {}) {
16588
16588
  let o;
16589
16589
  const a = /* @__PURE__ */ af(() => i && "MutationObserver" in i), r = () => {
16590
16590
  o && (o.disconnect(), o = void 0);
16591
- }, l = It(M(() => {
16591
+ }, l = Et(M(() => {
16592
16592
  const d = qs(mt(e)).map(fi).filter(fC);
16593
16593
  return new Set(d);
16594
16594
  }), (d) => {
@@ -16625,9 +16625,9 @@ function MC(e, t = {}) {
16625
16625
  margin: (s = mt(I.margin)) !== null && s !== void 0 ? s : Hs.margin,
16626
16626
  direction: (o = I.direction) !== null && o !== void 0 ? o : Hs.direction
16627
16627
  } : Hs, x = ($) => typeof $ == "number" ? [$, $] : [$.x, $.y], C = ($, k, A) => {
16628
- const { clientWidth: U, clientHeight: V, scrollLeft: lt, scrollTop: N, scrollWidth: W, scrollHeight: Mt } = $, [pt, ht] = x(R.margin), [Et, Zt] = x(R.speed);
16628
+ const { clientWidth: U, clientHeight: V, scrollLeft: lt, scrollTop: N, scrollWidth: W, scrollHeight: Mt } = $, [yt, ht] = x(R.margin), [Lt, Zt] = x(R.speed);
16629
16629
  let Vt = 0, Pt = 0;
16630
- (R.direction === "x" || R.direction === "both") && (A.x < pt && lt > 0 ? Vt = -Et : A.x + k.width > U - pt && lt < W - U && (Vt = Et)), (R.direction === "y" || R.direction === "both") && (A.y < ht && N > 0 ? Pt = -Zt : A.y + k.height > V - ht && N < Mt - V && (Pt = Zt)), (Vt || Pt) && $.scrollBy({
16630
+ (R.direction === "x" || R.direction === "both") && (A.x < yt && lt > 0 ? Vt = -Lt : A.x + k.width > U - yt && lt < W - U && (Vt = Lt)), (R.direction === "y" || R.direction === "both") && (A.y < ht && N > 0 ? Pt = -Zt : A.y + k.height > V - ht && N < Mt - V && (Pt = Zt)), (Vt || Pt) && $.scrollBy({
16631
16631
  left: Vt,
16632
16632
  top: Pt,
16633
16633
  behavior: "auto"
@@ -16658,7 +16658,7 @@ function MC(e, t = {}) {
16658
16658
  };
16659
16659
  j(V, $, R.margin, k) ? F() : Y();
16660
16660
  };
16661
- mt(S) && It(v, Z);
16661
+ mt(S) && Et(v, Z);
16662
16662
  const ct = ($) => {
16663
16663
  var k;
16664
16664
  if (!mt(_).includes($.button) || mt(t.disabled) || !T($) || mt(c) && $.target !== mt(e)) return;
@@ -16719,7 +16719,7 @@ function TC(e, t, n = {}) {
16719
16719
  let o;
16720
16720
  const a = /* @__PURE__ */ af(() => i && "ResizeObserver" in i), r = () => {
16721
16721
  o && (o.disconnect(), o = void 0);
16722
- }, l = It(M(() => {
16722
+ }, l = Et(M(() => {
16723
16723
  const u = mt(e);
16724
16724
  return Array.isArray(u) ? u.map((d) => fi(d)) : [fi(u)];
16725
16725
  }), (u) => {
@@ -16752,7 +16752,7 @@ function SC(e, t = {}) {
16752
16752
  function p() {
16753
16753
  a === "sync" ? g() : a === "next-frame" && requestAnimationFrame(() => g());
16754
16754
  }
16755
- return TC(e, p), It(() => fi(e), (b) => !b && p()), xC(e, p, { attributeFilter: ["style", "class"] }), s && ji("scroll", p, {
16755
+ return TC(e, p), Et(() => fi(e), (b) => !b && p()), xC(e, p, { attributeFilter: ["style", "class"] }), s && ji("scroll", p, {
16756
16756
  capture: !0,
16757
16757
  passive: !0
16758
16758
  }), i && ji("resize", p, { passive: !0 }), bC(() => {
@@ -17063,7 +17063,7 @@ const Lr = (e, t, n) => {
17063
17063
  value: t && t[s.text],
17064
17064
  isSegmentEmpty: i.datasets[o].isSegmentEmpty
17065
17065
  }))).sort(n);
17066
- }, yI = 2, BC = 10, $C = 12, Wa = 10, Nr = "y", mf = "y1", YC = {
17066
+ }, pI = 2, BC = 10, $C = 12, Wa = 10, Nr = "y", mf = "y1", YC = {
17067
17067
  lineTension: 0,
17068
17068
  pointBorderWidth: 1.2,
17069
17069
  borderJoinStyle: "round",
@@ -17675,7 +17675,7 @@ const _f = ({
17675
17675
  timezone: n,
17676
17676
  tooltipMap: EO,
17677
17677
  defaultFormat: "MMM dd, yyyy h:mm:ss a"
17678
- }), LO = (e) => e?.code === "ERR_CANCELED" || e?.name === "CanceledError" || e?.name === "AbortError", bI = (e) => {
17678
+ }), LO = (e) => e?.code === "ERR_CANCELED" || e?.name === "CanceledError" || e?.name === "AbortError", yI = (e) => {
17679
17679
  const { i18n: t } = J.useI18n();
17680
17680
  return LO(e) ? {
17681
17681
  type: "canceled",
@@ -17809,7 +17809,7 @@ const _f = ({
17809
17809
  });
17810
17810
  }
17811
17811
  return i.length ? i : void 0;
17812
- }, _I = (e, t) => {
17812
+ }, bI = (e, t) => {
17813
17813
  if (!e || !("meta" in e))
17814
17814
  return;
17815
17815
  const { metric: n, dimension: i, unroll: s, display: o, extraFields: a, metricUnit: r } = t, l = t.timestamp ?? "request_start";
@@ -17855,14 +17855,14 @@ const _f = ({
17855
17855
  n = n[i];
17856
17856
  }
17857
17857
  return n;
17858
- }, vI = ["hidden", "single", "full"], xI = [
17858
+ }, _I = ["hidden", "single", "full"], vI = [
17859
17859
  "donut",
17860
17860
  "horizontal_bar",
17861
17861
  "vertical_bar",
17862
17862
  "timeseries_line",
17863
17863
  "timeseries_bar",
17864
17864
  "scatter"
17865
- ], wI = [
17865
+ ], xI = [
17866
17866
  "gauge",
17867
17867
  "top_n",
17868
17868
  "single_value"
@@ -18016,7 +18016,7 @@ function Br(e, t = "center") {
18016
18016
  }
18017
18017
  const Of = (e, t) => e && e.autoFit && t < 1;
18018
18018
  function Pf(e, t) {
18019
- const n = e.font, i = yt(n) ? n : [n];
18019
+ const n = e.font, i = bt(n) ? n : [n];
18020
18020
  return Of(e, t) ? i.map(function(s) {
18021
18021
  const o = Ot(s);
18022
18022
  return o.size = Math.floor(s.size * t), o.lineHeight = s.lineHeight, Ot(o);
@@ -18079,7 +18079,7 @@ function Co(e, t) {
18079
18079
  width: hn(n.width, t.width),
18080
18080
  height: hn(n.height, t.height)
18081
18081
  };
18082
- const i = Pf(t), s = t.textStrokeWidth, o = yt(n) ? n : [n], a = o.join() + tP(i) + s + (e._measureText ? "-spriting" : "");
18082
+ const i = Pf(t), s = t.textStrokeWidth, o = bt(n) ? n : [n], a = o.join() + tP(i) + s + (e._measureText ? "-spriting" : "");
18083
18083
  return xa.has(a) || xa.set(a, sP(e, o, i, s)), xa.get(a);
18084
18084
  }
18085
18085
  function Ef(e, t, n) {
@@ -18100,7 +18100,7 @@ function Lf(e, t, n, i) {
18100
18100
  e.save(), e.globalAlpha = rP(n.opacity, s.style.opacity), e.drawImage(s, t.x, t.y, t.width, t.height), e.restore();
18101
18101
  return;
18102
18102
  }
18103
- const o = yt(s) ? s : [s], a = Pf(n, i), r = n.color, l = yt(r) ? r : [r], c = ZO(t, n), u = t.y + n.textStrokeWidth / 2;
18103
+ const o = bt(s) ? s : [s], a = Pf(n, i), r = n.color, l = bt(r) ? r : [r], c = ZO(t, n), u = t.y + n.textStrokeWidth / 2;
18104
18104
  e.save(), e.textBaseline = "middle", e.textAlign = n.textAlign, eP(e, n) && oP(e, { x: c, y: u }, o, a), aP(e, { x: c, y: u }, o, { fonts: a, colors: l }), e.restore();
18105
18105
  }
18106
18106
  function eP(e, t) {
@@ -19360,7 +19360,7 @@ function Ja(e, t) {
19360
19360
  const n = {};
19361
19361
  for (const i of Object.keys(t)) {
19362
19362
  const s = t[i], o = e[i];
19363
- Qa(i) && yt(o) ? n[i] = o.map((a) => od(a, s)) : n[i] = od(o, s);
19363
+ Qa(i) && bt(o) ? n[i] = o.map((a) => od(a, s)) : n[i] = od(o, s);
19364
19364
  }
19365
19365
  return n;
19366
19366
  }
@@ -19415,7 +19415,7 @@ var rd = {
19415
19415
  rt(o) ? Object.keys(o).forEach((a) => {
19416
19416
  const r = o[a];
19417
19417
  rt(r) && (r.id = a, s.push(r));
19418
- }) : yt(o) && s.push(...o), OP(s.filter(ad), e.scales);
19418
+ }) : bt(o) && s.push(...o), OP(s.filter(ad), e.scales);
19419
19419
  },
19420
19420
  afterDataLimits(e, t) {
19421
19421
  const n = Qe.get(e);
@@ -19549,7 +19549,7 @@ const gA = { class: "zoom-timerange-container" }, pA = { class: "zoom-timerange-
19549
19549
  });
19550
19550
  }, 100)();
19551
19551
  };
19552
- return It(() => [t.start, t.end], ([a, r]) => {
19552
+ return Et(() => [t.start, t.end], ([a, r]) => {
19553
19553
  o(a, r);
19554
19554
  }, { immediate: !0 }), (a, r) => (L(), q("div", gA, [
19555
19555
  G("div", pA, [
@@ -19595,7 +19595,7 @@ const gA = { class: "zoom-timerange-container" }, pA = { class: "zoom-timerange-
19595
19595
  G("div", wA, [
19596
19596
  (L(!0), q(_e, null, Oe(e.zoomActionItems, (r) => (L(), q("div", {
19597
19597
  key: r.key,
19598
- class: Lt(["zoom-action-item", { disabled: r.disabled }]),
19598
+ class: Rt(["zoom-action-item", { disabled: r.disabled }]),
19599
19599
  "data-testid": `zoom-action-item-${r.key}`
19600
19600
  }, [
19601
19601
  r.href ? (L(), q("a", {
@@ -19637,11 +19637,11 @@ const gA = { class: "zoom-timerange-container" }, pA = { class: "zoom-timerange-
19637
19637
  y: parseFloat(i.absoluteTop)
19638
19638
  }
19639
19639
  }), l = M(() => `${a.value}px`), c = M(() => `${o.value}px`), u = M(() => i.state.tooltipContext), d = M(() => i.state.metricDisplay), h = M(() => ["interactive", "zoom-interactive"].includes(i.state.interactionMode));
19640
- return It(() => [i.absoluteLeft, i.absoluteTop], ([f, m]) => {
19640
+ return Et(() => [i.absoluteLeft, i.absoluteTop], ([f, m]) => {
19641
19641
  r.value || (o.value = parseFloat(f), a.value = parseFloat(m));
19642
- }), It(r, (f) => {
19642
+ }), Et(r, (f) => {
19643
19643
  f ? document.body.classList.add("no-select") : document.body.classList.remove("no-select");
19644
- }), It(s, (f) => {
19644
+ }), Et(s, (f) => {
19645
19645
  if (f) {
19646
19646
  const { width: m, height: g } = f.getBoundingClientRect();
19647
19647
  n("dimensions", { width: m, height: g });
@@ -19650,7 +19650,7 @@ const gA = { class: "zoom-timerange-container" }, pA = { class: "zoom-timerange-
19650
19650
  key: 0,
19651
19651
  ref_key: "tooltipEl",
19652
19652
  ref: s,
19653
- class: Lt(["tooltip-container", { locked: e.state.interactionMode === "interactive" }]),
19653
+ class: Rt(["tooltip-container", { locked: e.state.interactionMode === "interactive" }]),
19654
19654
  style: We({
19655
19655
  transform: h.value ? `translate(${c.value}, ${l.value})` : `translate(${e.absoluteLeft}, ${e.absoluteTop})`,
19656
19656
  left: "0",
@@ -19678,12 +19678,12 @@ const gA = { class: "zoom-timerange-container" }, pA = { class: "zoom-timerange-
19678
19678
  class: "drag-icon",
19679
19679
  color: `var(--kui-color-text-neutral, ${B(Id)})`,
19680
19680
  size: `var(--kui-icon-size-30, ${B(ri)})`
19681
- }, null, 8, ["color", "size"])) : bt("", !0)
19681
+ }, null, 8, ["color", "size"])) : gt("", !0)
19682
19682
  ]),
19683
19683
  u.value || d.value ? (L(), q("div", AA, [
19684
19684
  G("div", RA, tt(u.value), 1),
19685
19685
  G("div", IA, tt(d.value), 1)
19686
- ])) : bt("", !0)
19686
+ ])) : gt("", !0)
19687
19687
  ]),
19688
19688
  G("ul", EA, [
19689
19689
  (L(!0), q(_e, null, Oe(e.state.tooltipSeries, ({ backgroundColor: g, borderColor: p, label: b, value: _, isSegmentEmpty: w, isExtra: S }, v) => (L(), q(_e, {
@@ -19691,7 +19691,7 @@ const gA = { class: "zoom-timerange-container" }, pA = { class: "zoom-timerange-
19691
19691
  }, [
19692
19692
  e.state.tooltipSeries.length ? (L(), q("li", {
19693
19693
  key: 0,
19694
- class: Lt({ "extra-row": S })
19694
+ class: Rt({ "extra-row": S })
19695
19695
  }, [
19696
19696
  S ? (L(), q("div", LA)) : (L(), q("div", {
19697
19697
  key: 1,
@@ -19699,14 +19699,14 @@ const gA = { class: "zoom-timerange-container" }, pA = { class: "zoom-timerange-
19699
19699
  style: We({ background: String(g), borderColor: String(p) })
19700
19700
  }, null, 4)),
19701
19701
  G("span", {
19702
- class: Lt(["display-label", { empty: w }])
19702
+ class: Rt(["display-label", { empty: w }])
19703
19703
  }, tt(b), 3),
19704
19704
  G("span", NA, tt(_), 1)
19705
- ], 2)) : bt("", !0)
19705
+ ], 2)) : gt("", !0)
19706
19706
  ], 64))), 128))
19707
19707
  ])
19708
19708
  ]))
19709
- ], 6)) : bt("", !0);
19709
+ ], 6)) : gt("", !0);
19710
19710
  }
19711
19711
  }), ys = /* @__PURE__ */ Wt(FA, [["__scopeId", "data-v-fb2f2a72"]]), zA = {
19712
19712
  key: 0,
@@ -19755,7 +19755,7 @@ const gA = { class: "zoom-timerange-container" }, pA = { class: "zoom-timerange-
19755
19755
  return B(s) !== B(ne).Hidden ? (L(), q("ul", zA, [
19756
19756
  (L(!0), q(_e, null, Oe(e.items, ({ fillStyle: d, strokeStyle: h, text: f, datasetIndex: m, index: g, value: p, isSegmentEmpty: b, isKey: _, lineDash: w }, S) => (L(), q("li", {
19757
19757
  key: o({ datasetIndex: m, index: g, isKey: _ }, S),
19758
- class: Lt({ "legend-key": _ }),
19758
+ class: Rt({ "legend-key": _ }),
19759
19759
  onClick: (v) => _ ? void 0 : a(m, g)
19760
19760
  }, [
19761
19761
  w?.length ? (L(), q("svg", HA, [
@@ -19776,14 +19776,14 @@ const gA = { class: "zoom-timerange-container" }, pA = { class: "zoom-timerange-
19776
19776
  Gt(u, null, nr({
19777
19777
  default: Bt(() => [
19778
19778
  G("div", {
19779
- class: Lt(["label-container", { "strike-through": !_ && !r(m, g), "inline-value": _ }]),
19779
+ class: Rt(["label-container", { "strike-through": !_ && !r(m, g), "inline-value": _ }]),
19780
19780
  title: p && (B(i) || _) ? `${f}: ${p.formatted}` : f
19781
19781
  }, [
19782
19782
  G("div", YA, tt(f), 1),
19783
19783
  p && (B(i) || _) ? (L(), q("div", WA, [
19784
- _ ? (L(), q("span", VA, "-")) : bt("", !0),
19784
+ _ ? (L(), q("span", VA, "-")) : gt("", !0),
19785
19785
  he(" " + tt(p.formatted), 1)
19786
- ])) : bt("", !0)
19786
+ ])) : gt("", !0)
19787
19787
  ], 10, $A)
19788
19788
  ]),
19789
19789
  _: 2
@@ -19797,7 +19797,7 @@ const gA = { class: "zoom-timerange-container" }, pA = { class: "zoom-timerange-
19797
19797
  } : void 0
19798
19798
  ]), 1024)
19799
19799
  ], 10, UA))), 128))
19800
- ])) : bt("", !0);
19800
+ ])) : gt("", !0);
19801
19801
  };
19802
19802
  }
19803
19803
  }), Ro = /* @__PURE__ */ Wt(qA, [["__scopeId", "data-v-90ef4d12"]]), Kt = [];
@@ -19910,7 +19910,7 @@ class Io {
19910
19910
  _watchTimestamp(t) {
19911
19911
  if (!this.coordinator) return;
19912
19912
  let n;
19913
- return this.watchTimestamp && (n = It([
19913
+ return this.watchTimestamp && (n = Et([
19914
19914
  this.coordinator.activeChart,
19915
19915
  this.coordinator.activeTimestamp
19916
19916
  ], ([
@@ -19924,7 +19924,7 @@ class Io {
19924
19924
  let n;
19925
19925
  if (this.watchDimension) {
19926
19926
  let i;
19927
- n = It([
19927
+ n = Et([
19928
19928
  this.coordinator.activeChart,
19929
19929
  this.coordinator.activeDimension,
19930
19930
  this.coordinator.activeDimensionValue
@@ -20020,28 +20020,28 @@ const JA = ["id"], t2 = ["id"], e2 = { class: "axis-tooltip-content" }, n2 = "10
20020
20020
  watchTimestamp: !1,
20021
20021
  watchDimension: !0
20022
20022
  }), l = tn("chartContainer"), c = tn("chartParent"), u = ({ chart: N }, W) => {
20023
- const Mt = N.data, pt = Mt.labels?.indexOf(W);
20024
- return Mt.datasets.reduce((ht, Et, Zt) => {
20023
+ const Mt = N.data, yt = Mt.labels?.indexOf(W);
20024
+ return Mt.datasets.reduce((ht, Lt, Zt) => {
20025
20025
  if (N.isDatasetVisible(Zt)) {
20026
- const Vt = Et.data[pt];
20026
+ const Vt = Lt.data[yt];
20027
20027
  return isNaN(Vt) ? ht : ht + Vt;
20028
20028
  } else
20029
20029
  return ht;
20030
20030
  }, 0);
20031
- }, d = (N, W, Mt, pt) => {
20032
- const ht = pt === "horizontal";
20031
+ }, d = (N, W, Mt, yt) => {
20032
+ const ht = yt === "horizontal";
20033
20033
  W === null && (W = n.t("entityNoName"));
20034
- const Et = {
20034
+ const Lt = {
20035
20035
  type: "label",
20036
20036
  yValue: (Pt) => ht ? W : u(Pt, W),
20037
20037
  xValue: (Pt) => ht ? u(Pt, W) : W
20038
20038
  }, Zt = {
20039
- ...Et,
20039
+ ...Lt,
20040
20040
  position: ht ? { x: "start", y: "center" } : { x: "center", y: "end" },
20041
20041
  yAdjust: () => ht ? 0 : -Math.abs(qC()),
20042
20042
  content: (Pt) => Du(u(Pt, W), Mt)
20043
20043
  }, Vt = {
20044
- ...Et,
20044
+ ...Lt,
20045
20045
  content: (Pt) => XC(u(Pt, W), GC(Pt.chart, N)),
20046
20046
  position: ht ? { x: "start", y: "center" } : { x: "center", y: "end" },
20047
20047
  xAdjust: (Pt) => ht ? jC(Du(u(Pt, W), Mt)) : 0,
@@ -20101,11 +20101,11 @@ const JA = ["id"], t2 = ["id"], e2 = { class: "axis-tooltip-content" }, n2 = "10
20101
20101
  // https://www.chartjs.org/docs/latest/api/interfaces/Plugin.html#parameters
20102
20102
  afterEvent(N, W) {
20103
20103
  if (_.show = !1, W.event.type === "mousemove") {
20104
- const Mt = W.event, pt = N.options.indexAxis, ht = N.scales, Et = N.scales[pt].getLabelForValue(Number(N.scales[pt].getValueForPixel(Mt[pt]))), Vt = N.scales[pt].getLabels().indexOf(Et), Pt = t.chartData.isLabelEmpty?.[Vt];
20105
- if (((yn) => yn === "x" ? Mt.y > ht.x.top : Mt.x < ht.y.right)(pt)) {
20104
+ const Mt = W.event, yt = N.options.indexAxis, ht = N.scales, Lt = N.scales[yt].getLabelForValue(Number(N.scales[yt].getValueForPixel(Mt[yt]))), Vt = N.scales[yt].getLabels().indexOf(Lt), Pt = t.chartData.isLabelEmpty?.[Vt];
20105
+ if (((yn) => yn === "x" ? Mt.y > ht.x.top : Mt.x < ht.y.right)(yt)) {
20106
20106
  v.interactionMode !== "interactive" && (v.showTooltip = !1);
20107
- const z = N.canvas.getContext("2d").measureText(Et).width, Q = Math.abs(Math.round(Mt.x - z * 0.5)), dt = Math.round(Mt.x + z * 0.5), At = N.canvas.getBoundingClientRect(), le = 40;
20108
- _.left = pt === "x" ? `${(Q > 0 ? Q : dt) - _.offset + At.left}px` : `${Mt.x - z * 0.5 - _.offset + At.left}px`, _.top = `${Mt.y - le + At.top}px`, Et.length > Wa ? (_.show = !0, _.text = Et) : Pt ? (_.text = n.t("emptyEntityInfo"), _.show = !0) : _.show = !1;
20107
+ const z = N.canvas.getContext("2d").measureText(Lt).width, Q = Math.abs(Math.round(Mt.x - z * 0.5)), dt = Math.round(Mt.x + z * 0.5), At = N.canvas.getBoundingClientRect(), le = 40;
20108
+ _.left = yt === "x" ? `${(Q > 0 ? Q : dt) - _.offset + At.left}px` : `${Mt.x - z * 0.5 - _.offset + At.left}px`, _.top = `${Mt.y - le + At.top}px`, Lt.length > Wa ? (_.show = !0, _.text = Lt) : Pt ? (_.text = n.t("emptyEntityInfo"), _.show = !0) : _.show = !1;
20109
20109
  } else
20110
20110
  _.show = !1;
20111
20111
  }
@@ -20162,11 +20162,11 @@ const JA = ["id"], t2 = ["id"], e2 = { class: "axis-tooltip-content" }, n2 = "10
20162
20162
  [ne.Bottom]: "column"
20163
20163
  }, A = M(() => {
20164
20164
  if (f.value && $.value) {
20165
- const N = window.devicePixelRatio, W = $.value, Mt = W.scales.y.width * N + c2, pt = (W.scales.y.height + W.scales.y.top + W.scales.x.height) * N, ht = f.value.getContext("2d");
20166
- return ht.scale(N, N), ht.canvas.width = Mt, ht.canvas.height = pt, ht.canvas.style.width = `${Mt / N}px`, ht.canvas.style.height = `${pt / N}px`, {
20165
+ const N = window.devicePixelRatio, W = $.value, Mt = W.scales.y.width * N + c2, yt = (W.scales.y.height + W.scales.y.top + W.scales.x.height) * N, ht = f.value.getContext("2d");
20166
+ return ht.scale(N, N), ht.canvas.width = Mt, ht.canvas.height = yt, ht.canvas.style.width = `${Mt / N}px`, ht.canvas.style.height = `${yt / N}px`, {
20167
20167
  scale: N,
20168
20168
  width: Mt * N,
20169
- height: pt * N,
20169
+ height: yt * N,
20170
20170
  targetCtx: ht
20171
20171
  };
20172
20172
  }
@@ -20174,20 +20174,20 @@ const JA = ["id"], t2 = ["id"], e2 = { class: "axis-tooltip-content" }, n2 = "10
20174
20174
  }), U = (N) => {
20175
20175
  const W = N.target;
20176
20176
  if (A.value && $.value && !S.value) {
20177
- const Mt = A.value.scale, pt = A.value.targetCtx, ht = A.value.width, Et = A.value.height, Zt = $.value, Vt = Zt.canvas;
20178
- pt.fillStyle = "white", W.scrollLeft >= a2 && W.scrollLeft <= r2 ? (pt.globalCompositeOperation = "source-over", pt.clearRect(0, 0, ht, Et), pt.drawImage(Vt, 0, 0, ht, Et, 0, 0, ht, Et), pt.globalCompositeOperation = "destination-over", pt.fillRect(0, 0, ht, Et)) : (pt.globalCompositeOperation = "source-over", pt.fillRect(0, (Zt.scales.y.height + Zt.scales.y.top + l2) * Mt, ht, Zt.scales.x.height * Mt));
20177
+ const Mt = A.value.scale, yt = A.value.targetCtx, ht = A.value.width, Lt = A.value.height, Zt = $.value, Vt = Zt.canvas;
20178
+ yt.fillStyle = "white", W.scrollLeft >= a2 && W.scrollLeft <= r2 ? (yt.globalCompositeOperation = "source-over", yt.clearRect(0, 0, ht, Lt), yt.drawImage(Vt, 0, 0, ht, Lt, 0, 0, ht, Lt), yt.globalCompositeOperation = "destination-over", yt.fillRect(0, 0, ht, Lt)) : (yt.globalCompositeOperation = "source-over", yt.fillRect(0, (Zt.scales.y.height + Zt.scales.y.top + l2) * Mt, ht, Zt.scales.x.height * Mt));
20179
20179
  }
20180
20180
  v.offsetY = W.scrollTop, v.offsetX = W.scrollLeft, _.offset = W.scrollLeft;
20181
20181
  }, V = ({ width: N, height: W }) => {
20182
20182
  v.width = N, v.height = W;
20183
20183
  };
20184
- It(() => t.orientation, () => {
20184
+ Et(() => t.orientation, () => {
20185
20185
  if (f.value && A.value) {
20186
20186
  const N = A.value.width, W = A.value.height;
20187
20187
  (f.value?.getContext("2d")).clearRect(0, 0, N, W);
20188
20188
  }
20189
20189
  v.showTooltip = !1, v.interactionMode = "idle";
20190
- }), It(() => t.annotations, (N) => {
20190
+ }), Et(() => t.annotations, (N) => {
20191
20191
  $.value && (N ? $.value.options.plugins.annotation.annotations = I(t.chartData) : delete $.value.options.plugins.annotation.annotations);
20192
20192
  });
20193
20193
  const lt = () => {
@@ -20195,7 +20195,7 @@ const JA = ["id"], t2 = ["id"], e2 = { class: "axis-tooltip-content" }, n2 = "10
20195
20195
  };
20196
20196
  return (N, W) => (L(), q("div", {
20197
20197
  ref: "chartParent",
20198
- class: Lt(["chart-parent", k[B(b)]])
20198
+ class: Rt(["chart-parent", k[B(b)]])
20199
20199
  }, [
20200
20200
  G("canvas", {
20201
20201
  id: B(s),
@@ -20227,7 +20227,7 @@ const JA = ["id"], t2 = ["id"], e2 = { class: "axis-tooltip-content" }, n2 = "10
20227
20227
  width: "auto"
20228
20228
  }, [
20229
20229
  G("div", e2, tt(_.text), 1)
20230
- ], 4)) : bt("", !0),
20230
+ ], 4)) : gt("", !0),
20231
20231
  Gt(ys, {
20232
20232
  "absolute-left": B(D),
20233
20233
  "absolute-top": B(T),
@@ -20467,7 +20467,7 @@ const _2 = Ht({
20467
20467
  }, l = (c) => {
20468
20468
  c.update(e.updateMode);
20469
20469
  };
20470
- return fn(a), qe(r), It([
20470
+ return fn(a), qe(r), Et([
20471
20471
  () => e.options,
20472
20472
  () => e.data
20473
20473
  ], (c, u) => {
@@ -20507,7 +20507,7 @@ function Eo(e, t) {
20507
20507
  setup(n, i) {
20508
20508
  let { expose: s } = i;
20509
20509
  const o = be(null), a = be(null);
20510
- It(() => a.value?.chart ?? null, (l) => {
20510
+ Et(() => a.value?.chart ?? null, (l) => {
20511
20511
  o.value = l;
20512
20512
  }, {
20513
20513
  flush: "sync"
@@ -20615,7 +20615,7 @@ const Zf = /* @__PURE__ */ Eo("bar", Ah), Qf = /* @__PURE__ */ Eo("doughnut", hs
20615
20615
  };
20616
20616
  return (P, I) => (L(), q("div", {
20617
20617
  ref: "chartParent",
20618
- class: Lt(["chart-parent", D(e.legendPosition)]),
20618
+ class: Rt(["chart-parent", D(e.legendPosition)]),
20619
20619
  "data-testid": "donut-chart-parent"
20620
20620
  }, [
20621
20621
  G("div", x2, [
@@ -20629,8 +20629,8 @@ const Zf = /* @__PURE__ */ Eo("bar", Ah), Qf = /* @__PURE__ */ Eo("doughnut", hs
20629
20629
  }, null, 8, ["chart-id", "data", "options", "plugins"]),
20630
20630
  e.showCenterMetric && p.value ? (L(), q("div", w2, [
20631
20631
  G("span", M2, tt(b.value), 1),
20632
- _.value ? (L(), q("span", T2, tt(_.value), 1)) : bt("", !0)
20633
- ])) : bt("", !0),
20632
+ _.value ? (L(), q("span", T2, tt(_.value), 1)) : gt("", !0)
20633
+ ])) : gt("", !0),
20634
20634
  (L(), ft(pd, { to: "body" }, [
20635
20635
  Gt(ys, {
20636
20636
  "absolute-left": B(u),
@@ -20788,7 +20788,7 @@ const P2 = { class: "chart-container" }, A2 = /* @__PURE__ */ Ht({
20788
20788
  })[x];
20789
20789
  return (x, C) => (L(), q("div", {
20790
20790
  ref: "chartParent",
20791
- class: Lt(["chart-parent", R(B(n))]),
20791
+ class: Rt(["chart-parent", R(B(n))]),
20792
20792
  "data-testid": "scatter-chart-parent"
20793
20793
  }, [
20794
20794
  G("div", P2, [
@@ -21197,7 +21197,7 @@ const W2 = /* @__PURE__ */ Ht({
21197
21197
  }
21198
21198
  w.interactionMode !== "idle" ? Y() : j(), Z();
21199
21199
  };
21200
- It(() => n.type, () => {
21200
+ Et(() => n.type, () => {
21201
21201
  w.interactionMode = "idle", w.showTooltip = !1, o.destroyClickedSegment();
21202
21202
  });
21203
21203
  const ut = (k) => {
@@ -21226,7 +21226,7 @@ const W2 = /* @__PURE__ */ Ht({
21226
21226
  const A = k.target;
21227
21227
  A && g.value.contains(A) || b.value || Y(!1);
21228
21228
  };
21229
- return It(() => u.value?.chart, () => {
21229
+ return Et(() => u.value?.chart, () => {
21230
21230
  u.value?.chart && (u.value.chart.canvas.removeEventListener("dragSelect", ut), u.value.chart.canvas.removeEventListener("dragSelectMove", et), u.value.chart.canvas.addEventListener("dragSelect", ut), u.value.chart.canvas.addEventListener("dragSelectMove", et));
21231
21231
  }), fn(() => {
21232
21232
  document.addEventListener("click", $, !0);
@@ -21234,7 +21234,7 @@ const W2 = /* @__PURE__ */ Ht({
21234
21234
  u.value?.chart && (u.value.chart.canvas.removeEventListener("dragSelect", ut), u.value.chart.canvas.removeEventListener("dragSelectMove", et)), document.removeEventListener("click", $, !0);
21235
21235
  }), (k, A) => (L(), q("div", {
21236
21236
  ref: "chartParent",
21237
- class: Lt(["chart-parent", H(B(m))]),
21237
+ class: Rt(["chart-parent", H(B(m))]),
21238
21238
  "data-testid": "line-chart-parent"
21239
21239
  }, [
21240
21240
  G("div", {
@@ -21261,7 +21261,7 @@ const W2 = /* @__PURE__ */ Ht({
21261
21261
  "data-testid": "time-series-bar-chart",
21262
21262
  options: B(x),
21263
21263
  plugins: T.value
21264
- }, null, 8, ["chart-id", "data", "options", "plugins"])) : bt("", !0)
21264
+ }, null, 8, ["chart-id", "data", "options", "plugins"])) : gt("", !0)
21265
21265
  ]),
21266
21266
  Gt(ys, {
21267
21267
  "absolute-left": B(S),
@@ -21310,7 +21310,7 @@ const W2 = /* @__PURE__ */ Ht({
21310
21310
  emits: ["zoom-time-range", "select-chart-range"],
21311
21311
  setup(e, { emit: t }) {
21312
21312
  const n = Ye(Jg), i = t, s = e, { i18n: o } = J.useI18n(), a = J.useFieldLabel(), r = _d(), l = St(crypto.randomUUID());
21313
- It(() => s.chartOptions.type, () => {
21313
+ Et(() => s.chartOptions.type, () => {
21314
21314
  l.value = crypto.randomUUID();
21315
21315
  }, { immediate: !0 });
21316
21316
  const c = M(() => Hu(s.chartData) ? void 0 : s.chartData), u = M(() => {
@@ -21459,7 +21459,7 @@ const W2 = /* @__PURE__ */ Ht({
21459
21459
  }), Mt = M(() => {
21460
21460
  const z = _.value?.xMetric;
21461
21461
  return z ? lt(z, _.value?.xMetricUnit ?? "") : W.value;
21462
- }), pt = M(() => s.emptyStateTitle || o.t("noDataAvailableTitle")), ht = M(() => s.emptyStateDescription || o.t("noDataAvailableDescription")), Et = M(() => et.value ? !!_.value?.points.length : ct.value ? HC(T.value) : !!(c.value && c.value.meta && c.value.data.length)), Zt = M(() => {
21462
+ }), yt = M(() => s.emptyStateTitle || o.t("noDataAvailableTitle")), ht = M(() => s.emptyStateDescription || o.t("noDataAvailableDescription")), Lt = M(() => et.value ? !!_.value?.points.length : ct.value ? HC(T.value) : !!(c.value && c.value.meta && c.value.data.length)), Zt = M(() => {
21463
21463
  const z = c.value;
21464
21464
  return z ? z.meta.granularity_ms ? Ts(z.meta.granularity_ms) || "hourly" : Ts(
21465
21465
  new Date(z.data[1].timestamp).getTime() - new Date(z.data[0].timestamp).getTime()
@@ -21485,11 +21485,11 @@ const W2 = /* @__PURE__ */ Ht({
21485
21485
  const dt = an("KTooltip"), At = an("KEmptyState");
21486
21486
  return L(), q("div", {
21487
21487
  ref: "chartShell",
21488
- class: Lt(["analytics-chart-shell", {
21488
+ class: Rt(["analytics-chart-shell", {
21489
21489
  "show-values": C.value
21490
21490
  }])
21491
21491
  }, [
21492
- Et.value && Y.value && F.value ? (L(), q("div", j2, [
21492
+ Lt.value && Y.value && F.value ? (L(), q("div", j2, [
21493
21493
  Gt(dt, {
21494
21494
  class: "tooltip",
21495
21495
  "max-width": "500",
@@ -21506,8 +21506,8 @@ const W2 = /* @__PURE__ */ Ht({
21506
21506
  ]),
21507
21507
  _: 1
21508
21508
  })
21509
- ])) : bt("", !0),
21510
- Et.value ? (L(), q("div", G2, [
21509
+ ])) : gt("", !0),
21510
+ Lt.value ? (L(), q("div", G2, [
21511
21511
  ct.value ? (L(), ft(V2, {
21512
21512
  key: 0,
21513
21513
  brush: P.value,
@@ -21583,7 +21583,7 @@ const W2 = /* @__PURE__ */ Ht({
21583
21583
  "tooltip-title": e.tooltipTitle,
21584
21584
  "x-metric": _.value?.xMetric,
21585
21585
  "x-metric-unit": _.value?.xMetricUnit
21586
- }, null, 8, ["chart-data", "chart-legend-sort-fn", "chart-tooltip-sort-fn", "coordinator", "dimension-axes-title", "granularity", "metric-axes-title", "metric-unit", "shade-outlier-region", "synthetics-data-key", "theme-colors", "time-range-ms", "tooltip-metric-display", "tooltip-title", "x-metric", "x-metric-unit"])) : bt("", !0)
21586
+ }, null, 8, ["chart-data", "chart-legend-sort-fn", "chart-tooltip-sort-fn", "coordinator", "dimension-axes-title", "granularity", "metric-axes-title", "metric-unit", "shade-outlier-region", "synthetics-data-key", "theme-colors", "time-range-ms", "tooltip-metric-display", "tooltip-title", "x-metric", "x-metric-unit"])) : gt("", !0)
21587
21587
  ])) : (L(), ft(At, {
21588
21588
  key: 1,
21589
21589
  "action-button-visible": !1,
@@ -21591,7 +21591,7 @@ const W2 = /* @__PURE__ */ Ht({
21591
21591
  "data-testid": "no-data-in-report"
21592
21592
  }, {
21593
21593
  title: Bt(() => [
21594
- he(tt(pt.value), 1)
21594
+ he(tt(yt.value), 1)
21595
21595
  ]),
21596
21596
  default: Bt(() => [
21597
21597
  he(tt(ht.value), 1)
@@ -21601,7 +21601,7 @@ const W2 = /* @__PURE__ */ Ht({
21601
21601
  ], 2);
21602
21602
  };
21603
21603
  }
21604
- }), MI = /* @__PURE__ */ Wt(X2, [["__scopeId", "data-v-8539d27c"]]), K2 = {
21604
+ }), wI = /* @__PURE__ */ Wt(X2, [["__scopeId", "data-v-8539d27c"]]), K2 = {
21605
21605
  class: "chart-parent",
21606
21606
  "data-testid": "gauge-chart-parent"
21607
21607
  }, Z2 = { class: "chart-totals-flex" }, Q2 = {
@@ -21676,8 +21676,8 @@ const W2 = /* @__PURE__ */ Ht({
21676
21676
  class: "metric-large",
21677
21677
  "data-testid": "gauge-chart-metric",
21678
21678
  style: We(c.value)
21679
- }, tt(r.value), 5)) : bt("", !0),
21680
- d.value ? (L(), q("div", Q2, tt(B(n).t("total")) + ": " + tt(l.value), 1)) : bt("", !0)
21679
+ }, tt(r.value), 5)) : gt("", !0),
21680
+ d.value ? (L(), q("div", Q2, tt(B(n).t("total")) + ": " + tt(l.value), 1)) : gt("", !0)
21681
21681
  ]),
21682
21682
  G("div", {
21683
21683
  class: "chart-container",
@@ -21700,14 +21700,14 @@ const W2 = /* @__PURE__ */ Ht({
21700
21700
  }, oR = {
21701
21701
  key: 0,
21702
21702
  class: "single-value-unit"
21703
- }, aR = { class: "single-value-metric-name" }, rR = {
21703
+ }, aR = {
21704
21704
  key: 0,
21705
- class: "single-value-trend"
21706
- }, lR = {
21705
+ class: "single-value-metric-name"
21706
+ }, rR = {
21707
21707
  key: 0,
21708
21708
  class: "single-value-trend-range",
21709
21709
  "data-testid": "single-value-trend-range"
21710
- }, Ma = "t1", Ta = "t2", cR = /* @__PURE__ */ Ht({
21710
+ }, Ma = "t1", Ta = "t2", lR = /* @__PURE__ */ Ht({
21711
21711
  __name: "SingleValue",
21712
21712
  props: {
21713
21713
  data: {
@@ -21736,6 +21736,16 @@ const W2 = /* @__PURE__ */ Ht({
21736
21736
  alignX: {
21737
21737
  type: String,
21738
21738
  default: "left"
21739
+ },
21740
+ /** Hides the metric name below the value and makes the font smaller */
21741
+ compact: {
21742
+ type: Boolean,
21743
+ default: !1
21744
+ },
21745
+ /** Without a custom title the tile header shows the metric name, this will hide the metric name below the value */
21746
+ hideMetricName: {
21747
+ type: Boolean,
21748
+ default: !1
21739
21749
  }
21740
21750
  },
21741
21751
  setup(e) {
@@ -21797,7 +21807,7 @@ const W2 = /* @__PURE__ */ Ht({
21797
21807
  }), (x, C) => {
21798
21808
  const H = an("KEmptyState");
21799
21809
  return L(), q("div", {
21800
- class: Lt(["chart-parent", a.value]),
21810
+ class: Rt(["chart-parent", [a.value, { compact: e.compact }]]),
21801
21811
  "data-testid": "single-value-parent"
21802
21812
  }, [
21803
21813
  b.value ? (L(), ft(H, {
@@ -21810,13 +21820,16 @@ const W2 = /* @__PURE__ */ Ht({
21810
21820
  G("div", nR, [
21811
21821
  G("div", iR, [
21812
21822
  G("span", sR, tt(_.value), 1),
21813
- m.value && f.value ? (L(), q("span", oR, "  " + tt(f.value), 1)) : bt("", !0)
21823
+ m.value && f.value ? (L(), q("span", oR, "  " + tt(f.value), 1)) : gt("", !0)
21814
21824
  ]),
21815
- G("div", aR, tt(h.value), 1)
21825
+ !e.compact && !e.hideMetricName ? (L(), q("div", aR, tt(h.value), 1)) : gt("", !0)
21816
21826
  ]),
21817
- e.showTrend ? (L(), q("div", rR, [
21827
+ e.showTrend ? (L(), q("div", {
21828
+ key: 0,
21829
+ class: Rt(["single-value-trend", I(v.value)])
21830
+ }, [
21818
21831
  G("div", {
21819
- class: Lt(["trend-change", I(v.value)]),
21832
+ class: Rt(["trend-change", I(v.value)]),
21820
21833
  "data-testid": "single-value-trend"
21821
21834
  }, [
21822
21835
  w.value || v.value !== 0 ? (L(), ft(Da(D.value), {
@@ -21830,16 +21843,16 @@ const W2 = /* @__PURE__ */ Ht({
21830
21843
  }, null, 8, ["color", "size"])),
21831
21844
  G("div", null, tt(T.value), 1)
21832
21845
  ], 2),
21833
- B(P) ? (L(), q("div", lR, tt(B(P)), 1)) : bt("", !0)
21834
- ])) : bt("", !0)
21846
+ B(P) ? (L(), q("div", rR, tt(B(P)), 1)) : gt("", !0)
21847
+ ], 2)) : gt("", !0)
21835
21848
  ]))
21836
21849
  ], 2);
21837
21850
  };
21838
21851
  }
21839
- }), uR = /* @__PURE__ */ Wt(cR, [["__scopeId", "data-v-d7035ac3"]]), dR = { class: "simple-chart-shell" }, hR = {
21852
+ }), cR = /* @__PURE__ */ Wt(lR, [["__scopeId", "data-v-8f58f719"]]), uR = { class: "simple-chart-shell" }, dR = {
21840
21853
  key: 1,
21841
21854
  class: "analytics-chart-parent"
21842
- }, fR = /* @__PURE__ */ Ht({
21855
+ }, hR = /* @__PURE__ */ Ht({
21843
21856
  __name: "SimpleChart",
21844
21857
  props: {
21845
21858
  chartData: {
@@ -21875,7 +21888,7 @@ const W2 = /* @__PURE__ */ Ht({
21875
21888
  },
21876
21889
  setup(e) {
21877
21890
  const t = e, { i18n: n } = J.useI18n(), i = St(crypto.randomUUID());
21878
- It(() => t.chartOptions.type, () => {
21891
+ Et(() => t.chartOptions.type, () => {
21879
21892
  i.value = crypto.randomUUID();
21880
21893
  }, { immediate: !0 });
21881
21894
  const s = M(() => {
@@ -21897,8 +21910,8 @@ const W2 = /* @__PURE__ */ Ht({
21897
21910
  });
21898
21911
  return (u, d) => {
21899
21912
  const h = an("KEmptyState");
21900
- return L(), q("div", dR, [
21901
- c.value ? (L(), q("div", hR, [
21913
+ return L(), q("div", uR, [
21914
+ c.value ? (L(), q("div", dR, [
21902
21915
  a.value ? (L(), ft(tR, {
21903
21916
  key: 0,
21904
21917
  "chart-data": s.value,
@@ -21909,15 +21922,17 @@ const W2 = /* @__PURE__ */ Ht({
21909
21922
  numerator: e.chartOptions.numerator,
21910
21923
  "synthetics-data-key": e.syntheticsDataKey,
21911
21924
  width: e.width
21912
- }, null, 8, ["chart-data", "dataset-colors", "metric-display", "metric-unit", "numerator", "synthetics-data-key", "width"])) : bt("", !0),
21913
- r.value ? (L(), ft(uR, {
21925
+ }, null, 8, ["chart-data", "dataset-colors", "metric-display", "metric-unit", "numerator", "synthetics-data-key", "width"])) : gt("", !0),
21926
+ r.value ? (L(), ft(cR, {
21914
21927
  key: 1,
21915
21928
  "align-x": e.chartOptions.alignX,
21929
+ compact: e.chartOptions.compact,
21916
21930
  data: e.chartData,
21917
21931
  "decimal-points": e.chartOptions.decimalPoints,
21932
+ "hide-metric-name": e.chartOptions.hideMetricName,
21918
21933
  "increase-is-bad": e.chartOptions.increaseIsBad,
21919
21934
  "show-trend": e.chartOptions.showTrend
21920
- }, null, 8, ["align-x", "data", "decimal-points", "increase-is-bad", "show-trend"])) : bt("", !0)
21935
+ }, null, 8, ["align-x", "compact", "data", "decimal-points", "hide-metric-name", "increase-is-bad", "show-trend"])) : gt("", !0)
21921
21936
  ])) : (L(), ft(h, {
21922
21937
  key: 0,
21923
21938
  "action-button-visible": !0,
@@ -21932,11 +21947,11 @@ const W2 = /* @__PURE__ */ Ht({
21932
21947
  ]);
21933
21948
  };
21934
21949
  }
21935
- }), TI = /* @__PURE__ */ Wt(fR, [["__scopeId", "data-v-871f41ff"]]), mR = { class: "container" }, gR = {
21950
+ }), MI = /* @__PURE__ */ Wt(hR, [["__scopeId", "data-v-a084fd89"]]), fR = { class: "container" }, mR = {
21936
21951
  key: 0,
21937
21952
  class: "no-data",
21938
21953
  "data-testid": "sparkline-empty"
21939
- }, pR = ["title"], yR = /* @__PURE__ */ Ht({
21954
+ }, gR = ["title"], pR = /* @__PURE__ */ Ht({
21940
21955
  __name: "SparklineChart",
21941
21956
  props: {
21942
21957
  chartKey: { default: () => {
@@ -22098,7 +22113,7 @@ const W2 = /* @__PURE__ */ Ht({
22098
22113
  };
22099
22114
  }), qe(() => {
22100
22115
  ee.positioners[w] && delete ee.positioners[w];
22101
- }), (T, P) => (L(), q("div", mR, [
22116
+ }), (T, P) => (L(), q("div", fR, [
22102
22117
  p.value ? e.type === "sparkline_bar" ? (L(), ft(B(Zf), {
22103
22118
  key: 1,
22104
22119
  "chart-id": B(t),
@@ -22113,12 +22128,12 @@ const W2 = /* @__PURE__ */ Ht({
22113
22128
  "data-testid": e.type === "sparkline_line" ? "sparkline-line" : "sparkline-step",
22114
22129
  options: S.value,
22115
22130
  plugins: h.value
22116
- }, null, 8, ["chart-id", "data", "data-testid", "options", "plugins"])) : bt("", !0) : (L(), q("div", gR, [
22131
+ }, null, 8, ["chart-id", "data", "data-testid", "options", "plugins"])) : gt("", !0) : (L(), q("div", mR, [
22117
22132
  Ki(T.$slots, "empty", {}, () => [
22118
22133
  he(tt(B(n).t("sparkline_no_data")), 1)
22119
22134
  ], !0)
22120
22135
  ])),
22121
- e.disableTooltip ? bt("", !0) : (L(), ft(ys, {
22136
+ e.disableTooltip ? gt("", !0) : (L(), ft(ys, {
22122
22137
  key: 3,
22123
22138
  "absolute-left": D.value,
22124
22139
  "absolute-top": v.value,
@@ -22139,20 +22154,20 @@ const W2 = /* @__PURE__ */ Ht({
22139
22154
  }, () => [
22140
22155
  he(tt(m.value), 1)
22141
22156
  ], !0)
22142
- ], 8, pR)) : bt("", !0)
22157
+ ], 8, gR)) : gt("", !0)
22143
22158
  ]));
22144
22159
  }
22145
- }), SI = /* @__PURE__ */ Wt(yR, [["__scopeId", "data-v-ae8259b6"]]), bR = ["data-value"], _R = ["title"], vR = { class: "top-talkers-cell-metric" }, xR = {
22160
+ }), TI = /* @__PURE__ */ Wt(pR, [["__scopeId", "data-v-ae8259b6"]]), yR = ["data-value"], bR = ["title"], _R = { class: "top-talkers-cell-metric" }, vR = {
22146
22161
  class: "top-talkers-cell-value",
22147
22162
  "data-testid": "top-talkers-cell-value"
22148
- }, wR = {
22163
+ }, xR = {
22149
22164
  key: 0,
22150
22165
  class: "top-talkers-cell-relative",
22151
22166
  "data-testid": "top-talkers-cell-relative"
22152
- }, MR = {
22167
+ }, wR = {
22153
22168
  class: "top-talkers-tooltip",
22154
22169
  "data-testid": "top-talkers-tooltip"
22155
- }, TR = { class: "top-talkers-tooltip-title" }, SR = { class: "top-talkers-tooltip-rows" }, kR = { class: "top-talkers-tooltip-label" }, DR = ["data-threshold"], CR = /* @__PURE__ */ Ht({
22170
+ }, MR = { class: "top-talkers-tooltip-title" }, TR = { class: "top-talkers-tooltip-rows" }, SR = { class: "top-talkers-tooltip-label" }, kR = ["data-threshold"], DR = /* @__PURE__ */ Ht({
22156
22171
  __name: "TopTalkersCell",
22157
22172
  props: {
22158
22173
  cell: {}
@@ -22172,24 +22187,24 @@ const W2 = /* @__PURE__ */ Ht({
22172
22187
  trigger: "hover"
22173
22188
  }, {
22174
22189
  content: Bt(() => [
22175
- G("div", MR, [
22176
- G("div", TR, tt(e.cell.name), 1),
22177
- G("dl", SR, [
22190
+ G("div", wR, [
22191
+ G("div", MR, tt(e.cell.name), 1),
22192
+ G("dl", TR, [
22178
22193
  (L(!0), q(_e, null, Oe(e.cell.tooltipRows, (i) => (L(), q(_e, {
22179
22194
  key: i.key
22180
22195
  }, [
22181
- G("dt", kR, tt(i.label), 1),
22196
+ G("dt", SR, tt(i.label), 1),
22182
22197
  G("dd", {
22183
- class: Lt(["top-talkers-tooltip-value", i.threshold && `top-talkers-tooltip-value--${i.threshold}`]),
22198
+ class: Rt(["top-talkers-tooltip-value", i.threshold && `top-talkers-tooltip-value--${i.threshold}`]),
22184
22199
  "data-threshold": i.threshold
22185
- }, tt(i.value), 11, DR)
22200
+ }, tt(i.value), 11, kR)
22186
22201
  ], 64))), 128))
22187
22202
  ])
22188
22203
  ])
22189
22204
  ]),
22190
22205
  default: Bt(() => [
22191
22206
  G("div", {
22192
- class: Lt(["top-talkers-cell", {
22207
+ class: Rt(["top-talkers-cell", {
22193
22208
  "top-talkers-cell--other": e.cell.isOther,
22194
22209
  "top-talkers-cell--empty": e.cell.isEmpty,
22195
22210
  "top-talkers-cell--deleted": e.cell.deleted
@@ -22201,31 +22216,31 @@ const W2 = /* @__PURE__ */ Ht({
22201
22216
  class: "top-talkers-cell-name",
22202
22217
  "data-testid": "top-talkers-cell-name",
22203
22218
  title: e.cell.name
22204
- }, tt(e.cell.name), 9, _R),
22205
- G("span", vR, [
22206
- G("span", xR, tt(e.cell.display), 1),
22207
- e.cell.relative ? (L(), q("span", wR, "(" + tt(e.cell.relative) + ")", 1)) : bt("", !0)
22219
+ }, tt(e.cell.name), 9, bR),
22220
+ G("span", _R, [
22221
+ G("span", vR, tt(e.cell.display), 1),
22222
+ e.cell.relative ? (L(), q("span", xR, "(" + tt(e.cell.relative) + ")", 1)) : gt("", !0)
22208
22223
  ])
22209
- ], 10, bR)
22224
+ ], 10, yR)
22210
22225
  ]),
22211
22226
  _: 1
22212
22227
  }, 8, ["disabled", "style"]));
22213
22228
  }
22214
- }), OR = /* @__PURE__ */ Wt(CR, [["__scopeId", "data-v-73764587"]]), PR = ["data-dimension"], AR = { class: "top-talkers-column-header" }, RR = {
22229
+ }), CR = /* @__PURE__ */ Wt(DR, [["__scopeId", "data-v-73764587"]]), OR = ["data-dimension"], PR = { class: "top-talkers-column-header" }, AR = {
22215
22230
  class: "top-talkers-column-label",
22216
22231
  "data-testid": "top-talkers-column-label"
22217
- }, IR = {
22232
+ }, RR = {
22218
22233
  key: 0,
22219
22234
  class: "top-talkers-column-total",
22220
22235
  "data-testid": "top-talkers-column-total"
22221
- }, ER = {
22236
+ }, IR = {
22222
22237
  key: 1,
22223
22238
  class: "top-talkers-column-empty",
22224
22239
  "data-testid": "top-talkers-column-empty"
22225
- }, LR = {
22240
+ }, ER = {
22226
22241
  key: 2,
22227
22242
  class: "top-talkers-column-cells"
22228
- }, NR = /* @__PURE__ */ Ht({
22243
+ }, LR = /* @__PURE__ */ Ht({
22229
22244
  __name: "TopTalkersColumn",
22230
22245
  props: {
22231
22246
  dimension: {},
@@ -22247,31 +22262,31 @@ const W2 = /* @__PURE__ */ Ht({
22247
22262
  "data-dimension": e.dimension,
22248
22263
  "data-testid": "top-talkers-column"
22249
22264
  }, [
22250
- G("div", AR, [
22251
- G("span", RR, tt(i.value), 1),
22252
- !e.isLoading && B(n).cells.length ? (L(), q("span", IR, tt(s.value), 1)) : bt("", !0)
22265
+ G("div", PR, [
22266
+ G("span", AR, tt(i.value), 1),
22267
+ !e.isLoading && B(n).cells.length ? (L(), q("span", RR, tt(s.value), 1)) : gt("", !0)
22253
22268
  ]),
22254
22269
  e.isLoading ? (L(), ft(B(Kg), {
22255
22270
  key: 0,
22256
22271
  "delay-milliseconds": 0,
22257
22272
  "table-columns": 1,
22258
22273
  type: "table"
22259
- })) : B(n).cells.length ? (L(), q("div", LR, [
22260
- (L(!0), q(_e, null, Oe(B(n).cells, (r) => (L(), ft(OR, {
22274
+ })) : B(n).cells.length ? (L(), q("div", ER, [
22275
+ (L(!0), q(_e, null, Oe(B(n).cells, (r) => (L(), ft(CR, {
22261
22276
  key: r.id,
22262
22277
  cell: r
22263
22278
  }, null, 8, ["cell"]))), 128))
22264
- ])) : (L(), q("div", ER, tt(B(t).t("topTalkers.defaultEmptyStateTitle")), 1))
22265
- ], 8, PR));
22279
+ ])) : (L(), q("div", IR, tt(B(t).t("topTalkers.defaultEmptyStateTitle")), 1))
22280
+ ], 8, OR));
22266
22281
  }
22267
- }), FR = /* @__PURE__ */ Wt(NR, [["__scopeId", "data-v-e1b08041"]]), zR = {
22282
+ }), NR = /* @__PURE__ */ Wt(LR, [["__scopeId", "data-v-e1b08041"]]), FR = {
22268
22283
  class: "top-talkers-card-title",
22269
22284
  "data-testid": "top-talkers-card-title"
22270
- }, UR = {
22285
+ }, zR = {
22271
22286
  key: 2,
22272
22287
  class: "top-talkers-grid",
22273
22288
  "data-testid": "top-talkers-grid"
22274
- }, HR = /* @__PURE__ */ Ht({
22289
+ }, UR = /* @__PURE__ */ Ht({
22275
22290
  __name: "TopTalkersGrid",
22276
22291
  props: {
22277
22292
  title: { default: "" },
@@ -22302,12 +22317,12 @@ const W2 = /* @__PURE__ */ Ht({
22302
22317
  he(tt(e.errorMessage), 1)
22303
22318
  ]),
22304
22319
  _: 1
22305
- })) : o.value ? (L(), q("div", UR, [
22320
+ })) : o.value ? (L(), q("div", zR, [
22306
22321
  (L(!0), q(_e, null, Oe(e.columns, (l, c) => Ki(a.$slots, "column", {
22307
22322
  key: `${l.dimension}-${c}`,
22308
22323
  column: l
22309
22324
  }, () => [
22310
- Gt(FR, {
22325
+ Gt(NR, {
22311
22326
  "column-options": e.columnOptions,
22312
22327
  data: l.data,
22313
22328
  dimension: l.dimension,
@@ -22332,13 +22347,13 @@ const W2 = /* @__PURE__ */ Ht({
22332
22347
  e.title ? {
22333
22348
  name: "title",
22334
22349
  fn: Bt(() => [
22335
- G("span", zR, tt(e.title), 1)
22350
+ G("span", FR, tt(e.title), 1)
22336
22351
  ]),
22337
22352
  key: "0"
22338
22353
  } : void 0
22339
22354
  ]), 1032, ["title-tag"]));
22340
22355
  }
22341
- }), kI = /* @__PURE__ */ Wt(HR, [["__scopeId", "data-v-d5bb8abd"]]), BR = {
22356
+ }), SI = /* @__PURE__ */ Wt(UR, [["__scopeId", "data-v-d5bb8abd"]]), HR = {
22342
22357
  anthropic: Bg,
22343
22358
  azure: Hg,
22344
22359
  bedrock: Ug,
@@ -22357,12 +22372,12 @@ const W2 = /* @__PURE__ */ Ht({
22357
22372
  vertex: kg,
22358
22373
  vllm: Sg,
22359
22374
  xai: Tg
22360
- }, $R = {
22361
- ai_provider: BR
22362
- }, YR = (e, t) => {
22375
+ }, BR = {
22376
+ ai_provider: HR
22377
+ }, $R = (e, t) => {
22363
22378
  if (!(!e || !t))
22364
- return $R[e]?.[t.toLowerCase()];
22365
- }, WR = ["data-threshold"], VR = /* @__PURE__ */ Ht({
22379
+ return BR[e]?.[t.toLowerCase()];
22380
+ }, YR = ["data-threshold"], WR = /* @__PURE__ */ Ht({
22366
22381
  __name: "TopNMetricBar",
22367
22382
  props: {
22368
22383
  ratio: {},
@@ -22374,7 +22389,7 @@ const W2 = /* @__PURE__ */ Ht({
22374
22389
  }));
22375
22390
  const t = Ae({ discriminator: 0 });
22376
22391
  return (n, i) => (L(), q("span", {
22377
- class: Lt(["top-n-metric-cell-bar", { [`top-n-metric-cell--bar-${e.threshold}`]: !!e.threshold }]),
22392
+ class: Rt(["top-n-metric-cell-bar", { [`top-n-metric-cell--bar-${e.threshold}`]: !!e.threshold }]),
22378
22393
  "data-testid": "top-n-metric-cell-bar",
22379
22394
  "data-threshold": e.threshold
22380
22395
  }, [
@@ -22382,13 +22397,13 @@ const W2 = /* @__PURE__ */ Ht({
22382
22397
  class: "top-n-metric-cell-bar-fill",
22383
22398
  style: We({ width: `${e.ratio * 100}%` })
22384
22399
  }, null, 4)
22385
- ], 10, WR));
22400
+ ], 10, YR));
22386
22401
  }
22387
- }), jR = /* @__PURE__ */ Wt(VR, [["__scopeId", "data-v-b5b1edfe"]]), qR = ["data-threshold"], GR = { class: "top-n-metric-cell-value" }, XR = {
22402
+ }), VR = /* @__PURE__ */ Wt(WR, [["__scopeId", "data-v-b5b1edfe"]]), jR = ["data-threshold"], qR = { class: "top-n-metric-cell-value" }, GR = {
22388
22403
  key: 0,
22389
22404
  class: "top-n-metric-cell-relative",
22390
22405
  "data-testid": "top-n-metric-cell-relative"
22391
- }, KR = /* @__PURE__ */ Ht({
22406
+ }, XR = /* @__PURE__ */ Ht({
22392
22407
  __name: "TopNMetricCell",
22393
22408
  props: {
22394
22409
  display: {},
@@ -22398,30 +22413,30 @@ const W2 = /* @__PURE__ */ Ht({
22398
22413
  },
22399
22414
  setup(e) {
22400
22415
  return (t, n) => (L(), q("span", {
22401
- class: Lt(["top-n-metric-cell", {
22416
+ class: Rt(["top-n-metric-cell", {
22402
22417
  "top-n-metric-cell--bar": e.hasBar,
22403
22418
  [`top-n-metric-cell--text-${e.threshold}`]: !e.hasBar && !!e.threshold
22404
22419
  }]),
22405
22420
  "data-threshold": e.threshold
22406
22421
  }, [
22407
- G("span", GR, tt(e.display), 1),
22408
- e.relative ? (L(), q("span", XR, "(" + tt(e.relative) + ")", 1)) : bt("", !0)
22409
- ], 10, qR));
22422
+ G("span", qR, tt(e.display), 1),
22423
+ e.relative ? (L(), q("span", GR, "(" + tt(e.relative) + ")", 1)) : gt("", !0)
22424
+ ], 10, jR));
22410
22425
  }
22411
- }), ZR = /* @__PURE__ */ Wt(KR, [["__scopeId", "data-v-17e7f860"]]), QR = {
22426
+ }), KR = /* @__PURE__ */ Wt(XR, [["__scopeId", "data-v-17e7f860"]]), ZR = {
22412
22427
  class: "top-n-card-title",
22413
22428
  "data-testid": "top-n-card-title"
22414
- }, JR = {
22429
+ }, QR = {
22415
22430
  class: "top-n-card-description",
22416
22431
  "data-testid": "top-n-card-description"
22417
- }, tI = {
22432
+ }, JR = {
22418
22433
  key: 3,
22419
22434
  class: "top-n-table",
22420
22435
  "data-testid": "top-n-table"
22421
- }, eI = { "data-testid": "top-n-table-header" }, nI = { class: "top-n-table-header-row" }, iI = ["colspan"], sI = { class: "table-header-label" }, oI = ["data-testid"], aI = { class: "top-n-table-cell-label" }, rI = {
22436
+ }, tI = { "data-testid": "top-n-table-header" }, eI = { class: "top-n-table-header-row" }, nI = ["colspan"], iI = { class: "table-header-label" }, sI = ["data-testid"], oI = { class: "top-n-table-cell-label" }, aI = {
22422
22437
  key: 0,
22423
22438
  class: "top-n-table-cell top-n-table-cell-bar"
22424
- }, lI = 3, cI = /* @__PURE__ */ Ht({
22439
+ }, rI = 3, lI = /* @__PURE__ */ Ht({
22425
22440
  __name: "TopNTable",
22426
22441
  props: {
22427
22442
  title: { default: "" },
@@ -22433,7 +22448,7 @@ const W2 = /* @__PURE__ */ Ht({
22433
22448
  columnOptions: { default: void 0 }
22434
22449
  },
22435
22450
  setup(e) {
22436
- const t = e, { i18n: n } = J.useI18n(), { formatUnit: i } = Ie({ i18n: n }), s = J.useFieldLabel(), o = M(() => t.data.data), a = M(() => !!o.value?.length), r = M(() => t.data.meta?.display ? Object.keys(t.data.meta.display).slice(0, lI) : []), l = M(() => r.value[0] || ""), c = M(() => r.value.length > 1), u = M(() => r.value[r.value.length - 1] || ""), d = M(() => l.value ? t.data.meta.display[l.value] : {}), h = M(() => t.data.meta?.metric_names?.length ? t.data.meta.metric_names : []), f = M(() => h.value[0]), m = M(() => f.value ? s(f.value) : ""), g = M(() => {
22451
+ const t = e, { i18n: n } = J.useI18n(), { formatUnit: i } = Ie({ i18n: n }), s = J.useFieldLabel(), o = M(() => t.data.data), a = M(() => !!o.value?.length), r = M(() => t.data.meta?.display ? Object.keys(t.data.meta.display).slice(0, rI) : []), l = M(() => r.value[0] || ""), c = M(() => r.value.length > 1), u = M(() => r.value[r.value.length - 1] || ""), d = M(() => l.value ? t.data.meta.display[l.value] : {}), h = M(() => t.data.meta?.metric_names?.length ? t.data.meta.metric_names : []), f = M(() => h.value[0]), m = M(() => f.value ? s(f.value) : ""), g = M(() => {
22437
22452
  const k = r.value.map((A) => ({
22438
22453
  key: A,
22439
22454
  columnKey: A,
@@ -22528,7 +22543,7 @@ const W2 = /* @__PURE__ */ Ht({
22528
22543
  return n.t("topNTable.errors.metricNames");
22529
22544
  } else return n.t("topNTable.errors.meta");
22530
22545
  return "";
22531
- }), Y = (k, A) => k.metrics[A] ?? { display: "–" }, j = (k, A) => k.dimensions.find((U) => U.dimension === A)?.id || "", Z = (k, A) => YR(ei(t.columnOptions, k)?.icon_set, A), ct = (k, A) => k && ei(t.columnOptions, k)?.label || A, ut = (k, A) => k.dimensions.find((U) => U.dimension === A)?.name || "–", et = (k, A) => {
22546
+ }), Y = (k, A) => k.metrics[A] ?? { display: "–" }, j = (k, A) => k.dimensions.find((U) => U.dimension === A)?.id || "", Z = (k, A) => $R(ei(t.columnOptions, k)?.icon_set, A), ct = (k, A) => k && ei(t.columnOptions, k)?.label || A, ut = (k, A) => k.dimensions.find((U) => U.dimension === A)?.name || "–", et = (k, A) => {
22532
22547
  const U = k.dimensions.find((V) => V.dimension === A);
22533
22548
  return {
22534
22549
  id: U?.id || "",
@@ -22568,24 +22583,24 @@ const W2 = /* @__PURE__ */ Ht({
22568
22583
  key: 1,
22569
22584
  "table-columns": 2,
22570
22585
  type: "table"
22571
- })) : a.value ? (L(), q("div", tI, [
22586
+ })) : a.value ? (L(), q("div", JR, [
22572
22587
  G("table", {
22573
- class: Lt(["top-n-table-table", { "top-n-table-table--multi-dimension": c.value }])
22588
+ class: Rt(["top-n-table-table", { "top-n-table-table--multi-dimension": c.value }])
22574
22589
  }, [
22575
- G("thead", eI, [
22576
- G("tr", nI, [
22590
+ G("thead", tI, [
22591
+ G("tr", eI, [
22577
22592
  (L(!0), q(_e, null, Oe(g.value, (N) => (L(), q("th", {
22578
22593
  key: N.key,
22579
- class: Lt(["top-n-table-header-cell", {
22594
+ class: Rt(["top-n-table-header-cell", {
22580
22595
  "top-n-table-header-cell-metric": N.type === "metric",
22581
22596
  "top-n-table-header-cell-dimension-compact": S(N)
22582
22597
  }]),
22583
22598
  colspan: w(N) ? 2 : void 0,
22584
22599
  "data-testid": "top-n-table-header-column"
22585
22600
  }, [
22586
- G("span", sI, tt(N.label), 1),
22601
+ G("span", iI, tt(N.label), 1),
22587
22602
  A[0] || (A[0] = G("div", { class: "top-n-table-header-cell-border" }, null, -1))
22588
- ], 10, iI))), 128))
22603
+ ], 10, nI))), 128))
22589
22604
  ])
22590
22605
  ]),
22591
22606
  G("tbody", null, [
@@ -22595,7 +22610,7 @@ const W2 = /* @__PURE__ */ Ht({
22595
22610
  }, [
22596
22611
  r.value.length ? (L(), q("td", {
22597
22612
  key: 0,
22598
- class: Lt(["top-n-table-cell top-n-table-cell--name", { "top-n-table-cell-dimension-compact": c.value }])
22613
+ class: Rt(["top-n-table-cell top-n-table-cell--name", { "top-n-table-cell-dimension-compact": c.value }])
22599
22614
  }, [
22600
22615
  G("span", {
22601
22616
  class: "top-n-table-cell-label",
@@ -22607,7 +22622,7 @@ const W2 = /* @__PURE__ */ Ht({
22607
22622
  "data-testid": "top-n-table-cell-icon",
22608
22623
  decorative: "",
22609
22624
  size: `var(--kui-icon-size-30, ${B(ri)})`
22610
- }, null, 8, ["size"])) : bt("", !0),
22625
+ }, null, 8, ["size"])) : gt("", !0),
22611
22626
  Ki(k.$slots, "name", {
22612
22627
  record: {
22613
22628
  id: N.id,
@@ -22620,20 +22635,20 @@ const W2 = /* @__PURE__ */ Ht({
22620
22635
  }, () => [
22621
22636
  he(tt(N.name), 1)
22622
22637
  ], !0)
22623
- ], 8, oI)
22624
- ], 2)) : bt("", !0),
22638
+ ], 8, sI)
22639
+ ], 2)) : gt("", !0),
22625
22640
  (L(!0), q(_e, null, Oe(b.value, (W) => (L(), q("td", {
22626
22641
  key: W.key,
22627
- class: Lt(["top-n-table-cell top-n-table-cell--dimension", { "top-n-table-cell-dimension-compact": !_(W) }])
22642
+ class: Rt(["top-n-table-cell top-n-table-cell--dimension", { "top-n-table-cell-dimension-compact": !_(W) }])
22628
22643
  }, [
22629
- G("span", aI, [
22644
+ G("span", oI, [
22630
22645
  Z(W.key, j(N, W.key)) ? (L(), ft(Da(Z(W.key, j(N, W.key))), {
22631
22646
  key: 0,
22632
22647
  class: "top-n-table-cell-icon",
22633
22648
  "data-testid": "top-n-table-cell-icon",
22634
22649
  decorative: "",
22635
22650
  size: `var(--kui-icon-size-30, ${B(ri)})`
22636
- }, null, 8, ["size"])) : bt("", !0),
22651
+ }, null, 8, ["size"])) : gt("", !0),
22637
22652
  Ki(k.$slots, "name", {
22638
22653
  record: et(N, W.key)
22639
22654
  }, () => [
@@ -22645,9 +22660,9 @@ const W2 = /* @__PURE__ */ Ht({
22645
22660
  key: W.key
22646
22661
  }, [
22647
22662
  G("td", {
22648
- class: Lt(["top-n-table-cell top-n-table-cell-metric", { "top-n-table-cell-metric--has-bar": w(W) }])
22663
+ class: Rt(["top-n-table-cell top-n-table-cell-metric", { "top-n-table-cell-metric--has-bar": w(W) }])
22649
22664
  }, [
22650
- Gt(ZR, {
22665
+ Gt(KR, {
22651
22666
  "data-testid": W.key === "value" ? `row-${N.id}` : `row-${N.id}-${W.key}`,
22652
22667
  display: Y(N, W.key).display,
22653
22668
  "has-bar": w(W),
@@ -22655,12 +22670,12 @@ const W2 = /* @__PURE__ */ Ht({
22655
22670
  threshold: Y(N, W.key).threshold
22656
22671
  }, null, 8, ["data-testid", "display", "has-bar", "relative", "threshold"])
22657
22672
  ], 2),
22658
- w(W) ? (L(), q("td", rI, [
22659
- Gt(jR, {
22673
+ w(W) ? (L(), q("td", aI, [
22674
+ Gt(VR, {
22660
22675
  ratio: Y(N, W.key).barRatio ?? 0,
22661
22676
  threshold: Y(N, W.key).threshold
22662
22677
  }, null, 8, ["ratio", "threshold"])
22663
- ])) : bt("", !0)
22678
+ ])) : gt("", !0)
22664
22679
  ], 64))), 128))
22665
22680
  ]))), 128))
22666
22681
  ])
@@ -22681,37 +22696,37 @@ const W2 = /* @__PURE__ */ Ht({
22681
22696
  e.title ? {
22682
22697
  name: "title",
22683
22698
  fn: Bt(() => [
22684
- G("span", QR, tt(e.title), 1)
22699
+ G("span", ZR, tt(e.title), 1)
22685
22700
  ]),
22686
22701
  key: "0"
22687
22702
  } : void 0,
22688
22703
  e.description ? {
22689
22704
  name: "actions",
22690
22705
  fn: Bt(() => [
22691
- G("div", JR, tt(e.description), 1)
22706
+ G("div", QR, tt(e.description), 1)
22692
22707
  ]),
22693
22708
  key: "1"
22694
22709
  } : void 0
22695
22710
  ]), 1032, ["title-tag"]);
22696
22711
  };
22697
22712
  }
22698
- }), DI = /* @__PURE__ */ Wt(cI, [["__scopeId", "data-v-f3df2bb7"]]);
22713
+ }), kI = /* @__PURE__ */ Wt(lI, [["__scopeId", "data-v-f3df2bb7"]]);
22699
22714
  export {
22700
- MI as AnalyticsChart,
22715
+ wI as AnalyticsChart,
22701
22716
  ne as ChartLegendPosition,
22702
- yI as DECIMAL_DISPLAY,
22717
+ pI as DECIMAL_DISPLAY,
22703
22718
  $C as FONT_SIZE_REGULAR,
22704
22719
  BC as FONT_SIZE_SMALL,
22705
22720
  Nr as LEFT_Y_AXIS_ID,
22706
22721
  Wa as MAX_LABEL_LENGTH,
22707
22722
  ml as OTHER_DIMENSION_ID,
22708
22723
  mf as RIGHT_Y_AXIS_ID,
22709
- TI as SimpleChart,
22710
- SI as SparklineChart,
22711
- DI as TopNTable,
22712
- FR as TopTalkersColumn,
22713
- kI as TopTalkersGrid,
22714
- xI as chartTypes,
22724
+ MI as SimpleChart,
22725
+ TI as SparklineChart,
22726
+ kI as TopNTable,
22727
+ NR as TopTalkersColumn,
22728
+ SI as TopTalkersGrid,
22729
+ vI as chartTypes,
22715
22730
  HO as exploreResultToScatterData,
22716
22731
  _f as formatChartTicksByGranularity,
22717
22732
  AC as getBarRatio,
@@ -22719,12 +22734,12 @@ export {
22719
22734
  lf as getColumnStats,
22720
22735
  cf as getRelativeValue,
22721
22736
  uf as getThresholdType,
22722
- bI as handleQueryError,
22737
+ yI as handleQueryError,
22723
22738
  LO as isCancellationError,
22724
22739
  Hu as isScatterChartData,
22725
22740
  tO as lookupStatusCodeColor,
22726
- _I as requestsToScatterData,
22727
- vI as simpleChartMetricDisplay,
22728
- wI as simpleChartTypes,
22741
+ bI as requestsToScatterData,
22742
+ _I as simpleChartMetricDisplay,
22743
+ xI as simpleChartTypes,
22729
22744
  Gi as toNumber
22730
22745
  };