@carbon/charts 1.22.15 → 1.22.16
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 +9 -0
- package/dist/{angle-utils-1yDCWVo3.mjs → angle-utils-CqlSifly.mjs} +26 -26
- package/dist/{angle-utils-1yDCWVo3.mjs.map → angle-utils-CqlSifly.mjs.map} +1 -1
- package/dist/{array-74GCZNYz.mjs → array-j65rN_vo.mjs} +2 -2
- package/dist/{array-74GCZNYz.mjs.map → array-j65rN_vo.mjs.map} +1 -1
- package/dist/{choropleth-G6hhqYGx.mjs → choropleth-Ds5Q8kNS.mjs} +1267 -1286
- package/dist/choropleth-Ds5Q8kNS.mjs.map +1 -0
- package/dist/{color-scale-utils-BW_t5gbK.mjs → color-scale-utils-ycwO-Ibq.mjs} +968 -971
- package/dist/{color-scale-utils-BW_t5gbK.mjs.map → color-scale-utils-ycwO-Ibq.mjs.map} +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/{index-DgnXvTcC.mjs → index-CuPdtS0D.mjs} +7 -7
- package/dist/{index-DgnXvTcC.mjs.map → index-CuPdtS0D.mjs.map} +1 -1
- package/dist/index.mjs +36 -36
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/components.d.ts +2 -2
- package/dist/model/index.mjs +2 -2
- package/dist/services/index.mjs +3 -3
- package/dist/umd/bundle.umd.cjs +12 -12
- package/dist/umd/bundle.umd.cjs.map +1 -1
- package/dist/umd/bundle.umd.js +12 -12
- package/package.json +15 -15
- package/dist/choropleth-G6hhqYGx.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { t as Y, g as l, m as a, o as r, c as J, a as V } from "./color-scale-utils-
|
|
2
|
-
import { T as yt, e as Dt, f as Lt, h as Ft, j as Pt, l as Mt, n as kt, p as Bt, q as It, r as Ht, I as Gt, d as Vt, s as Nt, J as Ut, K as Zt, L as _t, M as zt, N as Wt, u as jt, v as $t, O as Kt, w as Jt, x as qt, y as Xt, z as Qt, A as Yt, B as eo, C as so, D as to, G as oo, E as no, F as io, H as ro } from "./color-scale-utils-
|
|
1
|
+
import { t as Y, g as l, m as a, o as r, c as J, a as V } from "./color-scale-utils-ycwO-Ibq.mjs";
|
|
2
|
+
import { T as yt, e as Dt, f as Lt, h as Ft, j as Pt, l as Mt, n as kt, p as Bt, q as It, r as Ht, I as Gt, d as Vt, s as Nt, J as Ut, K as Zt, L as _t, M as zt, N as Wt, u as jt, v as $t, O as Kt, w as Jt, x as qt, y as Xt, z as Qt, A as Yt, B as eo, C as so, D as to, G as oo, E as no, F as io, H as ro } from "./color-scale-utils-ycwO-Ibq.mjs";
|
|
3
3
|
import { i as ho } from "./index-DwV8lNnO.mjs";
|
|
4
4
|
import { ChartModel as Re, ChartModelCartesian as Te, AlluvialChartModel as be, BoxplotChartModel as Oe, BulletChartModel as Se, ChoroplethModel as fe, CirclePackChartModel as Ae, PieChartModel as xe, GaugeChartModel as ye, HeatmapModel as De, ChartModelBinned as Le, MeterChartModel as Fe, RadarChartModel as Pe, TreeChartModel as Me, TreemapChartModel as ke, WordCloudModel as Be } from "./model/index.mjs";
|
|
5
|
-
import { $ as j, r as i,
|
|
5
|
+
import { $ as j, r as i, L as Z, q as h, y as A, t as N, e as $, S as Ie, u as K, F as p, l as R } from "./axis-scales-CPuwbFQf.mjs";
|
|
6
6
|
import { A as mo, a as lo, b as po, c as Co, d as uo, f as vo, B as go, g as wo, C as Eo, h as Ro, i as To, j as bo, k as Oo, m as So, n as fo, D as Ao, o as xo, G as yo, p as Do, s as Lo, v as Fo, M as Po, w as Mo, P as ko, x as Bo, R as Io, z as Ho, H as Go, T as Vo, I as No, J as Uo, K as Zo, N as _o, O as zo, Q as Wo, U as jo, V as $o, W as Ko, X as Jo, Z as qo, Y as Xo, _ as Qo } from "./axis-scales-CPuwbFQf.mjs";
|
|
7
|
-
import { c as He, L as ee, C as Ge, T as _, a as z, b as g, S as L, d as se, M as W, e as Ve, f as Ne, g as Ue, H as Ze, Z as _e, A as te, h as ze, i as d, G as w, R as B, j as k, k as oe, l as M, m as C, B as We, n as I, o as je, p as $e, q as ne, r as Ke, s as Je, t as ie, u as
|
|
8
|
-
import { X as en, a8 as sn, a9 as tn, a7 as on, Y as nn, _ as rn, $ as an, a0 as hn, a1 as cn, a2 as mn, a3 as ln, a4 as pn, a5 as dn, a6 as Cn } from "./choropleth-
|
|
9
|
-
import { b as ms,
|
|
10
|
-
import {
|
|
11
|
-
import { S as vn, d as gn, a as wn, p as En, b as Rn, r as Tn } from "./angle-utils-
|
|
7
|
+
import { c as He, L as ee, C as Ge, T as _, a as z, b as g, S as L, d as se, M as W, e as Ve, f as Ne, g as Ue, H as Ze, Z as _e, A as te, h as ze, i as d, G as w, R as B, j as k, k as oe, l as M, m as C, B as We, n as I, o as je, p as $e, q as ne, r as Ke, s as Je, t as ie, u as U, v as re, w as ae, x as he, y as ce, P as qe, D as Xe, z as Qe, E as Ye, F as es, I as ss, J as ts, K as os, N as ns, O as is, Q as rs, U as as, V as hs, W as cs } from "./choropleth-Ds5Q8kNS.mjs";
|
|
8
|
+
import { X as en, a8 as sn, a9 as tn, a7 as on, Y as nn, _ as rn, $ as an, a0 as hn, a1 as cn, a2 as mn, a3 as ln, a4 as pn, a5 as dn, a6 as Cn } from "./choropleth-Ds5Q8kNS.mjs";
|
|
9
|
+
import { b as ms, T as ls, F as ps, E as ds, C as Cs, Z as us, a as vs, c as gs, f as ws } from "./index-CuPdtS0D.mjs";
|
|
10
|
+
import { G as Es, D as Rs } from "./angle-utils-CqlSifly.mjs";
|
|
11
|
+
import { S as vn, d as gn, a as wn, p as En, b as Rn, r as Tn } from "./angle-utils-CqlSifly.mjs";
|
|
12
12
|
function Ts(t, s, e) {
|
|
13
13
|
var n = t.length;
|
|
14
|
-
return e = e === void 0 ? n : e,
|
|
14
|
+
return e = e === void 0 ? n : e, ms(t, s, e);
|
|
15
15
|
}
|
|
16
16
|
var bs = "\\ud800-\\udfff", Os = "\\u0300-\\u036f", Ss = "\\ufe20-\\ufe2f", fs = "\\u20d0-\\u20ff", As = Os + Ss + fs, xs = "\\ufe0e\\ufe0f", ys = "\\u200d", Ds = RegExp("[" + ys + bs + As + xs + "]");
|
|
17
17
|
function me(t) {
|
|
@@ -47,12 +47,12 @@ class T {
|
|
|
47
47
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
48
48
|
constructor(s, e) {
|
|
49
49
|
this.components = [], this.services = {
|
|
50
|
-
canvasZoom:
|
|
51
|
-
domUtils:
|
|
52
|
-
events:
|
|
53
|
-
files:
|
|
54
|
-
gradientUtils:
|
|
55
|
-
transitions:
|
|
50
|
+
canvasZoom: Cs,
|
|
51
|
+
domUtils: Rs,
|
|
52
|
+
events: ds,
|
|
53
|
+
files: ps,
|
|
54
|
+
gradientUtils: Es,
|
|
55
|
+
transitions: ls
|
|
56
56
|
}, this.model = new Re(this.services);
|
|
57
57
|
}
|
|
58
58
|
// Contains the code that uses properties that are overridable by the super-class
|
|
@@ -178,9 +178,9 @@ class T {
|
|
|
178
178
|
class u extends T {
|
|
179
179
|
constructor(s, e) {
|
|
180
180
|
super(s, e), this.services = Object.assign(this.services, {
|
|
181
|
-
cartesianScales:
|
|
181
|
+
cartesianScales: gs,
|
|
182
182
|
curves: vs,
|
|
183
|
-
zoom:
|
|
183
|
+
zoom: us
|
|
184
184
|
}), this.model = new Te(this.services);
|
|
185
185
|
}
|
|
186
186
|
getAxisChartComponents(s, e) {
|
|
@@ -511,10 +511,10 @@ const Q = {
|
|
|
511
511
|
[R.LINE]: [k, M],
|
|
512
512
|
[R.SCATTER]: [M],
|
|
513
513
|
[R.AREA]: [oe, k, M],
|
|
514
|
-
[R.STACKED_AREA]: [
|
|
514
|
+
[R.STACKED_AREA]: [he, k, ce, U],
|
|
515
515
|
[R.SIMPLE_BAR]: [ae],
|
|
516
|
-
[R.GROUPED_BAR]: [
|
|
517
|
-
[R.STACKED_BAR]: [
|
|
516
|
+
[R.GROUPED_BAR]: [re, I],
|
|
517
|
+
[R.STACKED_BAR]: [ie, U]
|
|
518
518
|
};
|
|
519
519
|
class ct extends u {
|
|
520
520
|
constructor(s, e) {
|
|
@@ -638,7 +638,7 @@ class pt extends u {
|
|
|
638
638
|
const s = [
|
|
639
639
|
new d(this.model, this.services),
|
|
640
640
|
new w(this.model, this.services),
|
|
641
|
-
new
|
|
641
|
+
new re(this.model, this.services),
|
|
642
642
|
new I(this.model, this.services),
|
|
643
643
|
new C(this.model, this.services, {
|
|
644
644
|
skeleton: p.VERT_OR_HORIZ
|
|
@@ -968,9 +968,9 @@ class Ot extends u {
|
|
|
968
968
|
new d(this.model, this.services),
|
|
969
969
|
new w(this.model, this.services),
|
|
970
970
|
new U(this.model, this.services),
|
|
971
|
-
new
|
|
971
|
+
new he(this.model, this.services),
|
|
972
972
|
new k(this.model, this.services, { stacked: !0 }),
|
|
973
|
-
new
|
|
973
|
+
new ce(this.model, this.services, {
|
|
974
974
|
fadeInOnChartHolderMouseover: !0,
|
|
975
975
|
handleThresholds: !0,
|
|
976
976
|
stacked: !0
|
|
@@ -996,7 +996,7 @@ class St extends u {
|
|
|
996
996
|
new d(this.model, this.services),
|
|
997
997
|
new w(this.model, this.services),
|
|
998
998
|
new U(this.model, this.services),
|
|
999
|
-
new
|
|
999
|
+
new ie(this.model, this.services),
|
|
1000
1000
|
new C(this.model, this.services, {
|
|
1001
1001
|
skeleton: p.VERT_OR_HORIZ
|
|
1002
1002
|
}),
|
|
@@ -1054,10 +1054,10 @@ export {
|
|
|
1054
1054
|
Se as BulletChartModel,
|
|
1055
1055
|
Eo as CalloutDirections,
|
|
1056
1056
|
Ge as CanvasChartClip,
|
|
1057
|
-
|
|
1057
|
+
Cs as CanvasZoom,
|
|
1058
1058
|
Ro as CanvasZoomEvent,
|
|
1059
1059
|
To as CartesianOrientations,
|
|
1060
|
-
|
|
1060
|
+
gs as CartesianScales,
|
|
1061
1061
|
T as Chart,
|
|
1062
1062
|
Ne as ChartBrush,
|
|
1063
1063
|
Ve as ChartClip,
|
|
@@ -1079,23 +1079,23 @@ export {
|
|
|
1079
1079
|
ct as ComboChart,
|
|
1080
1080
|
tn as Component,
|
|
1081
1081
|
vs as Curves,
|
|
1082
|
-
|
|
1082
|
+
Rs as DOMUtils,
|
|
1083
1083
|
Ao as DividerStatus,
|
|
1084
1084
|
xo as DominantBaseline,
|
|
1085
1085
|
Xe as Donut,
|
|
1086
1086
|
mt as DonutChart,
|
|
1087
|
-
|
|
1087
|
+
ds as Events,
|
|
1088
1088
|
at as ExperimentalChoroplethChart,
|
|
1089
|
-
|
|
1089
|
+
ps as Files,
|
|
1090
1090
|
Qe as Gauge,
|
|
1091
1091
|
lt as GaugeChart,
|
|
1092
1092
|
ye as GaugeChartModel,
|
|
1093
1093
|
yo as GaugeEvent,
|
|
1094
1094
|
Do as GaugeTypes,
|
|
1095
1095
|
on as GeoProjection,
|
|
1096
|
-
|
|
1096
|
+
Es as GradientUtils,
|
|
1097
1097
|
w as Grid,
|
|
1098
|
-
|
|
1098
|
+
re as GroupedBar,
|
|
1099
1099
|
pt as GroupedBarChart,
|
|
1100
1100
|
Ye as Heatmap,
|
|
1101
1101
|
dt as HeatmapChart,
|
|
@@ -1146,12 +1146,12 @@ export {
|
|
|
1146
1146
|
ts as SkeletonLines,
|
|
1147
1147
|
p as Skeletons,
|
|
1148
1148
|
L as Spacer,
|
|
1149
|
-
|
|
1149
|
+
he as StackedArea,
|
|
1150
1150
|
Ot as StackedAreaChart,
|
|
1151
|
-
|
|
1151
|
+
ie as StackedBar,
|
|
1152
1152
|
St as StackedBarChart,
|
|
1153
1153
|
U as StackedRuler,
|
|
1154
|
-
|
|
1154
|
+
ce as StackedScatter,
|
|
1155
1155
|
Go as Statuses,
|
|
1156
1156
|
yt as TIME_INTERVALS,
|
|
1157
1157
|
Vo as TextAnchor,
|
|
@@ -1164,7 +1164,7 @@ export {
|
|
|
1164
1164
|
_o as ToolbarControlTypes,
|
|
1165
1165
|
se as Tooltip,
|
|
1166
1166
|
zo as TooltipEvent,
|
|
1167
|
-
|
|
1167
|
+
ls as Transitions,
|
|
1168
1168
|
as as Tree,
|
|
1169
1169
|
Rt as TreeChart,
|
|
1170
1170
|
Me as TreeChartModel,
|
|
@@ -1181,7 +1181,7 @@ export {
|
|
|
1181
1181
|
Jo as WordCloudEvent,
|
|
1182
1182
|
Be as WordCloudModel,
|
|
1183
1183
|
I as ZeroLine,
|
|
1184
|
-
|
|
1184
|
+
us as Zoom,
|
|
1185
1185
|
_e as ZoomBar,
|
|
1186
1186
|
qo as ZoomBarTypes,
|
|
1187
1187
|
Xo as ZoomDomainEvent,
|