@carbon/charts 1.16.8 → 1.16.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/CHANGELOG.md +13 -0
- package/dist/{angle-utils-BSzg7qin.mjs → angle-utils-ByrL6LVp.mjs} +2 -2
- package/dist/{angle-utils-BSzg7qin.mjs.map → angle-utils-ByrL6LVp.mjs.map} +1 -1
- package/dist/{array-BRmw0x1E.mjs → array-6NAAybxf.mjs} +2 -2
- package/dist/{array-BRmw0x1E.mjs.map → array-6NAAybxf.mjs.map} +1 -1
- package/dist/{choropleth-BwaUZYh6.mjs → choropleth-BAn8HIaC.mjs} +8 -5
- package/dist/choropleth-BAn8HIaC.mjs.map +1 -0
- package/dist/{color-scale-utils-DAbXVtf-.mjs → color-scale-utils-CSwgszB6.mjs} +2 -2
- package/dist/{color-scale-utils-DAbXVtf-.mjs.map → color-scale-utils-CSwgszB6.mjs.map} +1 -1
- package/dist/components/essentials/tooltip.d.ts +2 -1
- package/dist/components/index.mjs +1 -1
- package/dist/configuration-non-customizable.d.ts +1 -1
- package/dist/demo/charts/circle-pack.d.ts +1 -1
- package/dist/demo/index.mjs +6 -6
- package/dist/demo/index.mjs.map +1 -1
- package/dist/{index-DnyOi0rJ.mjs → index-fFi6OCaz.mjs} +3 -3
- package/dist/{index-DnyOi0rJ.mjs.map → index-fFi6OCaz.mjs.map} +1 -1
- package/dist/index.mjs +7 -7
- package/dist/interfaces/axis-scales.d.ts +4 -4
- package/dist/interfaces/charts.d.ts +27 -28
- package/dist/model/index.mjs +13 -13
- package/dist/model/index.mjs.map +1 -1
- package/dist/services/index.mjs +3 -3
- package/dist/umd/bundle.umd.js +3 -3
- package/dist/umd/bundle.umd.js.map +1 -1
- package/package.json +2 -2
- package/dist/choropleth-BwaUZYh6.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as f, k as i, i as b } from "./color-scale-utils-
|
|
1
|
+
import { b as f, k as i, i as b } from "./color-scale-utils-CSwgszB6.mjs";
|
|
2
2
|
function h(r, n) {
|
|
3
3
|
return r && f(r, n, i);
|
|
4
4
|
}
|
|
@@ -29,4 +29,4 @@ export {
|
|
|
29
29
|
g as c,
|
|
30
30
|
k as s
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=array-
|
|
32
|
+
//# sourceMappingURL=array-6NAAybxf.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-
|
|
1
|
+
{"version":3,"file":"array-6NAAybxf.mjs","sources":["../../../node_modules/lodash-es/_baseForOwn.js","../../../node_modules/lodash-es/_createBaseEach.js","../../../node_modules/lodash-es/_baseEach.js","../../../node_modules/d3/node_modules/d3-shape/src/constant.js","../../../node_modules/d3/node_modules/d3-shape/src/array.js"],"sourcesContent":["import baseFor from './_baseFor.js';\nimport keys from './keys.js';\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nexport default baseForOwn;\n","import isArrayLike from './isArrayLike.js';\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nexport default createBaseEach;\n","import baseForOwn from './_baseForOwn.js';\nimport createBaseEach from './_createBaseEach.js';\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nexport default baseEach;\n","export default function(x) {\n return function constant() {\n return x;\n };\n}\n","export var slice = Array.prototype.slice;\n\nexport default function(x) {\n return typeof x === \"object\" && \"length\" in x\n ? x // Array, TypedArray, NodeList, array-like\n : Array.from(x); // Map, Set, iterable, string, or anything else\n}\n"],"names":["baseForOwn","object","iteratee","baseFor","keys","createBaseEach","eachFunc","fromRight","collection","isArrayLike","length","index","iterable","baseEach","constant","x","slice","array"],"mappings":";AAWA,SAASA,EAAWC,GAAQC,GAAU;AACpC,SAAOD,KAAUE,EAAQF,GAAQC,GAAUE,CAAI;AACjD;ACHA,SAASC,EAAeC,GAAUC,GAAW;AAC3C,SAAO,SAASC,GAAYN,GAAU;AACpC,QAAIM,KAAc;AAChB,aAAOA;AAET,QAAI,CAACC,EAAYD,CAAU;AACzB,aAAOF,EAASE,GAAYN,CAAQ;AAMtC,aAJIQ,IAASF,EAAW,QACpBG,IAA6B,IAC7BC,IAAW,OAAOJ,CAAU,GAEF,EAAEG,IAAQD,KAClCR,EAASU,EAASD,CAAK,GAAGA,GAAOC,CAAQ,MAAM;AAAnD;AAIF,WAAOJ;AAAA,EACX;AACA;AClBG,IAACK,IAAWR,EAAeL,CAAU;ACXzB,SAAQc,EAACC,GAAG;AACzB,SAAO,WAAoB;AACzB,WAAOA;AAAA,EACX;AACA;ACJU,IAACC,IAAQ,MAAM,UAAU;AAEpB,SAAQC,EAACF,GAAG;AACzB,SAAO,OAAOA,KAAM,YAAY,YAAYA,IACxCA,IACA,MAAM,KAAKA,CAAC;AAClB;","x_google_ignoreList":[0,1,2,3,4]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as fo, $ as Bl, i as Gl, a0 as go, a1 as mo, a2 as Hl, a3 as Ul, a4 as zl, a5 as Fl, a6 as Wl, a7 as vo, a8 as Ur, a9 as nn, g as T, p as qt, a as en, C as zr, aa as yt, w as wt, ab as _n, H as Yt, E as Fr, ac as yo, ad as ks, c as Xl, ae as ve, I as yi, K as Ei, e as ee, af as gn, ag as pe, f as ge, x as fe, ah as jl, h as Ze, O as Yl, ai as Re, z as vt, l as jt, aj as Vt, ak as ql, M as Zl, al as Eo, y as Ct, q as un, n as Bn, am as Us, an as Kl, ao as Jl, ap as Si, aq as Wr, A as Oe, ar as Xr, as as So, at as xo } from "./color-scale-utils-
|
|
1
|
+
import { t as fo, $ as Bl, i as Gl, a0 as go, a1 as mo, a2 as Hl, a3 as Ul, a4 as zl, a5 as Fl, a6 as Wl, a7 as vo, a8 as Ur, a9 as nn, g as T, p as qt, a as en, C as zr, aa as yt, w as wt, ab as _n, H as Yt, E as Fr, ac as yo, ad as ks, c as Xl, ae as ve, I as yi, K as Ei, e as ee, af as gn, ag as pe, f as ge, x as fe, ah as jl, h as Ze, O as Yl, ai as Re, z as vt, l as jt, aj as Vt, ak as ql, M as Zl, al as Eo, y as Ct, q as un, n as Bn, am as Us, an as Kl, ao as Jl, ap as Si, aq as Wr, A as Oe, ar as Xr, as as So, at as xo } from "./color-scale-utils-CSwgszB6.mjs";
|
|
2
2
|
import { y as nt, _ as x, K as xt, r as xe, q as Ge, L as Ql, A as Jt, m as tt, s as we, V as Ke, S as _t, e as q, Z as He, i as Ft, f as jr, J as zs, d as tc, F as Gn, n as Fs, H as Ws, C as Xs, p as Hn, b as Yr, D as js, Q as ec, x as Le, $ as Un, N as Ys } from "./enums-DwsxZqjR.mjs";
|
|
3
3
|
import { R as st } from "./a11y-ePqvrObQ.mjs";
|
|
4
|
-
import { t as es, s as I, c as qr, e as Ae, f as ae, h as Zr, g as Ht, i as ns, j as Je, m as qs, k as Kr, l as Rt, n as Jr, o as nc, q as sc, u as lr, D as C, v as ic, w as xi, G as Qr, x as cr, y as rc, a as ac, p as bt, r as ta, b as oc } from "./angle-utils-
|
|
5
|
-
import { b as bo, c as ct, a as ur, s as lc } from "./array-
|
|
4
|
+
import { t as es, s as I, c as qr, e as Ae, f as ae, h as Zr, g as Ht, i as ns, j as Je, m as qs, k as Kr, l as Rt, n as Jr, o as nc, q as sc, u as lr, D as C, v as ic, w as xi, G as Qr, x as cr, y as rc, a as ac, p as bt, r as ta, b as oc } from "./angle-utils-ByrL6LVp.mjs";
|
|
5
|
+
import { b as bo, c as ct, a as ur, s as lc } from "./array-6NAAybxf.mjs";
|
|
6
6
|
function cc(s, t, e, n) {
|
|
7
7
|
for (var i = -1, r = s == null ? 0 : s.length; ++i < r; )
|
|
8
8
|
e = t(e, s[i], i, s);
|
|
@@ -5354,6 +5354,9 @@ class _f extends at {
|
|
|
5354
5354
|
</li>`
|
|
5355
5355
|
).join("") + "</ul>";
|
|
5356
5356
|
}
|
|
5357
|
+
isDate(t) {
|
|
5358
|
+
return t instanceof Date;
|
|
5359
|
+
}
|
|
5357
5360
|
valueFormatter(t, e) {
|
|
5358
5361
|
const n = this.getOptions(), i = T(n, "tooltip", "valueFormatter"), {
|
|
5359
5362
|
code: r,
|
|
@@ -5362,7 +5365,7 @@ class _f extends at {
|
|
|
5362
5365
|
} = T(n, "locale");
|
|
5363
5366
|
if (i)
|
|
5364
5367
|
return i(t, e);
|
|
5365
|
-
if (
|
|
5368
|
+
if (this.isDate(t))
|
|
5366
5369
|
return o(t, r, { month: "short", day: "numeric", year: "numeric" });
|
|
5367
5370
|
try {
|
|
5368
5371
|
if (typeof t == "string" && /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/.test(t)) {
|
|
@@ -11719,4 +11722,4 @@ export {
|
|
|
11719
11722
|
K0 as y,
|
|
11720
11723
|
H0 as z
|
|
11721
11724
|
};
|
|
11722
|
-
//# sourceMappingURL=choropleth-
|
|
11725
|
+
//# sourceMappingURL=choropleth-BAn8HIaC.mjs.map
|