@carbon/charts 1.9.0-next.2 → 1.9.0-next.3
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/demo/index.js +11 -11
- package/dist/demo/index.js.map +1 -1
- package/dist/demo/index.mjs +86 -85
- package/dist/demo/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/demo/index.mjs
CHANGED
|
@@ -912,7 +912,7 @@ const pA = EN, mA = [
|
|
|
912
912
|
data: {
|
|
913
913
|
loading: !0
|
|
914
914
|
}
|
|
915
|
-
},
|
|
915
|
+
}, _3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
916
916
|
__proto__: null,
|
|
917
917
|
areaDiscreteDomain: GA,
|
|
918
918
|
areaDiscreteDomainOptions: gA,
|
|
@@ -1691,7 +1691,7 @@ const pA = EN, mA = [
|
|
|
1691
1691
|
includeZero: !1
|
|
1692
1692
|
}
|
|
1693
1693
|
}
|
|
1694
|
-
},
|
|
1694
|
+
}, e3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1695
1695
|
__proto__: null,
|
|
1696
1696
|
floatingBarData: Ae,
|
|
1697
1697
|
floatingBarOptions: _e,
|
|
@@ -1815,7 +1815,7 @@ const pA = EN, mA = [
|
|
|
1815
1815
|
mapsTo: "group"
|
|
1816
1816
|
}
|
|
1817
1817
|
}
|
|
1818
|
-
},
|
|
1818
|
+
}, a3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1819
1819
|
__proto__: null,
|
|
1820
1820
|
simpleBoxplotData: NA,
|
|
1821
1821
|
simpleBoxplotOptions: Se,
|
|
@@ -2272,7 +2272,7 @@ const pA = EN, mA = [
|
|
|
2272
2272
|
position: "left",
|
|
2273
2273
|
orientation: "vertical"
|
|
2274
2274
|
}
|
|
2275
|
-
},
|
|
2275
|
+
}, S3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2276
2276
|
__proto__: null,
|
|
2277
2277
|
dualLine: Be,
|
|
2278
2278
|
lineCustomColorOptions: oe,
|
|
@@ -2464,7 +2464,7 @@ const pA = EN, mA = [
|
|
|
2464
2464
|
bubble: {
|
|
2465
2465
|
radiusMapsTo: "value"
|
|
2466
2466
|
}
|
|
2467
|
-
},
|
|
2467
|
+
}, M3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2468
2468
|
__proto__: null,
|
|
2469
2469
|
bubbleDiscreteData: me,
|
|
2470
2470
|
bubbleDiscreteOptions: Ue,
|
|
@@ -2530,7 +2530,7 @@ const pA = EN, mA = [
|
|
|
2530
2530
|
mapsTo: "title"
|
|
2531
2531
|
}
|
|
2532
2532
|
}
|
|
2533
|
-
},
|
|
2533
|
+
}, E3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2534
2534
|
__proto__: null,
|
|
2535
2535
|
basicBulletData: he,
|
|
2536
2536
|
basicBulletOptions: We
|
|
@@ -45373,7 +45373,7 @@ const pA = EN, mA = [
|
|
|
45373
45373
|
timeScale: {
|
|
45374
45374
|
addSpaceOnEdges: 0
|
|
45375
45375
|
}
|
|
45376
|
-
},
|
|
45376
|
+
}, N3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
45377
45377
|
__proto__: null,
|
|
45378
45378
|
comboAreaLineData: je,
|
|
45379
45379
|
comboAreaLineOptions: qe,
|
|
@@ -45440,7 +45440,7 @@ const pA = EN, mA = [
|
|
|
45440
45440
|
data: {
|
|
45441
45441
|
loading: !0
|
|
45442
45442
|
}
|
|
45443
|
-
},
|
|
45443
|
+
}, t3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
45444
45444
|
__proto__: null,
|
|
45445
45445
|
pieCenteredData: La,
|
|
45446
45446
|
pieCenteredOptions: Da,
|
|
@@ -45497,7 +45497,7 @@ const pA = EN, mA = [
|
|
|
45497
45497
|
data: {
|
|
45498
45498
|
loading: !0
|
|
45499
45499
|
}
|
|
45500
|
-
},
|
|
45500
|
+
}, L3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
45501
45501
|
__proto__: null,
|
|
45502
45502
|
donutCenteredData: Fa,
|
|
45503
45503
|
donutCenteredOptions: Ia,
|
|
@@ -45541,7 +45541,7 @@ const pA = EN, mA = [
|
|
|
45541
45541
|
value: "#FFE5B4"
|
|
45542
45542
|
}
|
|
45543
45543
|
}
|
|
45544
|
-
},
|
|
45544
|
+
}, D3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
45545
45545
|
__proto__: null,
|
|
45546
45546
|
gaugeData: Q,
|
|
45547
45547
|
gaugeDataNoDelta: ca,
|
|
@@ -45853,7 +45853,7 @@ const pA = EN, mA = [
|
|
|
45853
45853
|
{ group: "Dataset 1", transactions: 100, value: 99 },
|
|
45854
45854
|
{ group: "Dataset 1", transactions: 100, value: 19 },
|
|
45855
45855
|
{ group: "Dataset 2", transactions: 100, value: 16 }
|
|
45856
|
-
],
|
|
45856
|
+
], r3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
45857
45857
|
__proto__: null,
|
|
45858
45858
|
histogramContinueData: j,
|
|
45859
45859
|
histogramContinueOptions: Ua,
|
|
@@ -45893,7 +45893,7 @@ const pA = EN, mA = [
|
|
|
45893
45893
|
points: {
|
|
45894
45894
|
radius: 7
|
|
45895
45895
|
}
|
|
45896
|
-
},
|
|
45896
|
+
}, n3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
45897
45897
|
__proto__: null,
|
|
45898
45898
|
lollipopDiscreteData: iA,
|
|
45899
45899
|
lollipopDiscreteOptions: va,
|
|
@@ -46002,7 +46002,7 @@ const pA = EN, mA = [
|
|
|
46002
46002
|
breakdownFormatter: (_) => `You are using ${_.datasetsTotal} GB of the space this label is really long will need to be truncated with a tooltip Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.`
|
|
46003
46003
|
}
|
|
46004
46004
|
}
|
|
46005
|
-
},
|
|
46005
|
+
}, o3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
46006
46006
|
__proto__: null,
|
|
46007
46007
|
meterData: v,
|
|
46008
46008
|
meterOptionsCustomColor: Wa,
|
|
@@ -46118,7 +46118,7 @@ const pA = EN, mA = [
|
|
|
46118
46118
|
data: {
|
|
46119
46119
|
groupMapsTo: "month"
|
|
46120
46120
|
}
|
|
46121
|
-
},
|
|
46121
|
+
}, i3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
46122
46122
|
__proto__: null,
|
|
46123
46123
|
radarCenteredData: Za,
|
|
46124
46124
|
radarCenteredOptions: wa,
|
|
@@ -46254,7 +46254,7 @@ const pA = EN, mA = [
|
|
|
46254
46254
|
correspondingDatasets: ["Products"]
|
|
46255
46255
|
}
|
|
46256
46256
|
}
|
|
46257
|
-
},
|
|
46257
|
+
}, C3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
46258
46258
|
__proto__: null,
|
|
46259
46259
|
doubleLinearScatterData: Qa,
|
|
46260
46260
|
doubleLinearScatterOptions: ja,
|
|
@@ -46283,7 +46283,7 @@ const pA = EN, mA = [
|
|
|
46283
46283
|
data: {
|
|
46284
46284
|
loading: !0
|
|
46285
46285
|
}
|
|
46286
|
-
}),
|
|
46286
|
+
}), O3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
46287
46287
|
__proto__: null,
|
|
46288
46288
|
stepData: NS,
|
|
46289
46289
|
stepEmptyStateData: tS,
|
|
@@ -46875,7 +46875,7 @@ const pA = EN, mA = [
|
|
|
46875
46875
|
legend: {
|
|
46876
46876
|
clickable: !1
|
|
46877
46877
|
}
|
|
46878
|
-
},
|
|
46878
|
+
}, R3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
46879
46879
|
__proto__: null,
|
|
46880
46880
|
lineTimeSeries15secondsOptions: Y,
|
|
46881
46881
|
lineTimeSeries30minutesOptions: CS,
|
|
@@ -47112,7 +47112,7 @@ const pA = EN, mA = [
|
|
|
47112
47112
|
type: "dendrogram",
|
|
47113
47113
|
rootTitle: "flare"
|
|
47114
47114
|
}
|
|
47115
|
-
},
|
|
47115
|
+
}, F3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
47116
47116
|
__proto__: null,
|
|
47117
47117
|
dendogramOptions: bS,
|
|
47118
47118
|
treeData: q,
|
|
@@ -47207,7 +47207,7 @@ const pA = EN, mA = [
|
|
|
47207
47207
|
}
|
|
47208
47208
|
], YS = {
|
|
47209
47209
|
title: "Treemap"
|
|
47210
|
-
},
|
|
47210
|
+
}, I3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
47211
47211
|
__proto__: null,
|
|
47212
47212
|
treemapData: VS,
|
|
47213
47213
|
treemapOptions: YS
|
|
@@ -47424,7 +47424,7 @@ const pA = EN, mA = [
|
|
|
47424
47424
|
canvasZoom: {
|
|
47425
47425
|
enabled: !1
|
|
47426
47426
|
}
|
|
47427
|
-
},
|
|
47427
|
+
}, l3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
47428
47428
|
__proto__: null,
|
|
47429
47429
|
circlePackSingleLevelData: wS,
|
|
47430
47430
|
circlePackSingleOptions: ZS,
|
|
@@ -47486,7 +47486,7 @@ const pA = EN, mA = [
|
|
|
47486
47486
|
}
|
|
47487
47487
|
]
|
|
47488
47488
|
}
|
|
47489
|
-
),
|
|
47489
|
+
), s3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
47490
47490
|
__proto__: null,
|
|
47491
47491
|
toolbarLineTimeSeriesData: $S,
|
|
47492
47492
|
toolbarLineTimeSeriesOptions: AM,
|
|
@@ -47594,7 +47594,7 @@ const pA = EN, mA = [
|
|
|
47594
47594
|
option: 3
|
|
47595
47595
|
}
|
|
47596
47596
|
}
|
|
47597
|
-
},
|
|
47597
|
+
}, u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
47598
47598
|
__proto__: null,
|
|
47599
47599
|
wordCloudData: _M,
|
|
47600
47600
|
wordCloudOptions: eM
|
|
@@ -47760,7 +47760,7 @@ const cM = [], Z = L(
|
|
|
47760
47760
|
);
|
|
47761
47761
|
Z.title = "Zoom bar (skeleton)";
|
|
47762
47762
|
Z.zoomBar.top.loading = !0;
|
|
47763
|
-
const
|
|
47763
|
+
const T3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
47764
47764
|
__proto__: null,
|
|
47765
47765
|
addZoomBarToOptions: L,
|
|
47766
47766
|
definedZoomBarStackedBarTimeSeriesData: rM,
|
|
@@ -48104,7 +48104,7 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48104
48104
|
monochrome: !0,
|
|
48105
48105
|
nodePadding: 33
|
|
48106
48106
|
}
|
|
48107
|
-
},
|
|
48107
|
+
}, P3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
48108
48108
|
__proto__: null,
|
|
48109
48109
|
alluvialGradientData: pM,
|
|
48110
48110
|
alluvialMonochromeData: vM,
|
|
@@ -48157,7 +48157,7 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48157
48157
|
curve: "curveNatural"
|
|
48158
48158
|
}, HM = L(
|
|
48159
48159
|
Object.assign({}, TA)
|
|
48160
|
-
),
|
|
48160
|
+
), B3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
48161
48161
|
__proto__: null,
|
|
48162
48162
|
boundedAreaTimeSeriesWithHighlightsOptions: TA,
|
|
48163
48163
|
boundedAreaTimeSeriesWithHighlightsZoomOptions: HM,
|
|
@@ -49294,7 +49294,7 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49294
49294
|
heatmap: {
|
|
49295
49295
|
colorLegend: { title: "Legend title" }
|
|
49296
49296
|
}
|
|
49297
|
-
},
|
|
49297
|
+
}, c3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
49298
49298
|
__proto__: null,
|
|
49299
49299
|
heatmapData: m,
|
|
49300
49300
|
heatmapDomainOptions: VM,
|
|
@@ -49304,7 +49304,7 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49304
49304
|
heatmapPositiveNegativeData: bM,
|
|
49305
49305
|
heatmapPositiveNegativeOptions: WM,
|
|
49306
49306
|
heatmapQuantizeLegendOption: hM
|
|
49307
|
-
}, Symbol.toStringTag, { value: "Module" })), RN = "@carbon/charts", FN = "1.9.0-next.
|
|
49307
|
+
}, Symbol.toStringTag, { value: "Module" })), RN = "@carbon/charts", FN = "1.9.0-next.3", IN = "Carbon Charts component library", lN = "./dist/index.mjs", sN = "./dist/index.js", uN = "./dist/index.d.ts", TN = {
|
|
49308
49308
|
"./package.json": "./package.json",
|
|
49309
49309
|
"./styles.min.css": "./dist/styles.min.css",
|
|
49310
49310
|
"./styles.css": "./dist/styles.css",
|
|
@@ -49467,7 +49467,7 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49467
49467
|
email: "iliadm@ca.ibm.com",
|
|
49468
49468
|
url: "https://github.com/theiliad"
|
|
49469
49469
|
}
|
|
49470
|
-
], O = {
|
|
49470
|
+
], hN = "f7037103474e53901678dd9e62095b0b1f0f62c4", O = {
|
|
49471
49471
|
name: RN,
|
|
49472
49472
|
version: FN,
|
|
49473
49473
|
description: IN,
|
|
@@ -49487,7 +49487,8 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49487
49487
|
author: KN,
|
|
49488
49488
|
license: vN,
|
|
49489
49489
|
maintainers: yN,
|
|
49490
|
-
contributors: HN
|
|
49490
|
+
contributors: HN,
|
|
49491
|
+
gitHead: hN
|
|
49491
49492
|
}, N = {
|
|
49492
49493
|
carbonCharts: O.version,
|
|
49493
49494
|
carbonStyles: O.dependencies["@carbon/styles"],
|
|
@@ -49496,7 +49497,7 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49496
49497
|
d3Sankey: O.dependencies["d3-sankey"]
|
|
49497
49498
|
}, fM = `{
|
|
49498
49499
|
"startCommand": "yarn dev"
|
|
49499
|
-
}`,
|
|
49500
|
+
}`, WN = (_) => {
|
|
49500
49501
|
const e = JSON.stringify(_.data, null, " "), a = _.options.geoData, S = { ..._.options };
|
|
49501
49502
|
a && delete S.geoData;
|
|
49502
49503
|
const M = JSON.stringify(S, null, a ? " " : " "), E = _.chartType.vanilla, t = `<html>
|
|
@@ -49579,7 +49580,7 @@ new ${E}(chartHolder, {
|
|
|
49579
49580
|
"index.js": D,
|
|
49580
49581
|
"package.json": o
|
|
49581
49582
|
};
|
|
49582
|
-
},
|
|
49583
|
+
}, bN = (_) => {
|
|
49583
49584
|
const e = `{
|
|
49584
49585
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
49585
49586
|
"version": 1,
|
|
@@ -49738,7 +49739,7 @@ bootstrapApplication(App)
|
|
|
49738
49739
|
"src/styles.css": `@import '@carbon/styles/css/styles.css';
|
|
49739
49740
|
@import '@carbon/charts/styles.css';`
|
|
49740
49741
|
};
|
|
49741
|
-
},
|
|
49742
|
+
}, VN = (_) => {
|
|
49742
49743
|
const e = JSON.stringify(_.data, null, 2), a = JSON.stringify(_.options, null, 2), S = _.chartType.vanilla, M = `<!doctype html>
|
|
49743
49744
|
<html lang="en">
|
|
49744
49745
|
<head>
|
|
@@ -49810,7 +49811,7 @@ ReactDOM.render(<App />, document.getElementById("root"))`, t = JSON.stringify(
|
|
|
49810
49811
|
"src/index.js": E,
|
|
49811
49812
|
"package.json": t
|
|
49812
49813
|
};
|
|
49813
|
-
},
|
|
49814
|
+
}, YN = (_) => {
|
|
49814
49815
|
const e = JSON.stringify(_.data, null, 2), a = JSON.stringify(_.options, null, 2);
|
|
49815
49816
|
let S = _.chartType.vanilla;
|
|
49816
49817
|
switch (S) {
|
|
@@ -49933,7 +49934,7 @@ export default defineConfig({
|
|
|
49933
49934
|
}
|
|
49934
49935
|
})`
|
|
49935
49936
|
};
|
|
49936
|
-
},
|
|
49937
|
+
}, kN = (_) => {
|
|
49937
49938
|
const e = JSON.stringify(_.data, null, 2), a = JSON.stringify(_.options, null, 2), M = `<template>
|
|
49938
49939
|
<div id="app" class="p-1">
|
|
49939
49940
|
<${_.chartType.vue} :data="data" :options="options" />
|
|
@@ -50040,7 +50041,7 @@ new Vue({
|
|
|
50040
50041
|
})
|
|
50041
50042
|
`
|
|
50042
50043
|
};
|
|
50043
|
-
},
|
|
50044
|
+
}, fN = (_) => {
|
|
50044
50045
|
var S, M, E;
|
|
50045
50046
|
const e = document.createElement("div");
|
|
50046
50047
|
e.id = "theme-picker", e.innerHTML = `
|
|
@@ -50085,7 +50086,7 @@ new Vue({
|
|
|
50085
50086
|
</fieldset>`;
|
|
50086
50087
|
const a = document.documentElement.getAttribute("data-carbon-theme");
|
|
50087
50088
|
a ? (S = e.querySelector(`input#theme__${a}`)) == null || S.setAttribute("checked", "true") : (M = e.querySelector("input#theme__white")) == null || M.setAttribute("checked", "true"), (E = _.querySelector("#charting-controls")) == null || E.appendChild(e);
|
|
50088
|
-
},
|
|
50089
|
+
}, ZN = (_, e) => {
|
|
50089
50090
|
const a = [
|
|
50090
50091
|
"geoEqualEarth",
|
|
50091
50092
|
"geoAlbers",
|
|
@@ -50114,7 +50115,7 @@ new Vue({
|
|
|
50114
50115
|
const { value: t } = E.target;
|
|
50115
50116
|
S.thematic.projection = t, e.model.setOptions(S);
|
|
50116
50117
|
}), _.querySelector("#charting-controls").appendChild(M);
|
|
50117
|
-
},
|
|
50118
|
+
}, wN = (_, e, a = { colorPairingOptions: null }) => {
|
|
50118
50119
|
var z, BA;
|
|
50119
50120
|
const { colorPairingOptions: S } = a, M = e.model.getOptions(), { numberOfVariants: E, option: t } = M.color.pairing, D = e.model.getAllDataGroupsNames().length, o = E || D;
|
|
50120
50121
|
let C = !1;
|
|
@@ -50154,10 +50155,10 @@ new Vue({
|
|
|
50154
50155
|
const { value: x } = T.target, [d, P] = x.split("-color-option-");
|
|
50155
50156
|
M.color.pairing.numberOfVariants = d, M.color.pairing.option = P, e.model.setOptions(M);
|
|
50156
50157
|
}), (BA = _ == null ? void 0 : _.querySelector("#charting-controls")) == null || BA.appendChild(F);
|
|
50157
|
-
},
|
|
50158
|
+
}, d3 = (_, e, a, S = { colorPairingOptions: null }) => {
|
|
50158
50159
|
var M, E;
|
|
50159
|
-
|
|
50160
|
-
},
|
|
50160
|
+
fN(_), ((M = e == null ? void 0 : e.configs) == null ? void 0 : M.excludeColorPaletteControl) !== !0 && wN(_, a, S), (E = e == null ? void 0 : e.configs) != null && E.includeProjectionControl && ZN(_, a), JN(_, a);
|
|
50161
|
+
}, JN = (_, e) => {
|
|
50161
50162
|
const a = _.querySelectorAll("div#theme-picker input.cds--radio-button"), S = document.documentElement.getAttribute("data-carbon-theme");
|
|
50162
50163
|
S && e.services.domUtils.getHolder().setAttribute("data-carbon-theme", S), a.forEach((M) => {
|
|
50163
50164
|
M.addEventListener("click", (E) => {
|
|
@@ -50165,7 +50166,7 @@ new Vue({
|
|
|
50165
50166
|
document.documentElement.setAttribute("data-carbon-theme", t), e.model.setOptions({ ...e.model.getOptions(), theme: t });
|
|
50166
50167
|
});
|
|
50167
50168
|
});
|
|
50168
|
-
},
|
|
50169
|
+
}, p3 = (_, e, a, S = { currentVersion: "vanilla" }) => {
|
|
50169
50170
|
var C;
|
|
50170
50171
|
const { currentVersion: M } = S, E = (e.type || "").replace("-chart", ""), t = document.createElement("div");
|
|
50171
50172
|
t.setAttribute("class", "cds--row resource-card-group");
|
|
@@ -50347,7 +50348,7 @@ new Vue({
|
|
|
50347
50348
|
angular: "ibm-wordcloud-chart",
|
|
50348
50349
|
vue: "CcvWordCloudChart"
|
|
50349
50350
|
}
|
|
50350
|
-
}, K = O.version,
|
|
50351
|
+
}, K = O.version, zN = O.dependencies.d3, xN = O.dependencies["@carbon/styles"], XN = [
|
|
50351
50352
|
{
|
|
50352
50353
|
title: "Axes",
|
|
50353
50354
|
demos: [
|
|
@@ -50663,7 +50664,7 @@ new Vue({
|
|
|
50663
50664
|
}
|
|
50664
50665
|
]
|
|
50665
50666
|
}
|
|
50666
|
-
].map((_) => (_.type = "utility", _)),
|
|
50667
|
+
].map((_) => (_.type = "utility", _)), QN = [
|
|
50667
50668
|
{
|
|
50668
50669
|
title: "Area (simple)",
|
|
50669
50670
|
description: "Area charts are similar to line charts, but the areas below the lines are filled with colors or patterns. Stacked charts are useful for comparing proportional contributions within a category. They plot the relative value that each data series contributes to the total.",
|
|
@@ -51347,7 +51348,7 @@ new Vue({
|
|
|
51347
51348
|
}
|
|
51348
51349
|
]
|
|
51349
51350
|
}
|
|
51350
|
-
].map((_) => (_.type = "simple-chart", _)),
|
|
51351
|
+
].map((_) => (_.type = "simple-chart", _)), jN = [
|
|
51351
51352
|
{
|
|
51352
51353
|
title: "Choropleth (experimental)",
|
|
51353
51354
|
configs: {
|
|
@@ -51496,8 +51497,8 @@ new Vue({
|
|
|
51496
51497
|
]
|
|
51497
51498
|
}
|
|
51498
51499
|
].map((_) => (_.type = "complex-chart", _));
|
|
51499
|
-
let _A =
|
|
51500
|
-
const cA = (_) => _.replace(/[^\w\s]/gi, "").replace(/\s\s+/g, " ").toLowerCase().replace(/\s+/g, "-"),
|
|
51500
|
+
let _A = XN.concat(QN).concat(jN);
|
|
51501
|
+
const cA = (_) => _.replace(/[^\w\s]/gi, "").replace(/\s\s+/g, " ").toLowerCase().replace(/\s+/g, "-"), qN = (_) => _.sort((e, a) => a.title - e.title).map((e) => (e.type === "simple-chart" ? e.storyGroupTitle = "Simple charts" : e.type === "complex-chart" ? e.storyGroupTitle = "Complex charts" : e.storyGroupTitle = "Utility", e.demos = e.demos.map((a) => {
|
|
51501
51502
|
a.title = a.options.title, a.id = `${cA(e.title)}--${cA(a.options.title)}`, a.options.height = a.options.height ?? "400px";
|
|
51502
51503
|
const S = {
|
|
51503
51504
|
title: "Carbon Charts Example",
|
|
@@ -51505,13 +51506,13 @@ const cA = (_) => _.replace(/[^\w\s]/gi, "").replace(/\s\s+/g, " ").toLowerCase(
|
|
|
51505
51506
|
description: a.title,
|
|
51506
51507
|
dependencies: {
|
|
51507
51508
|
"@carbon/charts": K,
|
|
51508
|
-
"@carbon/styles":
|
|
51509
|
-
d3:
|
|
51509
|
+
"@carbon/styles": xN,
|
|
51510
|
+
d3: zN
|
|
51510
51511
|
}
|
|
51511
51512
|
};
|
|
51512
|
-
return a.code = {}, a.code.vanilla = { ...S, files:
|
|
51513
|
+
return a.code = {}, a.code.vanilla = { ...S, files: WN(a) }, a.code.angular = {
|
|
51513
51514
|
...S,
|
|
51514
|
-
files:
|
|
51515
|
+
files: bN(a),
|
|
51515
51516
|
template: "angular-cli",
|
|
51516
51517
|
title: "Carbon Charts Angular Example",
|
|
51517
51518
|
dependencies: {
|
|
@@ -51521,7 +51522,7 @@ const cA = (_) => _.replace(/[^\w\s]/gi, "").replace(/\s\s+/g, " ").toLowerCase(
|
|
|
51521
51522
|
}
|
|
51522
51523
|
}, a.code.react = {
|
|
51523
51524
|
...S,
|
|
51524
|
-
files:
|
|
51525
|
+
files: VN(a),
|
|
51525
51526
|
template: "create-react-app",
|
|
51526
51527
|
title: "Carbon Charts React Example",
|
|
51527
51528
|
dependencies: {
|
|
@@ -51530,7 +51531,7 @@ const cA = (_) => _.replace(/[^\w\s]/gi, "").replace(/\s\s+/g, " ").toLowerCase(
|
|
|
51530
51531
|
}
|
|
51531
51532
|
}, a.code.svelte = {
|
|
51532
51533
|
...S,
|
|
51533
|
-
files:
|
|
51534
|
+
files: YN(a),
|
|
51534
51535
|
template: "node",
|
|
51535
51536
|
title: "Carbon Charts Svelte Example",
|
|
51536
51537
|
dependencies: {
|
|
@@ -51539,7 +51540,7 @@ const cA = (_) => _.replace(/[^\w\s]/gi, "").replace(/\s\s+/g, " ").toLowerCase(
|
|
|
51539
51540
|
}
|
|
51540
51541
|
}, a.code.vue = {
|
|
51541
51542
|
...S,
|
|
51542
|
-
files:
|
|
51543
|
+
files: kN(a),
|
|
51543
51544
|
template: "node",
|
|
51544
51545
|
title: "Carbon Charts Vue Example",
|
|
51545
51546
|
dependencies: {
|
|
@@ -51548,38 +51549,38 @@ const cA = (_) => _.replace(/[^\w\s]/gi, "").replace(/\s\s+/g, " ").toLowerCase(
|
|
|
51548
51549
|
}
|
|
51549
51550
|
}, a;
|
|
51550
51551
|
}), e));
|
|
51551
|
-
_A =
|
|
51552
|
-
const
|
|
51552
|
+
_A = qN(_A);
|
|
51553
|
+
const m3 = _A;
|
|
51553
51554
|
export {
|
|
51554
|
-
|
|
51555
|
-
|
|
51556
|
-
|
|
51557
|
-
|
|
51558
|
-
|
|
51559
|
-
|
|
51560
|
-
|
|
51561
|
-
|
|
51562
|
-
|
|
51563
|
-
|
|
51564
|
-
|
|
51565
|
-
|
|
51566
|
-
|
|
51567
|
-
|
|
51568
|
-
|
|
51569
|
-
|
|
51570
|
-
|
|
51571
|
-
|
|
51572
|
-
|
|
51573
|
-
|
|
51574
|
-
|
|
51575
|
-
|
|
51576
|
-
|
|
51577
|
-
|
|
51578
|
-
|
|
51579
|
-
|
|
51580
|
-
|
|
51581
|
-
|
|
51582
|
-
|
|
51583
|
-
|
|
51555
|
+
d3 as addControls,
|
|
51556
|
+
p3 as addOtherVersions,
|
|
51557
|
+
JN as addRadioButtonEventListeners,
|
|
51558
|
+
P3 as alluvialDemos,
|
|
51559
|
+
_3 as areaDemos,
|
|
51560
|
+
e3 as barDemos,
|
|
51561
|
+
a3 as boxplotDemos,
|
|
51562
|
+
M3 as bubbleDemos,
|
|
51563
|
+
E3 as bulletDemos,
|
|
51564
|
+
l3 as circlePackDemos,
|
|
51565
|
+
N3 as comboDemos,
|
|
51566
|
+
L3 as donutDemos,
|
|
51567
|
+
D3 as gaugeDemos,
|
|
51568
|
+
c3 as heatmapDemos,
|
|
51569
|
+
B3 as highlightDemos,
|
|
51570
|
+
r3 as histogramDemos,
|
|
51571
|
+
S3 as lineDemos,
|
|
51572
|
+
n3 as lollipopDemos,
|
|
51573
|
+
o3 as meterDemos,
|
|
51574
|
+
t3 as pieDemos,
|
|
51575
|
+
i3 as radarDemos,
|
|
51576
|
+
C3 as scatterDemos,
|
|
51577
|
+
O3 as stepDemos,
|
|
51578
|
+
m3 as storybookDemoGroups,
|
|
51579
|
+
R3 as timeSeriesAxisDemos,
|
|
51580
|
+
s3 as toolbarDemos,
|
|
51581
|
+
F3 as treeDemos,
|
|
51582
|
+
I3 as treemapDemos,
|
|
51583
|
+
u3 as wordCloudDemos,
|
|
51584
|
+
T3 as zoomBarDemos
|
|
51584
51585
|
};
|
|
51585
51586
|
//# sourceMappingURL=index.mjs.map
|