@carbon/charts 1.13.12 → 1.13.13
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/{_baseEach-_pb8o-nX.mjs → _baseEach-fTLS5z67.mjs} +2 -2
- package/dist/{_baseEach-_pb8o-nX.mjs.map → _baseEach-fTLS5z67.mjs.map} +1 -1
- package/dist/{angle-utils-lGS6958-.mjs → angle-utils-DHfDhGau.mjs} +2 -2
- package/dist/{angle-utils-lGS6958-.mjs.map → angle-utils-DHfDhGau.mjs.map} +1 -1
- package/dist/{choropleth-OVZrVx-E.mjs → choropleth-S04OahB3.mjs} +4 -4
- package/dist/choropleth-S04OahB3.mjs.map +1 -0
- package/dist/color-scale-utils-7ngqnWVI.mjs +3330 -0
- package/dist/color-scale-utils-7ngqnWVI.mjs.map +1 -0
- package/dist/components/index.mjs +4 -4
- package/dist/demo/index.mjs +17 -17
- package/dist/index.mjs +54 -54
- package/dist/interfaces/axis-scales.d.ts +1 -1
- package/dist/model/index.mjs +3 -3
- package/dist/services/index.mjs +3 -3
- package/dist/umd/bundle.umd.js +17 -17
- package/dist/umd/bundle.umd.js.map +1 -1
- package/dist/{wordcloud-vuA-nZYy.mjs → wordcloud-eTGg6ZP6.mjs} +3 -3
- package/dist/wordcloud-eTGg6ZP6.mjs.map +1 -0
- package/dist/{zoom-WD9MTgCJ.mjs → zoom-i_u9NbAF.mjs} +278 -324
- package/dist/zoom-i_u9NbAF.mjs.map +1 -0
- package/package.json +5 -5
- package/dist/choropleth-OVZrVx-E.mjs.map +0 -1
- package/dist/color-scale-utils-xGxEq2HZ.mjs +0 -3397
- package/dist/color-scale-utils-xGxEq2HZ.mjs.map +0 -1
- package/dist/wordcloud-vuA-nZYy.mjs.map +0 -1
- package/dist/zoom-WD9MTgCJ.mjs.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { v as d, w as m, A as h, k as u, x as S, B as c, y as C, z as g, D as B, l as T, a as L, C as b, E as k, F as A, m as x, a8 as P, I as R, J as w, n as G, G as H, K as v, N as M, o as f, O as D, H as Z, a6 as j, L as q, P as y, Q as z, U as E, M as W, p as F, V as I, W as J, R as K, X as N, Y as O, _ as Q, $ as U, a7 as V, a0 as X, a1 as Y, S as _, a2 as $, q as aa, r as sa, T as ea, u as ra, a3 as oa, a4 as ta, b as ia, a5 as la, Z as pa, c as na, d as da, e as ma, f as ha, g as ua, h as Sa, i as ca, j as Ca, s as ga, t as Ba } from "../choropleth-
|
|
2
|
-
import "../color-scale-utils-
|
|
1
|
+
import { v as d, w as m, A as h, k as u, x as S, B as c, y as C, z as g, D as B, l as T, a as L, C as b, E as k, F as A, m as x, a8 as P, I as R, J as w, n as G, G as H, K as v, N as M, o as f, O as D, H as Z, a6 as j, L as q, P as y, Q as z, U as E, M as W, p as F, V as I, W as J, R as K, X as N, Y as O, _ as Q, $ as U, a7 as V, a0 as X, a1 as Y, S as _, a2 as $, q as aa, r as sa, T as ea, u as ra, a3 as oa, a4 as ta, b as ia, a5 as la, Z as pa, c as na, d as da, e as ma, f as ha, g as ua, h as Sa, i as ca, j as Ca, s as ga, t as Ba } from "../choropleth-S04OahB3.mjs";
|
|
2
|
+
import "../color-scale-utils-7ngqnWVI.mjs";
|
|
3
3
|
import "../enums-tMKLWMMm.mjs";
|
|
4
4
|
import "d3";
|
|
5
|
-
import "../angle-utils-
|
|
5
|
+
import "../angle-utils-DHfDhGau.mjs";
|
|
6
6
|
import "d3-sankey";
|
|
7
7
|
import "../a11y-SOU26cr5.mjs";
|
|
8
|
-
import "../_baseEach-
|
|
8
|
+
import "../_baseEach-fTLS5z67.mjs";
|
|
9
9
|
import "d3-cloud";
|
|
10
10
|
export {
|
|
11
11
|
d as Alluvial,
|
package/dist/demo/index.mjs
CHANGED
|
@@ -48753,7 +48753,7 @@ const m3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48753
48753
|
heatmapPositiveNegativeData: bM,
|
|
48754
48754
|
heatmapPositiveNegativeOptions: WM,
|
|
48755
48755
|
heatmapQuantizeLegendOption: hM
|
|
48756
|
-
}, Symbol.toStringTag, { value: "Module" })), $M = "@carbon/charts", AE = "1.13.
|
|
48756
|
+
}, Symbol.toStringTag, { value: "Module" })), $M = "@carbon/charts", AE = "1.13.13", _E = "Carbon Charts component library", eE = "./dist/index.mjs", aE = "./dist/umd/bundle.umd.js", SE = "./dist/index.d.ts", ME = {
|
|
48757
48757
|
"./package.json": "./package.json",
|
|
48758
48758
|
"./styles.min.css": "./dist/styles.min.css",
|
|
48759
48759
|
"./styles.css": "./dist/styles.css",
|
|
@@ -48829,7 +48829,7 @@ const m3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48829
48829
|
d3: "^7.8.5",
|
|
48830
48830
|
"d3-cloud": "^1.2.7",
|
|
48831
48831
|
"d3-sankey": "^0.12.3",
|
|
48832
|
-
"date-fns": "^
|
|
48832
|
+
"date-fns": "^3.0.1",
|
|
48833
48833
|
"html-to-image": "^1.11.11",
|
|
48834
48834
|
"lodash-es": "^4.17.21",
|
|
48835
48835
|
"topojson-client": "^3.1.0",
|
|
@@ -48862,12 +48862,12 @@ const m3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48862
48862
|
jsdom: "^23.0.1",
|
|
48863
48863
|
"resize-observer-polyfill": "^1.5.1",
|
|
48864
48864
|
sass: "^1.69.5",
|
|
48865
|
-
storybook: "~7.6.
|
|
48865
|
+
storybook: "~7.6.6",
|
|
48866
48866
|
typedoc: "^0.25.4",
|
|
48867
48867
|
typescript: "^5.3.3",
|
|
48868
48868
|
vite: "^5.0.10",
|
|
48869
48869
|
"vite-plugin-dts": "^3.6.4",
|
|
48870
|
-
vitest: "^1.0
|
|
48870
|
+
vitest: "^1.1.0"
|
|
48871
48871
|
}, nE = {
|
|
48872
48872
|
access: "public"
|
|
48873
48873
|
}, iE = [
|
|
@@ -48931,7 +48931,7 @@ const m3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48931
48931
|
maintainers: RE,
|
|
48932
48932
|
contributors: FE,
|
|
48933
48933
|
gitHead: IE
|
|
48934
|
-
}, sE = "@carbon/charts-angular", lE = "1.13.
|
|
48934
|
+
}, sE = "@carbon/charts-angular", lE = "1.13.13", uE = "Carbon Charts component library for Angular", TE = {
|
|
48935
48935
|
"./styles.min.css": "./styles.min.css",
|
|
48936
48936
|
"./styles.css": "./styles.css"
|
|
48937
48937
|
}, PE = !1, BE = {
|
|
@@ -48980,7 +48980,7 @@ const m3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48980
48980
|
"@carbon/icon-helpers": "^10.45.1",
|
|
48981
48981
|
"@carbon/icons": "^11.33.0",
|
|
48982
48982
|
"@stackblitz/sdk": "^1.9.0",
|
|
48983
|
-
"@storybook/angular": "^7.6.
|
|
48983
|
+
"@storybook/angular": "^7.6.6",
|
|
48984
48984
|
"@types/carbon__icon-helpers": "^10.7.4",
|
|
48985
48985
|
concurrently: "^8.2.2",
|
|
48986
48986
|
d3: "^7.8.5",
|
|
@@ -48989,7 +48989,7 @@ const m3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48989
48989
|
"downlevel-dts": "^0.11.0",
|
|
48990
48990
|
"ng-packagr": "^16.2.3",
|
|
48991
48991
|
rxjs: "~7.8.1",
|
|
48992
|
-
storybook: "~7.6.
|
|
48992
|
+
storybook: "~7.6.6",
|
|
48993
48993
|
"style-loader": "^3.3.3",
|
|
48994
48994
|
typescript: "~5.1.6",
|
|
48995
48995
|
"zone.js": "~0.14.2"
|
|
@@ -49058,7 +49058,7 @@ const m3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49058
49058
|
maintainers: yE,
|
|
49059
49059
|
contributors: vE,
|
|
49060
49060
|
gitHead: HE
|
|
49061
|
-
}, hE = "@carbon/charts-react", WE = "1.13.
|
|
49061
|
+
}, hE = "@carbon/charts-react", WE = "1.13.13", bE = "Carbon Charts component library for React", VE = "module", YE = "./dist/index.js", kE = "./dist/index.mjs", fE = "./dist/index.d.ts", ZE = {
|
|
49062
49062
|
"./package.json": "./package.json",
|
|
49063
49063
|
".": {
|
|
49064
49064
|
types: "./dist/index.d.ts",
|
|
@@ -49112,7 +49112,7 @@ const m3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49112
49112
|
"d3-sankey": "^0.12.3",
|
|
49113
49113
|
"downlevel-dts": "^0.11.0",
|
|
49114
49114
|
sass: "^1.69.5",
|
|
49115
|
-
storybook: "~7.6.
|
|
49115
|
+
storybook: "~7.6.6",
|
|
49116
49116
|
typescript: "^5.3.3",
|
|
49117
49117
|
vite: "^5.0.10",
|
|
49118
49118
|
"vite-plugin-dts": "^3.6.4"
|
|
@@ -49188,7 +49188,7 @@ const m3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49188
49188
|
maintainers: aN,
|
|
49189
49189
|
contributors: SN,
|
|
49190
49190
|
gitHead: MN
|
|
49191
|
-
}, NN = "@carbon/charts-svelte", tN = "1.13.
|
|
49191
|
+
}, NN = "@carbon/charts-svelte", tN = "1.13.13", LN = "Carbon Charts component library for Svelte", DN = {
|
|
49192
49192
|
postinstall: "carbon-telemetry collect --install",
|
|
49193
49193
|
"file:styles": "cp ../core/dist/styles.* dist",
|
|
49194
49194
|
"build:package": "svelte-kit sync && svelte-package && yarn file:styles",
|
|
@@ -49224,9 +49224,9 @@ const m3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49224
49224
|
"@carbon/telemetry": "~0.1.0"
|
|
49225
49225
|
}, IN = {
|
|
49226
49226
|
"@stackblitz/sdk": "^1.9.0",
|
|
49227
|
-
"@sveltejs/adapter-auto": "^3.0.
|
|
49228
|
-
"@sveltejs/kit": "^2.0.
|
|
49229
|
-
"@sveltejs/package": "^2.2.
|
|
49227
|
+
"@sveltejs/adapter-auto": "^3.0.1",
|
|
49228
|
+
"@sveltejs/kit": "^2.0.4",
|
|
49229
|
+
"@sveltejs/package": "^2.2.4",
|
|
49230
49230
|
"@sveltejs/vite-plugin-svelte": "^3.0.1",
|
|
49231
49231
|
concurrently: "^8.2.2",
|
|
49232
49232
|
d3: "^7.8.5",
|
|
@@ -49234,7 +49234,7 @@ const m3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49234
49234
|
"d3-sankey": "^0.12.3",
|
|
49235
49235
|
eslint: "^8.56.0",
|
|
49236
49236
|
publint: "^0.2.6",
|
|
49237
|
-
storybook: "~7.6.
|
|
49237
|
+
storybook: "~7.6.6",
|
|
49238
49238
|
svelte: "^4.2.8",
|
|
49239
49239
|
"svelte-check": "^3.6.2",
|
|
49240
49240
|
tslib: "^2.6.2",
|
|
@@ -49310,7 +49310,7 @@ const m3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49310
49310
|
author: dN,
|
|
49311
49311
|
keywords: pN,
|
|
49312
49312
|
gitHead: mN
|
|
49313
|
-
}, UN = "@carbon/charts-vue", GN = "1.13.
|
|
49313
|
+
}, UN = "@carbon/charts-vue", GN = "1.13.13", gN = "Carbon Charts component library for Vue", KN = "./dist/index.js", yN = "./dist/index.mjs", vN = "./dist/index.d.ts", HN = {
|
|
49314
49314
|
"./styles.min.css": "./dist/styles.min.css",
|
|
49315
49315
|
"./styles.css": "./dist/styles.css",
|
|
49316
49316
|
".": {
|
|
@@ -49341,7 +49341,7 @@ const m3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49341
49341
|
}, VN = {
|
|
49342
49342
|
"@carbon/charts": "workspace:*",
|
|
49343
49343
|
"@carbon/telemetry": "~0.1.0",
|
|
49344
|
-
vue: "^3.3.
|
|
49344
|
+
vue: "^3.3.13"
|
|
49345
49345
|
}, YN = {
|
|
49346
49346
|
"@stackblitz/sdk": "^1.9.0",
|
|
49347
49347
|
"@types/d3": "^7.4.3",
|
|
@@ -49350,7 +49350,7 @@ const m3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49350
49350
|
d3: "^7.8.5",
|
|
49351
49351
|
"d3-cloud": "^1.2.7",
|
|
49352
49352
|
"d3-sankey": "^0.12.3",
|
|
49353
|
-
storybook: "~7.6.
|
|
49353
|
+
storybook: "~7.6.6",
|
|
49354
49354
|
typescript: "^5.3.3",
|
|
49355
49355
|
vite: "^5.0.10",
|
|
49356
49356
|
"vite-plugin-dts": "^3.6.4",
|
package/dist/index.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { T as Bt,
|
|
1
|
+
import { M as Y, m as l, N as a, O as r, t as X, x as V } from "./color-scale-utils-7ngqnWVI.mjs";
|
|
2
|
+
import { T as Bt, Q as It, R as Ht, K as Gt, S as Vt, U as Ut, D as Nt, n as Zt, V as _t, y as zt, c as Wt, P as $t, W as jt, f as Kt, b as Xt, g as Jt, a as qt, d as Qt, X as Yt, u as eo, i as so, s as to, Y as oo, Z as no, _ as io, $ as ro, a0 as ao, a1 as ho, a2 as co, a4 as mo, a3 as lo, E as po, L as Co } from "./color-scale-utils-7ngqnWVI.mjs";
|
|
3
3
|
import { i as vo } from "./index-Ez18Vgtt.mjs";
|
|
4
|
-
import { C as Re, c as Te, A as be, B as Oe, a as fe, d as Se, e as Ae, P as xe, G as ye, H as De, b as
|
|
4
|
+
import { C as Re, c as Te, A as be, B as Oe, a as fe, d as Se, e as Ae, P as xe, G as ye, H as De, b as Le, M as Fe, R as Pe, T as Me, f as ke, W as Be } from "./wordcloud-eTGg6ZP6.mjs";
|
|
5
5
|
import { _ as $, r as i, q as c, L as Z, y as A, t as U, e as j, S as Ie, u as K, F as p, l as R } from "./enums-tMKLWMMm.mjs";
|
|
6
|
-
import { A as wo, a as Eo, b as Ro, c as To, d as bo, f as Oo, B as fo, g as So, C as Ao, h as xo, i as yo, j as Do, k as
|
|
7
|
-
import { a9 as He, L as ee, l as Ge, r as _, T as z, a6 as g, a7 as
|
|
8
|
-
import { A as an, x as hn, a8 as cn, n as mn, H as ln, d as pn, e as dn, f as Cn, g as un, h as vn, i as gn, j as wn, s as En, t as Rn } from "./choropleth-
|
|
9
|
-
import { C as ms, E as ls, F as ps, T as ds, b as Cs, a as us, Z as vs, f as gs } from "./zoom-
|
|
10
|
-
import { D as ws, G as Es } from "./angle-utils-
|
|
11
|
-
import { S as bn, d as On, a as fn, p as Sn, b as An, r as xn } from "./angle-utils-
|
|
6
|
+
import { A as wo, a as Eo, b as Ro, c as To, d as bo, f as Oo, B as fo, g as So, C as Ao, h as xo, i as yo, j as Do, k as Lo, m as Fo, n as Po, D as Mo, o as ko, G as Bo, p as Io, s as Ho, v as Go, M as Vo, w as Uo, P as No, x as Zo, R as _o, z as zo, H as Wo, T as $o, I as jo, J as Ko, K as Xo, N as Jo, O as qo, Q as Qo, U as Yo, V as en, W as sn, Z as tn, X as on, Y as nn } from "./enums-tMKLWMMm.mjs";
|
|
7
|
+
import { a9 as He, L as ee, l as Ge, r as _, T as z, a6 as g, a7 as L, u as se, p as W, C as Ve, a as Ue, q as Ne, o as Ze, c as _e, k as te, v as ze, b as d, G as w, R as B, P as k, w as oe, X as M, _ as C, y as We, Z as I, z as $e, D as je, m as ne, E as Ke, F as Xe, a0 as ie, a2 as re, S as N, Y as ae, K as he, a1 as ce, V as Je, I as qe, J as Qe, N as Ye, B as es, O as ss, $ as ts, Q as os, M as ns, U as is, W as rs, a3 as as, a4 as hs, a5 as cs } from "./choropleth-S04OahB3.mjs";
|
|
8
|
+
import { A as an, x as hn, a8 as cn, n as mn, H as ln, d as pn, e as dn, f as Cn, g as un, h as vn, i as gn, j as wn, s as En, t as Rn } from "./choropleth-S04OahB3.mjs";
|
|
9
|
+
import { C as ms, E as ls, F as ps, T as ds, b as Cs, a as us, Z as vs, f as gs } from "./zoom-i_u9NbAF.mjs";
|
|
10
|
+
import { D as ws, G as Es } from "./angle-utils-DHfDhGau.mjs";
|
|
11
|
+
import { S as bn, d as On, a as fn, p as Sn, b as An, r as xn } from "./angle-utils-DHfDhGau.mjs";
|
|
12
12
|
import "d3";
|
|
13
13
|
import "./a11y-SOU26cr5.mjs";
|
|
14
|
-
import "./_baseEach-
|
|
14
|
+
import "./_baseEach-fTLS5z67.mjs";
|
|
15
15
|
import "d3-sankey";
|
|
16
16
|
import "d3-cloud";
|
|
17
17
|
function Rs(o, e, s) {
|
|
@@ -29,15 +29,15 @@ var bs = "\\ud800-\\udfff", Os = "\\u0300-\\u036f", fs = "\\ufe20-\\ufe2f", Ss =
|
|
|
29
29
|
function me(o) {
|
|
30
30
|
return Ds.test(o);
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Ls(o) {
|
|
33
33
|
return o.split("");
|
|
34
34
|
}
|
|
35
|
-
var le = "\\ud800-\\udfff",
|
|
35
|
+
var le = "\\ud800-\\udfff", Fs = "\\u0300-\\u036f", Ps = "\\ufe20-\\ufe2f", Ms = "\\u20d0-\\u20ff", ks = Fs + Ps + Ms, Bs = "\\ufe0e\\ufe0f", Is = "[" + le + "]", J = "[" + ks + "]", q = "\\ud83c[\\udffb-\\udfff]", Hs = "(?:" + J + "|" + q + ")", pe = "[^" + le + "]", de = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ce = "[\\ud800-\\udbff][\\udc00-\\udfff]", Gs = "\\u200d", ue = Hs + "?", ve = "[" + Bs + "]?", Vs = "(?:" + Gs + "(?:" + [pe, de, Ce].join("|") + ")" + ve + ue + ")*", Us = ve + ue + Vs, Ns = "(?:" + [pe + J + "?", J, de, Ce, Is].join("|") + ")", Zs = RegExp(q + "(?=" + q + ")|" + Ns + Us, "g");
|
|
36
36
|
function _s(o) {
|
|
37
37
|
return o.match(Zs) || [];
|
|
38
38
|
}
|
|
39
39
|
function zs(o) {
|
|
40
|
-
return me(o) ? _s(o) :
|
|
40
|
+
return me(o) ? _s(o) : Ls(o);
|
|
41
41
|
}
|
|
42
42
|
function Ws(o) {
|
|
43
43
|
return function(e) {
|
|
@@ -51,10 +51,10 @@ const js = $s;
|
|
|
51
51
|
function Ks(o) {
|
|
52
52
|
return js(Y(o).toLowerCase());
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var Xs = He(function(o, e, s) {
|
|
55
55
|
return e = e.toLowerCase(), o + (s ? Ks(e) : e);
|
|
56
56
|
});
|
|
57
|
-
const
|
|
57
|
+
const Js = Xs;
|
|
58
58
|
class T {
|
|
59
59
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
60
60
|
// @ts-ignore
|
|
@@ -113,7 +113,7 @@ class T {
|
|
|
113
113
|
id: "toolbar",
|
|
114
114
|
components: [new z(this.model, this.services)],
|
|
115
115
|
growth: i.PREFERRED
|
|
116
|
-
},
|
|
116
|
+
}, F = {
|
|
117
117
|
id: "header",
|
|
118
118
|
components: [
|
|
119
119
|
new g(
|
|
@@ -144,7 +144,7 @@ class T {
|
|
|
144
144
|
}
|
|
145
145
|
const P = {
|
|
146
146
|
id: "spacer",
|
|
147
|
-
components: [new
|
|
147
|
+
components: [new L(this.model, this.services)],
|
|
148
148
|
growth: i.PREFERRED
|
|
149
149
|
}, v = {
|
|
150
150
|
id: "full-frame",
|
|
@@ -165,11 +165,11 @@ class T {
|
|
|
165
165
|
growth: i.STRETCH
|
|
166
166
|
}, E = [];
|
|
167
167
|
if (b || t) {
|
|
168
|
-
E.push(
|
|
168
|
+
E.push(F);
|
|
169
169
|
const S = {
|
|
170
170
|
id: "spacer",
|
|
171
171
|
components: [
|
|
172
|
-
new
|
|
172
|
+
new L(this.model, this.services, t ? { size: 15 } : void 0)
|
|
173
173
|
],
|
|
174
174
|
growth: i.PREFERRED
|
|
175
175
|
};
|
|
@@ -195,7 +195,7 @@ class u extends T {
|
|
|
195
195
|
getAxisChartComponents(e, s) {
|
|
196
196
|
const n = this.model.getOptions(), t = l(n, "zoomBar", j.TOP, "enabled"), h = l(n, "toolbar", "enabled");
|
|
197
197
|
this.services.cartesianScales.determineAxisDuality(), this.services.cartesianScales.findDomainAndRangeAxes(), this.services.cartesianScales.determineOrientation();
|
|
198
|
-
const m = this.services.cartesianScales.getMainXAxisPosition(), b = l(n, "axes", m, "scaleType"), O = t && m === j.BOTTOM && b === Ie.TIME, x = this.services.zoom.isZoomBarLocked(j.TOP),
|
|
198
|
+
const m = this.services.cartesianScales.getMainXAxisPosition(), b = l(n, "axes", m, "scaleType"), O = t && m === j.BOTTOM && b === Ie.TIME, x = this.services.zoom.isZoomBarLocked(j.TOP), F = !!this.model.getOptions().title, y = {
|
|
199
199
|
id: "title",
|
|
200
200
|
components: [new _(this.model, this.services)],
|
|
201
201
|
growth: i.STRETCH
|
|
@@ -243,7 +243,7 @@ class u extends T {
|
|
|
243
243
|
}
|
|
244
244
|
const ge = {
|
|
245
245
|
id: "spacer",
|
|
246
|
-
components: [new
|
|
246
|
+
components: [new L(this.model, this.services)],
|
|
247
247
|
growth: i.PREFERRED
|
|
248
248
|
}, we = {
|
|
249
249
|
id: "full-frame",
|
|
@@ -268,12 +268,12 @@ class u extends T {
|
|
|
268
268
|
growth: i.PREFERRED,
|
|
269
269
|
renderType: A.SVG
|
|
270
270
|
}, H = [];
|
|
271
|
-
if (
|
|
271
|
+
if (F || h) {
|
|
272
272
|
H.push(f);
|
|
273
273
|
const G = {
|
|
274
274
|
id: "spacer",
|
|
275
275
|
components: [
|
|
276
|
-
new
|
|
276
|
+
new L(this.model, this.services, h ? { size: 15 } : void 0)
|
|
277
277
|
],
|
|
278
278
|
growth: i.PREFERRED
|
|
279
279
|
};
|
|
@@ -301,7 +301,7 @@ class ct extends T {
|
|
|
301
301
|
}
|
|
302
302
|
class mt extends u {
|
|
303
303
|
constructor(e, s) {
|
|
304
|
-
super(e, s), this.model.setOptions(a(
|
|
304
|
+
super(e, s), this.model.setOptions(a(X(r.areaChart), s.options)), this.init(e, s);
|
|
305
305
|
}
|
|
306
306
|
getComponents() {
|
|
307
307
|
const e = [
|
|
@@ -419,14 +419,14 @@ class Ct extends T {
|
|
|
419
419
|
],
|
|
420
420
|
growth: i.PREFERRED,
|
|
421
421
|
renderType: A.SVG
|
|
422
|
-
},
|
|
422
|
+
}, F = {
|
|
423
423
|
id: "graph-frame",
|
|
424
424
|
components: e,
|
|
425
425
|
growth: i.STRETCH,
|
|
426
426
|
renderType: A.SVG
|
|
427
427
|
}, y = l(s, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1, D = c.COLUMN_REVERSE, f = {
|
|
428
428
|
id: "spacer",
|
|
429
|
-
components: [new
|
|
429
|
+
components: [new L(this.model, this.services, { size: 15 })],
|
|
430
430
|
growth: i.PREFERRED
|
|
431
431
|
}, P = {
|
|
432
432
|
id: "full-frame",
|
|
@@ -437,7 +437,7 @@ class Ct extends T {
|
|
|
437
437
|
[
|
|
438
438
|
...y ? [x] : [],
|
|
439
439
|
...y ? [f] : [],
|
|
440
|
-
|
|
440
|
+
F
|
|
441
441
|
],
|
|
442
442
|
{
|
|
443
443
|
direction: D
|
|
@@ -451,7 +451,7 @@ class Ct extends T {
|
|
|
451
451
|
const E = {
|
|
452
452
|
id: "spacer",
|
|
453
453
|
components: [
|
|
454
|
-
new
|
|
454
|
+
new L(this.model, this.services, t ? { size: 15 } : void 0)
|
|
455
455
|
],
|
|
456
456
|
growth: i.PREFERRED
|
|
457
457
|
};
|
|
@@ -475,7 +475,7 @@ class ut extends T {
|
|
|
475
475
|
super(e, s), this.model = new Ae(this.services), this.model.setOptions(a(r.circlePackChart, s.options)), this.init(e, s);
|
|
476
476
|
}
|
|
477
477
|
getComponents() {
|
|
478
|
-
const e = [new
|
|
478
|
+
const e = [new Xe(this.model, this.services)];
|
|
479
479
|
return this.getChartComponents(e);
|
|
480
480
|
}
|
|
481
481
|
}
|
|
@@ -506,7 +506,7 @@ class vt extends u {
|
|
|
506
506
|
`Invalid chart type "${t.type}" specified for combo chart. Please refer to the ComboChart tutorial for more guidance.`
|
|
507
507
|
), null;
|
|
508
508
|
let b = !1;
|
|
509
|
-
const O = `${
|
|
509
|
+
const O = `${Js(t.type)}Chart`;
|
|
510
510
|
return m = V(
|
|
511
511
|
{},
|
|
512
512
|
r[O],
|
|
@@ -551,7 +551,7 @@ class qs extends T {
|
|
|
551
551
|
}
|
|
552
552
|
getComponents() {
|
|
553
553
|
const e = [
|
|
554
|
-
new
|
|
554
|
+
new Je(this.model, this.services),
|
|
555
555
|
new C(this.model, this.services, {
|
|
556
556
|
skeleton: p.PIE
|
|
557
557
|
})
|
|
@@ -643,14 +643,14 @@ class Rt extends u {
|
|
|
643
643
|
],
|
|
644
644
|
growth: i.PREFERRED,
|
|
645
645
|
renderType: A.SVG
|
|
646
|
-
},
|
|
646
|
+
}, F = {
|
|
647
647
|
id: "graph-frame",
|
|
648
648
|
components: e,
|
|
649
649
|
growth: i.STRETCH,
|
|
650
650
|
renderType: A.SVG
|
|
651
651
|
}, y = l(s, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1, D = c.COLUMN_REVERSE, f = {
|
|
652
652
|
id: "spacer",
|
|
653
|
-
components: [new
|
|
653
|
+
components: [new L(this.model, this.services, { size: 15 })],
|
|
654
654
|
growth: i.PREFERRED
|
|
655
655
|
}, P = {
|
|
656
656
|
id: "full-frame",
|
|
@@ -661,7 +661,7 @@ class Rt extends u {
|
|
|
661
661
|
[
|
|
662
662
|
...y ? [x] : [],
|
|
663
663
|
...y ? [f] : [],
|
|
664
|
-
|
|
664
|
+
F
|
|
665
665
|
],
|
|
666
666
|
{
|
|
667
667
|
direction: D
|
|
@@ -675,7 +675,7 @@ class Rt extends u {
|
|
|
675
675
|
const E = {
|
|
676
676
|
id: "spacer",
|
|
677
677
|
components: [
|
|
678
|
-
new
|
|
678
|
+
new L(this.model, this.services, t ? { size: 15 } : void 0)
|
|
679
679
|
],
|
|
680
680
|
growth: i.PREFERRED
|
|
681
681
|
};
|
|
@@ -699,7 +699,7 @@ class Rt extends u {
|
|
|
699
699
|
}
|
|
700
700
|
class Tt extends u {
|
|
701
701
|
constructor(e, s) {
|
|
702
|
-
super(e, s), this.model = new
|
|
702
|
+
super(e, s), this.model = new Le(this.services), this.model.setOptions(a(r.histogramChart, s.options)), this.init(e, s), this.update();
|
|
703
703
|
}
|
|
704
704
|
getComponents() {
|
|
705
705
|
const e = [
|
|
@@ -749,8 +749,8 @@ class Ot extends u {
|
|
|
749
749
|
class ft extends T {
|
|
750
750
|
constructor(e, s) {
|
|
751
751
|
var t;
|
|
752
|
-
super(e, s), this.model = new
|
|
753
|
-
const n = (t = s.options.meter) != null && t.proportional ? V(
|
|
752
|
+
super(e, s), this.model = new Fe(this.services);
|
|
753
|
+
const n = (t = s.options.meter) != null && t.proportional ? V(X(r.proportionalMeterChart), s.options) : V(X(r.meterChart), s.options);
|
|
754
754
|
this.model.setOptions(n), this.init(e, s);
|
|
755
755
|
}
|
|
756
756
|
getComponents() {
|
|
@@ -767,7 +767,7 @@ class ft extends T {
|
|
|
767
767
|
{
|
|
768
768
|
id: "spacer",
|
|
769
769
|
components: [
|
|
770
|
-
new
|
|
770
|
+
new L(this.model, this.services, {
|
|
771
771
|
size: 8
|
|
772
772
|
})
|
|
773
773
|
],
|
|
@@ -854,7 +854,7 @@ class Dt extends u {
|
|
|
854
854
|
return this.getAxisChartComponents(e);
|
|
855
855
|
}
|
|
856
856
|
}
|
|
857
|
-
class
|
|
857
|
+
class Lt extends u {
|
|
858
858
|
constructor(e, s) {
|
|
859
859
|
super(e, s), this.model.setOptions(a(r.stackedAreaChart, s.options)), this.init(e, s);
|
|
860
860
|
}
|
|
@@ -877,7 +877,7 @@ class Ft extends u {
|
|
|
877
877
|
return this.getAxisChartComponents(e);
|
|
878
878
|
}
|
|
879
879
|
}
|
|
880
|
-
class
|
|
880
|
+
class Ft extends u {
|
|
881
881
|
constructor(e, s) {
|
|
882
882
|
super(e, s), this.model.setOptions(a(r.stackedBarChart, s.options)), this.init(e, s);
|
|
883
883
|
}
|
|
@@ -948,16 +948,16 @@ export {
|
|
|
948
948
|
Ve as ChartClip,
|
|
949
949
|
Do as ChartEvent,
|
|
950
950
|
Re as ChartModel,
|
|
951
|
-
|
|
951
|
+
Le as ChartModelBinned,
|
|
952
952
|
Te as ChartModelCartesian,
|
|
953
|
-
|
|
953
|
+
Lo as ChartTheme,
|
|
954
954
|
R as ChartTypes,
|
|
955
955
|
Ke as Choropleth,
|
|
956
956
|
Se as ChoroplethModel,
|
|
957
|
-
|
|
957
|
+
Xe as CirclePack,
|
|
958
958
|
ut as CirclePackChart,
|
|
959
959
|
Ae as CirclePackChartModel,
|
|
960
|
-
|
|
960
|
+
Fo as ColorClassNameTypes,
|
|
961
961
|
Po as ColorLegendType,
|
|
962
962
|
ne as ColorScaleLegend,
|
|
963
963
|
vt as ComboChart,
|
|
@@ -1003,12 +1003,12 @@ export {
|
|
|
1003
1003
|
Ot as LollipopChart,
|
|
1004
1004
|
is as Meter,
|
|
1005
1005
|
ft as MeterChart,
|
|
1006
|
-
|
|
1006
|
+
Fe as MeterChartModel,
|
|
1007
1007
|
ns as MeterTitle,
|
|
1008
1008
|
W as Modal,
|
|
1009
1009
|
Vo as ModalEvent,
|
|
1010
1010
|
Uo as ModelEvent,
|
|
1011
|
-
|
|
1011
|
+
Je as Pie,
|
|
1012
1012
|
qs as PieChart,
|
|
1013
1013
|
xe as PieChartModel,
|
|
1014
1014
|
No as PieEvent,
|
|
@@ -1029,11 +1029,11 @@ export {
|
|
|
1029
1029
|
C as Skeleton,
|
|
1030
1030
|
ts as SkeletonLines,
|
|
1031
1031
|
p as Skeletons,
|
|
1032
|
-
|
|
1032
|
+
L as Spacer,
|
|
1033
1033
|
ie as StackedArea,
|
|
1034
|
-
|
|
1034
|
+
Lt as StackedAreaChart,
|
|
1035
1035
|
ce as StackedBar,
|
|
1036
|
-
|
|
1036
|
+
Ft as StackedBarChart,
|
|
1037
1037
|
N as StackedRuler,
|
|
1038
1038
|
re as StackedScatter,
|
|
1039
1039
|
Wo as Statuses,
|
|
@@ -1044,9 +1044,9 @@ export {
|
|
|
1044
1044
|
Ko as TickRotations,
|
|
1045
1045
|
_ as Title,
|
|
1046
1046
|
z as Toolbar,
|
|
1047
|
-
|
|
1047
|
+
Xo as ToolbarControlTypes,
|
|
1048
1048
|
se as Tooltip,
|
|
1049
|
-
|
|
1049
|
+
Jo as TooltipEvent,
|
|
1050
1050
|
ds as Transitions,
|
|
1051
1051
|
as as Tree,
|
|
1052
1052
|
xt as TreeChart,
|
|
@@ -1091,8 +1091,8 @@ export {
|
|
|
1091
1091
|
wn as diamond,
|
|
1092
1092
|
fn as distanceBetweenPointOnCircAndVerticalDiameter,
|
|
1093
1093
|
Kt as formatDateTillMilliSeconds,
|
|
1094
|
-
|
|
1095
|
-
|
|
1094
|
+
Xt as formatTick,
|
|
1095
|
+
Jt as getColorScale,
|
|
1096
1096
|
qt as getDomain,
|
|
1097
1097
|
Qt as getTimeformats,
|
|
1098
1098
|
Yt as grid,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AxisDomain } from 'd3';
|
|
2
|
-
import { Locale } from 'date-fns';
|
|
2
|
+
import { Locale } from 'date-fns/locale';
|
|
3
3
|
import { AxisTitleOrientations, ScaleTypes, TickRotations } from './enums';
|
|
4
4
|
import { ThresholdOptions } from './components';
|
|
5
5
|
import { TruncationOptions } from './truncation';
|
package/dist/model/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as d, B as C, a as M, C as s, b as h, c as i, d as p, e as m, G as u, H as B, M as c, P as n, R as P, T, f, W as x } from "../wordcloud-
|
|
1
|
+
import { A as d, B as C, a as M, C as s, b as h, c as i, d as p, e as m, G as u, H as B, M as c, P as n, R as P, T, f, W as x } from "../wordcloud-eTGg6ZP6.mjs";
|
|
2
2
|
import "d3";
|
|
3
|
-
import "../color-scale-utils-
|
|
3
|
+
import "../color-scale-utils-7ngqnWVI.mjs";
|
|
4
4
|
import "../enums-tMKLWMMm.mjs";
|
|
5
|
-
import "../_baseEach-
|
|
5
|
+
import "../_baseEach-fTLS5z67.mjs";
|
|
6
6
|
export {
|
|
7
7
|
d as AlluvialChartModel,
|
|
8
8
|
C as BoxplotChartModel,
|
package/dist/services/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as i, c as o, f as t, b as m, g as l, a as n, d as T, i as c } from "../color-scale-utils-
|
|
2
|
-
import { D as p, G as C, S as f, d as g, a as D, p as S, b as v, r as b } from "../angle-utils-
|
|
3
|
-
import { C as x, b as I, a as M, E as P, F as Z, T as k, Z as u } from "../zoom-
|
|
1
|
+
import { T as i, c as o, f as t, b as m, g as l, a as n, d as T, i as c } from "../color-scale-utils-7ngqnWVI.mjs";
|
|
2
|
+
import { D as p, G as C, S as f, d as g, a as D, p as S, b as v, r as b } from "../angle-utils-DHfDhGau.mjs";
|
|
3
|
+
import { C as x, b as I, a as M, E as P, F as Z, T as k, Z as u } from "../zoom-i_u9NbAF.mjs";
|
|
4
4
|
import "../enums-tMKLWMMm.mjs";
|
|
5
5
|
import "d3";
|
|
6
6
|
export {
|