@kong-ui-public/analytics-chart 1.1.8 → 1.1.9
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 +6 -6
package/dist/vitals-chart.es.js
CHANGED
|
@@ -15685,7 +15685,7 @@ function Yi(n) {
|
|
|
15685
15685
|
return n && Object.values(lt).find((t) => n <= XT[t]) || null;
|
|
15686
15686
|
}
|
|
15687
15687
|
const Ti = (n, t) => new Date(n.getTime() - qT(t, n));
|
|
15688
|
-
|
|
15688
|
+
let Be = class {
|
|
15689
15689
|
constructor(t) {
|
|
15690
15690
|
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;
|
|
15691
15691
|
}
|
|
@@ -15717,7 +15717,7 @@ class Be {
|
|
|
15717
15717
|
const e = VT(/* @__PURE__ */ new Date(), new Intl.DateTimeFormat().resolvedOptions().timeZone);
|
|
15718
15718
|
return jT(e, t);
|
|
15719
15719
|
}
|
|
15720
|
-
}
|
|
15720
|
+
};
|
|
15721
15721
|
class GT extends Be {
|
|
15722
15722
|
rawStart(t) {
|
|
15723
15723
|
let e = Da(this.tzAdjustedDate(t), { weekStartsOn: 1 });
|
|
@@ -17677,7 +17677,7 @@ const Ca = "24px", Fh = (n, t) => {
|
|
|
17677
17677
|
for (const [i, r] of t)
|
|
17678
17678
|
e[i] = r;
|
|
17679
17679
|
return e;
|
|
17680
|
-
}, ED = (n) => (Fd("data-v-
|
|
17680
|
+
}, ED = (n) => (Fd("data-v-195368ff"), n = n(), Ud(), n), AD = ["aria-hidden"], RD = {
|
|
17681
17681
|
key: 0,
|
|
17682
17682
|
"data-testid": "kui-icon-svg-title"
|
|
17683
17683
|
}, LD = /* @__PURE__ */ ED(() => /* @__PURE__ */ pt("path", {
|
|
@@ -17776,7 +17776,7 @@ const Ca = "24px", Fh = (n, t) => {
|
|
|
17776
17776
|
_: 1
|
|
17777
17777
|
}, 8, ["aria-hidden", "style"]));
|
|
17778
17778
|
}
|
|
17779
|
-
}), ND = /* @__PURE__ */ Fh(ID, [["__scopeId", "data-v-
|
|
17779
|
+
}), ND = /* @__PURE__ */ Fh(ID, [["__scopeId", "data-v-195368ff"]]), FD = (n) => (Fd("data-v-d7b122fd"), n = n(), Ud(), n), UD = ["aria-hidden"], YD = {
|
|
17780
17780
|
key: 0,
|
|
17781
17781
|
"data-testid": "kui-icon-svg-title"
|
|
17782
17782
|
}, WD = /* @__PURE__ */ FD(() => /* @__PURE__ */ pt("path", {
|
|
@@ -17875,7 +17875,7 @@ const Ca = "24px", Fh = (n, t) => {
|
|
|
17875
17875
|
_: 1
|
|
17876
17876
|
}, 8, ["aria-hidden", "style"]));
|
|
17877
17877
|
}
|
|
17878
|
-
}), zD = /* @__PURE__ */ Fh(HD, [["__scopeId", "data-v-
|
|
17878
|
+
}), zD = /* @__PURE__ */ Fh(HD, [["__scopeId", "data-v-d7b122fd"]]), $D = "#6c7489", BD = "#995c00", jD = "20px", qD = "40px", VD = { class: "tooltip-title" }, XD = { class: "title font-bold" }, GD = {
|
|
17879
17879
|
key: 1,
|
|
17880
17880
|
class: "subtitle"
|
|
17881
17881
|
}, KD = { class: "tooltip" }, ZD = { key: 0 }, QD = { class: "display-label" }, JD = { class: "display-value" }, tS = /* @__PURE__ */ pe({
|
|
@@ -20893,7 +20893,7 @@ const fC = ["id"], hC = /* @__PURE__ */ pe({
|
|
|
20893
20893
|
]);
|
|
20894
20894
|
};
|
|
20895
20895
|
}
|
|
20896
|
-
}),
|
|
20896
|
+
}), nk = /* @__PURE__ */ bn(CC, [["__scopeId", "data-v-5e322ded"]]), kC = {
|
|
20897
20897
|
class: "chart-parent",
|
|
20898
20898
|
"data-testid": "doughnut-chart-parent"
|
|
20899
20899
|
}, OC = { class: "chart-totals-flex" }, PC = {
|
|
@@ -21076,7 +21076,7 @@ const fC = ["id"], hC = /* @__PURE__ */ pe({
|
|
|
21076
21076
|
]);
|
|
21077
21077
|
};
|
|
21078
21078
|
}
|
|
21079
|
-
}),
|
|
21079
|
+
}), ik = /* @__PURE__ */ bn(IC, [["__scopeId", "data-v-f014a616"]]), NC = {
|
|
21080
21080
|
class: "top-n-card-title",
|
|
21081
21081
|
"data-testid": "top-n-card-title"
|
|
21082
21082
|
}, FC = {
|
|
@@ -21231,7 +21231,7 @@ const fC = ["id"], hC = /* @__PURE__ */ pe({
|
|
|
21231
21231
|
]), 1024);
|
|
21232
21232
|
};
|
|
21233
21233
|
}
|
|
21234
|
-
}),
|
|
21234
|
+
}), rk = /* @__PURE__ */ bn(VC, [["__scopeId", "data-v-bd78642f"]]), Ld = "#e0e4ea", XC = {
|
|
21235
21235
|
100: ["#c8e2fd", "#80bfff", "#4da6ff", "#1a8cff", "#0072e5", "#0059b2"],
|
|
21236
21236
|
200: ["#ceedd2", "#9edca6", "#89d595", "#6fcc83", "#44c26b", "#0bb652", "#0ca84a", "#169643", "#196e33", "#1b572a"],
|
|
21237
21237
|
300: ["#fff4db", "#ffe9b8", "#ffe2a1", "#ffd982", "#ffd062", "#fdc53b", "#f4bb1e", "#e8b00b", "#d9a30f", "#c89407"],
|
|
@@ -21282,12 +21282,12 @@ const fC = ["id"], hC = /* @__PURE__ */ pe({
|
|
|
21282
21282
|
]), KC = (n) => {
|
|
21283
21283
|
const t = parseInt(n, 10), e = Math.floor(t / 100) * 100, i = GC.get(e);
|
|
21284
21284
|
return i === void 0 ? Ld : i.get(t) ?? i.get(-1) ?? Ld;
|
|
21285
|
-
},
|
|
21285
|
+
}, ak = (n) => {
|
|
21286
21286
|
const t = KC(n);
|
|
21287
21287
|
return { solid: t, light: t };
|
|
21288
21288
|
};
|
|
21289
21289
|
export {
|
|
21290
|
-
|
|
21290
|
+
nk as AnalyticsChart,
|
|
21291
21291
|
Kt as ChartLegendPosition,
|
|
21292
21292
|
Vi as ChartMetricDisplay,
|
|
21293
21293
|
he as ChartTypes,
|
|
@@ -21297,8 +21297,8 @@ export {
|
|
|
21297
21297
|
Q1 as FONT_SIZE_REGULAR,
|
|
21298
21298
|
Z1 as FONT_SIZE_SMALL,
|
|
21299
21299
|
Ro as MAX_LABEL_LENGTH,
|
|
21300
|
-
|
|
21301
|
-
|
|
21300
|
+
ik as SimpleChart,
|
|
21301
|
+
rk as TopNTable,
|
|
21302
21302
|
pi as ValidType,
|
|
21303
21303
|
J1 as accessibleGrey,
|
|
21304
21304
|
GC as codesInSpec,
|
|
@@ -21307,7 +21307,7 @@ export {
|
|
|
21307
21307
|
Ao as formatTime,
|
|
21308
21308
|
Ld as lightGrey,
|
|
21309
21309
|
ir as lookupDatavisColor,
|
|
21310
|
-
|
|
21310
|
+
ak as lookupStatusCodeCategoryColor,
|
|
21311
21311
|
KC as lookupStatusCodeColor,
|
|
21312
21312
|
Eo as numberFormatter
|
|
21313
21313
|
};
|