@carbon/charts 1.14.0 → 1.14.1
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-1x0l4fXu.mjs → _baseEach-Tuo5VKyb.mjs} +2 -2
- package/dist/{_baseEach-1x0l4fXu.mjs.map → _baseEach-Tuo5VKyb.mjs.map} +1 -1
- package/dist/{angle-utils-Ss5LscUK.mjs → angle-utils-TiBqrqG3.mjs} +2 -2
- package/dist/{angle-utils-Ss5LscUK.mjs.map → angle-utils-TiBqrqG3.mjs.map} +1 -1
- package/dist/{choropleth-bo0SVD2j.mjs → choropleth-15KLXN_n.mjs} +4 -4
- package/dist/{choropleth-bo0SVD2j.mjs.map → choropleth-15KLXN_n.mjs.map} +1 -1
- package/dist/{color-scale-utils-eeC25Jjh.mjs → color-scale-utils-BosGSMyP.mjs} +5 -5
- package/dist/color-scale-utils-BosGSMyP.mjs.map +1 -0
- package/dist/components/index.mjs +1 -1
- package/dist/demo/charts/bar.d.ts +2 -8
- package/dist/demo/index.mjs +132 -138
- package/dist/demo/index.mjs.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/model/index.mjs +1 -1
- package/dist/services/index.mjs +3 -3
- package/dist/umd/bundle.umd.js +1 -1
- package/dist/umd/bundle.umd.js.map +1 -1
- package/dist/{wordcloud-UWOp6fZX.mjs → wordcloud-md0zt8mQ.mjs} +3 -3
- package/dist/{wordcloud-UWOp6fZX.mjs.map → wordcloud-md0zt8mQ.mjs.map} +1 -1
- package/dist/{zoom-LcHlmSqj.mjs → zoom-fcgdMMZo.mjs} +3 -3
- package/dist/{zoom-LcHlmSqj.mjs.map → zoom-fcgdMMZo.mjs.map} +1 -1
- package/package.json +2 -2
- package/dist/color-scale-utils-eeC25Jjh.mjs.map +0 -1
package/dist/demo/index.mjs
CHANGED
|
@@ -59,7 +59,7 @@ const UA = [
|
|
|
59
59
|
scaleType: _.LINEAR
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
},
|
|
62
|
+
}, vA = [
|
|
63
63
|
{ group: "Dataset 1", date: new Date(2019, 0, 1), value: 0 },
|
|
64
64
|
{ group: "Dataset 1", date: new Date(2019, 0, 6), value: -37312 },
|
|
65
65
|
{ group: "Dataset 1", date: new Date(2019, 0, 8), value: -22392 },
|
|
@@ -70,7 +70,7 @@ const UA = [
|
|
|
70
70
|
{ group: "Dataset 2", date: new Date(2019, 0, 8), value: 23094 },
|
|
71
71
|
{ group: "Dataset 2", date: new Date(2019, 0, 13), value: 45281 },
|
|
72
72
|
{ group: "Dataset 2", date: new Date(2019, 0, 19), value: -63954 }
|
|
73
|
-
],
|
|
73
|
+
], yA = [
|
|
74
74
|
{ group: "Dataset 1", date: 155845326e4, value: 2 },
|
|
75
75
|
{ group: "Dataset 1", date: 155845332e4, value: 3 },
|
|
76
76
|
{ group: "Dataset 1", date: 155845338e4, value: 5 },
|
|
@@ -315,14 +315,14 @@ const UA = [
|
|
|
315
315
|
areaEmptyOptions: fA,
|
|
316
316
|
areaSkeletonData: ZA,
|
|
317
317
|
areaSkeletonOptions: wA,
|
|
318
|
-
areaTimeSeriesCurvedData:
|
|
318
|
+
areaTimeSeriesCurvedData: vA,
|
|
319
319
|
areaTimeSeriesCurvedOptions: HA,
|
|
320
320
|
areaTimeSeriesData: UA,
|
|
321
321
|
areaTimeSeriesOptions: GA,
|
|
322
322
|
boundedAreaTimeSeriesData: Y,
|
|
323
323
|
boundedAreaTimeSeriesOptions: YA,
|
|
324
324
|
sparklineOptions: hA,
|
|
325
|
-
sparklineTimeSeriesData:
|
|
325
|
+
sparklineTimeSeriesData: yA,
|
|
326
326
|
stackedAreaPercentageTimeSeriesOptions: bA,
|
|
327
327
|
stackedAreaTimeSeriesData: V,
|
|
328
328
|
stackedAreaTimeSeriesOptions: MA,
|
|
@@ -643,7 +643,7 @@ const UA = [
|
|
|
643
643
|
value: 51213
|
|
644
644
|
},
|
|
645
645
|
{ group: "Qty", value: 16932 }
|
|
646
|
-
],
|
|
646
|
+
], o_ = {
|
|
647
647
|
title: "Horizontal simple bar (discrete)",
|
|
648
648
|
axes: {
|
|
649
649
|
left: {
|
|
@@ -668,7 +668,7 @@ const UA = [
|
|
|
668
668
|
legend: {
|
|
669
669
|
alignment: i.CENTER
|
|
670
670
|
}
|
|
671
|
-
},
|
|
671
|
+
}, r_ = {
|
|
672
672
|
title: "Truncated labels (simple bar)",
|
|
673
673
|
axes: {
|
|
674
674
|
left: {
|
|
@@ -730,24 +730,18 @@ const UA = [
|
|
|
730
730
|
title: "Turkish locale",
|
|
731
731
|
axes: {
|
|
732
732
|
left: {
|
|
733
|
-
mapsTo: "value"
|
|
734
|
-
ticks: {
|
|
735
|
-
formatter: (e) => e.toLocaleString("tr-TR")
|
|
736
|
-
}
|
|
733
|
+
mapsTo: "value"
|
|
737
734
|
},
|
|
738
735
|
bottom: {
|
|
739
736
|
mapsTo: "date",
|
|
740
|
-
scaleType: _.TIME
|
|
741
|
-
ticks: {
|
|
742
|
-
formatter: (e) => e.toLocaleDateString("tr-TR", { month: "short", day: "numeric" })
|
|
743
|
-
}
|
|
737
|
+
scaleType: _.TIME
|
|
744
738
|
}
|
|
745
739
|
},
|
|
746
|
-
|
|
747
|
-
|
|
740
|
+
locale: {
|
|
741
|
+
code: "tr-TR"
|
|
748
742
|
}
|
|
749
743
|
}, C_ = {
|
|
750
|
-
title: "Arabic locale
|
|
744
|
+
title: "Arabic locale",
|
|
751
745
|
axes: {
|
|
752
746
|
left: {
|
|
753
747
|
mapsTo: "value"
|
|
@@ -761,7 +755,7 @@ const UA = [
|
|
|
761
755
|
code: "ar-SA"
|
|
762
756
|
}
|
|
763
757
|
}, O_ = {
|
|
764
|
-
title: "Iranian locale
|
|
758
|
+
title: "Iranian locale",
|
|
765
759
|
axes: {
|
|
766
760
|
left: {
|
|
767
761
|
mapsTo: "value"
|
|
@@ -775,7 +769,7 @@ const UA = [
|
|
|
775
769
|
code: "fa-IR"
|
|
776
770
|
}
|
|
777
771
|
}, R_ = {
|
|
778
|
-
title: "Japanese locale
|
|
772
|
+
title: "Japanese locale",
|
|
779
773
|
axes: {
|
|
780
774
|
left: {
|
|
781
775
|
mapsTo: "value"
|
|
@@ -789,7 +783,7 @@ const UA = [
|
|
|
789
783
|
code: "ja-JP"
|
|
790
784
|
}
|
|
791
785
|
}, F_ = {
|
|
792
|
-
title: "Hindi locale
|
|
786
|
+
title: "Hindi locale",
|
|
793
787
|
axes: {
|
|
794
788
|
left: {
|
|
795
789
|
mapsTo: "value"
|
|
@@ -803,7 +797,7 @@ const UA = [
|
|
|
803
797
|
code: "hi-IN"
|
|
804
798
|
}
|
|
805
799
|
}, I_ = {
|
|
806
|
-
title: "Bangla locale
|
|
800
|
+
title: "Bangla locale",
|
|
807
801
|
axes: {
|
|
808
802
|
left: {
|
|
809
803
|
mapsTo: "value"
|
|
@@ -1022,7 +1016,7 @@ const UA = [
|
|
|
1022
1016
|
stacked: !0
|
|
1023
1017
|
}
|
|
1024
1018
|
}
|
|
1025
|
-
},
|
|
1019
|
+
}, v_ = s, y_ = [], H_ = {
|
|
1026
1020
|
title: "Vertical simple bar (empty state)",
|
|
1027
1021
|
axes: {
|
|
1028
1022
|
left: {},
|
|
@@ -1208,7 +1202,7 @@ const UA = [
|
|
|
1208
1202
|
simpleBarCustomLegendOrderOptions: e_,
|
|
1209
1203
|
simpleBarData: n,
|
|
1210
1204
|
simpleBarDataCustomTicks: S_,
|
|
1211
|
-
simpleBarEmptyStateData:
|
|
1205
|
+
simpleBarEmptyStateData: y_,
|
|
1212
1206
|
simpleBarEmptyStateOptions: H_,
|
|
1213
1207
|
simpleBarFixedDomainOptions: t_,
|
|
1214
1208
|
simpleBarHindiLocaleOptions: F_,
|
|
@@ -1230,8 +1224,8 @@ const UA = [
|
|
|
1230
1224
|
simpleHorizontalBarEmptyStateData: z_,
|
|
1231
1225
|
simpleHorizontalBarEmptyStateOptions: x_,
|
|
1232
1226
|
simpleHorizontalBarLongLabelData: D_,
|
|
1233
|
-
simpleHorizontalBarLongLabelOptions:
|
|
1234
|
-
simpleHorizontalBarOptions:
|
|
1227
|
+
simpleHorizontalBarLongLabelOptions: r_,
|
|
1228
|
+
simpleHorizontalBarOptions: o_,
|
|
1235
1229
|
simpleHorizontalBarSkeletonData: X_,
|
|
1236
1230
|
simpleHorizontalBarSkeletonOptions: Q_,
|
|
1237
1231
|
simpleHorizontalBarTimeSeriesData: u_,
|
|
@@ -1256,7 +1250,7 @@ const UA = [
|
|
|
1256
1250
|
stackedHorizontalBarOptions: p_,
|
|
1257
1251
|
stackedHorizontalBarSkeletonData: ae,
|
|
1258
1252
|
stackedHorizontalBarSkeletonOptions: Se,
|
|
1259
|
-
stackedHorizontalBarTimeSeriesData:
|
|
1253
|
+
stackedHorizontalBarTimeSeriesData: v_,
|
|
1260
1254
|
stackedHorizontalBarTimeSeriesOptions: K_
|
|
1261
1255
|
}, Symbol.toStringTag, { value: "Module" })), DA = [
|
|
1262
1256
|
{ group: "Q1", key: "Monday", value: 65e3 },
|
|
@@ -1290,7 +1284,7 @@ const UA = [
|
|
|
1290
1284
|
mapsTo: "group"
|
|
1291
1285
|
}
|
|
1292
1286
|
}
|
|
1293
|
-
}, De = DA,
|
|
1287
|
+
}, De = DA, oe = {
|
|
1294
1288
|
title: "Vertical box plot",
|
|
1295
1289
|
axes: {
|
|
1296
1290
|
left: {
|
|
@@ -1306,7 +1300,7 @@ const UA = [
|
|
|
1306
1300
|
simpleBoxplotData: DA,
|
|
1307
1301
|
simpleBoxplotOptions: Le,
|
|
1308
1302
|
simpleVerticalBoxplotData: De,
|
|
1309
|
-
simpleVerticalBoxplotOptions:
|
|
1303
|
+
simpleVerticalBoxplotOptions: oe
|
|
1310
1304
|
}, Symbol.toStringTag, { value: "Module" })), c = [
|
|
1311
1305
|
{ group: "Dataset 1", key: "Qty", value: 34200 },
|
|
1312
1306
|
{ group: "Dataset 1", key: "More", value: 23500 },
|
|
@@ -1328,7 +1322,7 @@ const UA = [
|
|
|
1328
1322
|
{ group: "Dataset 4", key: "Sold", value: 9e3 },
|
|
1329
1323
|
{ group: "Dataset 4", key: "Restocking", value: 24e3, audienceSize: 10 },
|
|
1330
1324
|
{ group: "Dataset 4", key: "Misc", value: 3e3, audienceSize: 10 }
|
|
1331
|
-
],
|
|
1325
|
+
], oA = {
|
|
1332
1326
|
title: "Line (discrete)",
|
|
1333
1327
|
axes: {
|
|
1334
1328
|
bottom: {
|
|
@@ -1342,7 +1336,7 @@ const UA = [
|
|
|
1342
1336
|
scaleType: _.LINEAR
|
|
1343
1337
|
}
|
|
1344
1338
|
}
|
|
1345
|
-
},
|
|
1339
|
+
}, re = {
|
|
1346
1340
|
title: "Sparkline (loading)",
|
|
1347
1341
|
axes: {
|
|
1348
1342
|
bottom: {
|
|
@@ -1770,7 +1764,7 @@ const UA = [
|
|
|
1770
1764
|
lineLogAxisOptions: Be,
|
|
1771
1765
|
lineLongLabelData: ne,
|
|
1772
1766
|
lineLongLabelOptions: ie,
|
|
1773
|
-
lineOptions:
|
|
1767
|
+
lineOptions: oA,
|
|
1774
1768
|
lineOptionsLegendOrientation: Ge,
|
|
1775
1769
|
lineSelectedGroupsData: Oe,
|
|
1776
1770
|
lineSelectedGroupsOptions: Re,
|
|
@@ -1784,7 +1778,7 @@ const UA = [
|
|
|
1784
1778
|
lineTimeSeriesOptions: u,
|
|
1785
1779
|
lineTimeSeriesRotatedTicksOptions: Te,
|
|
1786
1780
|
lineTimeSeriesWithThresholdsOptions: Ie,
|
|
1787
|
-
sparklineLoadingOptions:
|
|
1781
|
+
sparklineLoadingOptions: re
|
|
1788
1782
|
}, Symbol.toStringTag, { value: "Module" })), ge = [
|
|
1789
1783
|
{ group: "Dataset 1", sales: 1e4, profit: 32100, surplus: 5e4 },
|
|
1790
1784
|
{ group: "Dataset 1", sales: 12e3, profit: 23500, surplus: 34e3 },
|
|
@@ -1822,7 +1816,7 @@ const UA = [
|
|
|
1822
1816
|
}
|
|
1823
1817
|
]
|
|
1824
1818
|
}
|
|
1825
|
-
},
|
|
1819
|
+
}, ve = [
|
|
1826
1820
|
{ group: "Dataset 1", key: "Qty", value: 8e3, surplus: 5e4 },
|
|
1827
1821
|
{ group: "Dataset 1", key: "More", value: 23500, surplus: 15e3 },
|
|
1828
1822
|
{ group: "Dataset 1", key: "Sold", value: 53100, surplus: 32e3 },
|
|
@@ -1843,7 +1837,7 @@ const UA = [
|
|
|
1843
1837
|
{ group: "Dataset 4", key: "Sold", value: 9e3, surplus: 43e3 },
|
|
1844
1838
|
{ group: "Dataset 4", key: "Restocking", value: 24e3, surplus: 43e3 },
|
|
1845
1839
|
{ group: "Dataset 4", key: "Misc", value: 7e3, surplus: 21e3 }
|
|
1846
|
-
],
|
|
1840
|
+
], ye = {
|
|
1847
1841
|
title: "Bubble (discrete)",
|
|
1848
1842
|
axes: {
|
|
1849
1843
|
bottom: {
|
|
@@ -1858,7 +1852,7 @@ const UA = [
|
|
|
1858
1852
|
bubble: {
|
|
1859
1853
|
radiusMapsTo: "surplus"
|
|
1860
1854
|
}
|
|
1861
|
-
},
|
|
1855
|
+
}, rA = O.map(
|
|
1862
1856
|
(e) => Object.assign(e, {
|
|
1863
1857
|
surplus: 5e4 * Math.random() * ((e.value || 1) / 2)
|
|
1864
1858
|
})
|
|
@@ -1952,8 +1946,8 @@ const UA = [
|
|
|
1952
1946
|
}
|
|
1953
1947
|
}, S3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1954
1948
|
__proto__: null,
|
|
1955
|
-
bubbleDiscreteData:
|
|
1956
|
-
bubbleDiscreteOptions:
|
|
1949
|
+
bubbleDiscreteData: ve,
|
|
1950
|
+
bubbleDiscreteOptions: ye,
|
|
1957
1951
|
bubbleDoubleLinearData: ge,
|
|
1958
1952
|
bubbleDoubleLinearOptions: Ke,
|
|
1959
1953
|
bubbleDualDiscreteData: be,
|
|
@@ -1962,7 +1956,7 @@ const UA = [
|
|
|
1962
1956
|
bubbleEmptyStateOptions: he,
|
|
1963
1957
|
bubbleSkeletonData: We,
|
|
1964
1958
|
bubbleSkeletonOptions: Ve,
|
|
1965
|
-
bubbleTimeSeriesData:
|
|
1959
|
+
bubbleTimeSeriesData: rA,
|
|
1966
1960
|
bubbleTimeSeriesOptions: nA
|
|
1967
1961
|
}, Symbol.toStringTag, { value: "Module" })), ke = [
|
|
1968
1962
|
{
|
|
@@ -44802,7 +44796,7 @@ const UA = [
|
|
|
44802
44796
|
correspondingDatasets: ["Temperature"]
|
|
44803
44797
|
}
|
|
44804
44798
|
]
|
|
44805
|
-
},
|
|
44799
|
+
}, oa = [
|
|
44806
44800
|
{ group: "Health", key: new Date(2018, 11, 30), value: 312 },
|
|
44807
44801
|
{ group: "Health", key: new Date(2019, 0, 6), value: 232 },
|
|
44808
44802
|
{ group: "Health", key: new Date(2019, 0, 8), value: 432 },
|
|
@@ -44819,7 +44813,7 @@ const UA = [
|
|
|
44819
44813
|
{ group: "Temperature", key: new Date(2019, 1, 2), temp: 34 },
|
|
44820
44814
|
{ group: "Temperature", key: new Date(2019, 1, 7), temp: 37 },
|
|
44821
44815
|
{ group: "Temperature", key: new Date(2019, 1, 9), temp: 30 }
|
|
44822
|
-
],
|
|
44816
|
+
], ra = {
|
|
44823
44817
|
title: "Combo (Line + Area) Time series",
|
|
44824
44818
|
points: {
|
|
44825
44819
|
enabled: !1
|
|
@@ -44863,8 +44857,8 @@ const UA = [
|
|
|
44863
44857
|
__proto__: null,
|
|
44864
44858
|
comboAreaLineData: ea,
|
|
44865
44859
|
comboAreaLineOptions: aa,
|
|
44866
|
-
comboAreaLineTimeSeriesData:
|
|
44867
|
-
comboAreaLineTimeSeriesOptions:
|
|
44860
|
+
comboAreaLineTimeSeriesData: oa,
|
|
44861
|
+
comboAreaLineTimeSeriesOptions: ra,
|
|
44868
44862
|
comboEmptyData: Ma,
|
|
44869
44863
|
comboEmptyOptions: Ea,
|
|
44870
44864
|
comboGroupedData: qe,
|
|
@@ -45015,7 +45009,7 @@ const UA = [
|
|
|
45015
45009
|
status: "warning",
|
|
45016
45010
|
type: "full"
|
|
45017
45011
|
}
|
|
45018
|
-
},
|
|
45012
|
+
}, va = {
|
|
45019
45013
|
title: "Gauge circular without delta -- custom color",
|
|
45020
45014
|
resizable: !0,
|
|
45021
45015
|
height: "250px",
|
|
@@ -45032,7 +45026,7 @@ const UA = [
|
|
|
45032
45026
|
gaugeData: $,
|
|
45033
45027
|
gaugeDataNoDelta: Ga,
|
|
45034
45028
|
gaugeOptionsCircular: Ka,
|
|
45035
|
-
gaugeOptionsCircularNoDelta:
|
|
45029
|
+
gaugeOptionsCircularNoDelta: va,
|
|
45036
45030
|
gaugeOptionsSemi: ga
|
|
45037
45031
|
}, Symbol.toStringTag, { value: "Module" })), AA = [
|
|
45038
45032
|
{ group: "Dataset 1", age: 20 },
|
|
@@ -45064,7 +45058,7 @@ const UA = [
|
|
|
45064
45058
|
{ group: "Dataset 2", age: 83 },
|
|
45065
45059
|
{ group: "Dataset 2", age: 86 },
|
|
45066
45060
|
{ group: "Dataset 1", age: 87 }
|
|
45067
|
-
],
|
|
45061
|
+
], ya = {
|
|
45068
45062
|
title: "Histogram (linear)",
|
|
45069
45063
|
axes: {
|
|
45070
45064
|
bottom: {
|
|
@@ -45342,7 +45336,7 @@ const UA = [
|
|
|
45342
45336
|
], D3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
45343
45337
|
__proto__: null,
|
|
45344
45338
|
histogramContinueData: AA,
|
|
45345
|
-
histogramContinueOptions:
|
|
45339
|
+
histogramContinueOptions: ya,
|
|
45346
45340
|
histogramContinueWithBinsNumberData: Ha,
|
|
45347
45341
|
histogramContinueWithBinsNumberOptions: ha,
|
|
45348
45342
|
histogramContinueWithBinsOptions: Wa,
|
|
@@ -45379,7 +45373,7 @@ const UA = [
|
|
|
45379
45373
|
points: {
|
|
45380
45374
|
radius: 7
|
|
45381
45375
|
}
|
|
45382
|
-
},
|
|
45376
|
+
}, o3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
45383
45377
|
__proto__: null,
|
|
45384
45378
|
lollipopDiscreteData: RA,
|
|
45385
45379
|
lollipopDiscreteOptions: Va,
|
|
@@ -45488,7 +45482,7 @@ const UA = [
|
|
|
45488
45482
|
breakdownFormatter: (e) => `You are using ${e.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.`
|
|
45489
45483
|
}
|
|
45490
45484
|
}
|
|
45491
|
-
},
|
|
45485
|
+
}, r3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
45492
45486
|
__proto__: null,
|
|
45493
45487
|
meterData: h,
|
|
45494
45488
|
meterOptionsCustomColor: fa,
|
|
@@ -45754,10 +45748,10 @@ const UA = [
|
|
|
45754
45748
|
scatterSkeletonOptions: tS,
|
|
45755
45749
|
scatterTimeSeriesData: IA,
|
|
45756
45750
|
scatterTimeSeriesOptions: sA
|
|
45757
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
45751
|
+
}, Symbol.toStringTag, { value: "Module" })), oS = Object.assign({}, oA, {
|
|
45758
45752
|
title: "Step (discrete)",
|
|
45759
45753
|
curve: "curveStepAfter"
|
|
45760
|
-
}),
|
|
45754
|
+
}), rS = c, lA = Object.assign({}, u, {
|
|
45761
45755
|
title: "Step (time series)",
|
|
45762
45756
|
curve: "curveStepAfter"
|
|
45763
45757
|
}), uA = O, nS = [], iS = Object.assign({}, u, {
|
|
@@ -45771,10 +45765,10 @@ const UA = [
|
|
|
45771
45765
|
}
|
|
45772
45766
|
}), C3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
45773
45767
|
__proto__: null,
|
|
45774
|
-
stepData:
|
|
45768
|
+
stepData: rS,
|
|
45775
45769
|
stepEmptyStateData: nS,
|
|
45776
45770
|
stepEmptyStateOptions: iS,
|
|
45777
|
-
stepOptions:
|
|
45771
|
+
stepOptions: oS,
|
|
45778
45772
|
stepSkeletonData: CS,
|
|
45779
45773
|
stepSkeletonOptions: OS,
|
|
45780
45774
|
stepTimeSeriesData: uA,
|
|
@@ -46206,7 +46200,7 @@ const UA = [
|
|
|
46206
46200
|
]
|
|
46207
46201
|
}
|
|
46208
46202
|
]
|
|
46209
|
-
},
|
|
46203
|
+
}, vS = {
|
|
46210
46204
|
title: "Line (time series) - Time interval override",
|
|
46211
46205
|
axes: {
|
|
46212
46206
|
left: {},
|
|
@@ -46220,7 +46214,7 @@ const UA = [
|
|
|
46220
46214
|
legend: {
|
|
46221
46215
|
clickable: !1
|
|
46222
46216
|
}
|
|
46223
|
-
},
|
|
46217
|
+
}, yS = [
|
|
46224
46218
|
{
|
|
46225
46219
|
group: "Dataset 1",
|
|
46226
46220
|
date: new Date(1977, 0),
|
|
@@ -46418,10 +46412,10 @@ const UA = [
|
|
|
46418
46412
|
lineTimeSeriesDataSingleDatum: hS,
|
|
46419
46413
|
lineTimeSeriesDataTwoIdenticalLabels: YS,
|
|
46420
46414
|
lineTimeSeriesDataWeekly: cS,
|
|
46421
|
-
lineTimeSeriesDataYearly:
|
|
46415
|
+
lineTimeSeriesDataYearly: yS,
|
|
46422
46416
|
lineTimeSeriesHourlyCustomTicksFormatsOptions: TS,
|
|
46423
46417
|
lineTimeSeriesHourlyDefaultLocaleOptions: lS,
|
|
46424
|
-
lineTimeSeriesIntervalOverrideOptions:
|
|
46418
|
+
lineTimeSeriesIntervalOverrideOptions: vS,
|
|
46425
46419
|
lineTimeSeriesMinuteOptions: FS,
|
|
46426
46420
|
lineTimeSeriesMonthlyCustomLocaleOptions: US,
|
|
46427
46421
|
lineTimeSeriesMonthlyDefaultLocaleOptions: pS,
|
|
@@ -47149,9 +47143,9 @@ const UA = [
|
|
|
47149
47143
|
type: "slider_view"
|
|
47150
47144
|
} : null
|
|
47151
47145
|
}
|
|
47152
|
-
}), e), DM = V,
|
|
47146
|
+
}), e), DM = V, oM = D(
|
|
47153
47147
|
Object.assign({}, MA)
|
|
47154
|
-
),
|
|
47148
|
+
), rM = G, nM = D(
|
|
47155
47149
|
Object.assign({}, NA),
|
|
47156
47150
|
{ sliderView: !0 }
|
|
47157
47151
|
), iM = b, CM = D(
|
|
@@ -47162,7 +47156,7 @@ const UA = [
|
|
|
47162
47156
|
), FM = s, IM = D(
|
|
47163
47157
|
Object.assign({}, l),
|
|
47164
47158
|
{ includeDefinedZoomBarData: !0 }
|
|
47165
|
-
), sM =
|
|
47159
|
+
), sM = rA, lM = D(
|
|
47166
47160
|
Object.assign({}, nA),
|
|
47167
47161
|
{ sliderView: !0 }
|
|
47168
47162
|
), uM = O, TM = D(
|
|
@@ -47304,12 +47298,12 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
47304
47298
|
zoomBarLockedOptions: K,
|
|
47305
47299
|
zoomBarScatterTimeSeriesData: PM,
|
|
47306
47300
|
zoomBarScatterTimeSeriesOptions: BM,
|
|
47307
|
-
zoomBarSimpleBarTimeSeriesData:
|
|
47301
|
+
zoomBarSimpleBarTimeSeriesData: rM,
|
|
47308
47302
|
zoomBarSimpleBarTimeSeriesOptions: nM,
|
|
47309
47303
|
zoomBarSkeletonData: KM,
|
|
47310
47304
|
zoomBarSkeletonOptions: z,
|
|
47311
47305
|
zoomBarStackedAreaTimeSeriesData: DM,
|
|
47312
|
-
zoomBarStackedAreaTimeSeriesOptions:
|
|
47306
|
+
zoomBarStackedAreaTimeSeriesOptions: oM,
|
|
47313
47307
|
zoomBarStackedBarTimeSeriesData: OM,
|
|
47314
47308
|
zoomBarStackedBarTimeSeriesOptions: RM,
|
|
47315
47309
|
zoomBarStepTimeSeriesData: cM,
|
|
@@ -47469,7 +47463,7 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
47469
47463
|
]
|
|
47470
47464
|
},
|
|
47471
47465
|
height: "600px"
|
|
47472
|
-
},
|
|
47466
|
+
}, vM = {
|
|
47473
47467
|
...X,
|
|
47474
47468
|
title: "Custom colors (alluvial)",
|
|
47475
47469
|
color: {
|
|
@@ -47479,7 +47473,7 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
47479
47473
|
C: "#6fdc8c"
|
|
47480
47474
|
}
|
|
47481
47475
|
}
|
|
47482
|
-
},
|
|
47476
|
+
}, yM = x, HM = {
|
|
47483
47477
|
...X,
|
|
47484
47478
|
title: "Alluvial (gradient)",
|
|
47485
47479
|
color: {
|
|
@@ -47631,14 +47625,14 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
47631
47625
|
}
|
|
47632
47626
|
}, T3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
47633
47627
|
__proto__: null,
|
|
47634
|
-
alluvialGradientData:
|
|
47628
|
+
alluvialGradientData: yM,
|
|
47635
47629
|
alluvialMonochromeData: YM,
|
|
47636
47630
|
alluvialMonochromeOptions: kM,
|
|
47637
47631
|
alluvialMultipleCategoryData: WM,
|
|
47638
47632
|
alluvialMultipleCategoryOptions: hM,
|
|
47639
47633
|
alluvialNodeAlignmentData: VM,
|
|
47640
47634
|
alluvialNodeAlignmentOptions: bM,
|
|
47641
|
-
alluvialSimpleCustomColorOptions:
|
|
47635
|
+
alluvialSimpleCustomColorOptions: vM,
|
|
47642
47636
|
alluvialSimpleData: x,
|
|
47643
47637
|
alluvialSimpleGradientOptions: HM,
|
|
47644
47638
|
alluvialSimpleOptions: X
|
|
@@ -48829,7 +48823,7 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48829
48823
|
heatmapPositiveNegativeData: JM,
|
|
48830
48824
|
heatmapPositiveNegativeOptions: wM,
|
|
48831
48825
|
heatmapQuantizeLegendOption: ZM
|
|
48832
|
-
}, Symbol.toStringTag, { value: "Module" })), tE = "@carbon/charts", LE = "1.14.
|
|
48826
|
+
}, Symbol.toStringTag, { value: "Module" })), tE = "@carbon/charts", LE = "1.14.1", DE = "Carbon Charts component library", oE = "module", rE = "./dist/index.mjs", nE = "./dist/umd/bundle.umd.js", iE = "./dist/index.d.ts", CE = {
|
|
48833
48827
|
"./package.json": "./package.json",
|
|
48834
48828
|
"./styles.min.css": "./dist/styles.min.css",
|
|
48835
48829
|
"./styles.css": "./dist/styles.css",
|
|
@@ -48991,8 +48985,8 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48991
48985
|
name: tE,
|
|
48992
48986
|
version: LE,
|
|
48993
48987
|
description: DE,
|
|
48994
|
-
type:
|
|
48995
|
-
module:
|
|
48988
|
+
type: oE,
|
|
48989
|
+
module: rE,
|
|
48996
48990
|
main: nE,
|
|
48997
48991
|
types: iE,
|
|
48998
48992
|
exports: CE,
|
|
@@ -49010,7 +49004,7 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49010
49004
|
maintainers: dE,
|
|
49011
49005
|
contributors: pE,
|
|
49012
49006
|
gitHead: mE
|
|
49013
|
-
}, UE = "@carbon/charts-react", GE = "1.14.
|
|
49007
|
+
}, UE = "@carbon/charts-react", GE = "1.14.1", gE = "Carbon Charts component library for React", KE = "module", vE = "./dist/index.js", yE = "./dist/index.mjs", HE = "./dist/index.d.ts", hE = {
|
|
49014
49008
|
"./package.json": "./package.json",
|
|
49015
49009
|
".": {
|
|
49016
49010
|
types: "./dist/index.d.ts",
|
|
@@ -49118,8 +49112,8 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49118
49112
|
version: GE,
|
|
49119
49113
|
description: gE,
|
|
49120
49114
|
type: KE,
|
|
49121
|
-
main:
|
|
49122
|
-
module:
|
|
49115
|
+
main: vE,
|
|
49116
|
+
module: yE,
|
|
49123
49117
|
types: HE,
|
|
49124
49118
|
exports: hE,
|
|
49125
49119
|
files: WE,
|
|
@@ -49137,7 +49131,7 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49137
49131
|
maintainers: QE,
|
|
49138
49132
|
contributors: jE,
|
|
49139
49133
|
gitHead: qE
|
|
49140
|
-
}, AN = "@carbon/charts-svelte", _N = "1.14.
|
|
49134
|
+
}, AN = "@carbon/charts-svelte", _N = "1.14.1", eN = "Carbon Charts component library for Svelte", aN = {
|
|
49141
49135
|
postinstall: "ibmtelemetry --config=telemetry.yml",
|
|
49142
49136
|
"file:styles": "cp ../core/dist/styles.* dist",
|
|
49143
49137
|
"build:package": "svelte-kit sync && svelte-package && yarn file:styles",
|
|
@@ -49169,10 +49163,10 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49169
49163
|
"telemetry.yml"
|
|
49170
49164
|
], DN = {
|
|
49171
49165
|
svelte: "^3.31.0 || ^4.0.0"
|
|
49172
|
-
},
|
|
49166
|
+
}, oN = {
|
|
49173
49167
|
"@carbon/charts": "workspace:*",
|
|
49174
49168
|
"@ibm/telemetry-js": "^1.2.1"
|
|
49175
|
-
},
|
|
49169
|
+
}, rN = {
|
|
49176
49170
|
"@stackblitz/sdk": "^1.9.0",
|
|
49177
49171
|
"@sveltejs/adapter-auto": "^3.1.1",
|
|
49178
49172
|
"@sveltejs/kit": "^2.5.0",
|
|
@@ -49248,8 +49242,8 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49248
49242
|
exports: tN,
|
|
49249
49243
|
files: LN,
|
|
49250
49244
|
peerDependencies: DN,
|
|
49251
|
-
dependencies:
|
|
49252
|
-
devDependencies:
|
|
49245
|
+
dependencies: oN,
|
|
49246
|
+
devDependencies: rN,
|
|
49253
49247
|
publishConfig: nN,
|
|
49254
49248
|
repository: iN,
|
|
49255
49249
|
bugs: CN,
|
|
@@ -49260,7 +49254,7 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49260
49254
|
author: sN,
|
|
49261
49255
|
keywords: lN,
|
|
49262
49256
|
gitHead: uN
|
|
49263
|
-
}, TN = "@carbon/charts-vue", PN = "1.14.
|
|
49257
|
+
}, TN = "@carbon/charts-vue", PN = "1.14.1", BN = "Carbon Charts component library for Vue", cN = "module", dN = "./dist/index.mjs", pN = "./dist/index.d.ts", mN = {
|
|
49264
49258
|
"./styles.min.css": "./dist/styles.min.css",
|
|
49265
49259
|
"./styles.css": "./dist/styles.css",
|
|
49266
49260
|
".": {
|
|
@@ -49293,7 +49287,7 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49293
49287
|
"@carbon/charts": "workspace:*",
|
|
49294
49288
|
"@ibm/telemetry-js": "^1.2.1",
|
|
49295
49289
|
vue: "^3.4.18"
|
|
49296
|
-
},
|
|
49290
|
+
}, vN = {
|
|
49297
49291
|
"@stackblitz/sdk": "^1.9.0",
|
|
49298
49292
|
"@types/d3": "^7.4.3",
|
|
49299
49293
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
@@ -49306,7 +49300,7 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49306
49300
|
vite: "^5.1.1",
|
|
49307
49301
|
"vite-plugin-dts": "^3.7.2",
|
|
49308
49302
|
"vue-tsc": "^1.8.27"
|
|
49309
|
-
},
|
|
49303
|
+
}, yN = {
|
|
49310
49304
|
access: "public",
|
|
49311
49305
|
tag: "next"
|
|
49312
49306
|
}, HN = {
|
|
@@ -49353,8 +49347,8 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49353
49347
|
scripts: GN,
|
|
49354
49348
|
peerDependencies: gN,
|
|
49355
49349
|
dependencies: KN,
|
|
49356
|
-
devDependencies:
|
|
49357
|
-
publishConfig:
|
|
49350
|
+
devDependencies: vN,
|
|
49351
|
+
publishConfig: yN,
|
|
49358
49352
|
repository: HN,
|
|
49359
49353
|
license: hN,
|
|
49360
49354
|
author: WN,
|
|
@@ -49377,13 +49371,13 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49377
49371
|
vueTsc: j.devDependencies["vue-tsc"],
|
|
49378
49372
|
vueVitePlugin: j.devDependencies["@vitejs/plugin-vue"]
|
|
49379
49373
|
};
|
|
49380
|
-
function
|
|
49374
|
+
function o(e, a = 0, S = !0) {
|
|
49381
49375
|
let M = S ? "export default " : "";
|
|
49382
49376
|
const E = " ".repeat(a * 2);
|
|
49383
49377
|
if (Array.isArray(e))
|
|
49384
49378
|
M += `[
|
|
49385
49379
|
`, e.forEach((t, L) => {
|
|
49386
|
-
M += E + " " +
|
|
49380
|
+
M += E + " " + o(t, a + 1, !1), L < e.length - 1 && (M += ","), M += `
|
|
49387
49381
|
`;
|
|
49388
49382
|
}), M += E + "]";
|
|
49389
49383
|
else if (typeof e == "object" && e !== null)
|
|
@@ -49393,9 +49387,9 @@ function r(e, a = 0, S = !0) {
|
|
|
49393
49387
|
M += `{
|
|
49394
49388
|
`;
|
|
49395
49389
|
const t = Object.keys(e);
|
|
49396
|
-
t.forEach((L,
|
|
49390
|
+
t.forEach((L, r) => {
|
|
49397
49391
|
const R = /^[a-z$_][a-z0-9$_]*$/i.test(L) ? L : `'${L}'`;
|
|
49398
|
-
M += E + " " + R + ": ", typeof e[L] == "function" ? M += e[L].toString().replace(/\\(['"`])/g, "$1") : L === "content" && typeof e[L] == "string" ? M += "`" + e[L].replace(/`/g, "\\`") + "`" : M +=
|
|
49392
|
+
M += E + " " + R + ": ", typeof e[L] == "function" ? M += e[L].toString().replace(/\\(['"`])/g, "$1") : L === "content" && typeof e[L] == "string" ? M += "`" + e[L].replace(/`/g, "\\`") + "`" : M += o(e[L], a + 1, !1), r < t.length - 1 && (M += ","), M += `
|
|
49399
49393
|
`;
|
|
49400
49394
|
}), M += E + "}";
|
|
49401
49395
|
}
|
|
@@ -49463,7 +49457,7 @@ import data from './data.js'
|
|
|
49463
49457
|
import '@carbon/charts/styles.css'
|
|
49464
49458
|
|
|
49465
49459
|
${E ? M : t}
|
|
49466
|
-
`,
|
|
49460
|
+
`, r = {
|
|
49467
49461
|
name: "carbon-charts-vanilla-js-example",
|
|
49468
49462
|
description: "Carbon Charts Vanilla JavaScript Example",
|
|
49469
49463
|
version: "0.0.0",
|
|
@@ -49474,11 +49468,11 @@ ${E ? M : t}
|
|
|
49474
49468
|
title: "Carbon Charts Vanilla JavaScript Example",
|
|
49475
49469
|
dependencies: a,
|
|
49476
49470
|
files: {
|
|
49477
|
-
"data.js":
|
|
49471
|
+
"data.js": o(e.data),
|
|
49478
49472
|
"index.html": S,
|
|
49479
49473
|
"index.js": L,
|
|
49480
|
-
"options.js":
|
|
49481
|
-
"package.json": JSON.stringify(
|
|
49474
|
+
"options.js": o(e.options),
|
|
49475
|
+
"package.json": JSON.stringify(r, null, 2)
|
|
49482
49476
|
}
|
|
49483
49477
|
};
|
|
49484
49478
|
}
|
|
@@ -49609,10 +49603,10 @@ bootstrapApplication(App)
|
|
|
49609
49603
|
title: "Carbon Charts Angular Example",
|
|
49610
49604
|
dependencies: a,
|
|
49611
49605
|
files: {
|
|
49612
|
-
"src/data.ts":
|
|
49606
|
+
"src/data.ts": o(e.data),
|
|
49613
49607
|
"src/index.html": S,
|
|
49614
49608
|
"src/main.ts": M,
|
|
49615
|
-
"src/options.ts":
|
|
49609
|
+
"src/options.ts": o(e.options),
|
|
49616
49610
|
"src/styles.css": "@import '@carbon/charts-angular/styles.min.css';",
|
|
49617
49611
|
"angular.json": E,
|
|
49618
49612
|
"package.json": JSON.stringify(t, null, 2)
|
|
@@ -49691,9 +49685,9 @@ root.render(
|
|
|
49691
49685
|
dependencies: a,
|
|
49692
49686
|
files: {
|
|
49693
49687
|
"public/index.html": S,
|
|
49694
|
-
"src/data.js":
|
|
49688
|
+
"src/data.js": o(e.data),
|
|
49695
49689
|
"src/index.js": M,
|
|
49696
|
-
"src/options.js":
|
|
49690
|
+
"src/options.js": o(e.options),
|
|
49697
49691
|
"package.json": JSON.stringify(E, null, 2)
|
|
49698
49692
|
}
|
|
49699
49693
|
};
|
|
@@ -49741,7 +49735,7 @@ const app = new App({
|
|
|
49741
49735
|
export default app
|
|
49742
49736
|
`, t = `/// <reference types="svelte" />
|
|
49743
49737
|
/// <reference types="vite/client" />
|
|
49744
|
-
`, L = '{ "installDependencies": true, "startCommand": "yarn dev" }',
|
|
49738
|
+
`, L = '{ "installDependencies": true, "startCommand": "yarn dev" }', r = `<!DOCTYPE html>
|
|
49745
49739
|
<html lang="en">
|
|
49746
49740
|
<head>
|
|
49747
49741
|
<meta charset="utf-8" />
|
|
@@ -49774,7 +49768,7 @@ export default app
|
|
|
49774
49768
|
export default {
|
|
49775
49769
|
preprocess: vitePreprocess()
|
|
49776
49770
|
}
|
|
49777
|
-
`,
|
|
49771
|
+
`, v = `{
|
|
49778
49772
|
"extends": "@tsconfig/svelte/tsconfig.json",
|
|
49779
49773
|
"compilerOptions": {
|
|
49780
49774
|
"target": "ESNext",
|
|
@@ -49795,7 +49789,7 @@ export default {
|
|
|
49795
49789
|
"moduleResolution": "bundler"
|
|
49796
49790
|
},
|
|
49797
49791
|
"include": ["vite.config.ts"]
|
|
49798
|
-
}`,
|
|
49792
|
+
}`, y = `import { defineConfig } from 'vite'
|
|
49799
49793
|
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
|
49800
49794
|
|
|
49801
49795
|
export default defineConfig({
|
|
@@ -49807,17 +49801,17 @@ export default defineConfig({
|
|
|
49807
49801
|
title: "Carbon Charts Svelte Example",
|
|
49808
49802
|
files: {
|
|
49809
49803
|
"src/App.svelte": M,
|
|
49810
|
-
"src/data.js":
|
|
49804
|
+
"src/data.js": o(e.data),
|
|
49811
49805
|
"src/main.ts": E,
|
|
49812
|
-
"src/options.js":
|
|
49806
|
+
"src/options.js": o(e.options),
|
|
49813
49807
|
"src/vite-env.d.ts": t,
|
|
49814
49808
|
".stackblitzrc": L,
|
|
49815
|
-
"index.html":
|
|
49809
|
+
"index.html": r,
|
|
49816
49810
|
"package.json": JSON.stringify(R, null, 2),
|
|
49817
49811
|
"svelte.config.js": F,
|
|
49818
|
-
"tsconfig.json":
|
|
49812
|
+
"tsconfig.json": v,
|
|
49819
49813
|
"tsconfig.node.json": C,
|
|
49820
|
-
"vite.config.ts":
|
|
49814
|
+
"vite.config.ts": y
|
|
49821
49815
|
}
|
|
49822
49816
|
};
|
|
49823
49817
|
}
|
|
@@ -49889,7 +49883,7 @@ app.mount('#app')
|
|
|
49889
49883
|
},
|
|
49890
49884
|
dependencies: a,
|
|
49891
49885
|
devDependencies: S
|
|
49892
|
-
},
|
|
49886
|
+
}, r = `{
|
|
49893
49887
|
"compilerOptions": {
|
|
49894
49888
|
"target": "ES2020",
|
|
49895
49889
|
"useDefineForClassFields": true,
|
|
@@ -49944,13 +49938,13 @@ app.mount('#app')
|
|
|
49944
49938
|
files: {
|
|
49945
49939
|
"index.html": M,
|
|
49946
49940
|
"src/App.vue": E,
|
|
49947
|
-
"src/data.ts":
|
|
49941
|
+
"src/data.ts": o(e.data),
|
|
49948
49942
|
"src/main.ts": t,
|
|
49949
|
-
"src/options.ts":
|
|
49943
|
+
"src/options.ts": o(e.options),
|
|
49950
49944
|
"src/vite-env.d.ts": `/// <reference types="vite/client" />
|
|
49951
49945
|
`,
|
|
49952
49946
|
"package.json": JSON.stringify(L, null, 2),
|
|
49953
|
-
"tsconfig.json":
|
|
49947
|
+
"tsconfig.json": r,
|
|
49954
49948
|
"tsconfig.node.json": R,
|
|
49955
49949
|
"vite.config.ts": F
|
|
49956
49950
|
}
|
|
@@ -50031,11 +50025,11 @@ const wN = (e) => {
|
|
|
50031
50025
|
M.thematic.projection = L, a.model.setOptions(M);
|
|
50032
50026
|
}), e.querySelector("#charting-controls").appendChild(E);
|
|
50033
50027
|
}, zN = (e, a, S = { colorPairingOptions: null }) => {
|
|
50034
|
-
var
|
|
50035
|
-
const { colorPairingOptions: M } = S, E = a.model.getOptions(), { numberOfVariants: t, option: L } = E.color.pairing,
|
|
50028
|
+
var y, pA;
|
|
50029
|
+
const { colorPairingOptions: M } = S, E = a.model.getOptions(), { numberOfVariants: t, option: L } = E.color.pairing, r = a.model.getAllDataGroupsNames().length, R = t || r;
|
|
50036
50030
|
let F = !1;
|
|
50037
|
-
|
|
50038
|
-
const
|
|
50031
|
+
r > 5 && (F = !0);
|
|
50032
|
+
const v = `${R}-${L}`, C = document.createElement("div");
|
|
50039
50033
|
C.id = "color-palette-picker", C.innerHTML = `
|
|
50040
50034
|
<div class="cds--form-item">
|
|
50041
50035
|
<div class="cds--select">
|
|
@@ -50052,11 +50046,11 @@ const wN = (e) => {
|
|
|
50052
50046
|
if (P !== 14)
|
|
50053
50047
|
for (let p = 1; p <= Q; p++)
|
|
50054
50048
|
d += `
|
|
50055
|
-
<option class="cds--select-option" ${F || P <
|
|
50049
|
+
<option class="cds--select-option" ${F || P < r ? "disabled" : ""} value="${T}-option-${p}" ${v === `${P}-${p}` ? "selected" : ""}>
|
|
50056
50050
|
${P}-color groups, option ${p}
|
|
50057
50051
|
</option>`;
|
|
50058
50052
|
else
|
|
50059
|
-
d += `<option class="cds--select-option" value="14-color-option-1" ${
|
|
50053
|
+
d += `<option class="cds--select-option" value="14-color-option-1" ${v === "14-1" || F ? "selected" : ""}>
|
|
50060
50054
|
Categorical palette
|
|
50061
50055
|
</option>`;
|
|
50062
50056
|
return d;
|
|
@@ -50066,7 +50060,7 @@ const wN = (e) => {
|
|
|
50066
50060
|
</div>
|
|
50067
50061
|
</div>
|
|
50068
50062
|
</div>
|
|
50069
|
-
</div>`, (
|
|
50063
|
+
</div>`, (y = C == null ? void 0 : C.querySelector("#color-palette-select")) == null || y.addEventListener("change", (T) => {
|
|
50070
50064
|
const { value: Q } = T.target, [d, P] = Q.split("-color-option-");
|
|
50071
50065
|
E.color.pairing.numberOfVariants = d, E.color.pairing.option = P, a.model.setOptions(E);
|
|
50072
50066
|
}), (pA = e == null ? void 0 : e.querySelector("#charting-controls")) == null || pA.appendChild(C);
|
|
@@ -50346,11 +50340,11 @@ const wN = (e) => {
|
|
|
50346
50340
|
},
|
|
50347
50341
|
{
|
|
50348
50342
|
data: KS,
|
|
50349
|
-
options:
|
|
50343
|
+
options: vS,
|
|
50350
50344
|
chartType: A.LineChart
|
|
50351
50345
|
},
|
|
50352
50346
|
{
|
|
50353
|
-
data:
|
|
50347
|
+
data: yS,
|
|
50354
50348
|
options: HS,
|
|
50355
50349
|
chartType: A.LineChart
|
|
50356
50350
|
},
|
|
@@ -50395,7 +50389,7 @@ const wN = (e) => {
|
|
|
50395
50389
|
chartType: A.CirclePackChart
|
|
50396
50390
|
},
|
|
50397
50391
|
{
|
|
50398
|
-
options:
|
|
50392
|
+
options: vM,
|
|
50399
50393
|
data: x,
|
|
50400
50394
|
chartType: A.AlluvialChart
|
|
50401
50395
|
}
|
|
@@ -50515,7 +50509,7 @@ const wN = (e) => {
|
|
|
50515
50509
|
title: "Truncations",
|
|
50516
50510
|
demos: [
|
|
50517
50511
|
{
|
|
50518
|
-
options:
|
|
50512
|
+
options: r_,
|
|
50519
50513
|
data: D_,
|
|
50520
50514
|
chartType: A.SimpleBarChart
|
|
50521
50515
|
},
|
|
@@ -50530,13 +50524,13 @@ const wN = (e) => {
|
|
|
50530
50524
|
title: "Zoom bar",
|
|
50531
50525
|
demos: [
|
|
50532
50526
|
{
|
|
50533
|
-
options:
|
|
50527
|
+
options: oM,
|
|
50534
50528
|
data: DM,
|
|
50535
50529
|
chartType: A.StackedAreaChart
|
|
50536
50530
|
},
|
|
50537
50531
|
{
|
|
50538
50532
|
options: nM,
|
|
50539
|
-
data:
|
|
50533
|
+
data: rM,
|
|
50540
50534
|
chartType: A.SimpleBarChart
|
|
50541
50535
|
},
|
|
50542
50536
|
{
|
|
@@ -50608,7 +50602,7 @@ const wN = (e) => {
|
|
|
50608
50602
|
demos: [
|
|
50609
50603
|
{
|
|
50610
50604
|
options: HA,
|
|
50611
|
-
data:
|
|
50605
|
+
data: vA,
|
|
50612
50606
|
chartType: A.AreaChart,
|
|
50613
50607
|
mainDemo: !0
|
|
50614
50608
|
},
|
|
@@ -50681,7 +50675,7 @@ const wN = (e) => {
|
|
|
50681
50675
|
},
|
|
50682
50676
|
{
|
|
50683
50677
|
options: H_,
|
|
50684
|
-
data:
|
|
50678
|
+
data: y_,
|
|
50685
50679
|
chartType: A.SimpleBarChart
|
|
50686
50680
|
},
|
|
50687
50681
|
{
|
|
@@ -50690,7 +50684,7 @@ const wN = (e) => {
|
|
|
50690
50684
|
chartType: A.SimpleBarChart
|
|
50691
50685
|
},
|
|
50692
50686
|
{
|
|
50693
|
-
options:
|
|
50687
|
+
options: o_,
|
|
50694
50688
|
data: L_,
|
|
50695
50689
|
chartType: A.SimpleBarChart,
|
|
50696
50690
|
mainDemo: !0
|
|
@@ -50827,7 +50821,7 @@ const wN = (e) => {
|
|
|
50827
50821
|
},
|
|
50828
50822
|
{
|
|
50829
50823
|
options: K_,
|
|
50830
|
-
data:
|
|
50824
|
+
data: v_,
|
|
50831
50825
|
chartType: A.StackedBarChart
|
|
50832
50826
|
},
|
|
50833
50827
|
{
|
|
@@ -50852,7 +50846,7 @@ const wN = (e) => {
|
|
|
50852
50846
|
mainDemo: !0
|
|
50853
50847
|
},
|
|
50854
50848
|
{
|
|
50855
|
-
options:
|
|
50849
|
+
options: oe,
|
|
50856
50850
|
data: De,
|
|
50857
50851
|
chartType: A.BoxplotChart
|
|
50858
50852
|
}
|
|
@@ -50870,12 +50864,12 @@ const wN = (e) => {
|
|
|
50870
50864
|
},
|
|
50871
50865
|
{
|
|
50872
50866
|
options: nA,
|
|
50873
|
-
data:
|
|
50867
|
+
data: rA,
|
|
50874
50868
|
chartType: A.BubbleChart
|
|
50875
50869
|
},
|
|
50876
50870
|
{
|
|
50877
|
-
options:
|
|
50878
|
-
data:
|
|
50871
|
+
options: ye,
|
|
50872
|
+
data: ve,
|
|
50879
50873
|
chartType: A.BubbleChart
|
|
50880
50874
|
},
|
|
50881
50875
|
{
|
|
@@ -50954,8 +50948,8 @@ const wN = (e) => {
|
|
|
50954
50948
|
chartType: A.ComboChart
|
|
50955
50949
|
},
|
|
50956
50950
|
{
|
|
50957
|
-
options:
|
|
50958
|
-
data:
|
|
50951
|
+
options: ra,
|
|
50952
|
+
data: oa,
|
|
50959
50953
|
chartType: A.ComboChart,
|
|
50960
50954
|
mainDemo: !0
|
|
50961
50955
|
},
|
|
@@ -51017,7 +51011,7 @@ const wN = (e) => {
|
|
|
51017
51011
|
chartType: A.GaugeChart
|
|
51018
51012
|
},
|
|
51019
51013
|
{
|
|
51020
|
-
options:
|
|
51014
|
+
options: va,
|
|
51021
51015
|
data: Ga,
|
|
51022
51016
|
chartType: A.GaugeChart
|
|
51023
51017
|
}
|
|
@@ -51027,7 +51021,7 @@ const wN = (e) => {
|
|
|
51027
51021
|
title: "Histogram",
|
|
51028
51022
|
demos: [
|
|
51029
51023
|
{
|
|
51030
|
-
options:
|
|
51024
|
+
options: ya,
|
|
51031
51025
|
data: AA,
|
|
51032
51026
|
chartType: A.HistogramChart
|
|
51033
51027
|
},
|
|
@@ -51048,7 +51042,7 @@ const wN = (e) => {
|
|
|
51048
51042
|
description: "Line charts plot data at regular intervals connected by lines. You can use line visualizations to show trends over time and compare several data sets.",
|
|
51049
51043
|
demos: [
|
|
51050
51044
|
{
|
|
51051
|
-
options:
|
|
51045
|
+
options: oA,
|
|
51052
51046
|
data: c,
|
|
51053
51047
|
chartType: A.LineChart
|
|
51054
51048
|
},
|
|
@@ -51236,12 +51230,12 @@ const wN = (e) => {
|
|
|
51236
51230
|
demos: [
|
|
51237
51231
|
{
|
|
51238
51232
|
options: hA,
|
|
51239
|
-
data:
|
|
51233
|
+
data: yA,
|
|
51240
51234
|
chartType: A.AreaChart,
|
|
51241
51235
|
mainDemo: !0
|
|
51242
51236
|
},
|
|
51243
51237
|
{
|
|
51244
|
-
options:
|
|
51238
|
+
options: re,
|
|
51245
51239
|
data: q,
|
|
51246
51240
|
chartType: A.LineChart
|
|
51247
51241
|
}
|
|
@@ -51252,8 +51246,8 @@ const wN = (e) => {
|
|
|
51252
51246
|
description: "Stepped line charts plot data at regular intervals, forming a series of steps between data points. You can use line visualizations to show trends over time and compare several data sets.",
|
|
51253
51247
|
demos: [
|
|
51254
51248
|
{
|
|
51255
|
-
options:
|
|
51256
|
-
data:
|
|
51249
|
+
options: oS,
|
|
51250
|
+
data: rS,
|
|
51257
51251
|
chartType: A.LineChart
|
|
51258
51252
|
},
|
|
51259
51253
|
{
|
|
@@ -51314,7 +51308,7 @@ const wN = (e) => {
|
|
|
51314
51308
|
demos: [
|
|
51315
51309
|
{
|
|
51316
51310
|
options: HM,
|
|
51317
|
-
data:
|
|
51311
|
+
data: yM,
|
|
51318
51312
|
chartType: A.AlluvialChart,
|
|
51319
51313
|
mainDemo: !0
|
|
51320
51314
|
},
|
|
@@ -51462,8 +51456,8 @@ export {
|
|
|
51462
51456
|
P3 as highlightDemos,
|
|
51463
51457
|
D3 as histogramDemos,
|
|
51464
51458
|
a3 as lineDemos,
|
|
51465
|
-
|
|
51466
|
-
|
|
51459
|
+
o3 as lollipopDemos,
|
|
51460
|
+
r3 as meterDemos,
|
|
51467
51461
|
N3 as pieDemos,
|
|
51468
51462
|
n3 as radarDemos,
|
|
51469
51463
|
i3 as scatterDemos,
|