@kong-ui-public/analytics-chart 0.24.6 → 0.24.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vitals-chart.es.js +13 -13
- package/dist/vitals-chart.umd.js +2 -2
- package/package.json +3 -3
package/dist/vitals-chart.es.js
CHANGED
|
@@ -15677,7 +15677,7 @@ function Wi(n) {
|
|
|
15677
15677
|
return n && Object.values(ut).find((t) => n <= VT[t]) || null;
|
|
15678
15678
|
}
|
|
15679
15679
|
const Ti = (n, t) => new Date(n.getTime() - jT(t, n));
|
|
15680
|
-
|
|
15680
|
+
class Be {
|
|
15681
15681
|
constructor(t) {
|
|
15682
15682
|
Xe(this, "timeframeText"), Xe(this, "key"), Xe(this, "display"), Xe(this, "timeframeLength"), Xe(this, "allowedTiers"), Xe(this, "defaultResponseGranularity"), Xe(this, "dataGranularity"), Xe(this, "isRelative"), Xe(this, "_startCustom"), Xe(this, "_endCustom"), this.display = t.display, this.timeframeText = t.timeframeText, this.key = t.key, this.timeframeLength = t.timeframeLength, this.allowedTiers = t.allowedTiers, this.defaultResponseGranularity = t.defaultResponseGranularity, this.dataGranularity = t.dataGranularity, this.isRelative = t.isRelative, this._startCustom = t.startCustom, this._endCustom = t.endCustom;
|
|
15683
15683
|
}
|
|
@@ -15709,7 +15709,7 @@ let Be = class {
|
|
|
15709
15709
|
const e = qT(/* @__PURE__ */ new Date(), new Intl.DateTimeFormat().resolvedOptions().timeZone);
|
|
15710
15710
|
return BT(e, t);
|
|
15711
15711
|
}
|
|
15712
|
-
}
|
|
15712
|
+
}
|
|
15713
15713
|
class XT extends Be {
|
|
15714
15714
|
rawStart(t) {
|
|
15715
15715
|
let e = Da(this.tzAdjustedDate(t), { weekStartsOn: 1 });
|
|
@@ -17669,7 +17669,7 @@ const Ca = "24px", Fh = (n, t) => {
|
|
|
17669
17669
|
for (const [i, r] of t)
|
|
17670
17670
|
e[i] = r;
|
|
17671
17671
|
return e;
|
|
17672
|
-
}, PD = (n) => (Fd("data-v-
|
|
17672
|
+
}, PD = (n) => (Fd("data-v-f39de72c"), n = n(), Ud(), n), ED = ["aria-hidden"], AD = {
|
|
17673
17673
|
key: 0,
|
|
17674
17674
|
"data-testid": "kui-icon-svg-title"
|
|
17675
17675
|
}, RD = /* @__PURE__ */ PD(() => /* @__PURE__ */ gt("path", {
|
|
@@ -17768,7 +17768,7 @@ const Ca = "24px", Fh = (n, t) => {
|
|
|
17768
17768
|
_: 1
|
|
17769
17769
|
}, 8, ["aria-hidden", "style"]));
|
|
17770
17770
|
}
|
|
17771
|
-
}), ID = /* @__PURE__ */ Fh(LD, [["__scopeId", "data-v-
|
|
17771
|
+
}), ID = /* @__PURE__ */ Fh(LD, [["__scopeId", "data-v-f39de72c"]]), ND = (n) => (Fd("data-v-479654c0"), n = n(), Ud(), n), FD = ["aria-hidden"], UD = {
|
|
17772
17772
|
key: 0,
|
|
17773
17773
|
"data-testid": "kui-icon-svg-title"
|
|
17774
17774
|
}, WD = /* @__PURE__ */ ND(() => /* @__PURE__ */ gt("path", {
|
|
@@ -17867,7 +17867,7 @@ const Ca = "24px", Fh = (n, t) => {
|
|
|
17867
17867
|
_: 1
|
|
17868
17868
|
}, 8, ["aria-hidden", "style"]));
|
|
17869
17869
|
}
|
|
17870
|
-
}), zD = /* @__PURE__ */ Fh(YD, [["__scopeId", "data-v-
|
|
17870
|
+
}), zD = /* @__PURE__ */ Fh(YD, [["__scopeId", "data-v-479654c0"]]), HD = "#6c7489", $D = "#995c00", BD = "20px", jD = "40px", qD = { class: "tooltip-title" }, VD = { class: "title font-bold" }, XD = {
|
|
17871
17871
|
key: 1,
|
|
17872
17872
|
class: "subtitle"
|
|
17873
17873
|
}, GD = { class: "tooltip" }, KD = { key: 0 }, ZD = { class: "display-label" }, QD = { class: "display-value" }, JD = /* @__PURE__ */ pe({
|
|
@@ -20915,7 +20915,7 @@ const dC = ["id"], fC = /* @__PURE__ */ pe({
|
|
|
20915
20915
|
]);
|
|
20916
20916
|
};
|
|
20917
20917
|
}
|
|
20918
|
-
}),
|
|
20918
|
+
}), tk = /* @__PURE__ */ bn(SC, [["__scopeId", "data-v-3432f859"]]), CC = {
|
|
20919
20919
|
class: "chart-parent",
|
|
20920
20920
|
"data-testid": "doughnut-chart-parent"
|
|
20921
20921
|
}, kC = { class: "chart-totals-flex" }, OC = {
|
|
@@ -21098,7 +21098,7 @@ const dC = ["id"], fC = /* @__PURE__ */ pe({
|
|
|
21098
21098
|
]);
|
|
21099
21099
|
};
|
|
21100
21100
|
}
|
|
21101
|
-
}),
|
|
21101
|
+
}), ek = /* @__PURE__ */ bn(LC, [["__scopeId", "data-v-f014a616"]]), IC = {
|
|
21102
21102
|
class: "top-n-card-title",
|
|
21103
21103
|
"data-testid": "top-n-card-title"
|
|
21104
21104
|
}, NC = {
|
|
@@ -21253,7 +21253,7 @@ const dC = ["id"], fC = /* @__PURE__ */ pe({
|
|
|
21253
21253
|
]), 1024);
|
|
21254
21254
|
};
|
|
21255
21255
|
}
|
|
21256
|
-
}),
|
|
21256
|
+
}), nk = /* @__PURE__ */ bn(qC, [["__scopeId", "data-v-bd78642f"]]), Ld = "#e0e4ea", VC = {
|
|
21257
21257
|
100: ["#c8e2fd", "#80bfff", "#4da6ff", "#1a8cff", "#0072e5", "#0059b2"],
|
|
21258
21258
|
200: ["#ceedd2", "#9edca6", "#89d595", "#6fcc83", "#44c26b", "#0bb652", "#0ca84a", "#169643", "#196e33", "#1b572a"],
|
|
21259
21259
|
300: ["#fff4db", "#ffe9b8", "#ffe2a1", "#ffd982", "#ffd062", "#fdc53b", "#f4bb1e", "#e8b00b", "#d9a30f", "#c89407"],
|
|
@@ -21304,12 +21304,12 @@ const dC = ["id"], fC = /* @__PURE__ */ pe({
|
|
|
21304
21304
|
]), GC = (n) => {
|
|
21305
21305
|
const t = parseInt(n, 10), e = Math.floor(t / 100) * 100, i = XC.get(e);
|
|
21306
21306
|
return i === void 0 ? Ld : i.get(t) ?? i.get(-1) ?? Ld;
|
|
21307
|
-
},
|
|
21307
|
+
}, ik = (n) => {
|
|
21308
21308
|
const t = GC(n);
|
|
21309
21309
|
return { solid: t, light: t };
|
|
21310
21310
|
};
|
|
21311
21311
|
export {
|
|
21312
|
-
|
|
21312
|
+
tk as AnalyticsChart,
|
|
21313
21313
|
Kt as ChartLegendPosition,
|
|
21314
21314
|
Vi as ChartMetricDisplay,
|
|
21315
21315
|
he as ChartTypes,
|
|
@@ -21319,8 +21319,8 @@ export {
|
|
|
21319
21319
|
Z1 as FONT_SIZE_REGULAR,
|
|
21320
21320
|
K1 as FONT_SIZE_SMALL,
|
|
21321
21321
|
Lo as MAX_LABEL_LENGTH,
|
|
21322
|
-
|
|
21323
|
-
|
|
21322
|
+
ek as SimpleChart,
|
|
21323
|
+
nk as TopNTable,
|
|
21324
21324
|
pi as ValidType,
|
|
21325
21325
|
Q1 as accessibleGrey,
|
|
21326
21326
|
XC as codesInSpec,
|
|
@@ -21329,7 +21329,7 @@ export {
|
|
|
21329
21329
|
Ro as formatTime,
|
|
21330
21330
|
Ld as lightGrey,
|
|
21331
21331
|
ir as lookupDatavisColor,
|
|
21332
|
-
|
|
21332
|
+
ik as lookupStatusCodeCategoryColor,
|
|
21333
21333
|
GC as lookupStatusCodeColor,
|
|
21334
21334
|
Ao as numberFormatter
|
|
21335
21335
|
};
|