@kong-ui-public/analytics-metric-provider 1.2.12-pr.917.6f207a61.0 → 1.2.12

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 { ref as xe, watchEffect as At, computed as v, getCurrentInstance as Mt, reactive as Lt, onMounted as Ot, onUnmounted as kt, watch as Ut, isReadonly as zt, toRefs as Yt, defineComponent as U, toRef as Ke, provide as Ht, renderSlot as gt, resolveComponent as ce, openBlock as m, createElementBlock as C, createElementVNode as N, normalizeClass as te, unref as _, createCommentVNode as I, createBlock as x, resolveDynamicComponent as H, toDisplayString as R, withCtx as P, createVNode as ie, normalizeStyle as q, Fragment as Qe, renderList as $t, mergeProps as Ft, pushScopeId as Z, popScopeId as j, inject as Pt, normalizeProps as qt, guardReactiveProps as Vt } from "vue";
1
+ import { ref as xe, watchEffect as At, computed as v, getCurrentInstance as Mt, reactive as Lt, onMounted as Ot, onUnmounted as kt, watch as Ut, isReadonly as zt, toRefs as Yt, defineComponent as U, toRef as Ke, provide as Ht, renderSlot as gt, resolveComponent as ce, openBlock as m, createElementBlock as C, createElementVNode as R, normalizeClass as te, unref as _, createCommentVNode as I, createBlock as x, resolveDynamicComponent as H, toDisplayString as D, withCtx as F, createVNode as ie, normalizeStyle as P, Fragment as Qe, renderList as $t, mergeProps as qt, pushScopeId as Z, popScopeId as j, inject as Ft, normalizeProps as Pt, guardReactiveProps as Vt } from "vue";
2
2
  import { createI18n as Zt, i18nTComponent as jt } from "@kong-ui-public/i18n";
3
3
  var Gt = Object.defineProperty, Bt = (e, t, r) => t in e ? Gt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, L = (e, t, r) => (Bt(e, typeof t != "symbol" ? t + "" : t, r), r), g = /* @__PURE__ */ ((e) => (e.MINUTELY = "Minutely", e.HOURLY = "Hourly", e.DAILY = "Daily", e.WEEKLY = "Weekly", e))(g || {}), w = /* @__PURE__ */ ((e) => (e.FIFTEEN_MIN = "15m", e.ONE_HOUR = "1h", e.SIX_HOUR = "6h", e.TWELVE_HOUR = "12h", e.ONE_DAY = "24h", e.SEVEN_DAY = "7d", e.THIRTY_DAY = "30d", e.CURRENT_WEEK = "current_week", e.CURRENT_MONTH = "current_month", e.CURRENT_QUARTER = "current_quarter", e.PREVIOUS_WEEK = "previous_week", e.PREVIOUS_MONTH = "previous_month", e.PREVIOUS_QUARTER = "previous_quarter", e))(w || {});
4
4
  function fe(e) {
@@ -102,7 +102,7 @@ function ir(e, t) {
102
102
  var r = t.years ? k(t.years) : 0, i = t.months ? k(t.months) : 0, a = t.weeks ? k(t.weeks) : 0, n = t.days ? k(t.days) : 0, o = t.hours ? k(t.hours) : 0, l = t.minutes ? k(t.minutes) : 0, c = t.seconds ? k(t.seconds) : 0, s = $e(e, i + r * 12), u = rr(s, n + a * 7), d = l + o * 60, f = c + d * 60, p = f * 1e3, h = new Date(u.getTime() - p);
103
103
  return h;
104
104
  }
105
- function Fe(e) {
105
+ function qe(e) {
106
106
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
107
107
  }
108
108
  var ht = { exports: {} };
@@ -128,7 +128,7 @@ var ar = ht.exports, Le = { exports: {} };
128
128
  e.exports = t.default;
129
129
  })(Le, Le.exports);
130
130
  var sr = Le.exports;
131
- const or = /* @__PURE__ */ Fe(sr);
131
+ const or = /* @__PURE__ */ qe(sr);
132
132
  var Oe = { exports: {} };
