@react-magma/charts 16.0.0-next.1 → 16.0.1-next.0
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/charts.umd.js +300 -335
- package/dist/charts.umd.js.map +1 -1
- package/package.json +5 -5
package/dist/charts.umd.js
CHANGED
|
@@ -40,18 +40,18 @@
|
|
|
40
40
|
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var __assign = function() {
|
|
44
|
-
__assign = Object.assign || function __assign(t) {
|
|
43
|
+
var __assign$1 = function() {
|
|
44
|
+
__assign$1 = Object.assign || function __assign(t) {
|
|
45
45
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
46
46
|
s = arguments[i];
|
|
47
47
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
48
48
|
}
|
|
49
49
|
return t;
|
|
50
50
|
};
|
|
51
|
-
return __assign.apply(this, arguments);
|
|
51
|
+
return __assign$1.apply(this, arguments);
|
|
52
52
|
};
|
|
53
53
|
|
|
54
|
-
function __rest(s, e) {
|
|
54
|
+
function __rest$1(s, e) {
|
|
55
55
|
var t = {};
|
|
56
56
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
57
57
|
t[p] = s[p];
|
|
@@ -1445,436 +1445,401 @@
|
|
|
1445
1445
|
};
|
|
1446
1446
|
};
|
|
1447
1447
|
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1448
|
+
var __assign = (undefined && undefined.__assign) || function () {
|
|
1449
|
+
__assign = Object.assign || function(t) {
|
|
1450
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
1451
|
+
s = arguments[i];
|
|
1452
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
1453
|
+
t[p] = s[p];
|
|
1454
|
+
}
|
|
1455
|
+
return t;
|
|
1456
|
+
};
|
|
1457
|
+
return __assign.apply(this, arguments);
|
|
1458
|
+
};
|
|
1459
|
+
var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
1460
|
+
var t = {};
|
|
1461
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
1462
|
+
t[p] = s[p];
|
|
1463
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
1464
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
1465
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
1466
|
+
t[p[i]] = s[p[i]];
|
|
1467
|
+
}
|
|
1468
|
+
return t;
|
|
1469
|
+
};
|
|
1460
1470
|
function generateId$1(id) {
|
|
1461
|
-
|
|
1471
|
+
return id ? id : v4();
|
|
1462
1472
|
}
|
|
1463
1473
|
function useGenerateId$1(newId) {
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
}, [newId]);
|
|
1470
|
-
return id;
|
|
1474
|
+
var _a = React__default__namespace.useState(generateId$1(newId)), id = _a[0], updateId = _a[1];
|
|
1475
|
+
React__default__namespace.useEffect(function () {
|
|
1476
|
+
newId && updateId(generateId$1(newId));
|
|
1477
|
+
}, [newId]);
|
|
1478
|
+
return id;
|
|
1471
1479
|
}
|
|
1472
1480
|
function renderPaths(paths) {
|
|
1473
|
-
|
|
1474
|
-
paths
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
other = _objectWithoutPropertiesLoose$1(_ref, _excluded$4);
|
|
1481
|
-
return React__default.createElement("path", Object.assign({
|
|
1482
|
-
key: index,
|
|
1483
|
-
d: d
|
|
1484
|
-
}, other));
|
|
1485
|
-
});
|
|
1481
|
+
if (paths === void 0) { paths = []; }
|
|
1482
|
+
return paths
|
|
1483
|
+
.filter(function (a) { return a; })
|
|
1484
|
+
.map(function (_a, index) {
|
|
1485
|
+
var d = _a.d, other = __rest(_a, ["d"]);
|
|
1486
|
+
return React__default__namespace.createElement("path", __assign({ key: index, d: d }, other));
|
|
1487
|
+
});
|
|
1486
1488
|
}
|
|
1487
1489
|
function renderCircles(circles) {
|
|
1488
|
-
|
|
1489
|
-
circles
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
var cx = _ref2.cx,
|
|
1495
|
-
cy = _ref2.cy,
|
|
1496
|
-
r = _ref2.r;
|
|
1497
|
-
return React__default.createElement("circle", {
|
|
1498
|
-
key: index,
|
|
1499
|
-
cx: cx,
|
|
1500
|
-
cy: cy,
|
|
1501
|
-
r: r
|
|
1490
|
+
if (circles === void 0) { circles = []; }
|
|
1491
|
+
return circles
|
|
1492
|
+
.filter(function (a) { return a; })
|
|
1493
|
+
.map(function (_a, index) {
|
|
1494
|
+
var cx = _a.cx, cy = _a.cy, r = _a.r;
|
|
1495
|
+
return (React__default__namespace.createElement("circle", { key: index, cx: cx, cy: cy, r: r }));
|
|
1502
1496
|
});
|
|
1503
|
-
});
|
|
1504
1497
|
}
|
|
1505
|
-
var SvgIcon = function
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
paths = _ref3$paths === void 0 ? [] : _ref3$paths,
|
|
1515
|
-
_ref3$circles = _ref3.circles,
|
|
1516
|
-
circles = _ref3$circles === void 0 ? [] : _ref3$circles,
|
|
1517
|
-
ariaHidden = _ref3.ariaHidden,
|
|
1518
|
-
role = _ref3.role,
|
|
1519
|
-
other = _objectWithoutPropertiesLoose$1(_ref3, _excluded2);
|
|
1520
|
-
var id = useGenerateId$1(defaultId);
|
|
1521
|
-
var computedAriaHidden = ariaHidden !== undefined ? ariaHidden : title ? false : true;
|
|
1522
|
-
var computedRole = role !== undefined ? role : title ? "img" : "none";
|
|
1523
|
-
return React__default.createElement("svg", Object.assign({}, other, {
|
|
1524
|
-
className: "icon",
|
|
1525
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1526
|
-
fill: color,
|
|
1527
|
-
height: size,
|
|
1528
|
-
width: size,
|
|
1529
|
-
"aria-labelledby": title ? id : undefined,
|
|
1530
|
-
"aria-hidden": computedAriaHidden,
|
|
1531
|
-
role: computedRole,
|
|
1532
|
-
"data-testid": testId
|
|
1533
|
-
}), title && React__default.createElement("title", {
|
|
1534
|
-
id: id
|
|
1535
|
-
}, title), paths.length !== 0 && renderPaths(paths), circles.length !== 0 && renderCircles(circles));
|
|
1498
|
+
var SvgIcon = function (_a) {
|
|
1499
|
+
var _b = _a.color, color = _b === void 0 ? "currentColor" : _b, _c = _a.size, size = _c === void 0 ? 24 : _c, defaultId = _a.id, title = _a.title, testId = _a.testId, _d = _a.paths, paths = _d === void 0 ? [] : _d, _e = _a.circles, circles = _e === void 0 ? [] : _e, ariaHidden = _a.ariaHidden, role = _a.role, other = __rest(_a, ["color", "size", "id", "title", "testId", "paths", "circles", "ariaHidden", "role"]);
|
|
1500
|
+
var id = useGenerateId$1(defaultId);
|
|
1501
|
+
var computedAriaHidden = ariaHidden !== undefined ? ariaHidden : title ? false : true;
|
|
1502
|
+
var computedRole = role !== undefined ? role : title ? "img" : "none";
|
|
1503
|
+
return (React__default__namespace.createElement("svg", __assign({}, other, { className: "icon", xmlns: "http://www.w3.org/2000/svg", fill: color, height: size, width: size, "aria-labelledby": title ? id : undefined, "aria-hidden": computedAriaHidden, role: computedRole, "data-testid": testId }),
|
|
1504
|
+
title && React__default__namespace.createElement("title", { id: id }, title),
|
|
1505
|
+
paths.length !== 0 && renderPaths(paths),
|
|
1506
|
+
circles.length !== 0 && renderCircles(circles)));
|
|
1536
1507
|
};
|
|
1537
1508
|
function renderIcon(props, iconType) {
|
|
1538
|
-
|
|
1509
|
+
return iconType ? React__default__namespace.createElement(SvgIcon, __assign({}, props, iconType)) : null;
|
|
1539
1510
|
}
|
|
1540
1511
|
|
|
1541
|
-
/******************************************************
|
|
1542
|
-
* This file was created by scripts/generate.js as part
|
|
1543
|
-
* of the build process. Do not edit this file directly.
|
|
1512
|
+
/******************************************************
|
|
1513
|
+
* This file was created by scripts/generate.js as part
|
|
1514
|
+
* of the build process. Do not edit this file directly.
|
|
1544
1515
|
******************************************************/
|
|
1545
1516
|
var iconType$k = {
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
var ExpandMoreIcon = function ExpandMoreIcon(props) {
|
|
1554
|
-
return renderIcon(props, iconType$k);
|
|
1517
|
+
viewBox: "0 -960 960 960",
|
|
1518
|
+
paths: [
|
|
1519
|
+
{
|
|
1520
|
+
d: "M480-362q-8 0-15-2.5t-13-8.5L268-557q-11-11-11-28t11-28q11-11 28-11t28 11l156 156 156-156q11-11 28-11t28 11q11 11 11 28t-11 28L508-373q-6 6-13 8.5t-15 2.5z",
|
|
1521
|
+
},
|
|
1522
|
+
],
|
|
1523
|
+
circles: [],
|
|
1555
1524
|
};
|
|
1525
|
+
var ExpandMoreIcon = function (props) { return renderIcon(props, iconType$k); };
|
|
1556
1526
|
|
|
1557
|
-
/******************************************************
|
|
1558
|
-
* This file was created by scripts/generate.js as part
|
|
1559
|
-
* of the build process. Do not edit this file directly.
|
|
1527
|
+
/******************************************************
|
|
1528
|
+
* This file was created by scripts/generate.js as part
|
|
1529
|
+
* of the build process. Do not edit this file directly.
|
|
1560
1530
|
******************************************************/
|
|
1561
1531
|
var iconType$j = {
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
var ExpandLessIcon = function ExpandLessIcon(props) {
|
|
1570
|
-
return renderIcon(props, iconType$j);
|
|
1532
|
+
viewBox: "0 -960 960 960",
|
|
1533
|
+
paths: [
|
|
1534
|
+
{
|
|
1535
|
+
d: "M480-529L324-373q-11 11-28 11t-28-11q-11-11-11-28t11-28l184-184q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l184 184q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-529z",
|
|
1536
|
+
},
|
|
1537
|
+
],
|
|
1538
|
+
circles: [],
|
|
1571
1539
|
};
|
|
1540
|
+
var ExpandLessIcon = function (props) { return renderIcon(props, iconType$j); };
|
|
1572
1541
|
|
|
1573
|
-
/******************************************************
|
|
1574
|
-
* This file was created by scripts/generate.js as part
|
|
1575
|
-
* of the build process. Do not edit this file directly.
|
|
1542
|
+
/******************************************************
|
|
1543
|
+
* This file was created by scripts/generate.js as part
|
|
1544
|
+
* of the build process. Do not edit this file directly.
|
|
1576
1545
|
******************************************************/
|
|
1577
1546
|
var iconType$i = {
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1547
|
+
viewBox: "0 0 24 24",
|
|
1548
|
+
paths: [
|
|
1549
|
+
{
|
|
1550
|
+
d: "M6.9191 2.2722a.9292.9292 0 011.3142 0l4.6469 4.647a.9292.9292 0 010 1.314.9249.9249 0 01-.6571.2724.9268.9268 0 01-.657-.2723L8.5055 5.1728v15.6749a.9291.9291 0 01-.9294.9294.9291.9291 0 01-.9294-.9294V5.1728L3.5863 8.2333a.9292.9292 0 01-1.3141 0 .9292.9292 0 010-1.3142zM16.4238 2a.9291.9291 0 01.9294.9294v15.6749l3.0605-3.0605a.9268.9268 0 01.657-.2723c.238 0 .4759.0906.6571.2723a.9292.9292 0 010 1.3142l-4.647 4.6469a.9292.9292 0 01-1.314 0l-4.647-4.647a.9292.9292 0 010-1.314.9292.9292 0 011.3142 0l3.0604 3.0604V2.9293A.9291.9291 0 0116.4238 2z",
|
|
1551
|
+
fillRule: "evenodd",
|
|
1552
|
+
},
|
|
1553
|
+
],
|
|
1554
|
+
circles: [],
|
|
1584
1555
|
};
|
|
1585
|
-
var SortDoubleArrowIcon = function
|
|
1586
|
-
|
|
1556
|
+
var SortDoubleArrowIcon = function (props) {
|
|
1557
|
+
return renderIcon(props, iconType$i);
|
|
1587
1558
|
};
|
|
1588
1559
|
|
|
1589
|
-
/******************************************************
|
|
1590
|
-
* This file was created by scripts/generate.js as part
|
|
1591
|
-
* of the build process. Do not edit this file directly.
|
|
1560
|
+
/******************************************************
|
|
1561
|
+
* This file was created by scripts/generate.js as part
|
|
1562
|
+
* of the build process. Do not edit this file directly.
|
|
1592
1563
|
******************************************************/
|
|
1593
1564
|
var iconType$h = {
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
var SouthIcon = function SouthIcon(props) {
|
|
1602
|
-
return renderIcon(props, iconType$h);
|
|
1565
|
+
viewBox: "0 -960 960 960",
|
|
1566
|
+
paths: [
|
|
1567
|
+
{
|
|
1568
|
+
d: "M480-97q-8 0-15-2.5t-13-8.5L228-332q-11-11-11-28t11-28q12-12 28.5-11.5T284-388l156 155v-607q0-17 11.5-28.5T480-880q17 0 28.5 11.5T520-840v607l155-155q12-12 28.5-12t28.5 12q11 12 11 28.5T732-332L508-108q-6 6-13 8.5T480-97z",
|
|
1569
|
+
},
|
|
1570
|
+
],
|
|
1571
|
+
circles: [],
|
|
1603
1572
|
};
|
|
1573
|
+
var SouthIcon = function (props) { return renderIcon(props, iconType$h); };
|
|
1604
1574
|
|
|
1605
|
-
/******************************************************
|
|
1606
|
-
* This file was created by scripts/generate.js as part
|
|
1607
|
-
* of the build process. Do not edit this file directly.
|
|
1575
|
+
/******************************************************
|
|
1576
|
+
* This file was created by scripts/generate.js as part
|
|
1577
|
+
* of the build process. Do not edit this file directly.
|
|
1608
1578
|
******************************************************/
|
|
1609
1579
|
var iconType$g = {
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
var NorthIcon = function NorthIcon(props) {
|
|
1618
|
-
return renderIcon(props, iconType$g);
|
|
1580
|
+
viewBox: "0 -960 960 960",
|
|
1581
|
+
paths: [
|
|
1582
|
+
{
|
|
1583
|
+
d: "M480-80q-17 0-28.5-11.5T440-120v-607L284-572q-11 11-27.5 11.5T228-572q-11-11-11-28t11-28l224-224q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l224 224q11 11 11 27.5T732-572q-12 12-28.5 12T675-572L520-727v607q0 17-11.5 28.5T480-80z",
|
|
1584
|
+
},
|
|
1585
|
+
],
|
|
1586
|
+
circles: [],
|
|
1619
1587
|
};
|
|
1588
|
+
var NorthIcon = function (props) { return renderIcon(props, iconType$g); };
|
|
1620
1589
|
|
|
1621
|
-
/******************************************************
|
|
1622
|
-
* This file was created by scripts/generate.js as part
|
|
1623
|
-
* of the build process. Do not edit this file directly.
|
|
1590
|
+
/******************************************************
|
|
1591
|
+
* This file was created by scripts/generate.js as part
|
|
1592
|
+
* of the build process. Do not edit this file directly.
|
|
1624
1593
|
******************************************************/
|
|
1625
1594
|
var iconType$f = {
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1595
|
+
viewBox: "0 -960 960 960",
|
|
1596
|
+
paths: [
|
|
1597
|
+
{
|
|
1598
|
+
d: "M459-381L314-526q-3-3-4.5-6.5T308-540q0-8 5.5-14t14.5-6h304q9 0 14.5 6t5.5 14q0 2-6 14L501-381q-5 5-10 7t-11 2q-6 0-11-2t-10-7z",
|
|
1599
|
+
},
|
|
1600
|
+
],
|
|
1601
|
+
circles: [],
|
|
1632
1602
|
};
|
|
1633
|
-
var ArrowDropDownIcon = function
|
|
1634
|
-
|
|
1603
|
+
var ArrowDropDownIcon = function (props) {
|
|
1604
|
+
return renderIcon(props, iconType$f);
|
|
1635
1605
|
};
|
|
1636
1606
|
|
|
1637
|
-
/******************************************************
|
|
1638
|
-
* This file was created by scripts/generate.js as part
|
|
1639
|
-
* of the build process. Do not edit this file directly.
|
|
1607
|
+
/******************************************************
|
|
1608
|
+
* This file was created by scripts/generate.js as part
|
|
1609
|
+
* of the build process. Do not edit this file directly.
|
|
1640
1610
|
******************************************************/
|
|
1641
1611
|
var iconType$e = {
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
};
|
|
1650
|
-
var ArrowLeftIcon = function ArrowLeftIcon(props) {
|
|
1651
|
-
return renderIcon(props, iconType$e);
|
|
1612
|
+
viewBox: "0 -960 960 960",
|
|
1613
|
+
paths: [
|
|
1614
|
+
{
|
|
1615
|
+
d: "M526-314L381-459q-5-5-7-10t-2-11q0-6 2-11t7-10l145-145q3-3 6.5-4.5t7.5-1.5q8 0 14 5.5t6 14.5v304q0 9-6 14.5t-14 5.5q-2 0-14-6z",
|
|
1616
|
+
},
|
|
1617
|
+
],
|
|
1618
|
+
circles: [],
|
|
1652
1619
|
};
|
|
1620
|
+
var ArrowLeftIcon = function (props) { return renderIcon(props, iconType$e); };
|
|
1653
1621
|
|
|
1654
|
-
/******************************************************
|
|
1655
|
-
* This file was created by scripts/generate.js as part
|
|
1656
|
-
* of the build process. Do not edit this file directly.
|
|
1622
|
+
/******************************************************
|
|
1623
|
+
* This file was created by scripts/generate.js as part
|
|
1624
|
+
* of the build process. Do not edit this file directly.
|
|
1657
1625
|
******************************************************/
|
|
1658
1626
|
var iconType$d = {
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
};
|
|
1667
|
-
var ArrowRightIcon = function ArrowRightIcon(props) {
|
|
1668
|
-
return renderIcon(props, iconType$d);
|
|
1627
|
+
viewBox: "0 -960 960 960",
|
|
1628
|
+
paths: [
|
|
1629
|
+
{
|
|
1630
|
+
d: "M420-308q-8 0-14-5.5t-6-14.5v-304q0-9 6-14.5t14-5.5q2 0 14 6l145 145q5 5 7 10t2 11q0 6-2 11t-7 10L434-314q-3 3-6.5 4.5T420-308z",
|
|
1631
|
+
},
|
|
1632
|
+
],
|
|
1633
|
+
circles: [],
|
|
1669
1634
|
};
|
|
1635
|
+
var ArrowRightIcon = function (props) { return renderIcon(props, iconType$d); };
|
|
1670
1636
|
|
|
1671
|
-
/******************************************************
|
|
1672
|
-
* This file was created by scripts/generate.js as part
|
|
1673
|
-
* of the build process. Do not edit this file directly.
|
|
1637
|
+
/******************************************************
|
|
1638
|
+
* This file was created by scripts/generate.js as part
|
|
1639
|
+
* of the build process. Do not edit this file directly.
|
|
1674
1640
|
******************************************************/
|
|
1675
1641
|
var iconType$c = {
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1642
|
+
viewBox: "0 -960 960 960",
|
|
1643
|
+
paths: [
|
|
1644
|
+
{
|
|
1645
|
+
d: "M328-400q-9 0-14.5-6t-5.5-14q0-2 6-14l145-145q5-5 10-7t11-2q6 0 11 2t10 7l145 145q3 3 4.5 6.5t1.5 7.5q0 8-5.5 14t-14.5 6H328z",
|
|
1646
|
+
},
|
|
1647
|
+
],
|
|
1648
|
+
circles: [],
|
|
1683
1649
|
};
|
|
1684
|
-
var ArrowDropUpIcon = function
|
|
1685
|
-
|
|
1650
|
+
var ArrowDropUpIcon = function (props) {
|
|
1651
|
+
return renderIcon(props, iconType$c);
|
|
1686
1652
|
};
|
|
1687
1653
|
|
|
1688
|
-
/******************************************************
|
|
1689
|
-
* This file was created by scripts/generate.js as part
|
|
1690
|
-
* of the build process. Do not edit this file directly.
|
|
1654
|
+
/******************************************************
|
|
1655
|
+
* This file was created by scripts/generate.js as part
|
|
1656
|
+
* of the build process. Do not edit this file directly.
|
|
1691
1657
|
******************************************************/
|
|
1692
1658
|
var iconType$b = {
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
var CloseIcon = function CloseIcon(props) {
|
|
1701
|
-
return renderIcon(props, iconType$b);
|
|
1659
|
+
viewBox: "0 -960 960 960",
|
|
1660
|
+
paths: [
|
|
1661
|
+
{
|
|
1662
|
+
d: "M480-424L284-228q-11 11-28 11t-28-11q-11-11-11-28t11-28l196-196-196-196q-11-11-11-28t11-28q11-11 28-11t28 11l196 196 196-196q11-11 28-11t28 11q11 11 11 28t-11 28L536-480l196 196q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-424z",
|
|
1663
|
+
},
|
|
1664
|
+
],
|
|
1665
|
+
circles: [],
|
|
1702
1666
|
};
|
|
1667
|
+
var CloseIcon = function (props) { return renderIcon(props, iconType$b); };
|
|
1703
1668
|
|
|
1704
|
-
/******************************************************
|
|
1705
|
-
* This file was created by scripts/generate.js as part
|
|
1706
|
-
* of the build process. Do not edit this file directly.
|
|
1669
|
+
/******************************************************
|
|
1670
|
+
* This file was created by scripts/generate.js as part
|
|
1671
|
+
* of the build process. Do not edit this file directly.
|
|
1707
1672
|
******************************************************/
|
|
1708
1673
|
var iconType$a = {
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
var ErrorIcon = function ErrorIcon(props) {
|
|
1717
|
-
return renderIcon(props, iconType$a);
|
|
1674
|
+
viewBox: "0 -960 960 960",
|
|
1675
|
+
paths: [
|
|
1676
|
+
{
|
|
1677
|
+
d: "M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280zm0-160q17 0 28.5-11.5T520-480v-160q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640v160q0 17 11.5 28.5T480-440zm0 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80z",
|
|
1678
|
+
},
|
|
1679
|
+
],
|
|
1680
|
+
circles: [],
|
|
1718
1681
|
};
|
|
1682
|
+
var ErrorIcon = function (props) { return renderIcon(props, iconType$a); };
|
|
1719
1683
|
|
|
1720
|
-
/******************************************************
|
|
1721
|
-
* This file was created by scripts/generate.js as part
|
|
1722
|
-
* of the build process. Do not edit this file directly.
|
|
1684
|
+
/******************************************************
|
|
1685
|
+
* This file was created by scripts/generate.js as part
|
|
1686
|
+
* of the build process. Do not edit this file directly.
|
|
1723
1687
|
******************************************************/
|
|
1724
1688
|
var iconType$9 = {
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1689
|
+
viewBox: "0 -960 960 960",
|
|
1690
|
+
paths: [
|
|
1691
|
+
{
|
|
1692
|
+
d: "M432-480l156 156q11 11 11 28t-11 28q-11 11-28 11t-28-11L348-452q-6-6-8.5-13t-2.5-15q0-8 2.5-15t8.5-13l184-184q11-11 28-11t28 11q11 11 11 28t-11 28L432-480z",
|
|
1693
|
+
},
|
|
1694
|
+
],
|
|
1695
|
+
circles: [],
|
|
1731
1696
|
};
|
|
1732
|
-
var ChevronLeftIcon = function
|
|
1733
|
-
|
|
1697
|
+
var ChevronLeftIcon = function (props) {
|
|
1698
|
+
return renderIcon(props, iconType$9);
|
|
1734
1699
|
};
|
|
1735
1700
|
|
|
1736
|
-
/******************************************************
|
|
1737
|
-
* This file was created by scripts/generate.js as part
|
|
1738
|
-
* of the build process. Do not edit this file directly.
|
|
1701
|
+
/******************************************************
|
|
1702
|
+
* This file was created by scripts/generate.js as part
|
|
1703
|
+
* of the build process. Do not edit this file directly.
|
|
1739
1704
|
******************************************************/
|
|
1740
1705
|
var iconType$8 = {
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1706
|
+
viewBox: "0 -960 960 960",
|
|
1707
|
+
paths: [
|
|
1708
|
+
{
|
|
1709
|
+
d: "M504-480L348-636q-11-11-11-28t11-28q11-11 28-11t28 11l184 184q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L404-268q-11 11-28 11t-28-11q-11-11-11-28t11-28l156-156z",
|
|
1710
|
+
},
|
|
1711
|
+
],
|
|
1712
|
+
circles: [],
|
|
1747
1713
|
};
|
|
1748
|
-
var ChevronRightIcon = function
|
|
1749
|
-
|
|
1714
|
+
var ChevronRightIcon = function (props) {
|
|
1715
|
+
return renderIcon(props, iconType$8);
|
|
1750
1716
|
};
|
|
1751
1717
|
|
|
1752
|
-
/******************************************************
|
|
1753
|
-
* This file was created by scripts/generate.js as part
|
|
1754
|
-
* of the build process. Do not edit this file directly.
|
|
1718
|
+
/******************************************************
|
|
1719
|
+
* This file was created by scripts/generate.js as part
|
|
1720
|
+
* of the build process. Do not edit this file directly.
|
|
1755
1721
|
******************************************************/
|
|
1756
1722
|
var iconType$7 = {
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
return renderIcon(props, iconType$7);
|
|
1723
|
+
viewBox: "0 -960 960 960",
|
|
1724
|
+
paths: [
|
|
1725
|
+
{
|
|
1726
|
+
d: "M120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200q-33 0-56.5-23.5T120-200zm80-400h560v-160H200v160zm213 200h134v-120H413v120zm0 200h134v-120H413v120zM200-400h133v-120H200v120zm427 0h133v-120H627v120zM200-200h133v-120H200v120zm427 0h133v-120H627v120z",
|
|
1727
|
+
},
|
|
1728
|
+
],
|
|
1729
|
+
circles: [],
|
|
1765
1730
|
};
|
|
1731
|
+
var TableIcon = function (props) { return renderIcon(props, iconType$7); };
|
|
1766
1732
|
|
|
1767
|
-
/******************************************************
|
|
1768
|
-
* This file was created by scripts/generate.js as part
|
|
1769
|
-
* of the build process. Do not edit this file directly.
|
|
1733
|
+
/******************************************************
|
|
1734
|
+
* This file was created by scripts/generate.js as part
|
|
1735
|
+
* of the build process. Do not edit this file directly.
|
|
1770
1736
|
******************************************************/
|
|
1771
1737
|
var iconType$6 = {
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
var CheckIcon = function CheckIcon(props) {
|
|
1780
|
-
return renderIcon(props, iconType$6);
|
|
1738
|
+
viewBox: "0 -960 960 960",
|
|
1739
|
+
paths: [
|
|
1740
|
+
{
|
|
1741
|
+
d: "M424-424l-86-86q-11-11-28-11t-28 11q-11 11-11 28t11 28l114 114q12 12 28 12t28-12l226-226q11-11 11-28t-11-28q-11-11-28-11t-28 11L424-424zM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200z",
|
|
1742
|
+
},
|
|
1743
|
+
],
|
|
1744
|
+
circles: [],
|
|
1781
1745
|
};
|
|
1746
|
+
var CheckBoxIcon = function (props) { return renderIcon(props, iconType$6); };
|
|
1782
1747
|
|
|
1783
|
-
/******************************************************
|
|
1784
|
-
* This file was created by scripts/generate.js as part
|
|
1785
|
-
* of the build process. Do not edit this file directly.
|
|
1748
|
+
/******************************************************
|
|
1749
|
+
* This file was created by scripts/generate.js as part
|
|
1750
|
+
* of the build process. Do not edit this file directly.
|
|
1786
1751
|
******************************************************/
|
|
1787
1752
|
var iconType$5 = {
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1753
|
+
viewBox: "0 -960 960 960",
|
|
1754
|
+
paths: [
|
|
1755
|
+
{
|
|
1756
|
+
d: "M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200zm0-80h560v-560H200v560z",
|
|
1757
|
+
},
|
|
1758
|
+
],
|
|
1759
|
+
circles: [],
|
|
1794
1760
|
};
|
|
1795
|
-
var
|
|
1796
|
-
|
|
1761
|
+
var CheckBoxOutlineBlankIcon = function (props) {
|
|
1762
|
+
return renderIcon(props, iconType$5);
|
|
1797
1763
|
};
|
|
1798
1764
|
|
|
1799
|
-
/******************************************************
|
|
1800
|
-
* This file was created by scripts/generate.js as part
|
|
1801
|
-
* of the build process. Do not edit this file directly.
|
|
1765
|
+
/******************************************************
|
|
1766
|
+
* This file was created by scripts/generate.js as part
|
|
1767
|
+
* of the build process. Do not edit this file directly.
|
|
1802
1768
|
******************************************************/
|
|
1803
1769
|
var iconType$4 = {
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
var FullscreenExitIcon = function FullscreenExitIcon(props) {
|
|
1812
|
-
return renderIcon(props, iconType$4);
|
|
1770
|
+
viewBox: "0 -960 960 960",
|
|
1771
|
+
paths: [
|
|
1772
|
+
{
|
|
1773
|
+
d: "M382-354l339-339q12-12 28-12t28 12q12 12 12 28.5T777-636L410-268q-12 12-28 12t-28-12L182-440q-12-12-11.5-28.5T183-497q12-12 28.5-12t28.5 12l142 143z",
|
|
1774
|
+
},
|
|
1775
|
+
],
|
|
1776
|
+
circles: [],
|
|
1813
1777
|
};
|
|
1778
|
+
var CheckIcon = function (props) { return renderIcon(props, iconType$4); };
|
|
1814
1779
|
|
|
1815
|
-
/******************************************************
|
|
1816
|
-
* This file was created by scripts/generate.js as part
|
|
1817
|
-
* of the build process. Do not edit this file directly.
|
|
1780
|
+
/******************************************************
|
|
1781
|
+
* This file was created by scripts/generate.js as part
|
|
1782
|
+
* of the build process. Do not edit this file directly.
|
|
1818
1783
|
******************************************************/
|
|
1819
1784
|
var iconType$3 = {
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1785
|
+
viewBox: "0 -960 960 960",
|
|
1786
|
+
paths: [
|
|
1787
|
+
{
|
|
1788
|
+
d: "M240-240h-80q-17 0-28.5-11.5T120-280q0-17 11.5-28.5T160-320h120q17 0 28.5 11.5T320-280v120q0 17-11.5 28.5T280-120q-17 0-28.5-11.5T240-160v-80zm480 0v80q0 17-11.5 28.5T680-120q-17 0-28.5-11.5T640-160v-120q0-17 11.5-28.5T680-320h120q17 0 28.5 11.5T840-280q0 17-11.5 28.5T800-240h-80zM240-720v-80q0-17 11.5-28.5T280-840q17 0 28.5 11.5T320-800v120q0 17-11.5 28.5T280-640H160q-17 0-28.5-11.5T120-680q0-17 11.5-28.5T160-720h80zm480 0h80q17 0 28.5 11.5T840-680q0 17-11.5 28.5T800-640H680q-17 0-28.5-11.5T640-680v-120q0-17 11.5-28.5T680-840q17 0 28.5 11.5T720-800v80z",
|
|
1789
|
+
},
|
|
1790
|
+
],
|
|
1791
|
+
circles: [],
|
|
1826
1792
|
};
|
|
1827
|
-
var
|
|
1828
|
-
|
|
1793
|
+
var FullscreenExitIcon = function (props) {
|
|
1794
|
+
return renderIcon(props, iconType$3);
|
|
1829
1795
|
};
|
|
1830
1796
|
|
|
1831
|
-
/******************************************************
|
|
1832
|
-
* This file was created by scripts/generate.js as part
|
|
1833
|
-
* of the build process. Do not edit this file directly.
|
|
1797
|
+
/******************************************************
|
|
1798
|
+
* This file was created by scripts/generate.js as part
|
|
1799
|
+
* of the build process. Do not edit this file directly.
|
|
1834
1800
|
******************************************************/
|
|
1835
1801
|
var iconType$2 = {
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
var CheckBoxIcon = function CheckBoxIcon(props) {
|
|
1844
|
-
return renderIcon(props, iconType$2);
|
|
1802
|
+
viewBox: "0 -960 960 960",
|
|
1803
|
+
paths: [
|
|
1804
|
+
{
|
|
1805
|
+
d: "M200-200h80q17 0 28.5 11.5T320-160q0 17-11.5 28.5T280-120H160q-17 0-28.5-11.5T120-160v-120q0-17 11.5-28.5T160-320q17 0 28.5 11.5T200-280v80zm560 0v-80q0-17 11.5-28.5T800-320q17 0 28.5 11.5T840-280v120q0 17-11.5 28.5T800-120H680q-17 0-28.5-11.5T640-160q0-17 11.5-28.5T680-200h80zM200-760v80q0 17-11.5 28.5T160-640q-17 0-28.5-11.5T120-680v-120q0-17 11.5-28.5T160-840h120q17 0 28.5 11.5T320-800q0 17-11.5 28.5T280-760h-80zm560 0h-80q-17 0-28.5-11.5T640-800q0-17 11.5-28.5T680-840h120q17 0 28.5 11.5T840-800v120q0 17-11.5 28.5T800-640q-17 0-28.5-11.5T760-680v-80z",
|
|
1806
|
+
},
|
|
1807
|
+
],
|
|
1808
|
+
circles: [],
|
|
1845
1809
|
};
|
|
1810
|
+
var FullscreenIcon = function (props) { return renderIcon(props, iconType$2); };
|
|
1846
1811
|
|
|
1847
|
-
/******************************************************
|
|
1848
|
-
* This file was created by scripts/generate.js as part
|
|
1849
|
-
* of the build process. Do not edit this file directly.
|
|
1812
|
+
/******************************************************
|
|
1813
|
+
* This file was created by scripts/generate.js as part
|
|
1814
|
+
* of the build process. Do not edit this file directly.
|
|
1850
1815
|
******************************************************/
|
|
1851
1816
|
var iconType$1 = {
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1817
|
+
viewBox: "0 -960 960 960",
|
|
1818
|
+
paths: [
|
|
1819
|
+
{
|
|
1820
|
+
d: "M320-440h320q17 0 28.5-11.5T680-480q0-17-11.5-28.5T640-520H320q-17 0-28.5 11.5T280-480q0 17 11.5 28.5T320-440zM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200z",
|
|
1821
|
+
},
|
|
1822
|
+
],
|
|
1823
|
+
circles: [],
|
|
1858
1824
|
};
|
|
1859
|
-
var
|
|
1860
|
-
|
|
1825
|
+
var IndeterminateCheckBoxIcon = function (props) {
|
|
1826
|
+
return renderIcon(props, iconType$1);
|
|
1861
1827
|
};
|
|
1862
1828
|
|
|
1863
|
-
/******************************************************
|
|
1864
|
-
* This file was created by scripts/generate.js as part
|
|
1865
|
-
* of the build process. Do not edit this file directly.
|
|
1829
|
+
/******************************************************
|
|
1830
|
+
* This file was created by scripts/generate.js as part
|
|
1831
|
+
* of the build process. Do not edit this file directly.
|
|
1866
1832
|
******************************************************/
|
|
1867
1833
|
var iconType = {
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
var IndeterminateCheckBoxIcon = function IndeterminateCheckBoxIcon(props) {
|
|
1876
|
-
return renderIcon(props, iconType);
|
|
1834
|
+
viewBox: "0 -960 960 960",
|
|
1835
|
+
paths: [
|
|
1836
|
+
{
|
|
1837
|
+
d: "M480-160q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160zm0-240q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400zm0-240q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640z",
|
|
1838
|
+
},
|
|
1839
|
+
],
|
|
1840
|
+
circles: [],
|
|
1877
1841
|
};
|
|
1842
|
+
var MoreVertIcon = function (props) { return renderIcon(props, iconType); };
|
|
1878
1843
|
|
|
1879
1844
|
var jsxRuntime = {exports: {}};
|
|
1880
1845
|
|
|
@@ -31402,7 +31367,7 @@
|
|
|
31402
31367
|
React__default__namespace.createElement(ChartMoreOptionsButton, { icon: React__default__namespace.createElement(MoreVertIcon, { size: 20 }), isInverse: isInverse }, moreOptionsContent))));
|
|
31403
31368
|
}
|
|
31404
31369
|
var CarbonChart = React__default__namespace.forwardRef(function (props, ref) {
|
|
31405
|
-
var testId = props.testId, isInverseProp = props.isInverse, type = props.type, dataSet = props.dataSet, options = props.options, additionalContent = props.additionalContent, ariaLabel = props.ariaLabel, chartToolbar = props.chartToolbar, rest = __rest(props, ["testId", "isInverse", "type", "dataSet", "options", "additionalContent", "ariaLabel", "chartToolbar"]);
|
|
31370
|
+
var testId = props.testId, isInverseProp = props.isInverse, type = props.type, dataSet = props.dataSet, options = props.options, additionalContent = props.additionalContent, ariaLabel = props.ariaLabel, chartToolbar = props.chartToolbar, rest = __rest$1(props, ["testId", "isInverse", "type", "dataSet", "options", "additionalContent", "ariaLabel", "chartToolbar"]);
|
|
31406
31371
|
var theme = React__default__namespace.useContext(ThemeContext);
|
|
31407
31372
|
var isInverse = useIsInverse(isInverseProp);
|
|
31408
31373
|
var toolbarI18n = useChartToolbarI18n();
|
|
@@ -31627,12 +31592,12 @@
|
|
|
31627
31592
|
theme.chartColorsInverse,
|
|
31628
31593
|
isInverse,
|
|
31629
31594
|
]);
|
|
31630
|
-
var newOptions = __assign(__assign(__assign({}, options), { theme: isInverse ? ChartTheme.G100 : ChartTheme.WHITE, color: {
|
|
31595
|
+
var newOptions = __assign$1(__assign$1(__assign$1({}, options), { theme: isInverse ? ChartTheme.G100 : ChartTheme.WHITE, color: {
|
|
31631
31596
|
scale: colorScale,
|
|
31632
|
-
}, tooltip: __assign(__assign({}, ((options === null || options === void 0 ? void 0 : options.tooltip) || {})), { truncation: {
|
|
31597
|
+
}, tooltip: __assign$1(__assign$1({}, ((options === null || options === void 0 ? void 0 : options.tooltip) || {})), { truncation: {
|
|
31633
31598
|
type: 'none',
|
|
31634
31599
|
} }) }), (chartToolbar
|
|
31635
|
-
? __assign({ toolbar: { enabled: false }, title: chartTitle }, (options.fileDownload
|
|
31600
|
+
? __assign$1({ toolbar: { enabled: false }, title: chartTitle }, (options.fileDownload
|
|
31636
31601
|
? {}
|
|
31637
31602
|
: { fileDownload: { fileName: chartTitle } })) : {}));
|
|
31638
31603
|
var ChartType = ALL_CHARTS[type];
|
|
@@ -31827,7 +31792,7 @@
|
|
|
31827
31792
|
React__default__namespace.createElement(Announce, null, legendAnnouncement)),
|
|
31828
31793
|
React__default__namespace.createElement(VisuallyHidden, null,
|
|
31829
31794
|
React__default__namespace.createElement("div", { "aria-live": "polite", ref: legendGroupAnnounceRef })),
|
|
31830
|
-
React__default__namespace.createElement(CarbonChartWrapper, __assign({ "data-testid": testId, isInverse: isInverse, theme: theme, className: "carbon-chart-wrapper".concat(chartToolbar ? ' has-magma-toolbar' : ''), groupsLength: groupsLength < 6 ? groupsLength : 14, role: "region", "aria-label": ariaLabel || chartTitle, "aria-roledescription": "chart" }, rest),
|
|
31795
|
+
React__default__namespace.createElement(CarbonChartWrapper, __assign$1({ "data-testid": testId, isInverse: isInverse, theme: theme, className: "carbon-chart-wrapper".concat(chartToolbar ? ' has-magma-toolbar' : ''), groupsLength: groupsLength < 6 ? groupsLength : 14, role: "region", "aria-label": ariaLabel || chartTitle, "aria-roledescription": "chart" }, rest),
|
|
31831
31796
|
React__default__namespace.createElement(ChartContentWrapper, { className: "carbon-chart-content" },
|
|
31832
31797
|
chartToolbar && (
|
|
31833
31798
|
/*
|