133
133
  (function(e, t) {
134
134
  Object.defineProperty(t, "__esModule", {
@@ -141,7 +141,7 @@ var Oe = { exports: {} };
141
141
  e.exports = t.default;
142
142
  })(Oe, Oe.exports);
143
143
  var ur = Oe.exports;
144
- const et = /* @__PURE__ */ Fe(ur);
144
+ const et = /* @__PURE__ */ qe(ur);
145
145
  function lr(e, t) {
146
146
  var r = pr(t);
147
147
  return r.formatToParts ? cr(r, e) : fr(r, e);
@@ -206,7 +206,7 @@ function pr(e) {
206
206
  }
207
207
  return Ce[e];
208
208
  }
209
- function Pe(e, t, r, i, a, n, o) {
209
+ function Fe(e, t, r, i, a, n, o) {
210
210
  var l = /* @__PURE__ */ new Date(0);
211
211
  return l.setUTCFullYear(e, t, r), l.setUTCHours(i, a, n, o), l;
212
212
  }
@@ -236,7 +236,7 @@ function ve(e, t, r) {
236
236
  return NaN;
237
237
  }
238
238
  function vr(e) {
239
- return Pe(
239
+ return Fe(
240
240
  e.getFullYear(),
241
241
  e.getMonth(),
242
242
  e.getDate(),
@@ -247,7 +247,7 @@ function vr(e) {
247
247
  );
248
248
  }
249
249
  function ke(e, t) {
250
- var r = lr(e, t), i = Pe(
250
+ var r = lr(e, t), i = Fe(
251
251
  r[0],
252
252
  r[1] - 1,
253
253
  r[2],
@@ -385,7 +385,7 @@ function Sr(e, t) {
385
385
  if (r = b.DDD.exec(e), r) {
386
386
  i = /* @__PURE__ */ new Date(0);
387
387
  var o = parseInt(r[1], 10);
388
- return Rr(t, o) ? (i.setUTCFullYear(t, 0, o), i) : /* @__PURE__ */ new Date(NaN);
388
+ return Dr(t, o) ? (i.setUTCFullYear(t, 0, o), i) : /* @__PURE__ */ new Date(NaN);
389
389
  }
390
390
  if (r = b.MMDD.exec(e), r) {
391
391
  i = /* @__PURE__ */ new Date(0), a = parseInt(r[1], 10) - 1;
@@ -421,7 +421,7 @@ function at(e, t, r) {
421
421
  var a = i.getUTCDay() || 7, n = t * 7 + r + 1 - a;
422
422
  return i.setUTCDate(i.getUTCDate() + n), i;
423
423
  }
424
- var Dr = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Nr = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
424
+ var Nr = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Rr = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
425
425
  function Tt(e) {
426
426
  return e % 400 === 0 || e % 4 === 0 && e % 100 !== 0;
427
427
  }
@@ -432,12 +432,12 @@ function st(e, t, r) {
432
432
  if (r < 1)
433
433
  return !1;
434
434
  var i = Tt(e);
435
- if (i && r > Nr[t] || !i && r > Dr[t])
435
+ if (i && r > Rr[t] || !i && r > Nr[t])
436
436
  return !1;
437
437
  }
438
438
  return !0;
439
439
  }
440
- function Rr(e, t) {
440
+ function Dr(e, t) {
441
441
  if (t < 1)
442
442
  return !1;
443
443
  var r = Tt(e);
@@ -476,7 +476,7 @@ var br = Ye.exports;
476
476
  e.exports = t.default;
477
477
  })(ze, ze.exports);
478
478
  var _r = ze.exports;
479
- const Ir = /* @__PURE__ */ Fe(_r);
479
+ const Ir = /* @__PURE__ */ qe(_r);
480
480
  function xr(e, t, r) {
481
481
  var i = Ue(e, r), a = ve(t, i, !0), n = new Date(i.getTime() - a), o = /* @__PURE__ */ new Date(0);
482
482
  return o.setFullYear(n.getUTCFullYear(), n.getUTCMonth(), n.getUTCDate()), o.setHours(n.getUTCHours(), n.getUTCMinutes(), n.getUTCSeconds(), n.getUTCMilliseconds()), o;
@@ -489,7 +489,7 @@ function Ar(e, t, r) {
489
489
  var i = Ir(r);
490
490
  return i.timeZone = t, Ue(e, i);
491
491
  }
492
- var a = Ue(e, r), n = Pe(
492
+ var a = Ue(e, r), n = Fe(
493
493
  a.getFullYear(),
494
494
  a.getMonth(),
495
495
  a.getDate(),
@@ -663,7 +663,7 @@ class Hr extends z {
663
663
  return t && (r = ae(r, t)), r;
664
664
  }
665
665
  }
666
- const De = /* @__PURE__ */ new Map([
666
+ const Ne = /* @__PURE__ */ new Map([
667
667
  [
668
668
  w.FIFTEEN_MIN,
669
669
  new z({
@@ -821,38 +821,38 @@ const De = /* @__PURE__ */ new Map([
821
821
  function $r(e, t) {
822
822
  return nr(e.getTimezoneOffset() - t.getTimezoneOffset());
823
823
  }
824
- const Fr = {
825
- notAvailable: "該当なし"
826
- }, Pr = {
824
+ const qr = {
825
+ notAvailable: "N/A"
826
+ }, Fr = {
827
827
  short: {
828
- traffic: "リクエスト",
829
- errorRate: "エラー率",
830
- latency: "P99 レイテンシ"
828
+ traffic: "Requests",
829
+ errorRate: "Error Rate",
830
+ latency: "P99 Latency"
831
831
  },
832
832
  long: {
833
- traffic: "リクエスト数",
834
- errorRate: "平均エラー率",
835
- latency: "P99 レイテンシ"
836
- }
837
- }, qr = {
838
- custom: "過去 {numDays} 日間との比較",
839
- "15m": "前の 15 分との比較",
840
- "1h": "前の時間との比較",
841
- "6h": "過去6時間との比較",
842
- "12h": "過去 12 時間との比較",
843
- "24h": "過去 24 時間との比較",
844
- "7d": "過去7日間との比較",
845
- "30d": "過去 30 日間との比較",
846
- current_week: "前週との比較",
847
- current_month: "前月との比較",
848
- current_quarter: "前四半期との比較",
849
- previous_week: "前回の期間との比較",
850
- previous_month: "前回の期間との比較",
851
- previous_quarter: "前四半期との比較"
833
+ traffic: "Number of Requests",
834
+ errorRate: "Average Error Rate",
835
+ latency: "P99 Latency"
836
+ }
837
+ }, Pr = {
838
+ custom: "vs previous {numDays} days",
839
+ "15m": "vs previous 15 minutes",
840
+ "1h": "vs previous hour",
841
+ "6h": "vs previous 6 hours",
842
+ "12h": "vs previous 12 hours",
843
+ "24h": "vs previous 24 hours",
844
+ "7d": "vs previous 7 days",
845
+ "30d": "vs previous 30 days",
846
+ current_week: "vs previous week",
847
+ current_month: "vs previous month",
848
+ current_quarter: "vs previous quarter",
849
+ previous_week: "vs previous time period",
850
+ previous_month: "vs previous time period",
851
+ previous_quarter: "vs previous quarter"
852
852
  }, Vr = {
853
- general: Fr,
854
- metricCard: Pr,
855
- trendRange: qr
853
+ general: qr,
854
+ metricCard: Fr,
855
+ trendRange: Pr
856
856
  };
857
857
  function Zr() {
858
858
  const e = Zt("en-us", Vr);
@@ -862,9 +862,9 @@ function Zr() {
862
862
  // Translation component <i18n-t>
863
863
  };
864
864
  }
865
- var Q = /* @__PURE__ */ ((e) => (e.API_PRODUCT = "API_PRODUCT", e.API_PRODUCT_VERSION = "API_PRODUCT_VERSION", e.RUNTIME_GROUP = "RUNTIME_GROUP", e.GATEWAY_INSTANCE_ID = "GATEWAY_INSTANCE_ID", e.GATEWAY_SERVICE = "GATEWAY_SERVICE", e.ROUTE = "ROUTE", e.APPLICATION = "APPLICATION", e.STATUS_CODE = "STATUS_CODE", e.STATUS_CODE_GROUPED = "STATUS_CODE_GROUPED", e.TIME = "TIME", e.ORGANIZATION = "ORGANIZATION", e.CONTROL_PLANE = "CONTROL_PLANE", e.CONTROL_PLANE_GROUP = "CONTROL_PLANE_GROUP", e.DATA_PLANE_NODE = "DATA_PLANE_NODE", e))(Q || {}), He = /* @__PURE__ */ ((e) => (e.REQUEST_COUNT = "REQUEST_COUNT", e.REQUEST_PER_MINUTE = "REQUEST_PER_MINUTE", e.RESPONSE_LATENCY_P99 = "RESPONSE_LATENCY_P99", e.RESPONSE_LATENCY_P95 = "RESPONSE_LATENCY_P95", e.RESPONSE_LATENCY_P50 = "RESPONSE_LATENCY_P50", e.RESPONSE_SIZE_P99 = "RESPONSE_SIZE_P99", e.RESPONSE_SIZE_P95 = "RESPONSE_SIZE_P95", e.RESPONSE_SIZE_P50 = "RESPONSE_SIZE_P50", e.REQUEST_SIZE_P99 = "REQUEST_SIZE_P99", e.REQUEST_SIZE_P95 = "REQUEST_SIZE_P95", e.REQUEST_SIZE_P50 = "REQUEST_SIZE_P50", e))(He || {}), Dt = /* @__PURE__ */ ((e) => (e.IN = "IN", e.NOT_IN = "NOT_IN", e))(Dt || {});
865
+ var Q = /* @__PURE__ */ ((e) => (e.API_PRODUCT = "API_PRODUCT", e.API_PRODUCT_VERSION = "API_PRODUCT_VERSION", e.RUNTIME_GROUP = "RUNTIME_GROUP", e.GATEWAY_INSTANCE_ID = "GATEWAY_INSTANCE_ID", e.GATEWAY_SERVICE = "GATEWAY_SERVICE", e.ROUTE = "ROUTE", e.APPLICATION = "APPLICATION", e.STATUS_CODE = "STATUS_CODE", e.STATUS_CODE_GROUPED = "STATUS_CODE_GROUPED", e.TIME = "TIME", e.ORGANIZATION = "ORGANIZATION", e.CONTROL_PLANE = "CONTROL_PLANE", e.CONTROL_PLANE_GROUP = "CONTROL_PLANE_GROUP", e.DATA_PLANE_NODE = "DATA_PLANE_NODE", e))(Q || {}), He = /* @__PURE__ */ ((e) => (e.REQUEST_COUNT = "REQUEST_COUNT", e.REQUEST_PER_MINUTE = "REQUEST_PER_MINUTE", e.RESPONSE_LATENCY_P99 = "RESPONSE_LATENCY_P99", e.RESPONSE_LATENCY_P95 = "RESPONSE_LATENCY_P95", e.RESPONSE_LATENCY_P50 = "RESPONSE_LATENCY_P50", e.RESPONSE_SIZE_P99 = "RESPONSE_SIZE_P99", e.RESPONSE_SIZE_P95 = "RESPONSE_SIZE_P95", e.RESPONSE_SIZE_P50 = "RESPONSE_SIZE_P50", e.REQUEST_SIZE_P99 = "REQUEST_SIZE_P99", e.REQUEST_SIZE_P95 = "REQUEST_SIZE_P95", e.REQUEST_SIZE_P50 = "REQUEST_SIZE_P50", e))(He || {}), Nt = /* @__PURE__ */ ((e) => (e.IN = "IN", e.NOT_IN = "NOT_IN", e))(Nt || {});
866
866
  const jr = 2, ue = ["1XX", "2XX", "3XX", "4XX", "5XX"], dt = ["4XX", "5XX"];
867
- var Nt = /* @__PURE__ */ ((e) => (e.VALIDATING = "VALIDATING", e.VALIDATING_HAS_DATA = "VALIDATING_HAS_DATA", e.PENDING = "PENDING", e.SUCCESS = "SUCCESS", e.SUCCESS_HAS_DATA = "SUCCESS_HAS_DATA", e.ERROR = "ERROR", e.STALE_IF_ERROR = "STALE_IF_ERROR", e))(Nt || {});
867
+ var Rt = /* @__PURE__ */ ((e) => (e.VALIDATING = "VALIDATING", e.VALIDATING_HAS_DATA = "VALIDATING_HAS_DATA", e.PENDING = "PENDING", e.SUCCESS = "SUCCESS", e.SUCCESS_HAS_DATA = "SUCCESS_HAS_DATA", e.ERROR = "ERROR", e.STALE_IF_ERROR = "STALE_IF_ERROR", e))(Rt || {});
868
868
  const Gr = (e) => {
869
869
  var t, r, i, a, n;
870
870
  return e ? !!// TODO: revisit: currently only the first check ever matters?
@@ -904,20 +904,20 @@ function Br(e = xe({}), t, r, i = Gr) {
904
904
  e.value === void 0 && t && (a.value = "ERROR");
905
905
  }), {
906
906
  state: a,
907
- swrvState: Nt
907
+ swrvState: Rt
908
908
  };
909
909
  }
910
- const V = Symbol("default"), Ne = Q.STATUS_CODE_GROUPED, ct = (e, t, r, i, a) => {
910
+ const V = Symbol("default"), Re = Q.STATUS_CODE_GROUPED, ct = (e, t, r, i, a) => {
911
911
  e[t][r] || (e[t][r] = {}), e[t][r][i] = a;
912
912
  };
913
913
  function Wr(e, t, r) {
914
914
  var l;
915
- const i = ((l = e.meta.metricNames) == null ? void 0 : l[0]) || "", a = Object.keys(e.meta.dimensions || {}), n = !!a.find((c) => c === Ne), o = a.find((c) => c !== Ne);
915
+ const i = ((l = e.meta.metricNames) == null ? void 0 : l[0]) || "", a = Object.keys(e.meta.dimensions || {}), n = !!a.find((c) => c === Re), o = a.find((c) => c !== Re);
916
916
  return a.length > 2 || a.length > 1 && !n ? (console.error("Don't know how to work with provided dimensions:", a), {
917
917
  previous: { [V]: { [V]: 0 } },
918
918
  current: { [V]: { [V]: 0 } }
919
919
  }) : e.records.reduce((c, s) => {
920
- const u = s.event[i], d = o ? s.event[o] : V, f = n ? s.event[Ne] : V;
920
+ const u = s.event[i], d = o ? s.event[o] : V, f = n ? s.event[Re] : V;
921
921
  return new Date(s.timestamp).getTime() === t.startDate().getTime() && r ? ct(c, "previous", d, f, u) : ct(c, "current", d, f, u), c;
922
922
  }, {
923
923
  previous: {},
@@ -1002,13 +1002,13 @@ function Qr(e) {
1002
1002
  };
1003
1003
  });
1004
1004
  }
1005
- var Re = /* @__PURE__ */ new WeakMap(), ft = 0;
1005
+ var De = /* @__PURE__ */ new WeakMap(), ft = 0;
1006
1006
  function Jr(e) {
1007
1007
  if (!e.length)
1008
1008
  return "";
1009
1009
  for (var t = "arg", r = 0; r < e.length; ++r) {
1010
1010
  var i = void 0;
1011
- e[r] === null || typeof e[r] != "object" && typeof e[r] != "function" ? typeof e[r] == "string" ? i = '"' + e[r] + '"' : i = String(e[r]) : Re.has(e[r]) ? i = Re.get(e[r]) : (i = ft, Re.set(e[r], ft++)), t += "@" + i;
1011
+ e[r] === null || typeof e[r] != "object" && typeof e[r] != "function" ? typeof e[r] == "string" ? i = '"' + e[r] + '"' : i = String(e[r]) : De.has(e[r]) ? i = De.get(e[r]) : (i = ft, De.set(e[r], ft++)), t += "@" + i;
1012
1012
  }
1013
1013
  return t;
1014
1014
  }
@@ -1021,7 +1021,7 @@ function Xr(e) {
1021
1021
  }
1022
1022
  return Array.isArray(e) ? e = Jr(e) : e = String(e || ""), e;
1023
1023
  }
1024
- var qe = (
1024
+ var Pe = (
1025
1025
  /** @class */
1026
1026
  function() {
1027
1027
  function e(t) {
@@ -1189,8 +1189,8 @@ var $ = globalThis && globalThis.__assign || function() {
1189
1189
  for (var i = 0, a = t.length, n; i < a; i++)
1190
1190
  (n || !(i in t)) && (n || (n = Array.prototype.slice.call(t, 0, i)), n[i] = t[i]);
1191
1191
  return e.concat(n || Array.prototype.slice.call(t));
1192
- }, Rt = new qe(), me = new qe(), _e = new qe(), bt = {
1193
- cache: Rt,
1192
+ }, Dt = new Pe(), me = new Pe(), _e = new Pe(), bt = {
1193
+ cache: Dt,
1194
1194
  refreshInterval: 0,
1195
1195
  ttl: 0,
1196
1196
  serverTTL: 1e3,
@@ -1222,7 +1222,7 @@ function on(e, t, r) {
1222
1222
  }
1223
1223
  }
1224
1224
  var pt = function(e, t, r, i) {
1225
- return r === void 0 && (r = Rt), i === void 0 && (i = bt.ttl), X(void 0, void 0, void 0, function() {
1225
+ return r === void 0 && (r = Dt), i === void 0 && (i = bt.ttl), X(void 0, void 0, void 0, function() {
1226
1226
  var a, n, o, l, c, s, u;
1227
1227
  return ee(this, function(d) {
1228
1228
  switch (d.label) {
@@ -1436,7 +1436,7 @@ const K = {
1436
1436
  const E = [];
1437
1437
  return s && E.push({
1438
1438
  dimension: t,
1439
- type: Dt.IN,
1439
+ type: Nt.IN,
1440
1440
  values: [r]
1441
1441
  }), i.value && E.push(...i.value), E;
1442
1442
  }), f = {
@@ -1497,13 +1497,13 @@ const K = {
1497
1497
  const i = v(() => {
1498
1498
  if (t.overrideTimeframe)
1499
1499
  return t.overrideTimeframe;
1500
- const l = t.hasTrendAccess ? De.get(t.maxTimeframe) : De.get(w.ONE_DAY);
1500
+ const l = t.hasTrendAccess ? Ne.get(t.maxTimeframe) : Ne.get(w.ONE_DAY);
1501
1501
  if (!l)
1502
1502
  throw new Error("Metrics provider failed to resolve fallback timeframe.");
1503
1503
  return l;
1504
1504
  }), a = v(() => {
1505
1505
  var l;
1506
- return i.value.key === "custom" ? r.t("trendRange.custom", { numDays: Math.ceil(i.value.timeframeLength() / (1e3 * 60 * 24)) }) : t.hasTrendAccess ? r.t(`trendRange.${i.value.key}`) : r.t(`trendRange.${(l = De.get(w.ONE_DAY)) == null ? void 0 : l.key}`);
1506
+ return i.value.key === "custom" ? r.t("trendRange.custom", { numDays: Math.ceil(i.value.timeframeLength() / (1e3 * 60 * 24)) }) : t.hasTrendAccess ? r.t(`trendRange.${i.value.key}`) : r.t(`trendRange.${(l = Ne.get(w.ONE_DAY)) == null ? void 0 : l.key}`);
1507
1507
  }), {
1508
1508
  trafficData: n,
1509
1509
  latencyData: o
@@ -1565,7 +1565,7 @@ var It = { exports: {} };
1565
1565
  var pn = It.exports;
1566
1566
  const mn = /* @__PURE__ */ fn(pn);
1567
1567
  var O = /* @__PURE__ */ ((e) => (e.Small = "sm", e.Medium = "md", e.Large = "lg", e.LargeCompact = "lgc", e.ExtraLarge = "xl", e))(O || {});
1568
- const D = "24px", G = (e, t) => {
1568
+ const N = "24px", G = (e, t) => {
1569
1569
  const r = e.__vccOpts || e;
1570
1570
  for (const [i, a] of t)
1571
1571
  r[i] = a;
@@ -1573,7 +1573,7 @@ const D = "24px", G = (e, t) => {
1573
1573
  }, vn = (e) => (Z("data-v-f2dbb1b9"), e = e(), j(), e), gn = ["aria-hidden"], hn = {
1574
1574
  key: 0,
1575
1575
  "data-testid": "kui-icon-svg-title"
1576
- }, yn = /* @__PURE__ */ vn(() => /* @__PURE__ */ N("path", {
1576
+ }, yn = /* @__PURE__ */ vn(() => /* @__PURE__ */ R("path", {
1577
1577
  d: "M6.5 20C4.98333 20 3.6875 19.475 2.6125 18.425C1.5375 17.375 1 16.0917 1 14.575C1 13.275 1.39167 12.1167 2.175 11.1C2.95833 10.0833 3.98333 9.43333 5.25 9.15C5.66667 7.61667 6.5 6.375 7.75 5.425C9 4.475 10.4167 4 12 4C13.95 4 15.6042 4.67917 16.9625 6.0375C18.3208 7.39583 19 9.05 19 11C20.15 11.1333 21.1042 11.6292 21.8625 12.4875C22.6208 13.3458 23 14.35 23 15.5C23 16.75 22.5625 17.8125 21.6875 18.6875C20.8125 19.5625 19.75 20 18.5 20H13C12.45 20 11.9792 19.8042 11.5875 19.4125C11.1958 19.0208 11 18.55 11 18V12.85L9.4 14.4L8 13L12 9L16 13L14.6 14.4L13 12.85V18H18.5C19.2 18 19.7917 17.7583 20.275 17.275C20.7583 16.7917 21 16.2 21 15.5C21 14.8 20.7583 14.2083 20.275 13.725C19.7917 13.2417 19.2 13 18.5 13H17V11C17 9.61667 16.5125 8.4375 15.5375 7.4625C14.5625 6.4875 13.3833 6 12 6C10.6167 6 9.4375 6.4875 8.4625 7.4625C7.4875 8.4375 7 9.61667 7 11H6.5C5.53333 11 4.70833 11.3417 4.025 12.025C3.34167 12.7083 3 13.5333 3 14.5C3 15.4667 3.34167 16.2917 4.025 16.975C4.70833 17.6583 5.53333 18 6.5 18H9V20H6.5Z",
1578
1578
  fill: "currentColor"
1579
1579
  }, null, -1)), Tn = /* @__PURE__ */ U({
@@ -1607,7 +1607,7 @@ const D = "24px", G = (e, t) => {
1607
1607
  size: {
1608
1608
  type: [Number, String],
1609
1609
  required: !1,
1610
- default: D,
1610
+ default: N,
1611
1611
  // if setting to the imported const fails, just pass a number of 24 as the default.
1612
1612
  validator: (e) => {
1613
1613
  if (typeof e == "number" && e > 0)
@@ -1636,7 +1636,7 @@ const D = "24px", G = (e, t) => {
1636
1636
  if (n && !isNaN(n) && Number.isInteger(n) && n > 0)
1637
1637
  return `${n}px`;
1638
1638
  }
1639
- return D;
1639
+ return N;
1640
1640
  }), i = v(() => ({
1641
1641
  boxSizing: "border-box",
1642
1642
  color: t.color,
@@ -1649,9 +1649,9 @@ const D = "24px", G = (e, t) => {
1649
1649
  "aria-hidden": e.decorative ? "true" : void 0,
1650
1650
  class: "kui-icon cloud-upload-icon",
1651
1651
  "data-testid": "kui-icon-wrapper-cloud-upload-icon",
1652
- style: q(i.value)
1652
+ style: P(i.value)
1653
1653
  }, {
1654
- default: P(() => [
1654
+ default: F(() => [
1655
1655
  (m(), C("svg", {
1656
1656
  "aria-hidden": e.decorative ? "true" : void 0,
1657
1657
  "data-testid": "kui-icon-svg-cloud-upload-icon",
@@ -1662,7 +1662,7 @@ const D = "24px", G = (e, t) => {
1662
1662
  width: "100%",
1663
1663
  xmlns: "http://www.w3.org/2000/svg"
1664
1664
  }, [
1665
- e.title ? (m(), C("title", hn, R(e.title), 1)) : I("", !0),
1665
+ e.title ? (m(), C("title", hn, D(e.title), 1)) : I("", !0),
1666
1666
  yn
1667
1667
  ], 8, gn))
1668
1668
  ]),
@@ -1672,10 +1672,10 @@ const D = "24px", G = (e, t) => {
1672
1672
  }), Cn = /* @__PURE__ */ G(Tn, [["__scopeId", "data-v-f2dbb1b9"]]), wn = (e) => (Z("data-v-04327805"), e = e(), j(), e), Sn = ["aria-hidden"], En = {
1673
1673
  key: 0,
1674
1674
  "data-testid": "kui-icon-svg-title"
1675
- }, Dn = /* @__PURE__ */ wn(() => /* @__PURE__ */ N("path", {
1675
+ }, Nn = /* @__PURE__ */ wn(() => /* @__PURE__ */ R("path", {
1676
1676
  d: "M4 17V14H20V17H4ZM4 10V7H20V10H4Z",
1677
1677
  fill: "currentColor"
1678
- }, null, -1)), Nn = /* @__PURE__ */ U({
1678
+ }, null, -1)), Rn = /* @__PURE__ */ U({
1679
1679
  __name: "EqualIcon",
1680
1680
  props: {
1681
1681
  /** The accessibility text provided to screen readers */
@@ -1706,7 +1706,7 @@ const D = "24px", G = (e, t) => {
1706
1706
  size: {
1707
1707
  type: [Number, String],
1708
1708
  required: !1,
1709
- default: D,
1709
+ default: N,
1710
1710
  // if setting to the imported const fails, just pass a number of 24 as the default.
1711
1711
  validator: (e) => {
1712
1712
  if (typeof e == "number" && e > 0)
@@ -1735,7 +1735,7 @@ const D = "24px", G = (e, t) => {
1735
1735
  if (n && !isNaN(n) && Number.isInteger(n) && n > 0)
1736
1736
  return `${n}px`;
1737
1737
  }
1738
- return D;
1738
+ return N;
1739
1739
  }), i = v(() => ({
1740
1740
  boxSizing: "border-box",
1741
1741
  color: t.color,
@@ -1748,9 +1748,9 @@ const D = "24px", G = (e, t) => {
1748
1748
  "aria-hidden": e.decorative ? "true" : void 0,
1749
1749
  class: "kui-icon equal-icon",
1750
1750
  "data-testid": "kui-icon-wrapper-equal-icon",
1751
- style: q(i.value)
1751
+ style: P(i.value)
1752
1752
  }, {
1753
- default: P(() => [
1753
+ default: F(() => [
1754
1754
  (m(), C("svg", {
1755
1755
  "aria-hidden": e.decorative ? "true" : void 0,
1756
1756
  "data-testid": "kui-icon-svg-equal-icon",
@@ -1761,17 +1761,17 @@ const D = "24px", G = (e, t) => {
1761
1761
  width: "100%",
1762
1762
  xmlns: "http://www.w3.org/2000/svg"
1763
1763
  }, [
1764
- e.title ? (m(), C("title", En, R(e.title), 1)) : I("", !0),
1765
- Dn
1764
+ e.title ? (m(), C("title", En, D(e.title), 1)) : I("", !0),
1765
+ Nn
1766
1766
  ], 8, Sn))
1767
1767
  ]),
1768
1768
  _: 1
1769
1769
  }, 8, ["aria-hidden", "style"]));
1770
1770
  }
1771
- }), Rn = /* @__PURE__ */ G(Nn, [["__scopeId", "data-v-04327805"]]), bn = (e) => (Z("data-v-951e2d7d"), e = e(), j(), e), _n = ["aria-hidden"], In = {
1771
+ }), Dn = /* @__PURE__ */ G(Rn, [["__scopeId", "data-v-04327805"]]), bn = (e) => (Z("data-v-951e2d7d"), e = e(), j(), e), _n = ["aria-hidden"], In = {
1772
1772
  key: 0,
1773
1773
  "data-testid": "kui-icon-svg-title"
1774
- }, xn = /* @__PURE__ */ bn(() => /* @__PURE__ */ N("path", {
1774
+ }, xn = /* @__PURE__ */ bn(() => /* @__PURE__ */ R("path", {
1775
1775
  d: "M5 11V9H15V11H5Z",
1776
1776
  fill: "currentColor"
1777
1777
  }, null, -1)), An = /* @__PURE__ */ U({
@@ -1805,7 +1805,7 @@ const D = "24px", G = (e, t) => {
1805
1805
  size: {
1806
1806
  type: [Number, String],
1807
1807
  required: !1,
1808
- default: D,
1808
+ default: N,
1809
1809
  // if setting to the imported const fails, just pass a number of 24 as the default.
1810
1810
  validator: (e) => {
1811
1811
  if (typeof e == "number" && e > 0)
@@ -1834,7 +1834,7 @@ const D = "24px", G = (e, t) => {
1834
1834
  if (n && !isNaN(n) && Number.isInteger(n) && n > 0)
1835
1835
  return `${n}px`;
1836
1836
  }
1837
- return D;
1837
+ return N;
1838
1838
  }), i = v(() => ({
1839
1839
  boxSizing: "border-box",
1840
1840
  color: t.color,
@@ -1847,9 +1847,9 @@ const D = "24px", G = (e, t) => {
1847
1847
  "aria-hidden": e.decorative ? "true" : void 0,
1848
1848
  class: "kui-icon indeterminate-small-icon",
1849
1849
  "data-testid": "kui-icon-wrapper-indeterminate-small-icon",
1850
- style: q(i.value)
1850
+ style: P(i.value)
1851
1851
  }, {
1852
- default: P(() => [
1852
+ default: F(() => [
1853
1853
  (m(), C("svg", {
1854
1854
  "aria-hidden": e.decorative ? "true" : void 0,
1855
1855
  "data-testid": "kui-icon-svg-indeterminate-small-icon",
@@ -1860,7 +1860,7 @@ const D = "24px", G = (e, t) => {
1860
1860
  width: "100%",
1861
1861
  xmlns: "http://www.w3.org/2000/svg"
1862
1862
  }, [
1863
- e.title ? (m(), C("title", In, R(e.title), 1)) : I("", !0),
1863
+ e.title ? (m(), C("title", In, D(e.title), 1)) : I("", !0),
1864
1864
  xn
1865
1865
  ], 8, _n))
1866
1866
  ]),
@@ -1870,7 +1870,7 @@ const D = "24px", G = (e, t) => {
1870
1870
  }), xt = /* @__PURE__ */ G(An, [["__scopeId", "data-v-951e2d7d"]]), Mn = (e) => (Z("data-v-6754ff4c"), e = e(), j(), e), Ln = ["aria-hidden"], On = {
1871
1871
  key: 0,
1872
1872
  "data-testid": "kui-icon-svg-title"
1873
- }, kn = /* @__PURE__ */ Mn(() => /* @__PURE__ */ N("path", {
1873
+ }, kn = /* @__PURE__ */ Mn(() => /* @__PURE__ */ R("path", {
1874
1874
  d: "M15.25 5C14.9 5 14.6042 4.87917 14.3625 4.6375C14.1208 4.39583 14 4.1 14 3.75C14 3.4 14.1208 3.10417 14.3625 2.8625C14.6042 2.62083 14.9 2.5 15.25 2.5C15.6 2.5 15.8958 2.62083 16.1375 2.8625C16.3792 3.10417 16.5 3.4 16.5 3.75C16.5 4.1 16.3792 4.39583 16.1375 4.6375C15.8958 4.87917 15.6 5 15.25 5ZM15.25 21.5C14.9 21.5 14.6042 21.3792 14.3625 21.1375C14.1208 20.8958 14 20.6 14 20.25C14 19.9 14.1208 19.6042 14.3625 19.3625C14.6042 19.1208 14.9 19 15.25 19C15.6 19 15.8958 19.1208 16.1375 19.3625C16.3792 19.6042 16.5 19.9 16.5 20.25C16.5 20.6 16.3792 20.8958 16.1375 21.1375C15.8958 21.3792 15.6 21.5 15.25 21.5ZM19.25 8.5C18.9 8.5 18.6042 8.37917 18.3625 8.1375C18.1208 7.89583 18 7.6 18 7.25C18 6.9 18.1208 6.60417 18.3625 6.3625C18.6042 6.12083 18.9 6 19.25 6C19.6 6 19.8958 6.12083 20.1375 6.3625C20.3792 6.60417 20.5 6.9 20.5 7.25C20.5 7.6 20.3792 7.89583 20.1375 8.1375C19.8958 8.37917 19.6 8.5 19.25 8.5ZM19.25 18C18.9 18 18.6042 17.8792 18.3625 17.6375C18.1208 17.3958 18 17.1 18 16.75C18 16.4 18.1208 16.1042 18.3625 15.8625C18.6042 15.6208 18.9 15.5 19.25 15.5C19.6 15.5 19.8958 15.6208 20.1375 15.8625C20.3792 16.1042 20.5 16.4 20.5 16.75C20.5 17.1 20.3792 17.3958 20.1375 17.6375C19.8958 17.8792 19.6 18 19.25 18ZM20.75 13.25C20.4 13.25 20.1042 13.1292 19.8625 12.8875C19.6208 12.6458 19.5 12.35 19.5 12C19.5 11.65 19.6208 11.3542 19.8625 11.1125C20.1042 10.8708 20.4 10.75 20.75 10.75C21.1 10.75 21.3958 10.8708 21.6375 11.1125C21.8792 11.3542 22 11.65 22 12C22 12.35 21.8792 12.6458 21.6375 12.8875C21.3958 13.1292 21.1 13.25 20.75 13.25ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2V4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20V22ZM12 14C11.45 14 10.9792 13.8042 10.5875 13.4125C10.1958 13.0208 10 12.55 10 12C10 11.9167 10.0042 11.8292 10.0125 11.7375C10.0208 11.6458 10.0417 11.5583 10.075 11.475L8 9.4L9.4 8L11.475 10.075C11.5417 10.0583 11.7167 10.0333 12 10C12.55 10 13.0208 10.1958 13.4125 10.5875C13.8042 10.9792 14 11.45 14 12C14 12.55 13.8042 13.0208 13.4125 13.4125C13.0208 13.8042 12.55 14 12 14Z",
1875
1875
  fill: "currentColor"
1876
1876
  }, null, -1)), Un = /* @__PURE__ */ U({
@@ -1904,7 +1904,7 @@ const D = "24px", G = (e, t) => {
1904
1904
  size: {
1905
1905
  type: [Number, String],
1906
1906
  required: !1,
1907
- default: D,
1907
+ default: N,
1908
1908
  // if setting to the imported const fails, just pass a number of 24 as the default.
1909
1909
  validator: (e) => {
1910
1910
  if (typeof e == "number" && e > 0)
@@ -1933,7 +1933,7 @@ const D = "24px", G = (e, t) => {
1933
1933
  if (n && !isNaN(n) && Number.isInteger(n) && n > 0)
1934
1934
  return `${n}px`;
1935
1935
  }
1936
- return D;
1936
+ return N;
1937
1937
  }), i = v(() => ({
1938
1938
  boxSizing: "border-box",
1939
1939
  color: t.color,
@@ -1946,9 +1946,9 @@ const D = "24px", G = (e, t) => {
1946
1946
  "aria-hidden": e.decorative ? "true" : void 0,
1947
1947
  class: "kui-icon response-icon",
1948
1948
  "data-testid": "kui-icon-wrapper-response-icon",
1949
- style: q(i.value)
1949
+ style: P(i.value)
1950
1950
  }, {
1951
- default: P(() => [
1951
+ default: F(() => [
1952
1952
  (m(), C("svg", {
1953
1953
  "aria-hidden": e.decorative ? "true" : void 0,
1954
1954
  "data-testid": "kui-icon-svg-response-icon",
@@ -1959,7 +1959,7 @@ const D = "24px", G = (e, t) => {
1959
1959
  width: "100%",
1960
1960
  xmlns: "http://www.w3.org/2000/svg"
1961
1961
  }, [
1962
- e.title ? (m(), C("title", On, R(e.title), 1)) : I("", !0),
1962
+ e.title ? (m(), C("title", On, D(e.title), 1)) : I("", !0),
1963
1963
  kn
1964
1964
  ], 8, Ln))
1965
1965
  ]),
@@ -1969,10 +1969,10 @@ const D = "24px", G = (e, t) => {
1969
1969
  }), zn = /* @__PURE__ */ G(Un, [["__scopeId", "data-v-6754ff4c"]]), Yn = (e) => (Z("data-v-2ee83e7f"), e = e(), j(), e), Hn = ["aria-hidden"], $n = {
1970
1970
  key: 0,
1971
1971
  "data-testid": "kui-icon-svg-title"
1972
- }, Fn = /* @__PURE__ */ Yn(() => /* @__PURE__ */ N("path", {
1972
+ }, qn = /* @__PURE__ */ Yn(() => /* @__PURE__ */ R("path", {
1973
1973
  d: "M16 18V16H18.6L13.4 10.85L9.4 14.85L2 7.4L3.4 6L9.4 12L13.4 8L20 14.6V12H22V18H16Z",
1974
1974
  fill: "currentColor"
1975
- }, null, -1)), Pn = /* @__PURE__ */ U({
1975
+ }, null, -1)), Fn = /* @__PURE__ */ U({
1976
1976
  __name: "TrendDownIcon",
1977
1977
  props: {
1978
1978
  /** The accessibility text provided to screen readers */
@@ -2003,7 +2003,7 @@ const D = "24px", G = (e, t) => {
2003
2003
  size: {
2004
2004
  type: [Number, String],
2005
2005
  required: !1,
2006
- default: D,
2006
+ default: N,
2007
2007
  // if setting to the imported const fails, just pass a number of 24 as the default.
2008
2008
  validator: (e) => {
2009
2009
  if (typeof e == "number" && e > 0)
@@ -2032,7 +2032,7 @@ const D = "24px", G = (e, t) => {
2032
2032
  if (n && !isNaN(n) && Number.isInteger(n) && n > 0)
2033
2033
  return `${n}px`;
2034
2034
  }
2035
- return D;
2035
+ return N;
2036
2036
  }), i = v(() => ({
2037
2037
  boxSizing: "border-box",
2038
2038
  color: t.color,
@@ -2045,9 +2045,9 @@ const D = "24px", G = (e, t) => {
2045
2045
  "aria-hidden": e.decorative ? "true" : void 0,
2046
2046
  class: "kui-icon trend-down-icon",
2047
2047
  "data-testid": "kui-icon-wrapper-trend-down-icon",
2048
- style: q(i.value)
2048
+ style: P(i.value)
2049
2049
  }, {
2050
- default: P(() => [
2050
+ default: F(() => [
2051
2051
  (m(), C("svg", {
2052
2052
  "aria-hidden": e.decorative ? "true" : void 0,
2053
2053
  "data-testid": "kui-icon-svg-trend-down-icon",
@@ -2058,17 +2058,17 @@ const D = "24px", G = (e, t) => {
2058
2058
  width: "100%",
2059
2059
  xmlns: "http://www.w3.org/2000/svg"
2060
2060
  }, [
2061
- e.title ? (m(), C("title", $n, R(e.title), 1)) : I("", !0),
2062
- Fn
2061
+ e.title ? (m(), C("title", $n, D(e.title), 1)) : I("", !0),
2062
+ qn
2063
2063
  ], 8, Hn))
2064
2064
  ]),
2065
2065
  _: 1
2066
2066
  }, 8, ["aria-hidden", "style"]));
2067
2067
  }
2068
- }), qn = /* @__PURE__ */ G(Pn, [["__scopeId", "data-v-2ee83e7f"]]), Vn = (e) => (Z("data-v-fc79d138"), e = e(), j(), e), Zn = ["aria-hidden"], jn = {
2068
+ }), Pn = /* @__PURE__ */ G(Fn, [["__scopeId", "data-v-2ee83e7f"]]), Vn = (e) => (Z("data-v-fc79d138"), e = e(), j(), e), Zn = ["aria-hidden"], jn = {
2069
2069
  key: 0,
2070
2070
  "data-testid": "kui-icon-svg-title"
2071
- }, Gn = /* @__PURE__ */ Vn(() => /* @__PURE__ */ N("path", {
2071
+ }, Gn = /* @__PURE__ */ Vn(() => /* @__PURE__ */ R("path", {
2072
2072
  d: "M3.4 18L2 16.6L9.4 9.15L13.4 13.15L18.6 8H16V6H22V12H20V9.4L13.4 16L9.4 12L3.4 18Z",
2073
2073
  fill: "currentColor"
2074
2074
  }, null, -1)), Bn = /* @__PURE__ */ U({
@@ -2102,7 +2102,7 @@ const D = "24px", G = (e, t) => {
2102
2102
  size: {
2103
2103
  type: [Number, String],
2104
2104
  required: !1,
2105
- default: D,
2105
+ default: N,
2106
2106
  // if setting to the imported const fails, just pass a number of 24 as the default.
2107
2107
  validator: (e) => {
2108
2108
  if (typeof e == "number" && e > 0)
@@ -2131,7 +2131,7 @@ const D = "24px", G = (e, t) => {
2131
2131
  if (n && !isNaN(n) && Number.isInteger(n) && n > 0)
2132
2132
  return `${n}px`;
2133
2133
  }
2134
- return D;
2134
+ return N;
2135
2135
  }), i = v(() => ({
2136
2136
  boxSizing: "border-box",
2137
2137
  color: t.color,
@@ -2144,9 +2144,9 @@ const D = "24px", G = (e, t) => {
2144
2144
  "aria-hidden": e.decorative ? "true" : void 0,
2145
2145
  class: "kui-icon trend-up-icon",
2146
2146
  "data-testid": "kui-icon-wrapper-trend-up-icon",
2147
- style: q(i.value)
2147
+ style: P(i.value)
2148
2148
  }, {
2149
- default: P(() => [
2149
+ default: F(() => [
2150
2150
  (m(), C("svg", {
2151
2151
  "aria-hidden": e.decorative ? "true" : void 0,
2152
2152
  "data-testid": "kui-icon-svg-trend-up-icon",
@@ -2157,7 +2157,7 @@ const D = "24px", G = (e, t) => {
2157
2157
  width: "100%",
2158
2158
  xmlns: "http://www.w3.org/2000/svg"
2159
2159
  }, [
2160
- e.title ? (m(), C("title", jn, R(e.title), 1)) : I("", !0),
2160
+ e.title ? (m(), C("title", jn, D(e.title), 1)) : I("", !0),
2161
2161
  Gn
2162
2162
  ], 8, Zn))
2163
2163
  ]),
@@ -2167,7 +2167,7 @@ const D = "24px", G = (e, t) => {
2167
2167
  }), Wn = /* @__PURE__ */ G(Bn, [["__scopeId", "data-v-fc79d138"]]), Kn = (e) => (Z("data-v-87798997"), e = e(), j(), e), Qn = ["aria-hidden"], Jn = {
2168
2168
  key: 0,
2169
2169
  "data-testid": "kui-icon-svg-title"
2170
- }, Xn = /* @__PURE__ */ Kn(() => /* @__PURE__ */ N("path", {
2170
+ }, Xn = /* @__PURE__ */ Kn(() => /* @__PURE__ */ R("path", {
2171
2171
  d: "M9 20C8.68333 20 8.4 19.9083 8.15 19.725C7.9 19.5417 7.71667 19.3083 7.6 19.025L5.3 13H1V11H6.7L9 17.1L13.6 4.975C13.7167 4.69167 13.9 4.45833 14.15 4.275C14.4 4.09167 14.6833 4 15 4C15.3167 4 15.6 4.09167 15.85 4.275C16.1 4.45833 16.2833 4.69167 16.4 4.975L18.7 11H23V13H17.3L15 6.9L10.4 19.025C10.2833 19.3083 10.1 19.5417 9.85 19.725C9.6 19.9083 9.31667 20 9 20Z",
2172
2172
  fill: "currentColor"
2173
2173
  }, null, -1)), ei = /* @__PURE__ */ U({
@@ -2201,7 +2201,7 @@ const D = "24px", G = (e, t) => {
2201
2201
  size: {
2202
2202
  type: [Number, String],
2203
2203
  required: !1,
2204
- default: D,
2204
+ default: N,
2205
2205
  // if setting to the imported const fails, just pass a number of 24 as the default.
2206
2206
  validator: (e) => {
2207
2207
  if (typeof e == "number" && e > 0)
@@ -2230,7 +2230,7 @@ const D = "24px", G = (e, t) => {
2230
2230
  if (n && !isNaN(n) && Number.isInteger(n) && n > 0)
2231
2231
  return `${n}px`;
2232
2232
  }
2233
- return D;
2233
+ return N;
2234
2234
  }), i = v(() => ({
2235
2235
  boxSizing: "border-box",
2236
2236
  color: t.color,
@@ -2243,9 +2243,9 @@ const D = "24px", G = (e, t) => {
2243
2243
  "aria-hidden": e.decorative ? "true" : void 0,
2244
2244
  class: "kui-icon vitals-icon",
2245
2245
  "data-testid": "kui-icon-wrapper-vitals-icon",
2246
- style: q(i.value)
2246
+ style: P(i.value)
2247
2247
  }, {
2248
- default: P(() => [
2248
+ default: F(() => [
2249
2249
  (m(), C("svg", {
2250
2250
  "aria-hidden": e.decorative ? "true" : void 0,
2251
2251
  "data-testid": "kui-icon-svg-vitals-icon",
@@ -2256,7 +2256,7 @@ const D = "24px", G = (e, t) => {
2256
2256
  width: "100%",
2257
2257
  xmlns: "http://www.w3.org/2000/svg"
2258
2258
  }, [
2259
- e.title ? (m(), C("title", Jn, R(e.title), 1)) : I("", !0),
2259
+ e.title ? (m(), C("title", Jn, D(e.title), 1)) : I("", !0),
2260
2260
  Xn
2261
2261
  ], 8, Qn))
2262
2262
  ]),
@@ -2266,7 +2266,7 @@ const D = "24px", G = (e, t) => {
2266
2266
  }), ti = /* @__PURE__ */ G(ei, [["__scopeId", "data-v-87798997"]]), ri = (e) => (Z("data-v-81510183"), e = e(), j(), e), ni = ["aria-hidden"], ii = {
2267
2267
  key: 0,
2268
2268
  "data-testid": "kui-icon-svg-title"
2269
- }, ai = /* @__PURE__ */ ri(() => /* @__PURE__ */ N("path", {
2269
+ }, ai = /* @__PURE__ */ ri(() => /* @__PURE__ */ R("path", {
2270
2270
  d: "M12.0001 22.025C11.7334 22.025 11.4793 21.975 11.2376 21.875C10.9959 21.775 10.7751 21.6333 10.5751 21.45L2.5501 13.425C2.36676 13.225 2.2251 13.0041 2.1251 12.7625C2.0251 12.5208 1.9751 12.2666 1.9751 12C1.9751 11.7333 2.0251 11.475 2.1251 11.225C2.2251 10.975 2.36676 10.7583 2.5501 10.575L10.5751 2.54998C10.7751 2.34998 10.9959 2.20414 11.2376 2.11248C11.4793 2.02081 11.7334 1.97498 12.0001 1.97498C12.2668 1.97498 12.5251 2.02081 12.7751 2.11248C13.0251 2.20414 13.2418 2.34998 13.4251 2.54998L21.4501 10.575C21.6501 10.7583 21.7959 10.975 21.8876 11.225C21.9793 11.475 22.0251 11.7333 22.0251 12C22.0251 12.2666 21.9793 12.5208 21.8876 12.7625C21.7959 13.0041 21.6501 13.225 21.4501 13.425L13.4251 21.45C13.2418 21.6333 13.0251 21.775 12.7751 21.875C12.5251 21.975 12.2668 22.025 12.0001 22.025ZM12.0001 20.025L20.0251 12L12.0001 3.97498L3.9751 12L12.0001 20.025ZM11.0001 13H13.0001V6.99998H11.0001V13ZM12.0001 16C12.2834 16 12.5209 15.9041 12.7126 15.7125C12.9043 15.5208 13.0001 15.2833 13.0001 15C13.0001 14.7166 12.9043 14.4791 12.7126 14.2875C12.5209 14.0958 12.2834 14 12.0001 14C11.7168 14 11.4793 14.0958 11.2876 14.2875C11.0959 14.4791 11.0001 14.7166 11.0001 15C11.0001 15.2833 11.0959 15.5208 11.2876 15.7125C11.4793 15.9041 11.7168 16 12.0001 16Z",
2271
2271
  fill: "currentColor"
2272
2272
  }, null, -1)), si = /* @__PURE__ */ U({
@@ -2300,7 +2300,7 @@ const D = "24px", G = (e, t) => {
2300
2300
  size: {
2301
2301
  type: [Number, String],
2302
2302
  required: !1,
2303
- default: D,
2303
+ default: N,
2304
2304
  // if setting to the imported const fails, just pass a number of 24 as the default.
2305
2305
  validator: (e) => {
2306
2306
  if (typeof e == "number" && e > 0)
@@ -2329,7 +2329,7 @@ const D = "24px", G = (e, t) => {
2329
2329
  if (n && !isNaN(n) && Number.isInteger(n) && n > 0)
2330
2330
  return `${n}px`;
2331
2331
  }
2332
- return D;
2332
+ return N;
2333
2333
  }), i = v(() => ({
2334
2334
  boxSizing: "border-box",
2335
2335
  color: t.color,
@@ -2342,9 +2342,9 @@ const D = "24px", G = (e, t) => {
2342
2342
  "aria-hidden": e.decorative ? "true" : void 0,
2343
2343
  class: "kui-icon warning-outline-icon",
2344
2344
  "data-testid": "kui-icon-wrapper-warning-outline-icon",
2345
- style: q(i.value)
2345
+ style: P(i.value)
2346
2346
  }, {
2347
- default: P(() => [
2347
+ default: F(() => [
2348
2348
  (m(), C("svg", {
2349
2349
  "aria-hidden": e.decorative ? "true" : void 0,
2350
2350
  "data-testid": "kui-icon-svg-warning-outline-icon",
@@ -2355,7 +2355,7 @@ const D = "24px", G = (e, t) => {
2355
2355
  width: "100%",
2356
2356
  xmlns: "http://www.w3.org/2000/svg"
2357
2357
  }, [
2358
- e.title ? (m(), C("title", ii, R(e.title), 1)) : I("", !0),
2358
+ e.title ? (m(), C("title", ii, D(e.title), 1)) : I("", !0),
2359
2359
  ai
2360
2360
  ], 8, ni))
2361
2361
  ]),
@@ -2365,8 +2365,8 @@ const D = "24px", G = (e, t) => {
2365
2365
  }), oi = /* @__PURE__ */ G(si, [["__scopeId", "data-v-81510183"]]), Ve = 2, mt = Ve + 2, ui = (e, t, r = !1) => {
2366
2366
  let i = !t || Number(e.toFixed(mt)) === 0 ? 0 : Number(e.toFixed(mt)) > 0 ? 1 : -1;
2367
2367
  return r && (i *= -1), i;
2368
- }, li = (e, t, r) => t ? `${Math.abs(e * 100).toFixed(Ve)}%` : r, di = (e, t) => t === 0 ? 0 : e / t - 1, ci = (e, t = !1) => (t && (e *= -1), e > 0 ? Wn : e < 0 ? qn : xt), fi = "#ad000e", pi = "#6c7489", vt = "#52596e", mi = "#007d60", Ie = "16px", vi = "14px", gi = "48px";
2369
- var F = /* @__PURE__ */ ((e) => (e.GENERIC_COUNT = "GenericCount", e.TRAFFIC = "Traffic", e.ERROR_RATE = "ErrorRate", e.LATENCY = "Latency", e))(F || {});
2368
+ }, li = (e, t, r) => t ? `${Math.abs(e * 100).toFixed(Ve)}%` : r, di = (e, t) => t === 0 ? 0 : e / t - 1, ci = (e, t = !1) => (t && (e *= -1), e > 0 ? Wn : e < 0 ? Pn : xt), fi = "#ad000e", pi = "#6c7489", vt = "#52596e", mi = "#007d60", Ie = "16px", vi = "14px", gi = "48px";
2369
+ var q = /* @__PURE__ */ ((e) => (e.GENERIC_COUNT = "GenericCount", e.TRAFFIC = "Traffic", e.ERROR_RATE = "ErrorRate", e.LATENCY = "Latency", e))(q || {});
2370
2370
  const hi = { class: "metricscard" }, yi = {
2371
2371
  key: 0,
2372
2372
  class: "metricscard-description"
@@ -2385,7 +2385,7 @@ const hi = { class: "metricscard" }, yi = {
2385
2385
  cardType: {
2386
2386
  type: String,
2387
2387
  required: !0,
2388
- default: F.GENERIC_COUNT
2388
+ default: q.GENERIC_COUNT
2389
2389
  },
2390
2390
  title: {
2391
2391
  type: String,
@@ -2443,10 +2443,10 @@ const hi = { class: "metricscard" }, yi = {
2443
2443
  },
2444
2444
  setup(e) {
2445
2445
  const t = e, r = /* @__PURE__ */ new Map([
2446
- [F.GENERIC_COUNT, ti],
2447
- [F.TRAFFIC, Cn],
2448
- [F.ERROR_RATE, oi],
2449
- [F.LATENCY, zn]
2446
+ [q.GENERIC_COUNT, ti],
2447
+ [q.TRAFFIC, Cn],
2448
+ [q.ERROR_RATE, oi],
2449
+ [q.LATENCY, zn]
2450
2450
  ]), i = (s) => {
2451
2451
  const u = {
2452
2452
  red: `var(--kong-ui-metric-card-trend-negative, ${fi})`,
@@ -2458,7 +2458,7 @@ const hi = { class: "metricscard" }, yi = {
2458
2458
  return (s, u) => {
2459
2459
  const d = ce("KIcon"), f = ce("KTooltip");
2460
2460
  return m(), C("div", hi, [
2461
- N("div", {
2461
+ R("div", {
2462
2462
  class: te(["metricscard-title", e.cardSize])
2463
2463
  }, [
2464
2464
  _(c) ? I("", !0) : (m(), x(H(_(r).get(e.cardType)), {
@@ -2467,14 +2467,14 @@ const hi = { class: "metricscard" }, yi = {
2467
2467
  color: _(pi),
2468
2468
  size: _(Ie)
2469
2469
  }, null, 8, ["color", "size"])),
2470
- N("span", null, R(e.title), 1),
2470
+ R("span", null, D(e.title), 1),
2471
2471
  e.tooltip ? (m(), x(f, {
2472
2472
  key: 1,
2473
2473
  class: "metricscard-tooltip",
2474
2474
  label: e.tooltip,
2475
2475
  placement: "right"
2476
2476
  }, {
2477
- default: P(() => [
2477
+ default: F(() => [
2478
2478
  ie(d, {
2479
2479
  icon: "info",
2480
2480
  size: "12"
@@ -2484,9 +2484,9 @@ const hi = { class: "metricscard" }, yi = {
2484
2484
  }, 8, ["label"])) : I("", !0)
2485
2485
  ], 2),
2486
2486
  e.description && _(n) && !l.value ? (m(), C("div", yi, [
2487
- N("span", null, R(e.description), 1)
2487
+ R("span", null, D(e.description), 1)
2488
2488
  ])) : I("", !0),
2489
- N("div", {
2489
+ R("div", {
2490
2490
  class: te(["metricscard-valuetrend", { "is-compact": l.value }])
2491
2491
  }, [
2492
2492
  e.hasError ? (m(), C("div", Ti, [
@@ -2494,15 +2494,15 @@ const hi = { class: "metricscard" }, yi = {
2494
2494
  icon: "warning",
2495
2495
  size: "20"
2496
2496
  }),
2497
- N("div", null, R(e.errorMessage), 1)
2497
+ R("div", null, D(e.errorMessage), 1)
2498
2498
  ])) : (m(), C("div", {
2499
2499
  key: 1,
2500
2500
  class: te(["metricscard-value", e.cardSize]),
2501
2501
  "data-testid": "metric-value",
2502
- style: q(`font-size:${_(o)}`)
2503
- }, R(e.metricValue), 7)),
2502
+ style: P(`font-size:${_(o)}`)
2503
+ }, D(e.metricValue), 7)),
2504
2504
  _(n) ? (m(), C("div", Ci, [
2505
- N("div", {
2505
+ R("div", {
2506
2506
  class: te(["metricscard-trend-change", a(e.changePolarity)]),
2507
2507
  "data-testid": "metric-trend-parent"
2508
2508
  }, [
@@ -2510,14 +2510,14 @@ const hi = { class: "metricscard" }, yi = {
2510
2510
  key: 0,
2511
2511
  color: i(e.changePolarity),
2512
2512
  size: _(Ie)
2513
- }, null, 8, ["color", "size"])) : (m(), x(_(Rn), {
2513
+ }, null, 8, ["color", "size"])) : (m(), x(_(Dn), {
2514
2514
  key: 1,
2515
2515
  color: _(vt),
2516
2516
  size: _(Ie)
2517
2517
  }, null, 8, ["color", "size"])),
2518
- N("div", wi, R(e.metricChange), 1)
2518
+ R("div", wi, D(e.metricChange), 1)
2519
2519
  ], 2),
2520
- e.trendRange && e.cardSize !== _(O).LargeCompact ? (m(), C("div", Si, R(e.trendRange), 1)) : I("", !0)
2520
+ e.trendRange && e.cardSize !== _(O).LargeCompact ? (m(), C("div", Si, D(e.trendRange), 1)) : I("", !0)
2521
2521
  ])) : I("", !0)
2522
2522
  ], 2)
2523
2523
  ]);
@@ -2528,15 +2528,15 @@ const hi = { class: "metricscard" }, yi = {
2528
2528
  for (const [i, a] of t)
2529
2529
  r[i] = a;
2530
2530
  return r;
2531
- }, Di = /* @__PURE__ */ Ze(Ei, [["__scopeId", "data-v-e3b3a4cb"]]), Ni = {}, Ri = { class: "loading-tabs" };
2531
+ }, Ni = /* @__PURE__ */ Ze(Ei, [["__scopeId", "data-v-e3b3a4cb"]]), Ri = {}, Di = { class: "loading-tabs" };
2532
2532
  function bi(e, t) {
2533
2533
  const r = ce("KSkeletonBox");
2534
- return m(), C("div", Ri, [
2534
+ return m(), C("div", Di, [
2535
2535
  ie(r, { width: "100" }),
2536
2536
  ie(r, { width: "75" })
2537
2537
  ]);
2538
2538
  }
2539
- const _i = /* @__PURE__ */ Ze(Ni, [["render", bi], ["__scopeId", "data-v-f7eb9c40"]]), Ii = {
2539
+ const _i = /* @__PURE__ */ Ze(Ri, [["render", bi], ["__scopeId", "data-v-f7eb9c40"]]), Ii = {
2540
2540
  key: 0,
2541
2541
  class: "error-display"
2542
2542
  }, xi = {
@@ -2596,12 +2596,12 @@ const _i = /* @__PURE__ */ Ze(Ni, [["render", bi], ["__scopeId", "data-v-f7eb9c4
2596
2596
  icon: "warning",
2597
2597
  size: "24"
2598
2598
  }),
2599
- e.errorMessage ? (m(), C("div", xi, R(e.errorMessage), 1)) : I("", !0)
2599
+ e.errorMessage ? (m(), C("div", xi, D(e.errorMessage), 1)) : I("", !0)
2600
2600
  ])) : (m(!0), C(Qe, { key: 1 }, $t(e.cards, (l, c) => (m(), C(Qe, null, [
2601
2601
  e.loading ? (m(), x(_i, {
2602
2602
  key: `skeleton-${c}`,
2603
2603
  class: te(e.cardSize === _(O).Small ? "loading-tabs-small" : "loading-tabs-large")
2604
- }, null, 8, ["class"])) : (m(), x(Di, Ft({ key: c }, i(l), {
2604
+ }, null, 8, ["class"])) : (m(), x(Ni, qt({ key: c }, i(l), {
2605
2605
  "card-size": e.cardSize,
2606
2606
  "card-type": l.cardType,
2607
2607
  description: l.description,
@@ -2624,11 +2624,11 @@ const Yi = /* @__PURE__ */ U({
2624
2624
  cardToDisplay: { default: void 0 }
2625
2625
  },
2626
2626
  setup(e) {
2627
- const t = e, r = Pt(_t);
2627
+ const t = e, r = Ft(_t);
2628
2628
  if (!r)
2629
2629
  throw new Error("MetricsConsumer must be nested inside a MetricsProvider instance.");
2630
2630
  const { traffic: i, latency: a } = r.data, { i18n: n } = K.useI18n(), o = K.useMetricCardBuilder({
2631
- cardType: F.TRAFFIC,
2631
+ cardType: q.TRAFFIC,
2632
2632
  title: v(() => r.longCardTitles ? n.t("metricCard.long.traffic") : n.t("metricCard.short.traffic")),
2633
2633
  description: r.description,
2634
2634
  record: i.mapped,
@@ -2639,7 +2639,7 @@ const Yi = /* @__PURE__ */ U({
2639
2639
  }), l = (y) => `${y.toFixed(Ve)}%`, c = v(() => {
2640
2640
  const y = i.mapped.value, E = re(y, "current", t.lookupKey, dt), Y = re(y, "current", t.lookupKey, ue), S = E / Y * 100 || 0, T = re(y, "previous", t.lookupKey, dt), B = re(y, "previous", t.lookupKey, ue), M = T / B * 100 || 0;
2641
2641
  return {
2642
- cardType: F.ERROR_RATE,
2642
+ cardType: q.ERROR_RATE,
2643
2643
  hasError: i.hasError.value,
2644
2644
  currentValue: S,
2645
2645
  previousValue: M,
@@ -2650,7 +2650,7 @@ const Yi = /* @__PURE__ */ U({
2650
2650
  trendRange: r.trendRange.value
2651
2651
  };
2652
2652
  }), s = (y) => `${y}ms`, u = K.useMetricCardBuilder({
2653
- cardType: F.LATENCY,
2653
+ cardType: q.LATENCY,
2654
2654
  title: v(() => r.longCardTitles ? n.t("metricCard.long.latency") : n.t("metricCard.short.latency")),
2655
2655
  description: r.description,
2656
2656
  hasError: a.hasError,
@@ -2676,7 +2676,7 @@ const Yi = /* @__PURE__ */ U({
2676
2676
  latencyFormatted: s(u.value.currentValue)
2677
2677
  }));
2678
2678
  return (y, E) => gt(y.$slots, "default", { cardValues: h.value }, () => [
2679
- ie(_(Mi), qt(Vt(p.value)), null, 16)
2679
+ ie(_(Mi), Pt(Vt(p.value)), null, 16)
2680
2680
  ]);
2681
2681
  }
2682
2682
  }), de = (e) => new Date(e), Hi = (e, t) => {
@@ -2729,7 +2729,7 @@ const Yi = /* @__PURE__ */ U({
2729
2729
  export {
2730
2730
  He as EXPLORE_V2_AGGREGATIONS,
2731
2731
  Q as EXPLORE_V2_DIMENSIONS,
2732
- Dt as EXPLORE_V2_FILTER_TYPES,
2732
+ Nt as EXPLORE_V2_FILTER_TYPES,
2733
2733
  Yi as MetricsConsumer,
2734
2734
  zi as MetricsProviderInternal,
2735
2735
  Li as mockExploreResponse,