victory-polar-axis 36.1.0 → 36.3.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.
|
@@ -538,7 +538,9 @@ var options = {
|
|
|
538
538
|
}]
|
|
539
539
|
};
|
|
540
540
|
|
|
541
|
-
var VictoryPolarAxis =
|
|
541
|
+
var VictoryPolarAxis =
|
|
542
|
+
/*#__PURE__*/
|
|
543
|
+
function (_React$Component) {
|
|
542
544
|
_inherits(VictoryPolarAxis, _React$Component);
|
|
543
545
|
|
|
544
546
|
function VictoryPolarAxis() {
|
|
@@ -727,22 +729,22 @@ Object.defineProperty(VictoryPolarAxis, "defaultProps", {
|
|
|
727
729
|
enumerable: true,
|
|
728
730
|
writable: true,
|
|
729
731
|
value: {
|
|
730
|
-
axisComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_7__
|
|
731
|
-
axisLabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_8__
|
|
732
|
-
circularAxisComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_9__
|
|
733
|
-
circularGridComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_9__
|
|
734
|
-
containerComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_10__
|
|
732
|
+
axisComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_7__["default"], null),
|
|
733
|
+
axisLabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_8__["default"], null),
|
|
734
|
+
circularAxisComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_9__["default"], null),
|
|
735
|
+
circularGridComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_9__["default"], null),
|
|
736
|
+
containerComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_10__["default"], null),
|
|
735
737
|
endAngle: 360,
|
|
736
|
-
gridComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_7__
|
|
738
|
+
gridComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_7__["default"], null),
|
|
737
739
|
groupComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement("g", {
|
|
738
740
|
role: "presentation"
|
|
739
741
|
}),
|
|
740
742
|
labelPlacement: "parallel",
|
|
741
743
|
startAngle: 0,
|
|
742
744
|
standalone: true,
|
|
743
|
-
theme: victory_core__WEBPACK_IMPORTED_MODULE_11__
|
|
744
|
-
tickComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_7__
|
|
745
|
-
tickLabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_8__
|
|
745
|
+
theme: victory_core__WEBPACK_IMPORTED_MODULE_11__["default"].grayscale,
|
|
746
|
+
tickComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_7__["default"], null),
|
|
747
|
+
tickLabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_8__["default"], null)
|
|
746
748
|
}
|
|
747
749
|
});
|
|
748
750
|
Object.defineProperty(VictoryPolarAxis, "getDomain", {
|
|
@@ -785,7 +787,7 @@ Object.defineProperty(VictoryPolarAxis, "expectedComponents", {
|
|
|
785
787
|
writable: true,
|
|
786
788
|
value: ["axisComponent", "circularAxisComponent", "groupComponent", "containerComponent", "tickComponent", "tickLabelComponent", "gridComponent", "circularGridComponent"]
|
|
787
789
|
});
|
|
788
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,victory_core__WEBPACK_IMPORTED_MODULE_13__
|
|
790
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,victory_core__WEBPACK_IMPORTED_MODULE_13__["default"])(VictoryPolarAxis, options));
|
|
789
791
|
|
|
790
792
|
/***/ }),
|
|
791
793
|
|
|
@@ -845,7 +847,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
845
847
|
|
|
846
848
|
|
|
847
849
|
|
|
848
|
-
var ascendingBisect = (0,_bisector__WEBPACK_IMPORTED_MODULE_1__
|
|
850
|
+
var ascendingBisect = (0,_bisector__WEBPACK_IMPORTED_MODULE_1__["default"])(_ascending__WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
849
851
|
var bisectRight = ascendingBisect.right;
|
|
850
852
|
var bisectLeft = ascendingBisect.left;
|
|
851
853
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (bisectRight);
|
|
@@ -895,7 +897,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
895
897
|
|
|
896
898
|
function ascendingComparator(f) {
|
|
897
899
|
return function(d, x) {
|
|
898
|
-
return (0,_ascending__WEBPACK_IMPORTED_MODULE_0__
|
|
900
|
+
return (0,_ascending__WEBPACK_IMPORTED_MODULE_0__["default"])(f(d), x);
|
|
899
901
|
};
|
|
900
902
|
}
|
|
901
903
|
|
|
@@ -992,7 +994,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
992
994
|
|
|
993
995
|
|
|
994
996
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(array, f) {
|
|
995
|
-
var v = (0,_variance__WEBPACK_IMPORTED_MODULE_0__
|
|
997
|
+
var v = (0,_variance__WEBPACK_IMPORTED_MODULE_0__["default"])(array, f);
|
|
996
998
|
return v ? Math.sqrt(v) : v;
|
|
997
999
|
}
|
|
998
1000
|
|
|
@@ -1080,9 +1082,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1080
1082
|
|
|
1081
1083
|
|
|
1082
1084
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {
|
|
1083
|
-
var value = _identity__WEBPACK_IMPORTED_MODULE_4__
|
|
1084
|
-
domain = _extent__WEBPACK_IMPORTED_MODULE_3__
|
|
1085
|
-
threshold = _threshold_sturges__WEBPACK_IMPORTED_MODULE_7__
|
|
1085
|
+
var value = _identity__WEBPACK_IMPORTED_MODULE_4__["default"],
|
|
1086
|
+
domain = _extent__WEBPACK_IMPORTED_MODULE_3__["default"],
|
|
1087
|
+
threshold = _threshold_sturges__WEBPACK_IMPORTED_MODULE_7__["default"];
|
|
1086
1088
|
|
|
1087
1089
|
function histogram(data) {
|
|
1088
1090
|
var i,
|
|
@@ -1102,7 +1104,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1102
1104
|
// Convert number of thresholds into uniform thresholds.
|
|
1103
1105
|
if (!Array.isArray(tz)) {
|
|
1104
1106
|
tz = (0,_ticks__WEBPACK_IMPORTED_MODULE_6__.tickStep)(x0, x1, tz);
|
|
1105
|
-
tz = (0,_range__WEBPACK_IMPORTED_MODULE_5__
|
|
1107
|
+
tz = (0,_range__WEBPACK_IMPORTED_MODULE_5__["default"])(Math.ceil(x0 / tz) * tz, x1, tz); // exclusive
|
|
1106
1108
|
}
|
|
1107
1109
|
|
|
1108
1110
|
// Remove any thresholds outside the domain.
|
|
@@ -1124,7 +1126,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1124
1126
|
for (i = 0; i < n; ++i) {
|
|
1125
1127
|
x = values[i];
|
|
1126
1128
|
if (x0 <= x && x <= x1) {
|
|
1127
|
-
bins[(0,_bisect__WEBPACK_IMPORTED_MODULE_1__
|
|
1129
|
+
bins[(0,_bisect__WEBPACK_IMPORTED_MODULE_1__["default"])(tz, x, 0, m)].push(data[i]);
|
|
1128
1130
|
}
|
|
1129
1131
|
}
|
|
1130
1132
|
|
|
@@ -1132,15 +1134,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1132
1134
|
}
|
|
1133
1135
|
|
|
1134
1136
|
histogram.value = function(_) {
|
|
1135
|
-
return arguments.length ? (value = typeof _ === "function" ? _ : (0,_constant__WEBPACK_IMPORTED_MODULE_2__
|
|
1137
|
+
return arguments.length ? (value = typeof _ === "function" ? _ : (0,_constant__WEBPACK_IMPORTED_MODULE_2__["default"])(_), histogram) : value;
|
|
1136
1138
|
};
|
|
1137
1139
|
|
|
1138
1140
|
histogram.domain = function(_) {
|
|
1139
|
-
return arguments.length ? (domain = typeof _ === "function" ? _ : (0,_constant__WEBPACK_IMPORTED_MODULE_2__
|
|
1141
|
+
return arguments.length ? (domain = typeof _ === "function" ? _ : (0,_constant__WEBPACK_IMPORTED_MODULE_2__["default"])([_[0], _[1]]), histogram) : domain;
|
|
1140
1142
|
};
|
|
1141
1143
|
|
|
1142
1144
|
histogram.thresholds = function(_) {
|
|
1143
|
-
return arguments.length ? (threshold = typeof _ === "function" ? _ : Array.isArray(_) ? (0,_constant__WEBPACK_IMPORTED_MODULE_2__
|
|
1145
|
+
return arguments.length ? (threshold = typeof _ === "function" ? _ : Array.isArray(_) ? (0,_constant__WEBPACK_IMPORTED_MODULE_2__["default"])(_array__WEBPACK_IMPORTED_MODULE_0__.slice.call(_)) : (0,_constant__WEBPACK_IMPORTED_MODULE_2__["default"])(_), histogram) : threshold;
|
|
1144
1146
|
};
|
|
1145
1147
|
|
|
1146
1148
|
return histogram;
|
|
@@ -1176,37 +1178,37 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1176
1178
|
"use strict";
|
|
1177
1179
|
__webpack_require__.r(__webpack_exports__);
|
|
1178
1180
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1179
|
-
/* harmony export */ "bisect": () => (/* reexport safe */ _bisect__WEBPACK_IMPORTED_MODULE_0__
|
|
1181
|
+
/* harmony export */ "bisect": () => (/* reexport safe */ _bisect__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
1180
1182
|
/* harmony export */ "bisectRight": () => (/* reexport safe */ _bisect__WEBPACK_IMPORTED_MODULE_0__.bisectRight),
|
|
1181
1183
|
/* harmony export */ "bisectLeft": () => (/* reexport safe */ _bisect__WEBPACK_IMPORTED_MODULE_0__.bisectLeft),
|
|
1182
|
-
/* harmony export */ "ascending": () => (/* reexport safe */ _ascending__WEBPACK_IMPORTED_MODULE_1__
|
|
1183
|
-
/* harmony export */ "bisector": () => (/* reexport safe */ _bisector__WEBPACK_IMPORTED_MODULE_2__
|
|
1184
|
-
/* harmony export */ "cross": () => (/* reexport safe */ _cross__WEBPACK_IMPORTED_MODULE_3__
|
|
1185
|
-
/* harmony export */ "descending": () => (/* reexport safe */ _descending__WEBPACK_IMPORTED_MODULE_4__
|
|
1186
|
-
/* harmony export */ "deviation": () => (/* reexport safe */ _deviation__WEBPACK_IMPORTED_MODULE_5__
|
|
1187
|
-
/* harmony export */ "extent": () => (/* reexport safe */ _extent__WEBPACK_IMPORTED_MODULE_6__
|
|
1188
|
-
/* harmony export */ "histogram": () => (/* reexport safe */ _histogram__WEBPACK_IMPORTED_MODULE_7__
|
|
1189
|
-
/* harmony export */ "thresholdFreedmanDiaconis": () => (/* reexport safe */ _threshold_freedmanDiaconis__WEBPACK_IMPORTED_MODULE_8__
|
|
1190
|
-
/* harmony export */ "thresholdScott": () => (/* reexport safe */ _threshold_scott__WEBPACK_IMPORTED_MODULE_9__
|
|
1191
|
-
/* harmony export */ "thresholdSturges": () => (/* reexport safe */ _threshold_sturges__WEBPACK_IMPORTED_MODULE_10__
|
|
1192
|
-
/* harmony export */ "max": () => (/* reexport safe */ _max__WEBPACK_IMPORTED_MODULE_11__
|
|
1193
|
-
/* harmony export */ "mean": () => (/* reexport safe */ _mean__WEBPACK_IMPORTED_MODULE_12__
|
|
1194
|
-
/* harmony export */ "median": () => (/* reexport safe */ _median__WEBPACK_IMPORTED_MODULE_13__
|
|
1195
|
-
/* harmony export */ "merge": () => (/* reexport safe */ _merge__WEBPACK_IMPORTED_MODULE_14__
|
|
1196
|
-
/* harmony export */ "min": () => (/* reexport safe */ _min__WEBPACK_IMPORTED_MODULE_15__
|
|
1197
|
-
/* harmony export */ "pairs": () => (/* reexport safe */ _pairs__WEBPACK_IMPORTED_MODULE_16__
|
|
1198
|
-
/* harmony export */ "permute": () => (/* reexport safe */ _permute__WEBPACK_IMPORTED_MODULE_17__
|
|
1199
|
-
/* harmony export */ "quantile": () => (/* reexport safe */ _quantile__WEBPACK_IMPORTED_MODULE_18__
|
|
1200
|
-
/* harmony export */ "range": () => (/* reexport safe */ _range__WEBPACK_IMPORTED_MODULE_19__
|
|
1201
|
-
/* harmony export */ "scan": () => (/* reexport safe */ _scan__WEBPACK_IMPORTED_MODULE_20__
|
|
1202
|
-
/* harmony export */ "shuffle": () => (/* reexport safe */ _shuffle__WEBPACK_IMPORTED_MODULE_21__
|
|
1203
|
-
/* harmony export */ "sum": () => (/* reexport safe */ _sum__WEBPACK_IMPORTED_MODULE_22__
|
|
1204
|
-
/* harmony export */ "ticks": () => (/* reexport safe */ _ticks__WEBPACK_IMPORTED_MODULE_23__
|
|
1184
|
+
/* harmony export */ "ascending": () => (/* reexport safe */ _ascending__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
1185
|
+
/* harmony export */ "bisector": () => (/* reexport safe */ _bisector__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
1186
|
+
/* harmony export */ "cross": () => (/* reexport safe */ _cross__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
1187
|
+
/* harmony export */ "descending": () => (/* reexport safe */ _descending__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
1188
|
+
/* harmony export */ "deviation": () => (/* reexport safe */ _deviation__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
1189
|
+
/* harmony export */ "extent": () => (/* reexport safe */ _extent__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
1190
|
+
/* harmony export */ "histogram": () => (/* reexport safe */ _histogram__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
1191
|
+
/* harmony export */ "thresholdFreedmanDiaconis": () => (/* reexport safe */ _threshold_freedmanDiaconis__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
|
1192
|
+
/* harmony export */ "thresholdScott": () => (/* reexport safe */ _threshold_scott__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
|
1193
|
+
/* harmony export */ "thresholdSturges": () => (/* reexport safe */ _threshold_sturges__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
|
1194
|
+
/* harmony export */ "max": () => (/* reexport safe */ _max__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
1195
|
+
/* harmony export */ "mean": () => (/* reexport safe */ _mean__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
1196
|
+
/* harmony export */ "median": () => (/* reexport safe */ _median__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
|
1197
|
+
/* harmony export */ "merge": () => (/* reexport safe */ _merge__WEBPACK_IMPORTED_MODULE_14__["default"]),
|
|
1198
|
+
/* harmony export */ "min": () => (/* reexport safe */ _min__WEBPACK_IMPORTED_MODULE_15__["default"]),
|
|
1199
|
+
/* harmony export */ "pairs": () => (/* reexport safe */ _pairs__WEBPACK_IMPORTED_MODULE_16__["default"]),
|
|
1200
|
+
/* harmony export */ "permute": () => (/* reexport safe */ _permute__WEBPACK_IMPORTED_MODULE_17__["default"]),
|
|
1201
|
+
/* harmony export */ "quantile": () => (/* reexport safe */ _quantile__WEBPACK_IMPORTED_MODULE_18__["default"]),
|
|
1202
|
+
/* harmony export */ "range": () => (/* reexport safe */ _range__WEBPACK_IMPORTED_MODULE_19__["default"]),
|
|
1203
|
+
/* harmony export */ "scan": () => (/* reexport safe */ _scan__WEBPACK_IMPORTED_MODULE_20__["default"]),
|
|
1204
|
+
/* harmony export */ "shuffle": () => (/* reexport safe */ _shuffle__WEBPACK_IMPORTED_MODULE_21__["default"]),
|
|
1205
|
+
/* harmony export */ "sum": () => (/* reexport safe */ _sum__WEBPACK_IMPORTED_MODULE_22__["default"]),
|
|
1206
|
+
/* harmony export */ "ticks": () => (/* reexport safe */ _ticks__WEBPACK_IMPORTED_MODULE_23__["default"]),
|
|
1205
1207
|
/* harmony export */ "tickIncrement": () => (/* reexport safe */ _ticks__WEBPACK_IMPORTED_MODULE_23__.tickIncrement),
|
|
1206
1208
|
/* harmony export */ "tickStep": () => (/* reexport safe */ _ticks__WEBPACK_IMPORTED_MODULE_23__.tickStep),
|
|
1207
|
-
/* harmony export */ "transpose": () => (/* reexport safe */ _transpose__WEBPACK_IMPORTED_MODULE_24__
|
|
1208
|
-
/* harmony export */ "variance": () => (/* reexport safe */ _variance__WEBPACK_IMPORTED_MODULE_25__
|
|
1209
|
-
/* harmony export */ "zip": () => (/* reexport safe */ _zip__WEBPACK_IMPORTED_MODULE_26__
|
|
1209
|
+
/* harmony export */ "transpose": () => (/* reexport safe */ _transpose__WEBPACK_IMPORTED_MODULE_24__["default"]),
|
|
1210
|
+
/* harmony export */ "variance": () => (/* reexport safe */ _variance__WEBPACK_IMPORTED_MODULE_25__["default"]),
|
|
1211
|
+
/* harmony export */ "zip": () => (/* reexport safe */ _zip__WEBPACK_IMPORTED_MODULE_26__["default"])
|
|
1210
1212
|
/* harmony export */ });
|
|
1211
1213
|
/* harmony import */ var _bisect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./bisect */ "../../../node_modules/d3-array/src/bisect.js");
|
|
1212
1214
|
/* harmony import */ var _ascending__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ascending */ "../../../node_modules/d3-array/src/ascending.js");
|
|
@@ -1338,14 +1340,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1338
1340
|
|
|
1339
1341
|
if (valueof == null) {
|
|
1340
1342
|
while (++i < n) {
|
|
1341
|
-
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_0__
|
|
1343
|
+
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_0__["default"])(values[i]))) sum += value;
|
|
1342
1344
|
else --m;
|
|
1343
1345
|
}
|
|
1344
1346
|
}
|
|
1345
1347
|
|
|
1346
1348
|
else {
|
|
1347
1349
|
while (++i < n) {
|
|
1348
|
-
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_0__
|
|
1350
|
+
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_0__["default"])(valueof(values[i], i, values)))) sum += value;
|
|
1349
1351
|
else --m;
|
|
1350
1352
|
}
|
|
1351
1353
|
}
|
|
@@ -1382,7 +1384,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1382
1384
|
|
|
1383
1385
|
if (valueof == null) {
|
|
1384
1386
|
while (++i < n) {
|
|
1385
|
-
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_1__
|
|
1387
|
+
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_1__["default"])(values[i]))) {
|
|
1386
1388
|
numbers.push(value);
|
|
1387
1389
|
}
|
|
1388
1390
|
}
|
|
@@ -1390,13 +1392,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1390
1392
|
|
|
1391
1393
|
else {
|
|
1392
1394
|
while (++i < n) {
|
|
1393
|
-
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_1__
|
|
1395
|
+
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_1__["default"])(valueof(values[i], i, values)))) {
|
|
1394
1396
|
numbers.push(value);
|
|
1395
1397
|
}
|
|
1396
1398
|
}
|
|
1397
1399
|
}
|
|
1398
1400
|
|
|
1399
|
-
return (0,_quantile__WEBPACK_IMPORTED_MODULE_2__
|
|
1401
|
+
return (0,_quantile__WEBPACK_IMPORTED_MODULE_2__["default"])(numbers.sort(_ascending__WEBPACK_IMPORTED_MODULE_0__["default"]), 0.5);
|
|
1400
1402
|
}
|
|
1401
1403
|
|
|
1402
1404
|
|
|
@@ -1566,7 +1568,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1566
1568
|
|
|
1567
1569
|
|
|
1568
1570
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(values, p, valueof) {
|
|
1569
|
-
if (valueof == null) valueof = _number__WEBPACK_IMPORTED_MODULE_0__
|
|
1571
|
+
if (valueof == null) valueof = _number__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
1570
1572
|
if (!(n = values.length)) return;
|
|
1571
1573
|
if ((p = +p) <= 0 || n < 2) return +valueof(values[0], 0, values);
|
|
1572
1574
|
if (p >= 1) return +valueof(values[n - 1], n - 1, values);
|
|
@@ -1631,7 +1633,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1631
1633
|
xi,
|
|
1632
1634
|
xj = values[j];
|
|
1633
1635
|
|
|
1634
|
-
if (compare == null) compare = _ascending__WEBPACK_IMPORTED_MODULE_0__
|
|
1636
|
+
if (compare == null) compare = _ascending__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
1635
1637
|
|
|
1636
1638
|
while (++i < n) {
|
|
1637
1639
|
if (compare(xi = values[i], xj) < 0 || compare(xj, xj) !== 0) {
|
|
@@ -1730,8 +1732,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1730
1732
|
|
|
1731
1733
|
|
|
1732
1734
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(values, min, max) {
|
|
1733
|
-
values = _array__WEBPACK_IMPORTED_MODULE_0__.map.call(values, _number__WEBPACK_IMPORTED_MODULE_2__
|
|
1734
|
-
return Math.ceil((max - min) / (2 * ((0,_quantile__WEBPACK_IMPORTED_MODULE_3__
|
|
1735
|
+
values = _array__WEBPACK_IMPORTED_MODULE_0__.map.call(values, _number__WEBPACK_IMPORTED_MODULE_2__["default"]).sort(_ascending__WEBPACK_IMPORTED_MODULE_1__["default"]);
|
|
1736
|
+
return Math.ceil((max - min) / (2 * ((0,_quantile__WEBPACK_IMPORTED_MODULE_3__["default"])(values, 0.75) - (0,_quantile__WEBPACK_IMPORTED_MODULE_3__["default"])(values, 0.25)) * Math.pow(values.length, -1 / 3)));
|
|
1735
1737
|
}
|
|
1736
1738
|
|
|
1737
1739
|
|
|
@@ -1752,7 +1754,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1752
1754
|
|
|
1753
1755
|
|
|
1754
1756
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(values, min, max) {
|
|
1755
|
-
return Math.ceil((max - min) / (3.5 * (0,_deviation__WEBPACK_IMPORTED_MODULE_0__
|
|
1757
|
+
return Math.ceil((max - min) / (3.5 * (0,_deviation__WEBPACK_IMPORTED_MODULE_0__["default"])(values) * Math.pow(values.length, -1 / 3)));
|
|
1756
1758
|
}
|
|
1757
1759
|
|
|
1758
1760
|
|
|
@@ -1860,7 +1862,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1860
1862
|
|
|
1861
1863
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(matrix) {
|
|
1862
1864
|
if (!(n = matrix.length)) return [];
|
|
1863
|
-
for (var i = -1, m = (0,_min__WEBPACK_IMPORTED_MODULE_0__
|
|
1865
|
+
for (var i = -1, m = (0,_min__WEBPACK_IMPORTED_MODULE_0__["default"])(matrix, length), transpose = new Array(m); ++i < m;) {
|
|
1864
1866
|
for (var j = -1, n, row = transpose[i] = new Array(n); ++j < n;) {
|
|
1865
1867
|
row[j] = matrix[j][i];
|
|
1866
1868
|
}
|
|
@@ -1900,7 +1902,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1900
1902
|
|
|
1901
1903
|
if (valueof == null) {
|
|
1902
1904
|
while (++i < n) {
|
|
1903
|
-
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_0__
|
|
1905
|
+
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_0__["default"])(values[i]))) {
|
|
1904
1906
|
delta = value - mean;
|
|
1905
1907
|
mean += delta / ++m;
|
|
1906
1908
|
sum += delta * (value - mean);
|
|
@@ -1910,7 +1912,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1910
1912
|
|
|
1911
1913
|
else {
|
|
1912
1914
|
while (++i < n) {
|
|
1913
|
-
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_0__
|
|
1915
|
+
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_0__["default"])(valueof(values[i], i, values)))) {
|
|
1914
1916
|
delta = value - mean;
|
|
1915
1917
|
mean += delta / ++m;
|
|
1916
1918
|
sum += delta * (value - mean);
|
|
@@ -1939,7 +1941,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1939
1941
|
|
|
1940
1942
|
|
|
1941
1943
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {
|
|
1942
|
-
return (0,_transpose__WEBPACK_IMPORTED_MODULE_0__
|
|
1944
|
+
return (0,_transpose__WEBPACK_IMPORTED_MODULE_0__["default"])(arguments);
|
|
1943
1945
|
}
|
|
1944
1946
|
|
|
1945
1947
|
|
|
@@ -1974,12 +1976,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1974
1976
|
"use strict";
|
|
1975
1977
|
__webpack_require__.r(__webpack_exports__);
|
|
1976
1978
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1977
|
-
/* harmony export */ "nest": () => (/* reexport safe */ _nest__WEBPACK_IMPORTED_MODULE_0__
|
|
1978
|
-
/* harmony export */ "set": () => (/* reexport safe */ _set__WEBPACK_IMPORTED_MODULE_1__
|
|
1979
|
-
/* harmony export */ "map": () => (/* reexport safe */ _map__WEBPACK_IMPORTED_MODULE_2__
|
|
1980
|
-
/* harmony export */ "keys": () => (/* reexport safe */ _keys__WEBPACK_IMPORTED_MODULE_3__
|
|
1981
|
-
/* harmony export */ "values": () => (/* reexport safe */ _values__WEBPACK_IMPORTED_MODULE_4__
|
|
1982
|
-
/* harmony export */ "entries": () => (/* reexport safe */ _entries__WEBPACK_IMPORTED_MODULE_5__
|
|
1979
|
+
/* harmony export */ "nest": () => (/* reexport safe */ _nest__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
1980
|
+
/* harmony export */ "set": () => (/* reexport safe */ _set__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
1981
|
+
/* harmony export */ "map": () => (/* reexport safe */ _map__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
1982
|
+
/* harmony export */ "keys": () => (/* reexport safe */ _keys__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
1983
|
+
/* harmony export */ "values": () => (/* reexport safe */ _values__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
1984
|
+
/* harmony export */ "entries": () => (/* reexport safe */ _entries__WEBPACK_IMPORTED_MODULE_5__["default"])
|
|
1983
1985
|
/* harmony export */ });
|
|
1984
1986
|
/* harmony import */ var _nest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./nest */ "../../../node_modules/d3-collection/src/nest.js");
|
|
1985
1987
|
/* harmony import */ var _set__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./set */ "../../../node_modules/d3-collection/src/set.js");
|
|
@@ -2140,7 +2142,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2140
2142
|
key = keys[depth++],
|
|
2141
2143
|
keyValue,
|
|
2142
2144
|
value,
|
|
2143
|
-
valuesByKey = (0,_map__WEBPACK_IMPORTED_MODULE_0__
|
|
2145
|
+
valuesByKey = (0,_map__WEBPACK_IMPORTED_MODULE_0__["default"])(),
|
|
2144
2146
|
values,
|
|
2145
2147
|
result = createResult();
|
|
2146
2148
|
|
|
@@ -2187,7 +2189,7 @@ function setObject(object, key, value) {
|
|
|
2187
2189
|
}
|
|
2188
2190
|
|
|
2189
2191
|
function createMap() {
|
|
2190
|
-
return (0,_map__WEBPACK_IMPORTED_MODULE_0__
|
|
2192
|
+
return (0,_map__WEBPACK_IMPORTED_MODULE_0__["default"])();
|
|
2191
2193
|
}
|
|
2192
2194
|
|
|
2193
2195
|
function setMap(map, key, value) {
|
|
@@ -2213,7 +2215,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2213
2215
|
|
|
2214
2216
|
function Set() {}
|
|
2215
2217
|
|
|
2216
|
-
var proto = _map__WEBPACK_IMPORTED_MODULE_0__
|
|
2218
|
+
var proto = _map__WEBPACK_IMPORTED_MODULE_0__["default"].prototype;
|
|
2217
2219
|
|
|
2218
2220
|
Set.prototype = set.prototype = {
|
|
2219
2221
|
constructor: Set,
|
|
@@ -2461,7 +2463,7 @@ var named = {
|
|
|
2461
2463
|
yellowgreen: 0x9acd32
|
|
2462
2464
|
};
|
|
2463
2465
|
|
|
2464
|
-
(0,_define_js__WEBPACK_IMPORTED_MODULE_0__
|
|
2466
|
+
(0,_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Color, color, {
|
|
2465
2467
|
copy: function(channels) {
|
|
2466
2468
|
return Object.assign(new this.constructor, this, channels);
|
|
2467
2469
|
},
|
|
@@ -2533,7 +2535,7 @@ function Rgb(r, g, b, opacity) {
|
|
|
2533
2535
|
this.opacity = +opacity;
|
|
2534
2536
|
}
|
|
2535
2537
|
|
|
2536
|
-
(0,_define_js__WEBPACK_IMPORTED_MODULE_0__
|
|
2538
|
+
(0,_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Rgb, rgb, (0,_define_js__WEBPACK_IMPORTED_MODULE_0__.extend)(Color, {
|
|
2537
2539
|
brighter: function(k) {
|
|
2538
2540
|
k = k == null ? brighter : Math.pow(brighter, k);
|
|
2539
2541
|
return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
|
|
@@ -2619,7 +2621,7 @@ function Hsl(h, s, l, opacity) {
|
|
|
2619
2621
|
this.opacity = +opacity;
|
|
2620
2622
|
}
|
|
2621
2623
|
|
|
2622
|
-
(0,_define_js__WEBPACK_IMPORTED_MODULE_0__
|
|
2624
|
+
(0,_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Hsl, hsl, (0,_define_js__WEBPACK_IMPORTED_MODULE_0__.extend)(Color, {
|
|
2623
2625
|
brighter: function(k) {
|
|
2624
2626
|
k = k == null ? brighter : Math.pow(brighter, k);
|
|
2625
2627
|
return new Hsl(this.h, this.s, this.l * k, this.opacity);
|
|
@@ -2720,7 +2722,7 @@ function Cubehelix(h, s, l, opacity) {
|
|
|
2720
2722
|
this.opacity = +opacity;
|
|
2721
2723
|
}
|
|
2722
2724
|
|
|
2723
|
-
(0,_define_js__WEBPACK_IMPORTED_MODULE_2__
|
|
2725
|
+
(0,_define_js__WEBPACK_IMPORTED_MODULE_2__["default"])(Cubehelix, cubehelix, (0,_define_js__WEBPACK_IMPORTED_MODULE_2__.extend)(_color_js__WEBPACK_IMPORTED_MODULE_0__.Color, {
|
|
2724
2726
|
brighter: function(k) {
|
|
2725
2727
|
k = k == null ? _color_js__WEBPACK_IMPORTED_MODULE_0__.brighter : Math.pow(_color_js__WEBPACK_IMPORTED_MODULE_0__.brighter, k);
|
|
2726
2728
|
return new Cubehelix(this.h, this.s, this.l * k, this.opacity);
|
|
@@ -2810,7 +2812,7 @@ var backIn = (function custom(s) {
|
|
|
2810
2812
|
s = +s;
|
|
2811
2813
|
|
|
2812
2814
|
function backIn(t) {
|
|
2813
|
-
return t * t * (
|
|
2815
|
+
return (t = +t) * t * (s * (t - 1) + t);
|
|
2814
2816
|
}
|
|
2815
2817
|
|
|
2816
2818
|
backIn.overshoot = custom;
|
|
@@ -2822,7 +2824,7 @@ var backOut = (function custom(s) {
|
|
|
2822
2824
|
s = +s;
|
|
2823
2825
|
|
|
2824
2826
|
function backOut(t) {
|
|
2825
|
-
return --t * t * ((
|
|
2827
|
+
return --t * t * ((t + 1) * s + t) + 1;
|
|
2826
2828
|
}
|
|
2827
2829
|
|
|
2828
2830
|
backOut.overshoot = custom;
|
|
@@ -2953,6 +2955,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2953
2955
|
/* harmony export */ "elasticOut": () => (/* binding */ elasticOut),
|
|
2954
2956
|
/* harmony export */ "elasticInOut": () => (/* binding */ elasticInOut)
|
|
2955
2957
|
/* harmony export */ });
|
|
2958
|
+
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "../../../node_modules/d3-ease/src/math.js");
|
|
2959
|
+
|
|
2960
|
+
|
|
2956
2961
|
var tau = 2 * Math.PI,
|
|
2957
2962
|
amplitude = 1,
|
|
2958
2963
|
period = 0.3;
|
|
@@ -2961,7 +2966,7 @@ var elasticIn = (function custom(a, p) {
|
|
|
2961
2966
|
var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);
|
|
2962
2967
|
|
|
2963
2968
|
function elasticIn(t) {
|
|
2964
|
-
return a *
|
|
2969
|
+
return a * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(-(--t)) * Math.sin((s - t) / p);
|
|
2965
2970
|
}
|
|
2966
2971
|
|
|
2967
2972
|
elasticIn.amplitude = function(a) { return custom(a, p * tau); };
|
|
@@ -2974,7 +2979,7 @@ var elasticOut = (function custom(a, p) {
|
|
|
2974
2979
|
var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);
|
|
2975
2980
|
|
|
2976
2981
|
function elasticOut(t) {
|
|
2977
|
-
return 1 - a *
|
|
2982
|
+
return 1 - a * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(t = +t) * Math.sin((t + s) / p);
|
|
2978
2983
|
}
|
|
2979
2984
|
|
|
2980
2985
|
elasticOut.amplitude = function(a) { return custom(a, p * tau); };
|
|
@@ -2988,8 +2993,8 @@ var elasticInOut = (function custom(a, p) {
|
|
|
2988
2993
|
|
|
2989
2994
|
function elasticInOut(t) {
|
|
2990
2995
|
return ((t = t * 2 - 1) < 0
|
|
2991
|
-
? a *
|
|
2992
|
-
: 2 - a *
|
|
2996
|
+
? a * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(-t) * Math.sin((s - t) / p)
|
|
2997
|
+
: 2 - a * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(t) * Math.sin((s + t) / p)) / 2;
|
|
2993
2998
|
}
|
|
2994
2999
|
|
|
2995
3000
|
elasticInOut.amplitude = function(a) { return custom(a, p * tau); };
|
|
@@ -3014,16 +3019,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3014
3019
|
/* harmony export */ "expOut": () => (/* binding */ expOut),
|
|
3015
3020
|
/* harmony export */ "expInOut": () => (/* binding */ expInOut)
|
|
3016
3021
|
/* harmony export */ });
|
|
3022
|
+
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "../../../node_modules/d3-ease/src/math.js");
|
|
3023
|
+
|
|
3024
|
+
|
|
3017
3025
|
function expIn(t) {
|
|
3018
|
-
return
|
|
3026
|
+
return (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(1 - +t);
|
|
3019
3027
|
}
|
|
3020
3028
|
|
|
3021
3029
|
function expOut(t) {
|
|
3022
|
-
return 1 -
|
|
3030
|
+
return 1 - (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(t);
|
|
3023
3031
|
}
|
|
3024
3032
|
|
|
3025
3033
|
function expInOut(t) {
|
|
3026
|
-
return ((t *= 2) <= 1 ?
|
|
3034
|
+
return ((t *= 2) <= 1 ? (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(1 - t) : 2 - (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(t - 1)) / 2;
|
|
3027
3035
|
}
|
|
3028
3036
|
|
|
3029
3037
|
|
|
@@ -3125,6 +3133,25 @@ function linear(t) {
|
|
|
3125
3133
|
}
|
|
3126
3134
|
|
|
3127
3135
|
|
|
3136
|
+
/***/ }),
|
|
3137
|
+
|
|
3138
|
+
/***/ "../../../node_modules/d3-ease/src/math.js":
|
|
3139
|
+
/*!*************************************************!*\
|
|
3140
|
+
!*** ../../../node_modules/d3-ease/src/math.js ***!
|
|
3141
|
+
\*************************************************/
|
|
3142
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3143
|
+
|
|
3144
|
+
"use strict";
|
|
3145
|
+
__webpack_require__.r(__webpack_exports__);
|
|
3146
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3147
|
+
/* harmony export */ "tpmt": () => (/* binding */ tpmt)
|
|
3148
|
+
/* harmony export */ });
|
|
3149
|
+
// tpmt is two power minus ten times t scaled to [0,1]
|
|
3150
|
+
function tpmt(x) {
|
|
3151
|
+
return (Math.pow(2, -10 * x) - 0.0009765625) * 1.0009775171065494;
|
|
3152
|
+
}
|
|
3153
|
+
|
|
3154
|
+
|
|
3128
3155
|
/***/ }),
|
|
3129
3156
|
|
|
3130
3157
|
/***/ "../../../node_modules/d3-ease/src/poly.js":
|
|
@@ -3226,7 +3253,7 @@ var pi = Math.PI,
|
|
|
3226
3253
|
halfPi = pi / 2;
|
|
3227
3254
|
|
|
3228
3255
|
function sinIn(t) {
|
|
3229
|
-
return 1 - Math.cos(t * halfPi);
|
|
3256
|
+
return (+t === 1) ? 1 : 1 - Math.cos(t * halfPi);
|
|
3230
3257
|
}
|
|
3231
3258
|
|
|
3232
3259
|
function sinOut(t) {
|
|
@@ -3269,7 +3296,7 @@ defaultLocale({
|
|
|
3269
3296
|
});
|
|
3270
3297
|
|
|
3271
3298
|
function defaultLocale(definition) {
|
|
3272
|
-
locale = (0,_locale_js__WEBPACK_IMPORTED_MODULE_0__
|
|
3299
|
+
locale = (0,_locale_js__WEBPACK_IMPORTED_MODULE_0__["default"])(definition);
|
|
3273
3300
|
format = locale.format;
|
|
3274
3301
|
formatPrefix = locale.formatPrefix;
|
|
3275
3302
|
return locale;
|
|
@@ -3293,7 +3320,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3293
3320
|
|
|
3294
3321
|
|
|
3295
3322
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x) {
|
|
3296
|
-
return x = (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.
|
|
3323
|
+
return x = (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.formatDecimalParts)(Math.abs(x)), x ? x[1] : NaN;
|
|
3297
3324
|
}
|
|
3298
3325
|
|
|
3299
3326
|
|
|
@@ -3308,12 +3335,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3308
3335
|
"use strict";
|
|
3309
3336
|
__webpack_require__.r(__webpack_exports__);
|
|
3310
3337
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3311
|
-
/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)
|
|
3338
|
+
/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__),
|
|
3339
|
+
/* harmony export */ "formatDecimalParts": () => (/* binding */ formatDecimalParts)
|
|
3312
3340
|
/* harmony export */ });
|
|
3341
|
+
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x) {
|
|
3342
|
+
return Math.abs(x = Math.round(x)) >= 1e21
|
|
3343
|
+
? x.toLocaleString("en").replace(/,/g, "")
|
|
3344
|
+
: x.toString(10);
|
|
3345
|
+
}
|
|
3346
|
+
|
|
3313
3347
|
// Computes the decimal coefficient and exponent of the specified number x with
|
|
3314
3348
|
// significant digits p, where x is positive and p is in [1, 21] or undefined.
|
|
3315
|
-
// For example,
|
|
3316
|
-
|
|
3349
|
+
// For example, formatDecimalParts(1.23) returns ["123", 0].
|
|
3350
|
+
function formatDecimalParts(x, p) {
|
|
3317
3351
|
if ((i = (x = p ? x.toExponential(p - 1) : x.toExponential()).indexOf("e")) < 0) return null; // NaN, ±Infinity
|
|
3318
3352
|
var i, coefficient = x.slice(0, i);
|
|
3319
3353
|
|
|
@@ -3401,7 +3435,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3401
3435
|
var prefixExponent;
|
|
3402
3436
|
|
|
3403
3437
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x, p) {
|
|
3404
|
-
var d = (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.
|
|
3438
|
+
var d = (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.formatDecimalParts)(x, p);
|
|
3405
3439
|
if (!d) return x + "";
|
|
3406
3440
|
var coefficient = d[0],
|
|
3407
3441
|
exponent = d[1],
|
|
@@ -3410,7 +3444,7 @@ var prefixExponent;
|
|
|
3410
3444
|
return i === n ? coefficient
|
|
3411
3445
|
: i > n ? coefficient + new Array(i - n + 1).join("0")
|
|
3412
3446
|
: i > 0 ? coefficient.slice(0, i) + "." + coefficient.slice(i)
|
|
3413
|
-
: "0." + new Array(1 - i).join("0") + (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.
|
|
3447
|
+
: "0." + new Array(1 - i).join("0") + (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.formatDecimalParts)(x, Math.max(0, p + i - 1))[0]; // less than 1y!
|
|
3414
3448
|
}
|
|
3415
3449
|
|
|
3416
3450
|
|
|
@@ -3431,7 +3465,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3431
3465
|
|
|
3432
3466
|
|
|
3433
3467
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x, p) {
|
|
3434
|
-
var d = (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.
|
|
3468
|
+
var d = (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.formatDecimalParts)(x, p);
|
|
3435
3469
|
if (!d) return x + "";
|
|
3436
3470
|
var coefficient = d[0],
|
|
3437
3471
|
exponent = d[1];
|
|
@@ -3543,8 +3577,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3543
3577
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3544
3578
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
3545
3579
|
/* harmony export */ });
|
|
3546
|
-
/* harmony import */ var
|
|
3547
|
-
/* harmony import */ var
|
|
3580
|
+
/* harmony import */ var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatDecimal.js */ "../../../node_modules/d3-format/src/formatDecimal.js");
|
|
3581
|
+
/* harmony import */ var _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./formatPrefixAuto.js */ "../../../node_modules/d3-format/src/formatPrefixAuto.js");
|
|
3582
|
+
/* harmony import */ var _formatRounded_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./formatRounded.js */ "../../../node_modules/d3-format/src/formatRounded.js");
|
|
3583
|
+
|
|
3548
3584
|
|
|
3549
3585
|
|
|
3550
3586
|
|
|
@@ -3552,14 +3588,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3552
3588
|
"%": function(x, p) { return (x * 100).toFixed(p); },
|
|
3553
3589
|
"b": function(x) { return Math.round(x).toString(2); },
|
|
3554
3590
|
"c": function(x) { return x + ""; },
|
|
3555
|
-
"d":
|
|
3591
|
+
"d": _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__["default"],
|
|
3556
3592
|
"e": function(x, p) { return x.toExponential(p); },
|
|
3557
3593
|
"f": function(x, p) { return x.toFixed(p); },
|
|
3558
3594
|
"g": function(x, p) { return x.toPrecision(p); },
|
|
3559
3595
|
"o": function(x) { return Math.round(x).toString(8); },
|
|
3560
|
-
"p": function(x, p) { return (0,
|
|
3561
|
-
"r":
|
|
3562
|
-
"s":
|
|
3596
|
+
"p": function(x, p) { return (0,_formatRounded_js__WEBPACK_IMPORTED_MODULE_1__["default"])(x * 100, p); },
|
|
3597
|
+
"r": _formatRounded_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
3598
|
+
"s": _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_2__["default"],
|
|
3563
3599
|
"X": function(x) { return Math.round(x).toString(16).toUpperCase(); },
|
|
3564
3600
|
"x": function(x) { return Math.round(x).toString(16); }
|
|
3565
3601
|
});
|
|
@@ -3617,17 +3653,17 @@ var map = Array.prototype.map,
|
|
|
3617
3653
|
prefixes = ["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];
|
|
3618
3654
|
|
|
3619
3655
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(locale) {
|
|
3620
|
-
var group = locale.grouping === undefined || locale.thousands === undefined ? _identity_js__WEBPACK_IMPORTED_MODULE_0__
|
|
3656
|
+
var group = locale.grouping === undefined || locale.thousands === undefined ? _identity_js__WEBPACK_IMPORTED_MODULE_0__["default"] : (0,_formatGroup_js__WEBPACK_IMPORTED_MODULE_1__["default"])(map.call(locale.grouping, Number), locale.thousands + ""),
|
|
3621
3657
|
currencyPrefix = locale.currency === undefined ? "" : locale.currency[0] + "",
|
|
3622
3658
|
currencySuffix = locale.currency === undefined ? "" : locale.currency[1] + "",
|
|
3623
3659
|
decimal = locale.decimal === undefined ? "." : locale.decimal + "",
|
|
3624
|
-
numerals = locale.numerals === undefined ? _identity_js__WEBPACK_IMPORTED_MODULE_0__
|
|
3660
|
+
numerals = locale.numerals === undefined ? _identity_js__WEBPACK_IMPORTED_MODULE_0__["default"] : (0,_formatNumerals_js__WEBPACK_IMPORTED_MODULE_2__["default"])(map.call(locale.numerals, String)),
|
|
3625
3661
|
percent = locale.percent === undefined ? "%" : locale.percent + "",
|
|
3626
3662
|
minus = locale.minus === undefined ? "-" : locale.minus + "",
|
|
3627
3663
|
nan = locale.nan === undefined ? "NaN" : locale.nan + "";
|
|
3628
3664
|
|
|
3629
3665
|
function newFormat(specifier) {
|
|
3630
|
-
specifier = (0,_formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__
|
|
3666
|
+
specifier = (0,_formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__["default"])(specifier);
|
|
3631
3667
|
|
|
3632
3668
|
var fill = specifier.fill,
|
|
3633
3669
|
align = specifier.align,
|
|
@@ -3644,7 +3680,7 @@ var map = Array.prototype.map,
|
|
|
3644
3680
|
if (type === "n") comma = true, type = "g";
|
|
3645
3681
|
|
|
3646
3682
|
// The "" type, and any invalid type, is an alias for ".12~g".
|
|
3647
|
-
else if (!_formatTypes_js__WEBPACK_IMPORTED_MODULE_4__
|
|
3683
|
+
else if (!_formatTypes_js__WEBPACK_IMPORTED_MODULE_4__["default"][type]) precision === undefined && (precision = 12), trim = true, type = "g";
|
|
3648
3684
|
|
|
3649
3685
|
// If zero fill is specified, padding goes after sign and before digits.
|
|
3650
3686
|
if (zero || (fill === "0" && align === "=")) zero = true, fill = "0", align = "=";
|
|
@@ -3657,7 +3693,7 @@ var map = Array.prototype.map,
|
|
|
3657
3693
|
// What format function should we use?
|
|
3658
3694
|
// Is this an integer type?
|
|
3659
3695
|
// Can this type generate exponential notation?
|
|
3660
|
-
var formatType = _formatTypes_js__WEBPACK_IMPORTED_MODULE_4__
|
|
3696
|
+
var formatType = _formatTypes_js__WEBPACK_IMPORTED_MODULE_4__["default"][type],
|
|
3661
3697
|
maybeSuffix = /[defgprs%]/.test(type);
|
|
3662
3698
|
|
|
3663
3699
|
// Set the default precision if not specified,
|
|
@@ -3686,7 +3722,7 @@ var map = Array.prototype.map,
|
|
|
3686
3722
|
value = isNaN(value) ? nan : formatType(Math.abs(value), precision);
|
|
3687
3723
|
|
|
3688
3724
|
// Trim insignificant zeros.
|
|
3689
|
-
if (trim) value = (0,_formatTrim_js__WEBPACK_IMPORTED_MODULE_5__
|
|
3725
|
+
if (trim) value = (0,_formatTrim_js__WEBPACK_IMPORTED_MODULE_5__["default"])(value);
|
|
3690
3726
|
|
|
3691
3727
|
// If a negative value rounds to zero after formatting, and no explicit positive sign is requested, hide the sign.
|
|
3692
3728
|
if (valueNegative && +value === 0 && sign !== "+") valueNegative = false;
|
|
@@ -3738,8 +3774,8 @@ var map = Array.prototype.map,
|
|
|
3738
3774
|
}
|
|
3739
3775
|
|
|
3740
3776
|
function formatPrefix(specifier, value) {
|
|
3741
|
-
var f = newFormat((specifier = (0,_formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__
|
|
3742
|
-
e = Math.max(-8, Math.min(8, Math.floor((0,_exponent_js__WEBPACK_IMPORTED_MODULE_7__
|
|
3777
|
+
var f = newFormat((specifier = (0,_formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__["default"])(specifier), specifier.type = "f", specifier)),
|
|
3778
|
+
e = Math.max(-8, Math.min(8, Math.floor((0,_exponent_js__WEBPACK_IMPORTED_MODULE_7__["default"])(value) / 3))) * 3,
|
|
3743
3779
|
k = Math.pow(10, -e),
|
|
3744
3780
|
prefix = prefixes[8 + e / 3];
|
|
3745
3781
|
return function(value) {
|
|
@@ -3771,7 +3807,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3771
3807
|
|
|
3772
3808
|
|
|
3773
3809
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(step) {
|
|
3774
|
-
return Math.max(0, -(0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__
|
|
3810
|
+
return Math.max(0, -(0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Math.abs(step)));
|
|
3775
3811
|
}
|
|
3776
3812
|
|
|
3777
3813
|
|
|
@@ -3792,7 +3828,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3792
3828
|
|
|
3793
3829
|
|
|
3794
3830
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(step, value) {
|
|
3795
|
-
return Math.max(0, Math.max(-8, Math.min(8, Math.floor((0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__
|
|
3831
|
+
return Math.max(0, Math.max(-8, Math.min(8, Math.floor((0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value) / 3))) * 3 - (0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Math.abs(step)));
|
|
3796
3832
|
}
|
|
3797
3833
|
|
|
3798
3834
|
|
|
@@ -3814,7 +3850,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3814
3850
|
|
|
3815
3851
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(step, max) {
|
|
3816
3852
|
step = Math.abs(step), max = Math.abs(max) - step;
|
|
3817
|
-
return Math.max(0, (0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__
|
|
3853
|
+
return Math.max(0, (0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(max) - (0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(step)) + 1;
|
|
3818
3854
|
}
|
|
3819
3855
|
|
|
3820
3856
|
|
|
@@ -3838,7 +3874,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3838
3874
|
|
|
3839
3875
|
|
|
3840
3876
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) {
|
|
3841
|
-
return ((0,_numberArray_js__WEBPACK_IMPORTED_MODULE_0__.isNumberArray)(b) ? _numberArray_js__WEBPACK_IMPORTED_MODULE_0__
|
|
3877
|
+
return ((0,_numberArray_js__WEBPACK_IMPORTED_MODULE_0__.isNumberArray)(b) ? _numberArray_js__WEBPACK_IMPORTED_MODULE_0__["default"] : genericArray)(a, b);
|
|
3842
3878
|
}
|
|
3843
3879
|
|
|
3844
3880
|
function genericArray(a, b) {
|
|
@@ -3848,7 +3884,7 @@ function genericArray(a, b) {
|
|
|
3848
3884
|
c = new Array(nb),
|
|
3849
3885
|
i;
|
|
3850
3886
|
|
|
3851
|
-
for (i = 0; i < na; ++i) x[i] = (0,_value_js__WEBPACK_IMPORTED_MODULE_1__
|
|
3887
|
+
for (i = 0; i < na; ++i) x[i] = (0,_value_js__WEBPACK_IMPORTED_MODULE_1__["default"])(a[i], b[i]);
|
|
3852
3888
|
for (; i < nb; ++i) c[i] = b[i];
|
|
3853
3889
|
|
|
3854
3890
|
return function(t) {
|
|
@@ -3954,18 +3990,18 @@ function exponential(a, b, y) {
|
|
|
3954
3990
|
|
|
3955
3991
|
function hue(a, b) {
|
|
3956
3992
|
var d = b - a;
|
|
3957
|
-
return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__
|
|
3993
|
+
return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(isNaN(a) ? b : a);
|
|
3958
3994
|
}
|
|
3959
3995
|
|
|
3960
3996
|
function gamma(y) {
|
|
3961
3997
|
return (y = +y) === 1 ? nogamma : function(a, b) {
|
|
3962
|
-
return b - a ? exponential(a, b, y) : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__
|
|
3998
|
+
return b - a ? exponential(a, b, y) : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(isNaN(a) ? b : a);
|
|
3963
3999
|
};
|
|
3964
4000
|
}
|
|
3965
4001
|
|
|
3966
4002
|
function nogamma(a, b) {
|
|
3967
4003
|
var d = b - a;
|
|
3968
|
-
return d ? linear(a, d) : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__
|
|
4004
|
+
return d ? linear(a, d) : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(isNaN(a) ? b : a);
|
|
3969
4005
|
}
|
|
3970
4006
|
|
|
3971
4007
|
|
|
@@ -4013,10 +4049,10 @@ function cubehelix(hue) {
|
|
|
4013
4049
|
y = +y;
|
|
4014
4050
|
|
|
4015
4051
|
function cubehelix(start, end) {
|
|
4016
|
-
var h = hue((start = (0,d3_color__WEBPACK_IMPORTED_MODULE_0__
|
|
4017
|
-
s = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__
|
|
4018
|
-
l = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__
|
|
4019
|
-
opacity = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__
|
|
4052
|
+
var h = hue((start = (0,d3_color__WEBPACK_IMPORTED_MODULE_0__["default"])(start)).h, (end = (0,d3_color__WEBPACK_IMPORTED_MODULE_0__["default"])(end)).h),
|
|
4053
|
+
s = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.s, end.s),
|
|
4054
|
+
l = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.l, end.l),
|
|
4055
|
+
opacity = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.opacity, end.opacity);
|
|
4020
4056
|
return function(t) {
|
|
4021
4057
|
start.h = h(t);
|
|
4022
4058
|
start.s = s(t);
|
|
@@ -4033,7 +4069,7 @@ function cubehelix(hue) {
|
|
|
4033
4069
|
}
|
|
4034
4070
|
|
|
4035
4071
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cubehelix(_color_js__WEBPACK_IMPORTED_MODULE_1__.hue));
|
|
4036
|
-
var cubehelixLong = cubehelix(_color_js__WEBPACK_IMPORTED_MODULE_1__
|
|
4072
|
+
var cubehelixLong = cubehelix(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
|
|
4037
4073
|
|
|
4038
4074
|
|
|
4039
4075
|
/***/ }),
|
|
@@ -4133,7 +4169,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4133
4169
|
|
|
4134
4170
|
for (k in b) {
|
|
4135
4171
|
if (k in a) {
|
|
4136
|
-
i[k] = (0,_value_js__WEBPACK_IMPORTED_MODULE_0__
|
|
4172
|
+
i[k] = (0,_value_js__WEBPACK_IMPORTED_MODULE_0__["default"])(a[k], b[k]);
|
|
4137
4173
|
} else {
|
|
4138
4174
|
c[k] = b[k];
|
|
4139
4175
|
}
|
|
@@ -4177,7 +4213,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4177
4213
|
var r = color((start = (0,d3_color__WEBPACK_IMPORTED_MODULE_1__.rgb)(start)).r, (end = (0,d3_color__WEBPACK_IMPORTED_MODULE_1__.rgb)(end)).r),
|
|
4178
4214
|
g = color(start.g, end.g),
|
|
4179
4215
|
b = color(start.b, end.b),
|
|
4180
|
-
opacity = (0,_color_js__WEBPACK_IMPORTED_MODULE_0__
|
|
4216
|
+
opacity = (0,_color_js__WEBPACK_IMPORTED_MODULE_0__["default"])(start.opacity, end.opacity);
|
|
4181
4217
|
return function(t) {
|
|
4182
4218
|
start.r = r(t);
|
|
4183
4219
|
start.g = g(t);
|
|
@@ -4218,8 +4254,8 @@ function rgbSpline(spline) {
|
|
|
4218
4254
|
};
|
|
4219
4255
|
}
|
|
4220
4256
|
|
|
4221
|
-
var rgbBasis = rgbSpline(_basis_js__WEBPACK_IMPORTED_MODULE_2__
|
|
4222
|
-
var rgbBasisClosed = rgbSpline(_basisClosed_js__WEBPACK_IMPORTED_MODULE_3__
|
|
4257
|
+
var rgbBasis = rgbSpline(_basis_js__WEBPACK_IMPORTED_MODULE_2__["default"]);
|
|
4258
|
+
var rgbBasisClosed = rgbSpline(_basisClosed_js__WEBPACK_IMPORTED_MODULE_3__["default"]);
|
|
4223
4259
|
|
|
4224
4260
|
|
|
4225
4261
|
/***/ }),
|
|
@@ -4298,7 +4334,7 @@ function one(b) {
|
|
|
4298
4334
|
else s[++i] = bm;
|
|
4299
4335
|
} else { // interpolate non-matching numbers
|
|
4300
4336
|
s[++i] = null;
|
|
4301
|
-
q.push({i: i, x: (0,_number_js__WEBPACK_IMPORTED_MODULE_0__
|
|
4337
|
+
q.push({i: i, x: (0,_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(am, bm)});
|
|
4302
4338
|
}
|
|
4303
4339
|
bi = reB.lastIndex;
|
|
4304
4340
|
}
|
|
@@ -4356,15 +4392,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4356
4392
|
|
|
4357
4393
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) {
|
|
4358
4394
|
var t = typeof b, c;
|
|
4359
|
-
return b == null || t === "boolean" ? (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__
|
|
4360
|
-
: (t === "number" ? _number_js__WEBPACK_IMPORTED_MODULE_1__
|
|
4361
|
-
: t === "string" ? ((c = (0,d3_color__WEBPACK_IMPORTED_MODULE_2__
|
|
4362
|
-
: b instanceof d3_color__WEBPACK_IMPORTED_MODULE_2__
|
|
4363
|
-
: b instanceof Date ? _date_js__WEBPACK_IMPORTED_MODULE_5__
|
|
4364
|
-
: (0,_numberArray_js__WEBPACK_IMPORTED_MODULE_6__.isNumberArray)(b) ? _numberArray_js__WEBPACK_IMPORTED_MODULE_6__
|
|
4395
|
+
return b == null || t === "boolean" ? (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(b)
|
|
4396
|
+
: (t === "number" ? _number_js__WEBPACK_IMPORTED_MODULE_1__["default"]
|
|
4397
|
+
: t === "string" ? ((c = (0,d3_color__WEBPACK_IMPORTED_MODULE_2__["default"])(b)) ? (b = c, _rgb_js__WEBPACK_IMPORTED_MODULE_3__["default"]) : _string_js__WEBPACK_IMPORTED_MODULE_4__["default"])
|
|
4398
|
+
: b instanceof d3_color__WEBPACK_IMPORTED_MODULE_2__["default"] ? _rgb_js__WEBPACK_IMPORTED_MODULE_3__["default"]
|
|
4399
|
+
: b instanceof Date ? _date_js__WEBPACK_IMPORTED_MODULE_5__["default"]
|
|
4400
|
+
: (0,_numberArray_js__WEBPACK_IMPORTED_MODULE_6__.isNumberArray)(b) ? _numberArray_js__WEBPACK_IMPORTED_MODULE_6__["default"]
|
|
4365
4401
|
: Array.isArray(b) ? _array_js__WEBPACK_IMPORTED_MODULE_7__.genericArray
|
|
4366
|
-
: typeof b.valueOf !== "function" && typeof b.toString !== "function" || isNaN(b) ? _object_js__WEBPACK_IMPORTED_MODULE_8__
|
|
4367
|
-
: _number_js__WEBPACK_IMPORTED_MODULE_1__
|
|
4402
|
+
: typeof b.valueOf !== "function" && typeof b.toString !== "function" || isNaN(b) ? _object_js__WEBPACK_IMPORTED_MODULE_8__["default"]
|
|
4403
|
+
: _number_js__WEBPACK_IMPORTED_MODULE_1__["default"])(a, b);
|
|
4368
4404
|
}
|
|
4369
4405
|
|
|
4370
4406
|
|
|
@@ -4379,33 +4415,33 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4379
4415
|
"use strict";
|
|
4380
4416
|
__webpack_require__.r(__webpack_exports__);
|
|
4381
4417
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4382
|
-
/* harmony export */ "scaleBand": () => (/* reexport safe */ _src_band__WEBPACK_IMPORTED_MODULE_0__
|
|
4418
|
+
/* harmony export */ "scaleBand": () => (/* reexport safe */ _src_band__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
4383
4419
|
/* harmony export */ "scalePoint": () => (/* reexport safe */ _src_band__WEBPACK_IMPORTED_MODULE_0__.point),
|
|
4384
|
-
/* harmony export */ "scaleIdentity": () => (/* reexport safe */ _src_identity__WEBPACK_IMPORTED_MODULE_1__
|
|
4385
|
-
/* harmony export */ "scaleLinear": () => (/* reexport safe */ _src_linear__WEBPACK_IMPORTED_MODULE_2__
|
|
4386
|
-
/* harmony export */ "scaleLog": () => (/* reexport safe */ _src_log__WEBPACK_IMPORTED_MODULE_3__
|
|
4387
|
-
/* harmony export */ "scaleOrdinal": () => (/* reexport safe */ _src_ordinal__WEBPACK_IMPORTED_MODULE_4__
|
|
4420
|
+
/* harmony export */ "scaleIdentity": () => (/* reexport safe */ _src_identity__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
4421
|
+
/* harmony export */ "scaleLinear": () => (/* reexport safe */ _src_linear__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
4422
|
+
/* harmony export */ "scaleLog": () => (/* reexport safe */ _src_log__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
4423
|
+
/* harmony export */ "scaleOrdinal": () => (/* reexport safe */ _src_ordinal__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
4388
4424
|
/* harmony export */ "scaleImplicit": () => (/* reexport safe */ _src_ordinal__WEBPACK_IMPORTED_MODULE_4__.implicit),
|
|
4389
|
-
/* harmony export */ "scalePow": () => (/* reexport safe */ _src_pow__WEBPACK_IMPORTED_MODULE_5__
|
|
4425
|
+
/* harmony export */ "scalePow": () => (/* reexport safe */ _src_pow__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
4390
4426
|
/* harmony export */ "scaleSqrt": () => (/* reexport safe */ _src_pow__WEBPACK_IMPORTED_MODULE_5__.sqrt),
|
|
4391
|
-
/* harmony export */ "scaleQuantile": () => (/* reexport safe */ _src_quantile__WEBPACK_IMPORTED_MODULE_6__
|
|
4392
|
-
/* harmony export */ "scaleQuantize": () => (/* reexport safe */ _src_quantize__WEBPACK_IMPORTED_MODULE_7__
|
|
4393
|
-
/* harmony export */ "scaleThreshold": () => (/* reexport safe */ _src_threshold__WEBPACK_IMPORTED_MODULE_8__
|
|
4394
|
-
/* harmony export */ "scaleTime": () => (/* reexport safe */ _src_time__WEBPACK_IMPORTED_MODULE_9__
|
|
4395
|
-
/* harmony export */ "scaleUtc": () => (/* reexport safe */ _src_utcTime__WEBPACK_IMPORTED_MODULE_10__
|
|
4396
|
-
/* harmony export */ "schemeCategory10": () => (/* reexport safe */ _src_category10__WEBPACK_IMPORTED_MODULE_11__
|
|
4397
|
-
/* harmony export */ "schemeCategory20b": () => (/* reexport safe */ _src_category20b__WEBPACK_IMPORTED_MODULE_12__
|
|
4398
|
-
/* harmony export */ "schemeCategory20c": () => (/* reexport safe */ _src_category20c__WEBPACK_IMPORTED_MODULE_13__
|
|
4399
|
-
/* harmony export */ "schemeCategory20": () => (/* reexport safe */ _src_category20__WEBPACK_IMPORTED_MODULE_14__
|
|
4400
|
-
/* harmony export */ "interpolateCubehelixDefault": () => (/* reexport safe */ _src_cubehelix__WEBPACK_IMPORTED_MODULE_15__
|
|
4401
|
-
/* harmony export */ "interpolateRainbow": () => (/* reexport safe */ _src_rainbow__WEBPACK_IMPORTED_MODULE_16__
|
|
4427
|
+
/* harmony export */ "scaleQuantile": () => (/* reexport safe */ _src_quantile__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
4428
|
+
/* harmony export */ "scaleQuantize": () => (/* reexport safe */ _src_quantize__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
4429
|
+
/* harmony export */ "scaleThreshold": () => (/* reexport safe */ _src_threshold__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
|
4430
|
+
/* harmony export */ "scaleTime": () => (/* reexport safe */ _src_time__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
|
4431
|
+
/* harmony export */ "scaleUtc": () => (/* reexport safe */ _src_utcTime__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
|
4432
|
+
/* harmony export */ "schemeCategory10": () => (/* reexport safe */ _src_category10__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
4433
|
+
/* harmony export */ "schemeCategory20b": () => (/* reexport safe */ _src_category20b__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
4434
|
+
/* harmony export */ "schemeCategory20c": () => (/* reexport safe */ _src_category20c__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
|
4435
|
+
/* harmony export */ "schemeCategory20": () => (/* reexport safe */ _src_category20__WEBPACK_IMPORTED_MODULE_14__["default"]),
|
|
4436
|
+
/* harmony export */ "interpolateCubehelixDefault": () => (/* reexport safe */ _src_cubehelix__WEBPACK_IMPORTED_MODULE_15__["default"]),
|
|
4437
|
+
/* harmony export */ "interpolateRainbow": () => (/* reexport safe */ _src_rainbow__WEBPACK_IMPORTED_MODULE_16__["default"]),
|
|
4402
4438
|
/* harmony export */ "interpolateWarm": () => (/* reexport safe */ _src_rainbow__WEBPACK_IMPORTED_MODULE_16__.warm),
|
|
4403
4439
|
/* harmony export */ "interpolateCool": () => (/* reexport safe */ _src_rainbow__WEBPACK_IMPORTED_MODULE_16__.cool),
|
|
4404
|
-
/* harmony export */ "interpolateViridis": () => (/* reexport safe */ _src_viridis__WEBPACK_IMPORTED_MODULE_17__
|
|
4440
|
+
/* harmony export */ "interpolateViridis": () => (/* reexport safe */ _src_viridis__WEBPACK_IMPORTED_MODULE_17__["default"]),
|
|
4405
4441
|
/* harmony export */ "interpolateMagma": () => (/* reexport safe */ _src_viridis__WEBPACK_IMPORTED_MODULE_17__.magma),
|
|
4406
4442
|
/* harmony export */ "interpolateInferno": () => (/* reexport safe */ _src_viridis__WEBPACK_IMPORTED_MODULE_17__.inferno),
|
|
4407
4443
|
/* harmony export */ "interpolatePlasma": () => (/* reexport safe */ _src_viridis__WEBPACK_IMPORTED_MODULE_17__.plasma),
|
|
4408
|
-
/* harmony export */ "scaleSequential": () => (/* reexport safe */ _src_sequential__WEBPACK_IMPORTED_MODULE_18__
|
|
4444
|
+
/* harmony export */ "scaleSequential": () => (/* reexport safe */ _src_sequential__WEBPACK_IMPORTED_MODULE_18__["default"])
|
|
4409
4445
|
/* harmony export */ });
|
|
4410
4446
|
/* harmony import */ var _src_band__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./src/band */ "../../../node_modules/d3-scale/src/band.js");
|
|
4411
4447
|
/* harmony import */ var _src_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./src/identity */ "../../../node_modules/d3-scale/src/identity.js");
|
|
@@ -4505,7 +4541,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4505
4541
|
|
|
4506
4542
|
|
|
4507
4543
|
function band() {
|
|
4508
|
-
var scale = (0,_ordinal__WEBPACK_IMPORTED_MODULE_1__
|
|
4544
|
+
var scale = (0,_ordinal__WEBPACK_IMPORTED_MODULE_1__["default"])().unknown(undefined),
|
|
4509
4545
|
domain = scale.domain,
|
|
4510
4546
|
ordinalRange = scale.range,
|
|
4511
4547
|
range = [0, 1],
|
|
@@ -4620,7 +4656,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4620
4656
|
/* harmony import */ var _colors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./colors */ "../../../node_modules/d3-scale/src/colors.js");
|
|
4621
4657
|
|
|
4622
4658
|
|
|
4623
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors__WEBPACK_IMPORTED_MODULE_0__
|
|
4659
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors__WEBPACK_IMPORTED_MODULE_0__["default"])("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"));
|
|
4624
4660
|
|
|
4625
4661
|
|
|
4626
4662
|
/***/ }),
|
|
@@ -4639,7 +4675,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4639
4675
|
/* harmony import */ var _colors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./colors */ "../../../node_modules/d3-scale/src/colors.js");
|
|
4640
4676
|
|
|
4641
4677
|
|
|
4642
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors__WEBPACK_IMPORTED_MODULE_0__
|
|
4678
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors__WEBPACK_IMPORTED_MODULE_0__["default"])("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"));
|
|
4643
4679
|
|
|
4644
4680
|
|
|
4645
4681
|
/***/ }),
|
|
@@ -4658,7 +4694,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4658
4694
|
/* harmony import */ var _colors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./colors */ "../../../node_modules/d3-scale/src/colors.js");
|
|
4659
4695
|
|
|
4660
4696
|
|
|
4661
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors__WEBPACK_IMPORTED_MODULE_0__
|
|
4697
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors__WEBPACK_IMPORTED_MODULE_0__["default"])("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"));
|
|
4662
4698
|
|
|
4663
4699
|
|
|
4664
4700
|
/***/ }),
|
|
@@ -4677,7 +4713,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4677
4713
|
/* harmony import */ var _colors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./colors */ "../../../node_modules/d3-scale/src/colors.js");
|
|
4678
4714
|
|
|
4679
4715
|
|
|
4680
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors__WEBPACK_IMPORTED_MODULE_0__
|
|
4716
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors__WEBPACK_IMPORTED_MODULE_0__["default"])("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"));
|
|
4681
4717
|
|
|
4682
4718
|
|
|
4683
4719
|
/***/ }),
|
|
@@ -4752,7 +4788,7 @@ var unit = [0, 1];
|
|
|
4752
4788
|
function deinterpolateLinear(a, b) {
|
|
4753
4789
|
return (b -= (a = +a))
|
|
4754
4790
|
? function(x) { return (x - a) / b; }
|
|
4755
|
-
: (0,_constant__WEBPACK_IMPORTED_MODULE_2__
|
|
4791
|
+
: (0,_constant__WEBPACK_IMPORTED_MODULE_2__["default"])(b);
|
|
4756
4792
|
}
|
|
4757
4793
|
|
|
4758
4794
|
function deinterpolateClamp(deinterpolate) {
|
|
@@ -4812,7 +4848,7 @@ function copy(source, target) {
|
|
|
4812
4848
|
function continuous(deinterpolate, reinterpolate) {
|
|
4813
4849
|
var domain = unit,
|
|
4814
4850
|
range = unit,
|
|
4815
|
-
interpolate = d3_interpolate__WEBPACK_IMPORTED_MODULE_4__
|
|
4851
|
+
interpolate = d3_interpolate__WEBPACK_IMPORTED_MODULE_4__["default"],
|
|
4816
4852
|
clamp = false,
|
|
4817
4853
|
piecewise,
|
|
4818
4854
|
output,
|
|
@@ -4833,7 +4869,7 @@ function continuous(deinterpolate, reinterpolate) {
|
|
|
4833
4869
|
};
|
|
4834
4870
|
|
|
4835
4871
|
scale.domain = function(_) {
|
|
4836
|
-
return arguments.length ? (domain = _array__WEBPACK_IMPORTED_MODULE_1__.map.call(_, _number__WEBPACK_IMPORTED_MODULE_3__
|
|
4872
|
+
return arguments.length ? (domain = _array__WEBPACK_IMPORTED_MODULE_1__.map.call(_, _number__WEBPACK_IMPORTED_MODULE_3__["default"]), rescale()) : domain.slice();
|
|
4837
4873
|
};
|
|
4838
4874
|
|
|
4839
4875
|
scale.range = function(_) {
|
|
@@ -4841,7 +4877,7 @@ function continuous(deinterpolate, reinterpolate) {
|
|
|
4841
4877
|
};
|
|
4842
4878
|
|
|
4843
4879
|
scale.rangeRound = function(_) {
|
|
4844
|
-
return range = _array__WEBPACK_IMPORTED_MODULE_1__.slice.call(_), interpolate = d3_interpolate__WEBPACK_IMPORTED_MODULE_5__
|
|
4880
|
+
return range = _array__WEBPACK_IMPORTED_MODULE_1__.slice.call(_), interpolate = d3_interpolate__WEBPACK_IMPORTED_MODULE_5__["default"], rescale();
|
|
4845
4881
|
};
|
|
4846
4882
|
|
|
4847
4883
|
scale.clamp = function(_) {
|
|
@@ -4874,7 +4910,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4874
4910
|
|
|
4875
4911
|
|
|
4876
4912
|
|
|
4877
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,d3_interpolate__WEBPACK_IMPORTED_MODULE_0__.cubehelixLong)((0,d3_color__WEBPACK_IMPORTED_MODULE_1__
|
|
4913
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,d3_interpolate__WEBPACK_IMPORTED_MODULE_0__.cubehelixLong)((0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(300, 0.5, 0.0), (0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(-240, 0.5, 1.0)));
|
|
4878
4914
|
|
|
4879
4915
|
|
|
4880
4916
|
/***/ }),
|
|
@@ -4907,7 +4943,7 @@ function identity() {
|
|
|
4907
4943
|
scale.invert = scale;
|
|
4908
4944
|
|
|
4909
4945
|
scale.domain = scale.range = function(_) {
|
|
4910
|
-
return arguments.length ? (domain = _array__WEBPACK_IMPORTED_MODULE_0__.map.call(_, _number__WEBPACK_IMPORTED_MODULE_2__
|
|
4946
|
+
return arguments.length ? (domain = _array__WEBPACK_IMPORTED_MODULE_0__.map.call(_, _number__WEBPACK_IMPORTED_MODULE_2__["default"]), scale) : domain.slice();
|
|
4911
4947
|
};
|
|
4912
4948
|
|
|
4913
4949
|
scale.copy = function() {
|
|
@@ -4950,7 +4986,7 @@ function linearish(scale) {
|
|
|
4950
4986
|
};
|
|
4951
4987
|
|
|
4952
4988
|
scale.tickFormat = function(count, specifier) {
|
|
4953
|
-
return (0,_tickFormat__WEBPACK_IMPORTED_MODULE_2__
|
|
4989
|
+
return (0,_tickFormat__WEBPACK_IMPORTED_MODULE_2__["default"])(domain(), count, specifier);
|
|
4954
4990
|
};
|
|
4955
4991
|
|
|
4956
4992
|
scale.nice = function(count) {
|
|
@@ -4997,7 +5033,7 @@ function linearish(scale) {
|
|
|
4997
5033
|
}
|
|
4998
5034
|
|
|
4999
5035
|
function linear() {
|
|
5000
|
-
var scale = (0,_continuous__WEBPACK_IMPORTED_MODULE_1__
|
|
5036
|
+
var scale = (0,_continuous__WEBPACK_IMPORTED_MODULE_1__["default"])(_continuous__WEBPACK_IMPORTED_MODULE_1__.deinterpolateLinear, d3_interpolate__WEBPACK_IMPORTED_MODULE_3__["default"]);
|
|
5001
5037
|
|
|
5002
5038
|
scale.copy = function() {
|
|
5003
5039
|
return (0,_continuous__WEBPACK_IMPORTED_MODULE_1__.copy)(scale, linear());
|
|
@@ -5034,7 +5070,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5034
5070
|
function deinterpolate(a, b) {
|
|
5035
5071
|
return (b = Math.log(b / a))
|
|
5036
5072
|
? function(x) { return Math.log(x / a) / b; }
|
|
5037
|
-
: (0,_constant__WEBPACK_IMPORTED_MODULE_1__
|
|
5073
|
+
: (0,_constant__WEBPACK_IMPORTED_MODULE_1__["default"])(b);
|
|
5038
5074
|
}
|
|
5039
5075
|
|
|
5040
5076
|
function reinterpolate(a, b) {
|
|
@@ -5067,7 +5103,7 @@ function reflect(f) {
|
|
|
5067
5103
|
}
|
|
5068
5104
|
|
|
5069
5105
|
function log() {
|
|
5070
|
-
var scale = (0,_continuous__WEBPACK_IMPORTED_MODULE_3__
|
|
5106
|
+
var scale = (0,_continuous__WEBPACK_IMPORTED_MODULE_3__["default"])(deinterpolate, reinterpolate).domain([1, 10]),
|
|
5071
5107
|
domain = scale.domain,
|
|
5072
5108
|
base = 10,
|
|
5073
5109
|
logs = logp(10),
|
|
@@ -5141,7 +5177,7 @@ function log() {
|
|
|
5141
5177
|
};
|
|
5142
5178
|
|
|
5143
5179
|
scale.nice = function() {
|
|
5144
|
-
return domain((0,_nice__WEBPACK_IMPORTED_MODULE_2__
|
|
5180
|
+
return domain((0,_nice__WEBPACK_IMPORTED_MODULE_2__["default"])(domain(), {
|
|
5145
5181
|
floor: function(x) { return pows(Math.floor(logs(x))); },
|
|
5146
5182
|
ceil: function(x) { return pows(Math.ceil(logs(x))); }
|
|
5147
5183
|
}));
|
|
@@ -5297,13 +5333,13 @@ function raise(x, exponent) {
|
|
|
5297
5333
|
|
|
5298
5334
|
function pow() {
|
|
5299
5335
|
var exponent = 1,
|
|
5300
|
-
scale = (0,_continuous__WEBPACK_IMPORTED_MODULE_2__
|
|
5336
|
+
scale = (0,_continuous__WEBPACK_IMPORTED_MODULE_2__["default"])(deinterpolate, reinterpolate),
|
|
5301
5337
|
domain = scale.domain;
|
|
5302
5338
|
|
|
5303
5339
|
function deinterpolate(a, b) {
|
|
5304
5340
|
return (b = raise(b, exponent) - (a = raise(a, exponent)))
|
|
5305
5341
|
? function(x) { return (raise(x, exponent) - a) / b; }
|
|
5306
|
-
: (0,_constant__WEBPACK_IMPORTED_MODULE_0__
|
|
5342
|
+
: (0,_constant__WEBPACK_IMPORTED_MODULE_0__["default"])(b);
|
|
5307
5343
|
}
|
|
5308
5344
|
|
|
5309
5345
|
function reinterpolate(a, b) {
|
|
@@ -5479,11 +5515,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5479
5515
|
|
|
5480
5516
|
|
|
5481
5517
|
|
|
5482
|
-
var warm = (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_0__.cubehelixLong)((0,d3_color__WEBPACK_IMPORTED_MODULE_1__
|
|
5518
|
+
var warm = (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_0__.cubehelixLong)((0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(-100, 0.75, 0.35), (0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(80, 1.50, 0.8));
|
|
5483
5519
|
|
|
5484
|
-
var cool = (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_0__.cubehelixLong)((0,d3_color__WEBPACK_IMPORTED_MODULE_1__
|
|
5520
|
+
var cool = (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_0__.cubehelixLong)((0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(260, 0.75, 0.35), (0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(80, 1.50, 0.8));
|
|
5485
5521
|
|
|
5486
|
-
var rainbow = (0,d3_color__WEBPACK_IMPORTED_MODULE_1__
|
|
5522
|
+
var rainbow = (0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])();
|
|
5487
5523
|
|
|
5488
5524
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(t) {
|
|
5489
5525
|
if (t < 0 || t > 1) t -= Math.floor(t);
|
|
@@ -5618,11 +5654,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5618
5654
|
stop = domain[domain.length - 1],
|
|
5619
5655
|
step = (0,d3_array__WEBPACK_IMPORTED_MODULE_0__.tickStep)(start, stop, count == null ? 10 : count),
|
|
5620
5656
|
precision;
|
|
5621
|
-
specifier = (0,d3_format__WEBPACK_IMPORTED_MODULE_1__
|
|
5657
|
+
specifier = (0,d3_format__WEBPACK_IMPORTED_MODULE_1__["default"])(specifier == null ? ",f" : specifier);
|
|
5622
5658
|
switch (specifier.type) {
|
|
5623
5659
|
case "s": {
|
|
5624
5660
|
var value = Math.max(Math.abs(start), Math.abs(stop));
|
|
5625
|
-
if (specifier.precision == null && !isNaN(precision = (0,d3_format__WEBPACK_IMPORTED_MODULE_2__
|
|
5661
|
+
if (specifier.precision == null && !isNaN(precision = (0,d3_format__WEBPACK_IMPORTED_MODULE_2__["default"])(step, value))) specifier.precision = precision;
|
|
5626
5662
|
return (0,d3_format__WEBPACK_IMPORTED_MODULE_3__.formatPrefix)(specifier, value);
|
|
5627
5663
|
}
|
|
5628
5664
|
case "":
|
|
@@ -5630,12 +5666,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5630
5666
|
case "g":
|
|
5631
5667
|
case "p":
|
|
5632
5668
|
case "r": {
|
|
5633
|
-
if (specifier.precision == null && !isNaN(precision = (0,d3_format__WEBPACK_IMPORTED_MODULE_4__
|
|
5669
|
+
if (specifier.precision == null && !isNaN(precision = (0,d3_format__WEBPACK_IMPORTED_MODULE_4__["default"])(step, Math.max(Math.abs(start), Math.abs(stop))))) specifier.precision = precision - (specifier.type === "e");
|
|
5634
5670
|
break;
|
|
5635
5671
|
}
|
|
5636
5672
|
case "f":
|
|
5637
5673
|
case "%": {
|
|
5638
|
-
if (specifier.precision == null && !isNaN(precision = (0,d3_format__WEBPACK_IMPORTED_MODULE_5__
|
|
5674
|
+
if (specifier.precision == null && !isNaN(precision = (0,d3_format__WEBPACK_IMPORTED_MODULE_5__["default"])(step))) specifier.precision = precision - (specifier.type === "%") * 2;
|
|
5639
5675
|
break;
|
|
5640
5676
|
}
|
|
5641
5677
|
}
|
|
@@ -5696,7 +5732,7 @@ function number(t) {
|
|
|
5696
5732
|
}
|
|
5697
5733
|
|
|
5698
5734
|
function calendar(year, month, week, day, hour, minute, second, millisecond, format) {
|
|
5699
|
-
var scale = (0,_continuous__WEBPACK_IMPORTED_MODULE_2__
|
|
5735
|
+
var scale = (0,_continuous__WEBPACK_IMPORTED_MODULE_2__["default"])(_continuous__WEBPACK_IMPORTED_MODULE_2__.deinterpolateLinear, d3_interpolate__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
5700
5736
|
invert = scale.invert,
|
|
5701
5737
|
domain = scale.domain;
|
|
5702
5738
|
|
|
@@ -5792,7 +5828,7 @@ function calendar(year, month, week, day, hour, minute, second, millisecond, for
|
|
|
5792
5828
|
scale.nice = function(interval, step) {
|
|
5793
5829
|
var d = domain();
|
|
5794
5830
|
return (interval = tickInterval(interval, d[0], d[d.length - 1], step))
|
|
5795
|
-
? domain((0,_nice__WEBPACK_IMPORTED_MODULE_3__
|
|
5831
|
+
? domain((0,_nice__WEBPACK_IMPORTED_MODULE_3__["default"])(d, interval))
|
|
5796
5832
|
: scale;
|
|
5797
5833
|
};
|
|
5798
5834
|
|
|
@@ -5804,7 +5840,7 @@ function calendar(year, month, week, day, hour, minute, second, millisecond, for
|
|
|
5804
5840
|
}
|
|
5805
5841
|
|
|
5806
5842
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {
|
|
5807
|
-
return calendar(d3_time__WEBPACK_IMPORTED_MODULE_5__
|
|
5843
|
+
return calendar(d3_time__WEBPACK_IMPORTED_MODULE_5__["default"], d3_time__WEBPACK_IMPORTED_MODULE_6__["default"], d3_time__WEBPACK_IMPORTED_MODULE_7__.sunday, d3_time__WEBPACK_IMPORTED_MODULE_8__["default"], d3_time__WEBPACK_IMPORTED_MODULE_9__["default"], d3_time__WEBPACK_IMPORTED_MODULE_10__["default"], d3_time__WEBPACK_IMPORTED_MODULE_11__["default"], d3_time__WEBPACK_IMPORTED_MODULE_12__["default"], d3_time_format__WEBPACK_IMPORTED_MODULE_13__.timeFormat).domain([new Date(2000, 0, 1), new Date(2000, 0, 2)]);
|
|
5808
5844
|
}
|
|
5809
5845
|
|
|
5810
5846
|
|
|
@@ -5836,7 +5872,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5836
5872
|
|
|
5837
5873
|
|
|
5838
5874
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {
|
|
5839
|
-
return (0,_time__WEBPACK_IMPORTED_MODULE_0__.calendar)(d3_time__WEBPACK_IMPORTED_MODULE_1__
|
|
5875
|
+
return (0,_time__WEBPACK_IMPORTED_MODULE_0__.calendar)(d3_time__WEBPACK_IMPORTED_MODULE_1__["default"], d3_time__WEBPACK_IMPORTED_MODULE_2__["default"], d3_time__WEBPACK_IMPORTED_MODULE_3__.utcSunday, d3_time__WEBPACK_IMPORTED_MODULE_4__["default"], d3_time__WEBPACK_IMPORTED_MODULE_5__["default"], d3_time__WEBPACK_IMPORTED_MODULE_6__["default"], d3_time__WEBPACK_IMPORTED_MODULE_7__["default"], d3_time__WEBPACK_IMPORTED_MODULE_8__["default"], d3_time_format__WEBPACK_IMPORTED_MODULE_9__.utcFormat).domain([Date.UTC(2000, 0, 1), Date.UTC(2000, 0, 2)]);
|
|
5840
5876
|
}
|
|
5841
5877
|
|
|
5842
5878
|
|
|
@@ -5866,13 +5902,13 @@ function ramp(range) {
|
|
|
5866
5902
|
};
|
|
5867
5903
|
}
|
|
5868
5904
|
|
|
5869
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ramp((0,_colors__WEBPACK_IMPORTED_MODULE_0__
|
|
5905
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ramp((0,_colors__WEBPACK_IMPORTED_MODULE_0__["default"])("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")));
|
|
5870
5906
|
|
|
5871
|
-
var magma = ramp((0,_colors__WEBPACK_IMPORTED_MODULE_0__
|
|
5907
|
+
var magma = ramp((0,_colors__WEBPACK_IMPORTED_MODULE_0__["default"])("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf"));
|
|
5872
5908
|
|
|
5873
|
-
var inferno = ramp((0,_colors__WEBPACK_IMPORTED_MODULE_0__
|
|
5909
|
+
var inferno = ramp((0,_colors__WEBPACK_IMPORTED_MODULE_0__["default"])("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4"));
|
|
5874
5910
|
|
|
5875
|
-
var plasma = ramp((0,_colors__WEBPACK_IMPORTED_MODULE_0__
|
|
5911
|
+
var plasma = ramp((0,_colors__WEBPACK_IMPORTED_MODULE_0__["default"])("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));
|
|
5876
5912
|
|
|
5877
5913
|
|
|
5878
5914
|
/***/ }),
|
|
@@ -5913,7 +5949,7 @@ defaultLocale({
|
|
|
5913
5949
|
});
|
|
5914
5950
|
|
|
5915
5951
|
function defaultLocale(definition) {
|
|
5916
|
-
locale = (0,_locale_js__WEBPACK_IMPORTED_MODULE_0__
|
|
5952
|
+
locale = (0,_locale_js__WEBPACK_IMPORTED_MODULE_0__["default"])(definition);
|
|
5917
5953
|
timeFormat = locale.format;
|
|
5918
5954
|
timeParse = locale.parse;
|
|
5919
5955
|
utcFormat = locale.utcFormat;
|
|
@@ -5995,6 +6031,8 @@ function formatLocale(locale) {
|
|
|
5995
6031
|
"d": formatDayOfMonth,
|
|
5996
6032
|
"e": formatDayOfMonth,
|
|
5997
6033
|
"f": formatMicroseconds,
|
|
6034
|
+
"g": formatYearISO,
|
|
6035
|
+
"G": formatFullYearISO,
|
|
5998
6036
|
"H": formatHour24,
|
|
5999
6037
|
"I": formatHour12,
|
|
6000
6038
|
"j": formatDayOfYear,
|
|
@@ -6028,6 +6066,8 @@ function formatLocale(locale) {
|
|
|
6028
6066
|
"d": formatUTCDayOfMonth,
|
|
6029
6067
|
"e": formatUTCDayOfMonth,
|
|
6030
6068
|
"f": formatUTCMicroseconds,
|
|
6069
|
+
"g": formatUTCYearISO,
|
|
6070
|
+
"G": formatUTCFullYearISO,
|
|
6031
6071
|
"H": formatUTCHour24,
|
|
6032
6072
|
"I": formatUTCHour12,
|
|
6033
6073
|
"j": formatUTCDayOfYear,
|
|
@@ -6061,6 +6101,8 @@ function formatLocale(locale) {
|
|
|
6061
6101
|
"d": parseDayOfMonth,
|
|
6062
6102
|
"e": parseDayOfMonth,
|
|
6063
6103
|
"f": parseMicroseconds,
|
|
6104
|
+
"g": parseYear,
|
|
6105
|
+
"G": parseFullYear,
|
|
6064
6106
|
"H": parseHour24,
|
|
6065
6107
|
"I": parseHour24,
|
|
6066
6108
|
"j": parseDayOfYear,
|
|
@@ -6148,14 +6190,14 @@ function formatLocale(locale) {
|
|
|
6148
6190
|
if ("Z" in d) {
|
|
6149
6191
|
week = utcDate(newDate(d.y, 0, 1)), day = week.getUTCDay();
|
|
6150
6192
|
week = day > 4 || day === 0 ? d3_time__WEBPACK_IMPORTED_MODULE_0__.utcMonday.ceil(week) : (0,d3_time__WEBPACK_IMPORTED_MODULE_0__.utcMonday)(week);
|
|
6151
|
-
week = d3_time__WEBPACK_IMPORTED_MODULE_1__
|
|
6193
|
+
week = d3_time__WEBPACK_IMPORTED_MODULE_1__["default"].offset(week, (d.V - 1) * 7);
|
|
6152
6194
|
d.y = week.getUTCFullYear();
|
|
6153
6195
|
d.m = week.getUTCMonth();
|
|
6154
6196
|
d.d = week.getUTCDate() + (d.w + 6) % 7;
|
|
6155
6197
|
} else {
|
|
6156
6198
|
week = localDate(newDate(d.y, 0, 1)), day = week.getDay();
|
|
6157
6199
|
week = day > 4 || day === 0 ? d3_time__WEBPACK_IMPORTED_MODULE_2__.monday.ceil(week) : (0,d3_time__WEBPACK_IMPORTED_MODULE_2__.monday)(week);
|
|
6158
|
-
week = d3_time__WEBPACK_IMPORTED_MODULE_3__
|
|
6200
|
+
week = d3_time__WEBPACK_IMPORTED_MODULE_3__["default"].offset(week, (d.V - 1) * 7);
|
|
6159
6201
|
d.y = week.getFullYear();
|
|
6160
6202
|
d.m = week.getMonth();
|
|
6161
6203
|
d.d = week.getDate() + (d.w + 6) % 7;
|
|
@@ -6450,7 +6492,7 @@ function formatHour12(d, p) {
|
|
|
6450
6492
|
}
|
|
6451
6493
|
|
|
6452
6494
|
function formatDayOfYear(d, p) {
|
|
6453
|
-
return pad(1 + d3_time__WEBPACK_IMPORTED_MODULE_3__
|
|
6495
|
+
return pad(1 + d3_time__WEBPACK_IMPORTED_MODULE_3__["default"].count((0,d3_time__WEBPACK_IMPORTED_MODULE_4__["default"])(d), d), p, 3);
|
|
6454
6496
|
}
|
|
6455
6497
|
|
|
6456
6498
|
function formatMilliseconds(d, p) {
|
|
@@ -6479,13 +6521,17 @@ function formatWeekdayNumberMonday(d) {
|
|
|
6479
6521
|
}
|
|
6480
6522
|
|
|
6481
6523
|
function formatWeekNumberSunday(d, p) {
|
|
6482
|
-
return pad(d3_time__WEBPACK_IMPORTED_MODULE_2__.sunday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_4__
|
|
6524
|
+
return pad(d3_time__WEBPACK_IMPORTED_MODULE_2__.sunday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_4__["default"])(d) - 1, d), p, 2);
|
|
6483
6525
|
}
|
|
6484
6526
|
|
|
6485
|
-
function
|
|
6527
|
+
function dISO(d) {
|
|
6486
6528
|
var day = d.getDay();
|
|
6487
|
-
|
|
6488
|
-
|
|
6529
|
+
return (day >= 4 || day === 0) ? (0,d3_time__WEBPACK_IMPORTED_MODULE_2__.thursday)(d) : d3_time__WEBPACK_IMPORTED_MODULE_2__.thursday.ceil(d);
|
|
6530
|
+
}
|
|
6531
|
+
|
|
6532
|
+
function formatWeekNumberISO(d, p) {
|
|
6533
|
+
d = dISO(d);
|
|
6534
|
+
return pad(d3_time__WEBPACK_IMPORTED_MODULE_2__.thursday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_4__["default"])(d), d) + ((0,d3_time__WEBPACK_IMPORTED_MODULE_4__["default"])(d).getDay() === 4), p, 2);
|
|
6489
6535
|
}
|
|
6490
6536
|
|
|
6491
6537
|
function formatWeekdayNumberSunday(d) {
|
|
@@ -6493,17 +6539,28 @@ function formatWeekdayNumberSunday(d) {
|
|
|
6493
6539
|
}
|
|
6494
6540
|
|
|
6495
6541
|
function formatWeekNumberMonday(d, p) {
|
|
6496
|
-
return pad(d3_time__WEBPACK_IMPORTED_MODULE_2__.monday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_4__
|
|
6542
|
+
return pad(d3_time__WEBPACK_IMPORTED_MODULE_2__.monday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_4__["default"])(d) - 1, d), p, 2);
|
|
6497
6543
|
}
|
|
6498
6544
|
|
|
6499
6545
|
function formatYear(d, p) {
|
|
6500
6546
|
return pad(d.getFullYear() % 100, p, 2);
|
|
6501
6547
|
}
|
|
6502
6548
|
|
|
6549
|
+
function formatYearISO(d, p) {
|
|
6550
|
+
d = dISO(d);
|
|
6551
|
+
return pad(d.getFullYear() % 100, p, 2);
|
|
6552
|
+
}
|
|
6553
|
+
|
|
6503
6554
|
function formatFullYear(d, p) {
|
|
6504
6555
|
return pad(d.getFullYear() % 10000, p, 4);
|
|
6505
6556
|
}
|
|
6506
6557
|
|
|
6558
|
+
function formatFullYearISO(d, p) {
|
|
6559
|
+
var day = d.getDay();
|
|
6560
|
+
d = (day >= 4 || day === 0) ? (0,d3_time__WEBPACK_IMPORTED_MODULE_2__.thursday)(d) : d3_time__WEBPACK_IMPORTED_MODULE_2__.thursday.ceil(d);
|
|
6561
|
+
return pad(d.getFullYear() % 10000, p, 4);
|
|
6562
|
+
}
|
|
6563
|
+
|
|
6507
6564
|
function formatZone(d) {
|
|
6508
6565
|
var z = d.getTimezoneOffset();
|
|
6509
6566
|
return (z > 0 ? "-" : (z *= -1, "+"))
|
|
@@ -6524,7 +6581,7 @@ function formatUTCHour12(d, p) {
|
|
|
6524
6581
|
}
|
|
6525
6582
|
|
|
6526
6583
|
function formatUTCDayOfYear(d, p) {
|
|
6527
|
-
return pad(1 + d3_time__WEBPACK_IMPORTED_MODULE_1__
|
|
6584
|
+
return pad(1 + d3_time__WEBPACK_IMPORTED_MODULE_1__["default"].count((0,d3_time__WEBPACK_IMPORTED_MODULE_5__["default"])(d), d), p, 3);
|
|
6528
6585
|
}
|
|
6529
6586
|
|
|
6530
6587
|
function formatUTCMilliseconds(d, p) {
|
|
@@ -6553,13 +6610,17 @@ function formatUTCWeekdayNumberMonday(d) {
|
|
|
6553
6610
|
}
|
|
6554
6611
|
|
|
6555
6612
|
function formatUTCWeekNumberSunday(d, p) {
|
|
6556
|
-
return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcSunday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_5__
|
|
6613
|
+
return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcSunday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_5__["default"])(d) - 1, d), p, 2);
|
|
6557
6614
|
}
|
|
6558
6615
|
|
|
6559
|
-
function
|
|
6616
|
+
function UTCdISO(d) {
|
|
6560
6617
|
var day = d.getUTCDay();
|
|
6561
|
-
|
|
6562
|
-
|
|
6618
|
+
return (day >= 4 || day === 0) ? (0,d3_time__WEBPACK_IMPORTED_MODULE_0__.utcThursday)(d) : d3_time__WEBPACK_IMPORTED_MODULE_0__.utcThursday.ceil(d);
|
|
6619
|
+
}
|
|
6620
|
+
|
|
6621
|
+
function formatUTCWeekNumberISO(d, p) {
|
|
6622
|
+
d = UTCdISO(d);
|
|
6623
|
+
return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcThursday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_5__["default"])(d), d) + ((0,d3_time__WEBPACK_IMPORTED_MODULE_5__["default"])(d).getUTCDay() === 4), p, 2);
|
|
6563
6624
|
}
|
|
6564
6625
|
|
|
6565
6626
|
function formatUTCWeekdayNumberSunday(d) {
|
|
@@ -6567,17 +6628,28 @@ function formatUTCWeekdayNumberSunday(d) {
|
|
|
6567
6628
|
}
|
|
6568
6629
|
|
|
6569
6630
|
function formatUTCWeekNumberMonday(d, p) {
|
|
6570
|
-
return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcMonday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_5__
|
|
6631
|
+
return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcMonday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_5__["default"])(d) - 1, d), p, 2);
|
|
6571
6632
|
}
|
|
6572
6633
|
|
|
6573
6634
|
function formatUTCYear(d, p) {
|
|
6574
6635
|
return pad(d.getUTCFullYear() % 100, p, 2);
|
|
6575
6636
|
}
|
|
6576
6637
|
|
|
6638
|
+
function formatUTCYearISO(d, p) {
|
|
6639
|
+
d = UTCdISO(d);
|
|
6640
|
+
return pad(d.getUTCFullYear() % 100, p, 2);
|
|
6641
|
+
}
|
|
6642
|
+
|
|
6577
6643
|
function formatUTCFullYear(d, p) {
|
|
6578
6644
|
return pad(d.getUTCFullYear() % 10000, p, 4);
|
|
6579
6645
|
}
|
|
6580
6646
|
|
|
6647
|
+
function formatUTCFullYearISO(d, p) {
|
|
6648
|
+
var day = d.getUTCDay();
|
|
6649
|
+
d = (day >= 4 || day === 0) ? (0,d3_time__WEBPACK_IMPORTED_MODULE_0__.utcThursday)(d) : d3_time__WEBPACK_IMPORTED_MODULE_0__.utcThursday.ceil(d);
|
|
6650
|
+
return pad(d.getUTCFullYear() % 10000, p, 4);
|
|
6651
|
+
}
|
|
6652
|
+
|
|
6581
6653
|
function formatUTCZone() {
|
|
6582
6654
|
return "+0000";
|
|
6583
6655
|
}
|
|
@@ -6614,7 +6686,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6614
6686
|
|
|
6615
6687
|
|
|
6616
6688
|
|
|
6617
|
-
var day = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
6689
|
+
var day = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
6618
6690
|
date.setHours(0, 0, 0, 0);
|
|
6619
6691
|
}, function(date, step) {
|
|
6620
6692
|
date.setDate(date.getDate() + step);
|
|
@@ -6671,7 +6743,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6671
6743
|
|
|
6672
6744
|
|
|
6673
6745
|
|
|
6674
|
-
var hour = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
6746
|
+
var hour = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
6675
6747
|
date.setTime(date - date.getMilliseconds() - date.getSeconds() * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationSecond - date.getMinutes() * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute);
|
|
6676
6748
|
}, function(date, step) {
|
|
6677
6749
|
date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationHour);
|
|
@@ -6787,7 +6859,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6787
6859
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../../node_modules/d3-time/src/interval.js");
|
|
6788
6860
|
|
|
6789
6861
|
|
|
6790
|
-
var millisecond = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
6862
|
+
var millisecond = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function() {
|
|
6791
6863
|
// noop
|
|
6792
6864
|
}, function(date, step) {
|
|
6793
6865
|
date.setTime(+date + step);
|
|
@@ -6800,7 +6872,7 @@ millisecond.every = function(k) {
|
|
|
6800
6872
|
k = Math.floor(k);
|
|
6801
6873
|
if (!isFinite(k) || !(k > 0)) return null;
|
|
6802
6874
|
if (!(k > 1)) return millisecond;
|
|
6803
|
-
return (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
6875
|
+
return (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
6804
6876
|
date.setTime(Math.floor(date / k) * k);
|
|
6805
6877
|
}, function(date, step) {
|
|
6806
6878
|
date.setTime(+date + step * k);
|
|
@@ -6832,7 +6904,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6832
6904
|
|
|
6833
6905
|
|
|
6834
6906
|
|
|
6835
|
-
var minute = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
6907
|
+
var minute = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
6836
6908
|
date.setTime(date - date.getMilliseconds() - date.getSeconds() * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationSecond);
|
|
6837
6909
|
}, function(date, step) {
|
|
6838
6910
|
date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute);
|
|
@@ -6863,7 +6935,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6863
6935
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../../node_modules/d3-time/src/interval.js");
|
|
6864
6936
|
|
|
6865
6937
|
|
|
6866
|
-
var month = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
6938
|
+
var month = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
6867
6939
|
date.setDate(1);
|
|
6868
6940
|
date.setHours(0, 0, 0, 0);
|
|
6869
6941
|
}, function(date, step) {
|
|
@@ -6897,7 +6969,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6897
6969
|
|
|
6898
6970
|
|
|
6899
6971
|
|
|
6900
|
-
var second = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
6972
|
+
var second = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
6901
6973
|
date.setTime(date - date.getMilliseconds());
|
|
6902
6974
|
}, function(date, step) {
|
|
6903
6975
|
date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationSecond);
|
|
@@ -6930,7 +7002,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6930
7002
|
|
|
6931
7003
|
|
|
6932
7004
|
|
|
6933
|
-
var utcDay = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7005
|
+
var utcDay = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
6934
7006
|
date.setUTCHours(0, 0, 0, 0);
|
|
6935
7007
|
}, function(date, step) {
|
|
6936
7008
|
date.setUTCDate(date.getUTCDate() + step);
|
|
@@ -6963,7 +7035,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6963
7035
|
|
|
6964
7036
|
|
|
6965
7037
|
|
|
6966
|
-
var utcHour = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7038
|
+
var utcHour = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
6967
7039
|
date.setUTCMinutes(0, 0, 0);
|
|
6968
7040
|
}, function(date, step) {
|
|
6969
7041
|
date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationHour);
|
|
@@ -6996,7 +7068,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6996
7068
|
|
|
6997
7069
|
|
|
6998
7070
|
|
|
6999
|
-
var utcMinute = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7071
|
+
var utcMinute = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7000
7072
|
date.setUTCSeconds(0, 0);
|
|
7001
7073
|
}, function(date, step) {
|
|
7002
7074
|
date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute);
|
|
@@ -7027,7 +7099,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7027
7099
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../../node_modules/d3-time/src/interval.js");
|
|
7028
7100
|
|
|
7029
7101
|
|
|
7030
|
-
var utcMonth = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7102
|
+
var utcMonth = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7031
7103
|
date.setUTCDate(1);
|
|
7032
7104
|
date.setUTCHours(0, 0, 0, 0);
|
|
7033
7105
|
}, function(date, step) {
|
|
@@ -7074,7 +7146,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7074
7146
|
|
|
7075
7147
|
|
|
7076
7148
|
function utcWeekday(i) {
|
|
7077
|
-
return (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7149
|
+
return (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7078
7150
|
date.setUTCDate(date.getUTCDate() - (date.getUTCDay() + 7 - i) % 7);
|
|
7079
7151
|
date.setUTCHours(0, 0, 0, 0);
|
|
7080
7152
|
}, function(date, step) {
|
|
@@ -7118,7 +7190,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7118
7190
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../../node_modules/d3-time/src/interval.js");
|
|
7119
7191
|
|
|
7120
7192
|
|
|
7121
|
-
var utcYear = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7193
|
+
var utcYear = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7122
7194
|
date.setUTCMonth(0, 1);
|
|
7123
7195
|
date.setUTCHours(0, 0, 0, 0);
|
|
7124
7196
|
}, function(date, step) {
|
|
@@ -7131,7 +7203,7 @@ var utcYear = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.default)(function(dat
|
|
|
7131
7203
|
|
|
7132
7204
|
// An optimized implementation for this simple case.
|
|
7133
7205
|
utcYear.every = function(k) {
|
|
7134
|
-
return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7206
|
+
return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7135
7207
|
date.setUTCFullYear(Math.floor(date.getUTCFullYear() / k) * k);
|
|
7136
7208
|
date.setUTCMonth(0, 1);
|
|
7137
7209
|
date.setUTCHours(0, 0, 0, 0);
|
|
@@ -7176,7 +7248,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7176
7248
|
|
|
7177
7249
|
|
|
7178
7250
|
function weekday(i) {
|
|
7179
|
-
return (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7251
|
+
return (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7180
7252
|
date.setDate(date.getDate() - (date.getDay() + 7 - i) % 7);
|
|
7181
7253
|
date.setHours(0, 0, 0, 0);
|
|
7182
7254
|
}, function(date, step) {
|
|
@@ -7220,7 +7292,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7220
7292
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../../node_modules/d3-time/src/interval.js");
|
|
7221
7293
|
|
|
7222
7294
|
|
|
7223
|
-
var year = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7295
|
+
var year = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7224
7296
|
date.setMonth(0, 1);
|
|
7225
7297
|
date.setHours(0, 0, 0, 0);
|
|
7226
7298
|
}, function(date, step) {
|
|
@@ -7233,7 +7305,7 @@ var year = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.default)(function(date)
|
|
|
7233
7305
|
|
|
7234
7306
|
// An optimized implementation for this simple case.
|
|
7235
7307
|
year.every = function(k) {
|
|
7236
|
-
return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7308
|
+
return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7237
7309
|
date.setFullYear(Math.floor(date.getFullYear() / k) * k);
|
|
7238
7310
|
date.setMonth(0, 1);
|
|
7239
7311
|
date.setHours(0, 0, 0, 0);
|
|
@@ -8935,6 +9007,53 @@ function baseSortedUniq(array, iteratee) {
|
|
|
8935
9007
|
module.exports = baseSortedUniq;
|
|
8936
9008
|
|
|
8937
9009
|
|
|
9010
|
+
/***/ }),
|
|
9011
|
+
|
|
9012
|
+
/***/ "../../../node_modules/lodash/_baseToString.js":
|
|
9013
|
+
/*!*****************************************************!*\
|
|
9014
|
+
!*** ../../../node_modules/lodash/_baseToString.js ***!
|
|
9015
|
+
\*****************************************************/
|
|
9016
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
9017
|
+
|
|
9018
|
+
var Symbol = __webpack_require__(/*! ./_Symbol */ "../../../node_modules/lodash/_Symbol.js"),
|
|
9019
|
+
arrayMap = __webpack_require__(/*! ./_arrayMap */ "../../../node_modules/lodash/_arrayMap.js"),
|
|
9020
|
+
isArray = __webpack_require__(/*! ./isArray */ "../../../node_modules/lodash/isArray.js"),
|
|
9021
|
+
isSymbol = __webpack_require__(/*! ./isSymbol */ "../../../node_modules/lodash/isSymbol.js");
|
|
9022
|
+
|
|
9023
|
+
/** Used as references for various `Number` constants. */
|
|
9024
|
+
var INFINITY = 1 / 0;
|
|
9025
|
+
|
|
9026
|
+
/** Used to convert symbols to primitives and strings. */
|
|
9027
|
+
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
|
9028
|
+
symbolToString = symbolProto ? symbolProto.toString : undefined;
|
|
9029
|
+
|
|
9030
|
+
/**
|
|
9031
|
+
* The base implementation of `_.toString` which doesn't convert nullish
|
|
9032
|
+
* values to empty strings.
|
|
9033
|
+
*
|
|
9034
|
+
* @private
|
|
9035
|
+
* @param {*} value The value to process.
|
|
9036
|
+
* @returns {string} Returns the string.
|
|
9037
|
+
*/
|
|
9038
|
+
function baseToString(value) {
|
|
9039
|
+
// Exit early for strings to avoid a performance hit in some environments.
|
|
9040
|
+
if (typeof value == 'string') {
|
|
9041
|
+
return value;
|
|
9042
|
+
}
|
|
9043
|
+
if (isArray(value)) {
|
|
9044
|
+
// Recursively convert values (susceptible to call stack limits).
|
|
9045
|
+
return arrayMap(value, baseToString) + '';
|
|
9046
|
+
}
|
|
9047
|
+
if (isSymbol(value)) {
|
|
9048
|
+
return symbolToString ? symbolToString.call(value) : '';
|
|
9049
|
+
}
|
|
9050
|
+
var result = (value + '');
|
|
9051
|
+
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
|
9052
|
+
}
|
|
9053
|
+
|
|
9054
|
+
module.exports = baseToString;
|
|
9055
|
+
|
|
9056
|
+
|
|
8938
9057
|
/***/ }),
|
|
8939
9058
|
|
|
8940
9059
|
/***/ "../../../node_modules/lodash/_baseTrim.js":
|
|
@@ -12701,29 +12820,36 @@ module.exports = toNumber;
|
|
|
12701
12820
|
/*!************************************************!*\
|
|
12702
12821
|
!*** ../../../node_modules/lodash/toString.js ***!
|
|
12703
12822
|
\************************************************/
|
|
12704
|
-
/***/ ((module) => {
|
|
12823
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
12824
|
+
|
|
12825
|
+
var baseToString = __webpack_require__(/*! ./_baseToString */ "../../../node_modules/lodash/_baseToString.js");
|
|
12705
12826
|
|
|
12706
12827
|
/**
|
|
12707
|
-
*
|
|
12828
|
+
* Converts `value` to a string. An empty string is returned for `null`
|
|
12829
|
+
* and `undefined` values. The sign of `-0` is preserved.
|
|
12708
12830
|
*
|
|
12709
12831
|
* @static
|
|
12710
|
-
* @since 0.1.0
|
|
12711
12832
|
* @memberOf _
|
|
12712
|
-
* @
|
|
12713
|
-
* @
|
|
12714
|
-
* @
|
|
12833
|
+
* @since 4.0.0
|
|
12834
|
+
* @category Lang
|
|
12835
|
+
* @param {*} value The value to convert.
|
|
12836
|
+
* @returns {string} Returns the converted string.
|
|
12715
12837
|
* @example
|
|
12716
12838
|
*
|
|
12717
|
-
*
|
|
12839
|
+
* _.toString(null);
|
|
12840
|
+
* // => ''
|
|
12718
12841
|
*
|
|
12719
|
-
*
|
|
12720
|
-
* // =>
|
|
12842
|
+
* _.toString(-0);
|
|
12843
|
+
* // => '-0'
|
|
12844
|
+
*
|
|
12845
|
+
* _.toString([1, 2, 3]);
|
|
12846
|
+
* // => '1,2,3'
|
|
12721
12847
|
*/
|
|
12722
|
-
function
|
|
12723
|
-
return value;
|
|
12848
|
+
function toString(value) {
|
|
12849
|
+
return value == null ? '' : baseToString(value);
|
|
12724
12850
|
}
|
|
12725
12851
|
|
|
12726
|
-
module.exports =
|
|
12852
|
+
module.exports = toString;
|
|
12727
12853
|
|
|
12728
12854
|
|
|
12729
12855
|
/***/ }),
|
|
@@ -14217,7 +14343,7 @@ var interpolateFunction = function (a, b) {
|
|
|
14217
14343
|
/* eslint-disable no-invalid-this */
|
|
14218
14344
|
var aval = typeof a === "function" ? a.apply(this, arguments) : a;
|
|
14219
14345
|
var bval = typeof b === "function" ? b.apply(this, arguments) : b;
|
|
14220
|
-
return (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_2__
|
|
14346
|
+
return (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_2__["default"])(aval, bval)(t);
|
|
14221
14347
|
};
|
|
14222
14348
|
};
|
|
14223
14349
|
};
|
|
@@ -14246,7 +14372,7 @@ var interpolateObject = function (a, b) {
|
|
|
14246
14372
|
return interpolateObject(x, y);
|
|
14247
14373
|
}
|
|
14248
14374
|
|
|
14249
|
-
return (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_2__
|
|
14375
|
+
return (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_2__["default"])(x, y);
|
|
14250
14376
|
}; // When the value is an array, attempt to sort by "key" so that animating nodes may be identified
|
|
14251
14377
|
// based on "key" instead of index
|
|
14252
14378
|
|
|
@@ -14288,7 +14414,7 @@ var interpolateString = function (a, b) {
|
|
|
14288
14414
|
return typeof val === "string" ? val.replace(/,/g, "") : val;
|
|
14289
14415
|
};
|
|
14290
14416
|
|
|
14291
|
-
return (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_2__
|
|
14417
|
+
return (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_2__["default"])(format(a), format(b));
|
|
14292
14418
|
};
|
|
14293
14419
|
/**
|
|
14294
14420
|
* By default, the list of interpolators used by `d3.interpolate` has a few
|
|
@@ -14334,7 +14460,7 @@ var victoryInterpolator = function (a, b) {
|
|
|
14334
14460
|
return interpolateString(a, b);
|
|
14335
14461
|
}
|
|
14336
14462
|
|
|
14337
|
-
return (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_2__
|
|
14463
|
+
return (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_2__["default"])(a, b);
|
|
14338
14464
|
};
|
|
14339
14465
|
|
|
14340
14466
|
/***/ }),
|
|
@@ -14387,7 +14513,9 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
14387
14513
|
|
|
14388
14514
|
|
|
14389
14515
|
|
|
14390
|
-
var VictoryAnimation =
|
|
14516
|
+
var VictoryAnimation =
|
|
14517
|
+
/*#__PURE__*/
|
|
14518
|
+
function (_React$Component) {
|
|
14391
14519
|
_inherits(VictoryAnimation, _React$Component);
|
|
14392
14520
|
|
|
14393
14521
|
function VictoryAnimation(props, context) {
|
|
@@ -14603,7 +14731,7 @@ Object.defineProperty(VictoryAnimation, "contextType", {
|
|
|
14603
14731
|
configurable: true,
|
|
14604
14732
|
enumerable: true,
|
|
14605
14733
|
writable: true,
|
|
14606
|
-
value: _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_5__
|
|
14734
|
+
value: _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_5__["default"]
|
|
14607
14735
|
});
|
|
14608
14736
|
|
|
14609
14737
|
|
|
@@ -14671,7 +14799,9 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
|
|
|
14671
14799
|
|
|
14672
14800
|
|
|
14673
14801
|
|
|
14674
|
-
var VictoryContainer =
|
|
14802
|
+
var VictoryContainer =
|
|
14803
|
+
/*#__PURE__*/
|
|
14804
|
+
function (_React$Component) {
|
|
14675
14805
|
_inherits(VictoryContainer, _React$Component);
|
|
14676
14806
|
|
|
14677
14807
|
function VictoryContainer(props) {
|
|
@@ -14803,7 +14933,7 @@ var VictoryContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
14803
14933
|
preserveAspectRatio: svgProps.preserveAspectRatio,
|
|
14804
14934
|
style: portalSvgStyle
|
|
14805
14935
|
};
|
|
14806
|
-
return react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_7__
|
|
14936
|
+
return react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_7__["default"].Provider, {
|
|
14807
14937
|
value: {
|
|
14808
14938
|
portalUpdate: this.portalUpdate,
|
|
14809
14939
|
portalRegister: this.portalRegister,
|
|
@@ -14911,7 +15041,7 @@ Object.defineProperty(VictoryContainer, "defaultProps", {
|
|
|
14911
15041
|
writable: true,
|
|
14912
15042
|
value: {
|
|
14913
15043
|
className: "VictoryContainer",
|
|
14914
|
-
portalComponent: react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_victory_portal_portal__WEBPACK_IMPORTED_MODULE_10__
|
|
15044
|
+
portalComponent: react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_victory_portal_portal__WEBPACK_IMPORTED_MODULE_10__["default"], null),
|
|
14915
15045
|
portalZIndex: 99,
|
|
14916
15046
|
responsive: true,
|
|
14917
15047
|
role: "img"
|
|
@@ -14921,7 +15051,7 @@ Object.defineProperty(VictoryContainer, "contextType", {
|
|
|
14921
15051
|
configurable: true,
|
|
14922
15052
|
enumerable: true,
|
|
14923
15053
|
writable: true,
|
|
14924
|
-
value: _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_11__
|
|
15054
|
+
value: _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_11__["default"]
|
|
14925
15055
|
});
|
|
14926
15056
|
|
|
14927
15057
|
|
|
@@ -15489,10 +15619,10 @@ var VictoryLabel = function (props) {
|
|
|
15489
15619
|
var backgroundElement = getBackgroundElement(calculatedProps, tspanValues);
|
|
15490
15620
|
var children = [backgroundElement, label];
|
|
15491
15621
|
var backgroundWithLabel = react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(props.groupComponent, {}, children);
|
|
15492
|
-
return props.renderInPortal ? react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_10__
|
|
15622
|
+
return props.renderInPortal ? react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_10__["default"], null, backgroundWithLabel) : backgroundWithLabel;
|
|
15493
15623
|
}
|
|
15494
15624
|
|
|
15495
|
-
return props.renderInPortal ? react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_10__
|
|
15625
|
+
return props.renderInPortal ? react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_10__["default"], null, label) : label;
|
|
15496
15626
|
};
|
|
15497
15627
|
|
|
15498
15628
|
VictoryLabel.displayName = "VictoryLabel";
|
|
@@ -15543,11 +15673,11 @@ VictoryLabel.propTypes = {
|
|
|
15543
15673
|
y: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_4___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)])
|
|
15544
15674
|
};
|
|
15545
15675
|
VictoryLabel.defaultProps = {
|
|
15546
|
-
backgroundComponent: react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_rect__WEBPACK_IMPORTED_MODULE_12__
|
|
15676
|
+
backgroundComponent: react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_rect__WEBPACK_IMPORTED_MODULE_12__["default"], null),
|
|
15547
15677
|
groupComponent: react__WEBPACK_IMPORTED_MODULE_3___default().createElement("g", null),
|
|
15548
15678
|
direction: "inherit",
|
|
15549
|
-
textComponent: react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_text__WEBPACK_IMPORTED_MODULE_13__
|
|
15550
|
-
tspanComponent: react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_14__
|
|
15679
|
+
textComponent: react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_text__WEBPACK_IMPORTED_MODULE_13__["default"], null),
|
|
15680
|
+
tspanComponent: react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_14__["default"], null),
|
|
15551
15681
|
capHeight: 0.71,
|
|
15552
15682
|
// Magic number from d3.
|
|
15553
15683
|
lineHeight: 1
|
|
@@ -15617,7 +15747,9 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
15617
15747
|
|
|
15618
15748
|
|
|
15619
15749
|
|
|
15620
|
-
var Portal =
|
|
15750
|
+
var Portal =
|
|
15751
|
+
/*#__PURE__*/
|
|
15752
|
+
function (_React$Component) {
|
|
15621
15753
|
_inherits(Portal, _React$Component);
|
|
15622
15754
|
|
|
15623
15755
|
function Portal(props) {
|
|
@@ -15736,7 +15868,9 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
|
|
|
15736
15868
|
|
|
15737
15869
|
|
|
15738
15870
|
|
|
15739
|
-
var VictoryPortal =
|
|
15871
|
+
var VictoryPortal =
|
|
15872
|
+
/*#__PURE__*/
|
|
15873
|
+
function (_React$Component) {
|
|
15740
15874
|
_inherits(VictoryPortal, _React$Component);
|
|
15741
15875
|
|
|
15742
15876
|
function VictoryPortal() {
|
|
@@ -15840,7 +15974,7 @@ Object.defineProperty(VictoryPortal, "contextType", {
|
|
|
15840
15974
|
configurable: true,
|
|
15841
15975
|
enumerable: true,
|
|
15842
15976
|
writable: true,
|
|
15843
|
-
value: _portal_context__WEBPACK_IMPORTED_MODULE_5__
|
|
15977
|
+
value: _portal_context__WEBPACK_IMPORTED_MODULE_5__["default"]
|
|
15844
15978
|
});
|
|
15845
15979
|
|
|
15846
15980
|
|
|
@@ -15956,7 +16090,7 @@ Arc.propTypes = _objectSpread({}, _victory_util_common_props__WEBPACK_IMPORTED_M
|
|
|
15956
16090
|
startAngle: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number)
|
|
15957
16091
|
});
|
|
15958
16092
|
Arc.defaultProps = {
|
|
15959
|
-
pathComponent: react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_path__WEBPACK_IMPORTED_MODULE_5__
|
|
16093
|
+
pathComponent: react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_path__WEBPACK_IMPORTED_MODULE_5__["default"], null),
|
|
15960
16094
|
role: "presentation",
|
|
15961
16095
|
shapeRendering: "auto"
|
|
15962
16096
|
};
|
|
@@ -16049,7 +16183,7 @@ LineSegment.propTypes = _objectSpread({}, _victory_util_common_props__WEBPACK_IM
|
|
|
16049
16183
|
y2: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number)
|
|
16050
16184
|
});
|
|
16051
16185
|
LineSegment.defaultProps = {
|
|
16052
|
-
lineComponent: react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_line__WEBPACK_IMPORTED_MODULE_5__
|
|
16186
|
+
lineComponent: react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_line__WEBPACK_IMPORTED_MODULE_5__["default"], null),
|
|
16053
16187
|
role: "presentation",
|
|
16054
16188
|
shapeRendering: "auto"
|
|
16055
16189
|
};
|
|
@@ -16810,8 +16944,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16810
16944
|
|
|
16811
16945
|
|
|
16812
16946
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
16813
|
-
material: _material__WEBPACK_IMPORTED_MODULE_0__
|
|
16814
|
-
grayscale: _grayscale__WEBPACK_IMPORTED_MODULE_1__
|
|
16947
|
+
material: _material__WEBPACK_IMPORTED_MODULE_0__["default"],
|
|
16948
|
+
grayscale: _grayscale__WEBPACK_IMPORTED_MODULE_1__["default"]
|
|
16815
16949
|
});
|
|
16816
16950
|
|
|
16817
16951
|
/***/ }),
|
|
@@ -16874,7 +17008,9 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
16874
17008
|
|
|
16875
17009
|
|
|
16876
17010
|
|
|
16877
|
-
var VictoryTransition =
|
|
17011
|
+
var VictoryTransition =
|
|
17012
|
+
/*#__PURE__*/
|
|
17013
|
+
function (_React$Component) {
|
|
16878
17014
|
_inherits(VictoryTransition, _React$Component);
|
|
16879
17015
|
|
|
16880
17016
|
function VictoryTransition(props, context) {
|
|
@@ -17039,7 +17175,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
17039
17175
|
var animationWhitelist = props.animationWhitelist || [];
|
|
17040
17176
|
var whitelist = animationWhitelist.concat(["clipWidth"]);
|
|
17041
17177
|
var propsToAnimate = whitelist.length ? lodash_pick__WEBPACK_IMPORTED_MODULE_1___default()(combinedProps, whitelist) : combinedProps;
|
|
17042
|
-
return react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_10__
|
|
17178
|
+
return react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_10__["default"], _extends({}, combinedProps.animate, {
|
|
17043
17179
|
data: propsToAnimate
|
|
17044
17180
|
}), function (newProps) {
|
|
17045
17181
|
if (child.props.groupComponent) {
|
|
@@ -17084,7 +17220,7 @@ Object.defineProperty(VictoryTransition, "contextType", {
|
|
|
17084
17220
|
configurable: true,
|
|
17085
17221
|
enumerable: true,
|
|
17086
17222
|
writable: true,
|
|
17087
|
-
value: _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_11__
|
|
17223
|
+
value: _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_11__["default"]
|
|
17088
17224
|
});
|
|
17089
17225
|
|
|
17090
17226
|
|
|
@@ -17175,362 +17311,365 @@ var defaultComponents = [{
|
|
|
17175
17311
|
name: "labels"
|
|
17176
17312
|
}];
|
|
17177
17313
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (function (WrappedComponent, options) {
|
|
17178
|
-
return
|
|
17179
|
-
|
|
17314
|
+
return (
|
|
17315
|
+
/*#__PURE__*/
|
|
17316
|
+
function (_WrappedComponent) {
|
|
17317
|
+
_inherits(addEvents, _WrappedComponent);
|
|
17180
17318
|
|
|
17181
|
-
|
|
17182
|
-
|
|
17319
|
+
function addEvents(props) {
|
|
17320
|
+
var _this;
|
|
17183
17321
|
|
|
17184
|
-
|
|
17322
|
+
_classCallCheck(this, addEvents);
|
|
17185
17323
|
|
|
17186
|
-
|
|
17187
|
-
|
|
17188
|
-
|
|
17189
|
-
|
|
17324
|
+
_this = _possibleConstructorReturn(this, (addEvents.__proto__ || Object.getPrototypeOf(addEvents)).call(this, props));
|
|
17325
|
+
var getScopedEvents = _events__WEBPACK_IMPORTED_MODULE_11__.getScopedEvents.bind(_assertThisInitialized(_this));
|
|
17326
|
+
var boundGetEvents = _events__WEBPACK_IMPORTED_MODULE_11__.getEvents.bind(_assertThisInitialized(_this));
|
|
17327
|
+
_this.state = {};
|
|
17190
17328
|
|
|
17191
|
-
|
|
17192
|
-
|
|
17193
|
-
|
|
17329
|
+
_this.getEvents = function (p, target, eventKey) {
|
|
17330
|
+
return boundGetEvents(p, target, eventKey, getScopedEvents);
|
|
17331
|
+
};
|
|
17194
17332
|
|
|
17195
|
-
|
|
17333
|
+
_this.getEventState = _events__WEBPACK_IMPORTED_MODULE_11__.getEventState.bind(_assertThisInitialized(_this));
|
|
17196
17334
|
|
|
17197
|
-
|
|
17335
|
+
var calculatedValues = _this.getCalculatedValues(props);
|
|
17198
17336
|
|
|
17199
|
-
|
|
17337
|
+
_this.cacheValues(calculatedValues);
|
|
17200
17338
|
|
|
17201
|
-
|
|
17202
|
-
|
|
17203
|
-
|
|
17204
|
-
|
|
17205
|
-
|
|
17206
|
-
|
|
17207
|
-
|
|
17339
|
+
_this.externalMutations = _this.getExternalMutations(props);
|
|
17340
|
+
_this.calculatedState = _this.getStateChanges(props);
|
|
17341
|
+
_this.globalEvents = {};
|
|
17342
|
+
_this.prevGlobalEventKeys = [];
|
|
17343
|
+
_this.boundGlobalEvents = {};
|
|
17344
|
+
return _this;
|
|
17345
|
+
}
|
|
17208
17346
|
|
|
17209
|
-
|
|
17210
|
-
|
|
17211
|
-
|
|
17212
|
-
|
|
17213
|
-
|
|
17214
|
-
|
|
17215
|
-
|
|
17216
|
-
|
|
17217
|
-
|
|
17218
|
-
|
|
17219
|
-
|
|
17220
|
-
|
|
17221
|
-
|
|
17347
|
+
_createClass(addEvents, [{
|
|
17348
|
+
key: "shouldComponentUpdate",
|
|
17349
|
+
value: function shouldComponentUpdate(nextProps) {
|
|
17350
|
+
var externalMutations = this.getExternalMutations(nextProps);
|
|
17351
|
+
var animating = this.props.animating || this.props.animate;
|
|
17352
|
+
var newMutation = !react_fast_compare__WEBPACK_IMPORTED_MODULE_10___default()(externalMutations, this.externalMutations);
|
|
17353
|
+
|
|
17354
|
+
if (animating || newMutation) {
|
|
17355
|
+
this.cacheValues(this.getCalculatedValues(nextProps));
|
|
17356
|
+
this.externalMutations = externalMutations;
|
|
17357
|
+
this.applyExternalMutations(nextProps, externalMutations);
|
|
17358
|
+
return true;
|
|
17359
|
+
}
|
|
17222
17360
|
|
|
17223
|
-
|
|
17361
|
+
var calculatedState = this.getStateChanges(nextProps);
|
|
17224
17362
|
|
|
17225
|
-
|
|
17226
|
-
|
|
17227
|
-
|
|
17228
|
-
|
|
17363
|
+
if (!react_fast_compare__WEBPACK_IMPORTED_MODULE_10___default()(this.calculatedState, calculatedState)) {
|
|
17364
|
+
this.cacheValues(this.getCalculatedValues(nextProps));
|
|
17365
|
+
return true;
|
|
17366
|
+
}
|
|
17229
17367
|
|
|
17230
|
-
|
|
17231
|
-
|
|
17232
|
-
|
|
17233
|
-
|
|
17368
|
+
if (!react_fast_compare__WEBPACK_IMPORTED_MODULE_10___default()(this.props, nextProps)) {
|
|
17369
|
+
this.cacheValues(this.getCalculatedValues(nextProps));
|
|
17370
|
+
return true;
|
|
17371
|
+
}
|
|
17234
17372
|
|
|
17235
|
-
|
|
17236
|
-
|
|
17237
|
-
|
|
17238
|
-
|
|
17239
|
-
|
|
17240
|
-
|
|
17373
|
+
return false;
|
|
17374
|
+
}
|
|
17375
|
+
}, {
|
|
17376
|
+
key: "componentDidMount",
|
|
17377
|
+
value: function componentDidMount() {
|
|
17378
|
+
var _this2 = this;
|
|
17241
17379
|
|
|
17242
|
-
|
|
17380
|
+
var globalEventKeys = lodash_keys__WEBPACK_IMPORTED_MODULE_6___default()(this.globalEvents);
|
|
17243
17381
|
|
|
17244
|
-
|
|
17245
|
-
|
|
17246
|
-
|
|
17247
|
-
|
|
17248
|
-
|
|
17249
|
-
|
|
17250
|
-
|
|
17251
|
-
|
|
17252
|
-
|
|
17382
|
+
globalEventKeys.forEach(function (key) {
|
|
17383
|
+
return _this2.addGlobalListener(key);
|
|
17384
|
+
});
|
|
17385
|
+
this.prevGlobalEventKeys = globalEventKeys;
|
|
17386
|
+
}
|
|
17387
|
+
}, {
|
|
17388
|
+
key: "componentDidUpdate",
|
|
17389
|
+
value: function componentDidUpdate(prevProps) {
|
|
17390
|
+
var _this3 = this;
|
|
17253
17391
|
|
|
17254
|
-
|
|
17255
|
-
|
|
17392
|
+
var calculatedState = this.getStateChanges(prevProps);
|
|
17393
|
+
this.calculatedState = calculatedState;
|
|
17256
17394
|
|
|
17257
|
-
|
|
17395
|
+
var globalEventKeys = lodash_keys__WEBPACK_IMPORTED_MODULE_6___default()(this.globalEvents);
|
|
17258
17396
|
|
|
17259
|
-
|
|
17397
|
+
var removedGlobalEventKeys = lodash_difference__WEBPACK_IMPORTED_MODULE_0___default()(this.prevGlobalEventKeys, globalEventKeys);
|
|
17260
17398
|
|
|
17261
|
-
|
|
17262
|
-
|
|
17263
|
-
|
|
17399
|
+
removedGlobalEventKeys.forEach(function (key) {
|
|
17400
|
+
return _this3.removeGlobalListener(key);
|
|
17401
|
+
});
|
|
17264
17402
|
|
|
17265
|
-
|
|
17403
|
+
var addedGlobalEventKeys = lodash_difference__WEBPACK_IMPORTED_MODULE_0___default()(globalEventKeys, this.prevGlobalEventKeys);
|
|
17266
17404
|
|
|
17267
|
-
|
|
17268
|
-
|
|
17269
|
-
|
|
17270
|
-
|
|
17271
|
-
|
|
17272
|
-
|
|
17273
|
-
|
|
17274
|
-
|
|
17275
|
-
|
|
17405
|
+
addedGlobalEventKeys.forEach(function (key) {
|
|
17406
|
+
return _this3.addGlobalListener(key);
|
|
17407
|
+
});
|
|
17408
|
+
this.prevGlobalEventKeys = globalEventKeys;
|
|
17409
|
+
}
|
|
17410
|
+
}, {
|
|
17411
|
+
key: "componentWillUnmount",
|
|
17412
|
+
value: function componentWillUnmount() {
|
|
17413
|
+
var _this4 = this;
|
|
17276
17414
|
|
|
17277
|
-
|
|
17278
|
-
|
|
17279
|
-
|
|
17280
|
-
|
|
17281
|
-
|
|
17282
|
-
|
|
17283
|
-
|
|
17284
|
-
|
|
17285
|
-
|
|
17286
|
-
|
|
17287
|
-
|
|
17288
|
-
|
|
17289
|
-
|
|
17415
|
+
this.prevGlobalEventKeys.forEach(function (key) {
|
|
17416
|
+
return _this4.removeGlobalListener(key);
|
|
17417
|
+
});
|
|
17418
|
+
}
|
|
17419
|
+
}, {
|
|
17420
|
+
key: "addGlobalListener",
|
|
17421
|
+
value: function addGlobalListener(key) {
|
|
17422
|
+
var _this5 = this;
|
|
17423
|
+
|
|
17424
|
+
var boundListener = function (event) {
|
|
17425
|
+
var listener = _this5.globalEvents[key];
|
|
17426
|
+
return listener && listener(_events__WEBPACK_IMPORTED_MODULE_11__.emulateReactEvent(event));
|
|
17427
|
+
};
|
|
17290
17428
|
|
|
17291
|
-
|
|
17292
|
-
|
|
17293
|
-
}
|
|
17294
|
-
}, {
|
|
17295
|
-
key: "removeGlobalListener",
|
|
17296
|
-
value: function removeGlobalListener(key) {
|
|
17297
|
-
window.removeEventListener(_events__WEBPACK_IMPORTED_MODULE_11__.getGlobalEventNameFromKey(key), this.boundGlobalEvents[key]);
|
|
17298
|
-
} // compile all state changes from own and parent state. Order doesn't matter, as any state
|
|
17299
|
-
// state change should trigger a re-render
|
|
17300
|
-
|
|
17301
|
-
}, {
|
|
17302
|
-
key: "getStateChanges",
|
|
17303
|
-
value: function getStateChanges(props) {
|
|
17304
|
-
var _this6 = this;
|
|
17305
|
-
|
|
17306
|
-
if (!this.hasEvents) {
|
|
17307
|
-
return {};
|
|
17429
|
+
this.boundGlobalEvents[key] = boundListener;
|
|
17430
|
+
window.addEventListener(_events__WEBPACK_IMPORTED_MODULE_11__.getGlobalEventNameFromKey(key), boundListener);
|
|
17308
17431
|
}
|
|
17432
|
+
}, {
|
|
17433
|
+
key: "removeGlobalListener",
|
|
17434
|
+
value: function removeGlobalListener(key) {
|
|
17435
|
+
window.removeEventListener(_events__WEBPACK_IMPORTED_MODULE_11__.getGlobalEventNameFromKey(key), this.boundGlobalEvents[key]);
|
|
17436
|
+
} // compile all state changes from own and parent state. Order doesn't matter, as any state
|
|
17437
|
+
// state change should trigger a re-render
|
|
17438
|
+
|
|
17439
|
+
}, {
|
|
17440
|
+
key: "getStateChanges",
|
|
17441
|
+
value: function getStateChanges(props) {
|
|
17442
|
+
var _this6 = this;
|
|
17443
|
+
|
|
17444
|
+
if (!this.hasEvents) {
|
|
17445
|
+
return {};
|
|
17446
|
+
}
|
|
17309
17447
|
|
|
17310
|
-
|
|
17311
|
-
|
|
17448
|
+
var getState = function (key, type) {
|
|
17449
|
+
var result = lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({}, _this6.getEventState(key, type), _this6.getSharedEventState(key, type));
|
|
17312
17450
|
|
|
17313
|
-
|
|
17314
|
-
|
|
17451
|
+
return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(result) ? undefined : result;
|
|
17452
|
+
};
|
|
17315
17453
|
|
|
17316
|
-
|
|
17317
|
-
|
|
17318
|
-
|
|
17319
|
-
|
|
17320
|
-
|
|
17321
|
-
|
|
17322
|
-
|
|
17323
|
-
|
|
17324
|
-
|
|
17325
|
-
|
|
17454
|
+
options = options || {};
|
|
17455
|
+
var components = options.components || defaultComponents;
|
|
17456
|
+
var stateChanges = components.map(function (component) {
|
|
17457
|
+
if (!props.standalone && component.name === "parent") {
|
|
17458
|
+
// don't check for changes on parent props for non-standalone components
|
|
17459
|
+
return undefined;
|
|
17460
|
+
} else {
|
|
17461
|
+
return component.index !== undefined ? getState(component.index, component.name) : _this6.dataKeys.map(function (key) {
|
|
17462
|
+
return getState(key, component.name);
|
|
17463
|
+
}).filter(Boolean);
|
|
17464
|
+
}
|
|
17465
|
+
}).filter(Boolean);
|
|
17466
|
+
return stateChanges;
|
|
17467
|
+
}
|
|
17468
|
+
}, {
|
|
17469
|
+
key: "applyExternalMutations",
|
|
17470
|
+
value: function applyExternalMutations(props, externalMutations) {
|
|
17471
|
+
if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(externalMutations)) {
|
|
17472
|
+
var callbacks = props.externalEventMutations.reduce(function (memo, mutation) {
|
|
17473
|
+
memo = lodash_isFunction__WEBPACK_IMPORTED_MODULE_5___default()(mutation.callback) ? memo.concat(mutation.callback) : memo;
|
|
17474
|
+
return memo;
|
|
17475
|
+
}, []);
|
|
17476
|
+
var compiledCallbacks = callbacks.length ? function () {
|
|
17477
|
+
callbacks.forEach(function (c) {
|
|
17478
|
+
return c();
|
|
17479
|
+
});
|
|
17480
|
+
} : undefined;
|
|
17481
|
+
this.setState(externalMutations, compiledCallbacks);
|
|
17326
17482
|
}
|
|
17327
|
-
}).filter(Boolean);
|
|
17328
|
-
return stateChanges;
|
|
17329
|
-
}
|
|
17330
|
-
}, {
|
|
17331
|
-
key: "applyExternalMutations",
|
|
17332
|
-
value: function applyExternalMutations(props, externalMutations) {
|
|
17333
|
-
if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(externalMutations)) {
|
|
17334
|
-
var callbacks = props.externalEventMutations.reduce(function (memo, mutation) {
|
|
17335
|
-
memo = lodash_isFunction__WEBPACK_IMPORTED_MODULE_5___default()(mutation.callback) ? memo.concat(mutation.callback) : memo;
|
|
17336
|
-
return memo;
|
|
17337
|
-
}, []);
|
|
17338
|
-
var compiledCallbacks = callbacks.length ? function () {
|
|
17339
|
-
callbacks.forEach(function (c) {
|
|
17340
|
-
return c();
|
|
17341
|
-
});
|
|
17342
|
-
} : undefined;
|
|
17343
|
-
this.setState(externalMutations, compiledCallbacks);
|
|
17344
17483
|
}
|
|
17345
|
-
}
|
|
17346
|
-
|
|
17347
|
-
|
|
17348
|
-
|
|
17349
|
-
|
|
17350
|
-
|
|
17351
|
-
|
|
17352
|
-
|
|
17353
|
-
|
|
17354
|
-
|
|
17355
|
-
var baseProps = this.getBaseProps(props, getSharedEventState);
|
|
17356
|
-
|
|
17357
|
-
var dataKeys = lodash_keys__WEBPACK_IMPORTED_MODULE_6___default()(baseProps).filter(function (key) {
|
|
17358
|
-
return key !== "parent";
|
|
17359
|
-
});
|
|
17484
|
+
}, {
|
|
17485
|
+
key: "getCalculatedValues",
|
|
17486
|
+
value: function getCalculatedValues(props) {
|
|
17487
|
+
var sharedEvents = props.sharedEvents;
|
|
17488
|
+
var components = WrappedComponent.expectedComponents;
|
|
17489
|
+
var componentEvents = _events__WEBPACK_IMPORTED_MODULE_11__.getComponentEvents(props, components);
|
|
17490
|
+
var getSharedEventState = sharedEvents && lodash_isFunction__WEBPACK_IMPORTED_MODULE_5___default()(sharedEvents.getEventState) ? sharedEvents.getEventState : function () {
|
|
17491
|
+
return undefined;
|
|
17492
|
+
};
|
|
17493
|
+
var baseProps = this.getBaseProps(props, getSharedEventState);
|
|
17360
17494
|
|
|
17361
|
-
|
|
17362
|
-
|
|
17363
|
-
|
|
17364
|
-
componentEvents: componentEvents,
|
|
17365
|
-
getSharedEventState: getSharedEventState,
|
|
17366
|
-
baseProps: baseProps,
|
|
17367
|
-
dataKeys: dataKeys,
|
|
17368
|
-
hasEvents: hasEvents,
|
|
17369
|
-
events: events
|
|
17370
|
-
};
|
|
17371
|
-
}
|
|
17372
|
-
}, {
|
|
17373
|
-
key: "getExternalMutations",
|
|
17374
|
-
value: function getExternalMutations(props) {
|
|
17375
|
-
var sharedEvents = props.sharedEvents,
|
|
17376
|
-
externalEventMutations = props.externalEventMutations;
|
|
17377
|
-
return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(externalEventMutations) || sharedEvents ? undefined : _events__WEBPACK_IMPORTED_MODULE_11__.getExternalMutations(externalEventMutations, this.baseProps, this.state);
|
|
17378
|
-
}
|
|
17379
|
-
}, {
|
|
17380
|
-
key: "cacheValues",
|
|
17381
|
-
value: function cacheValues(obj) {
|
|
17382
|
-
var _this7 = this;
|
|
17495
|
+
var dataKeys = lodash_keys__WEBPACK_IMPORTED_MODULE_6___default()(baseProps).filter(function (key) {
|
|
17496
|
+
return key !== "parent";
|
|
17497
|
+
});
|
|
17383
17498
|
|
|
17384
|
-
|
|
17385
|
-
|
|
17386
|
-
|
|
17387
|
-
|
|
17388
|
-
|
|
17389
|
-
|
|
17390
|
-
|
|
17391
|
-
|
|
17392
|
-
|
|
17393
|
-
|
|
17499
|
+
var hasEvents = props.events || props.sharedEvents || componentEvents;
|
|
17500
|
+
var events = this.getAllEvents(props);
|
|
17501
|
+
return {
|
|
17502
|
+
componentEvents: componentEvents,
|
|
17503
|
+
getSharedEventState: getSharedEventState,
|
|
17504
|
+
baseProps: baseProps,
|
|
17505
|
+
dataKeys: dataKeys,
|
|
17506
|
+
hasEvents: hasEvents,
|
|
17507
|
+
events: events
|
|
17508
|
+
};
|
|
17509
|
+
}
|
|
17510
|
+
}, {
|
|
17511
|
+
key: "getExternalMutations",
|
|
17512
|
+
value: function getExternalMutations(props) {
|
|
17513
|
+
var sharedEvents = props.sharedEvents,
|
|
17514
|
+
externalEventMutations = props.externalEventMutations;
|
|
17515
|
+
return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(externalEventMutations) || sharedEvents ? undefined : _events__WEBPACK_IMPORTED_MODULE_11__.getExternalMutations(externalEventMutations, this.baseProps, this.state);
|
|
17516
|
+
}
|
|
17517
|
+
}, {
|
|
17518
|
+
key: "cacheValues",
|
|
17519
|
+
value: function cacheValues(obj) {
|
|
17520
|
+
var _this7 = this;
|
|
17394
17521
|
|
|
17395
|
-
|
|
17522
|
+
lodash_keys__WEBPACK_IMPORTED_MODULE_6___default()(obj).forEach(function (key) {
|
|
17523
|
+
_this7[key] = obj[key];
|
|
17524
|
+
});
|
|
17525
|
+
}
|
|
17526
|
+
}, {
|
|
17527
|
+
key: "getBaseProps",
|
|
17528
|
+
value: function getBaseProps(props, getSharedEventState) {
|
|
17529
|
+
getSharedEventState = getSharedEventState || this.getSharedEventState;
|
|
17530
|
+
var sharedParentState = getSharedEventState("parent", "parent");
|
|
17531
|
+
var parentState = this.getEventState("parent", "parent");
|
|
17396
17532
|
|
|
17397
|
-
|
|
17398
|
-
var parentProps = parentPropsList ? lodash_pick__WEBPACK_IMPORTED_MODULE_4___default()(baseParentProps, parentPropsList) : {};
|
|
17533
|
+
var baseParentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({}, parentState, sharedParentState);
|
|
17399
17534
|
|
|
17400
|
-
|
|
17535
|
+
var parentPropsList = baseParentProps.parentControlledProps;
|
|
17536
|
+
var parentProps = parentPropsList ? lodash_pick__WEBPACK_IMPORTED_MODULE_4___default()(baseParentProps, parentPropsList) : {};
|
|
17401
17537
|
|
|
17402
|
-
|
|
17403
|
-
}
|
|
17404
|
-
}, {
|
|
17405
|
-
key: "getAllEvents",
|
|
17406
|
-
value: function getAllEvents(props) {
|
|
17407
|
-
if (Array.isArray(this.componentEvents)) {
|
|
17408
|
-
var _componentEvents;
|
|
17538
|
+
var modifiedProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({}, parentProps, props);
|
|
17409
17539
|
|
|
17410
|
-
return
|
|
17540
|
+
return lodash_isFunction__WEBPACK_IMPORTED_MODULE_5___default()(WrappedComponent.getBaseProps) ? WrappedComponent.getBaseProps(modifiedProps) : {};
|
|
17411
17541
|
}
|
|
17542
|
+
}, {
|
|
17543
|
+
key: "getAllEvents",
|
|
17544
|
+
value: function getAllEvents(props) {
|
|
17545
|
+
if (Array.isArray(this.componentEvents)) {
|
|
17546
|
+
var _componentEvents;
|
|
17412
17547
|
|
|
17413
|
-
|
|
17414
|
-
|
|
17415
|
-
|
|
17416
|
-
|
|
17417
|
-
value: function getComponentProps(component, type, index) {
|
|
17418
|
-
var name = this.props.name || WrappedComponent.role;
|
|
17419
|
-
var key = this.dataKeys && this.dataKeys[index] || index;
|
|
17420
|
-
var id = "".concat(name, "-").concat(type, "-").concat(key);
|
|
17421
|
-
var baseProps = this.baseProps[key] && this.baseProps[key][type] || this.baseProps[key];
|
|
17422
|
-
|
|
17423
|
-
if (!baseProps && !this.hasEvents) {
|
|
17424
|
-
return undefined;
|
|
17548
|
+
return Array.isArray(props.events) ? (_componentEvents = this.componentEvents).concat.apply(_componentEvents, _toConsumableArray(props.events)) : this.componentEvents;
|
|
17549
|
+
}
|
|
17550
|
+
|
|
17551
|
+
return props.events;
|
|
17425
17552
|
}
|
|
17553
|
+
}, {
|
|
17554
|
+
key: "getComponentProps",
|
|
17555
|
+
value: function getComponentProps(component, type, index) {
|
|
17556
|
+
var name = this.props.name || WrappedComponent.role;
|
|
17557
|
+
var key = this.dataKeys && this.dataKeys[index] || index;
|
|
17558
|
+
var id = "".concat(name, "-").concat(type, "-").concat(key);
|
|
17559
|
+
var baseProps = this.baseProps[key] && this.baseProps[key][type] || this.baseProps[key];
|
|
17560
|
+
|
|
17561
|
+
if (!baseProps && !this.hasEvents) {
|
|
17562
|
+
return undefined;
|
|
17563
|
+
}
|
|
17564
|
+
|
|
17565
|
+
if (this.hasEvents) {
|
|
17566
|
+
var baseEvents = this.getEvents(this.props, type, key);
|
|
17426
17567
|
|
|
17427
|
-
|
|
17428
|
-
|
|
17568
|
+
var componentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({
|
|
17569
|
+
index: index,
|
|
17570
|
+
key: id
|
|
17571
|
+
}, this.getEventState(key, type), this.getSharedEventState(key, type), component.props, baseProps, {
|
|
17572
|
+
id: id
|
|
17573
|
+
});
|
|
17574
|
+
|
|
17575
|
+
var events = lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({}, _events__WEBPACK_IMPORTED_MODULE_11__.getPartialEvents(baseEvents, key, componentProps), componentProps.events);
|
|
17576
|
+
|
|
17577
|
+
return lodash_assign__WEBPACK_IMPORTED_MODULE_7___default()({}, componentProps, {
|
|
17578
|
+
events: events
|
|
17579
|
+
});
|
|
17580
|
+
}
|
|
17429
17581
|
|
|
17430
|
-
|
|
17582
|
+
return lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({
|
|
17431
17583
|
index: index,
|
|
17432
17584
|
key: id
|
|
17433
|
-
},
|
|
17585
|
+
}, component.props, baseProps, {
|
|
17434
17586
|
id: id
|
|
17435
17587
|
});
|
|
17436
|
-
|
|
17437
|
-
var events = lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({}, _events__WEBPACK_IMPORTED_MODULE_11__.getPartialEvents(baseEvents, key, componentProps), componentProps.events);
|
|
17438
|
-
|
|
17439
|
-
return lodash_assign__WEBPACK_IMPORTED_MODULE_7___default()({}, componentProps, {
|
|
17440
|
-
events: events
|
|
17441
|
-
});
|
|
17442
17588
|
}
|
|
17589
|
+
}, {
|
|
17590
|
+
key: "renderContainer",
|
|
17591
|
+
value: function renderContainer(component, children) {
|
|
17592
|
+
var isContainer = component.type && component.type.role === "container";
|
|
17593
|
+
var parentProps = isContainer ? this.getComponentProps(component, "parent", "parent") : {};
|
|
17594
|
+
|
|
17595
|
+
if (parentProps.events) {
|
|
17596
|
+
this.globalEvents = _events__WEBPACK_IMPORTED_MODULE_11__.getGlobalEvents(parentProps.events);
|
|
17597
|
+
parentProps.events = _events__WEBPACK_IMPORTED_MODULE_11__.omitGlobalEvents(parentProps.events);
|
|
17598
|
+
}
|
|
17443
17599
|
|
|
17444
|
-
|
|
17445
|
-
index: index,
|
|
17446
|
-
key: id
|
|
17447
|
-
}, component.props, baseProps, {
|
|
17448
|
-
id: id
|
|
17449
|
-
});
|
|
17450
|
-
}
|
|
17451
|
-
}, {
|
|
17452
|
-
key: "renderContainer",
|
|
17453
|
-
value: function renderContainer(component, children) {
|
|
17454
|
-
var isContainer = component.type && component.type.role === "container";
|
|
17455
|
-
var parentProps = isContainer ? this.getComponentProps(component, "parent", "parent") : {};
|
|
17456
|
-
|
|
17457
|
-
if (parentProps.events) {
|
|
17458
|
-
this.globalEvents = _events__WEBPACK_IMPORTED_MODULE_11__.getGlobalEvents(parentProps.events);
|
|
17459
|
-
parentProps.events = _events__WEBPACK_IMPORTED_MODULE_11__.omitGlobalEvents(parentProps.events);
|
|
17600
|
+
return react__WEBPACK_IMPORTED_MODULE_9___default().cloneElement(component, parentProps, children);
|
|
17460
17601
|
}
|
|
17602
|
+
}, {
|
|
17603
|
+
key: "animateComponent",
|
|
17604
|
+
value: function animateComponent(props, defaultAnimationWhitelist) {
|
|
17605
|
+
var animationWhitelist = props.animate && props.animate.animationWhitelist ? props.animate.animationWhitelist : defaultAnimationWhitelist;
|
|
17606
|
+
return react__WEBPACK_IMPORTED_MODULE_9___default().createElement(_victory_transition_victory_transition__WEBPACK_IMPORTED_MODULE_12__["default"], {
|
|
17607
|
+
animate: props.animate,
|
|
17608
|
+
animationWhitelist: animationWhitelist
|
|
17609
|
+
}, react__WEBPACK_IMPORTED_MODULE_9___default().createElement(this.constructor, props));
|
|
17610
|
+
} // Used by `VictoryLine` and `VictoryArea`
|
|
17611
|
+
|
|
17612
|
+
}, {
|
|
17613
|
+
key: "renderContinuousData",
|
|
17614
|
+
value: function renderContinuousData(props) {
|
|
17615
|
+
var _this8 = this;
|
|
17616
|
+
|
|
17617
|
+
var dataComponent = props.dataComponent,
|
|
17618
|
+
labelComponent = props.labelComponent,
|
|
17619
|
+
groupComponent = props.groupComponent;
|
|
17620
|
+
|
|
17621
|
+
var dataKeys = lodash_without__WEBPACK_IMPORTED_MODULE_3___default()(this.dataKeys, "all");
|
|
17622
|
+
|
|
17623
|
+
var labelComponents = dataKeys.reduce(function (memo, key) {
|
|
17624
|
+
var labelProps = _this8.getComponentProps(labelComponent, "labels", key);
|
|
17625
|
+
|
|
17626
|
+
if (labelProps && labelProps.text !== undefined && labelProps.text !== null) {
|
|
17627
|
+
memo = memo.concat(react__WEBPACK_IMPORTED_MODULE_9___default().cloneElement(labelComponent, labelProps));
|
|
17628
|
+
}
|
|
17461
17629
|
|
|
17462
|
-
|
|
17463
|
-
|
|
17464
|
-
|
|
17465
|
-
|
|
17466
|
-
|
|
17467
|
-
|
|
17468
|
-
|
|
17469
|
-
|
|
17470
|
-
|
|
17471
|
-
|
|
17472
|
-
|
|
17473
|
-
|
|
17474
|
-
|
|
17475
|
-
|
|
17476
|
-
|
|
17477
|
-
|
|
17478
|
-
|
|
17479
|
-
|
|
17480
|
-
|
|
17481
|
-
|
|
17482
|
-
|
|
17483
|
-
var dataKeys = lodash_without__WEBPACK_IMPORTED_MODULE_3___default()(this.dataKeys, "all");
|
|
17484
|
-
|
|
17485
|
-
var labelComponents = dataKeys.reduce(function (memo, key) {
|
|
17486
|
-
var labelProps = _this8.getComponentProps(labelComponent, "labels", key);
|
|
17487
|
-
|
|
17488
|
-
if (labelProps && labelProps.text !== undefined && labelProps.text !== null) {
|
|
17489
|
-
memo = memo.concat(react__WEBPACK_IMPORTED_MODULE_9___default().cloneElement(labelComponent, labelProps));
|
|
17490
|
-
}
|
|
17491
|
-
|
|
17492
|
-
return memo;
|
|
17493
|
-
}, []);
|
|
17494
|
-
var dataProps = this.getComponentProps(dataComponent, "data", "all");
|
|
17495
|
-
var children = [react__WEBPACK_IMPORTED_MODULE_9___default().cloneElement(dataComponent, dataProps)].concat(_toConsumableArray(labelComponents));
|
|
17496
|
-
return this.renderContainer(groupComponent, children);
|
|
17497
|
-
}
|
|
17498
|
-
}, {
|
|
17499
|
-
key: "renderData",
|
|
17500
|
-
value: function renderData(props) {
|
|
17501
|
-
var _this9 = this;
|
|
17502
|
-
|
|
17503
|
-
var shouldRenderDatum = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : datumHasXandY;
|
|
17504
|
-
var dataComponent = props.dataComponent,
|
|
17505
|
-
labelComponent = props.labelComponent,
|
|
17506
|
-
groupComponent = props.groupComponent;
|
|
17507
|
-
var dataComponents = this.dataKeys.reduce(function (validDataComponents, _dataKey, index) {
|
|
17508
|
-
var dataProps = _this9.getComponentProps(dataComponent, "data", index);
|
|
17509
|
-
|
|
17510
|
-
if (shouldRenderDatum(dataProps.datum)) {
|
|
17511
|
-
validDataComponents.push(react__WEBPACK_IMPORTED_MODULE_9___default().cloneElement(dataComponent, dataProps));
|
|
17512
|
-
}
|
|
17630
|
+
return memo;
|
|
17631
|
+
}, []);
|
|
17632
|
+
var dataProps = this.getComponentProps(dataComponent, "data", "all");
|
|
17633
|
+
var children = [react__WEBPACK_IMPORTED_MODULE_9___default().cloneElement(dataComponent, dataProps)].concat(_toConsumableArray(labelComponents));
|
|
17634
|
+
return this.renderContainer(groupComponent, children);
|
|
17635
|
+
}
|
|
17636
|
+
}, {
|
|
17637
|
+
key: "renderData",
|
|
17638
|
+
value: function renderData(props) {
|
|
17639
|
+
var _this9 = this;
|
|
17640
|
+
|
|
17641
|
+
var shouldRenderDatum = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : datumHasXandY;
|
|
17642
|
+
var dataComponent = props.dataComponent,
|
|
17643
|
+
labelComponent = props.labelComponent,
|
|
17644
|
+
groupComponent = props.groupComponent;
|
|
17645
|
+
var dataComponents = this.dataKeys.reduce(function (validDataComponents, _dataKey, index) {
|
|
17646
|
+
var dataProps = _this9.getComponentProps(dataComponent, "data", index);
|
|
17647
|
+
|
|
17648
|
+
if (shouldRenderDatum(dataProps.datum)) {
|
|
17649
|
+
validDataComponents.push(react__WEBPACK_IMPORTED_MODULE_9___default().cloneElement(dataComponent, dataProps));
|
|
17650
|
+
}
|
|
17513
17651
|
|
|
17514
|
-
|
|
17515
|
-
|
|
17516
|
-
|
|
17517
|
-
|
|
17652
|
+
return validDataComponents;
|
|
17653
|
+
}, []);
|
|
17654
|
+
var labelComponents = this.dataKeys.map(function (_dataKey, index) {
|
|
17655
|
+
var labelProps = _this9.getComponentProps(labelComponent, "labels", index);
|
|
17518
17656
|
|
|
17519
|
-
|
|
17520
|
-
|
|
17521
|
-
|
|
17657
|
+
if (labelProps.text !== undefined && labelProps.text !== null) {
|
|
17658
|
+
return react__WEBPACK_IMPORTED_MODULE_9___default().cloneElement(labelComponent, labelProps);
|
|
17659
|
+
}
|
|
17522
17660
|
|
|
17523
|
-
|
|
17524
|
-
|
|
17661
|
+
return undefined;
|
|
17662
|
+
}).filter(Boolean);
|
|
17525
17663
|
|
|
17526
|
-
|
|
17664
|
+
var children = _toConsumableArray(dataComponents).concat(_toConsumableArray(labelComponents));
|
|
17527
17665
|
|
|
17528
|
-
|
|
17529
|
-
|
|
17530
|
-
|
|
17666
|
+
return this.renderContainer(groupComponent, children);
|
|
17667
|
+
}
|
|
17668
|
+
}]);
|
|
17531
17669
|
|
|
17532
|
-
|
|
17533
|
-
|
|
17670
|
+
return addEvents;
|
|
17671
|
+
}(WrappedComponent)
|
|
17672
|
+
);
|
|
17534
17673
|
});
|
|
17535
17674
|
|
|
17536
17675
|
/***/ }),
|
|
@@ -18157,10 +18296,10 @@ var baseProps = {
|
|
|
18157
18296
|
eventHandlers: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)
|
|
18158
18297
|
})),
|
|
18159
18298
|
externalEventMutations: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
18160
|
-
callback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()
|
|
18299
|
+
callback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()["function"]),
|
|
18161
18300
|
childName: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().array)]),
|
|
18162
18301
|
eventKey: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().array), _prop_types__WEBPACK_IMPORTED_MODULE_1__.allOfType([_prop_types__WEBPACK_IMPORTED_MODULE_1__.integer, _prop_types__WEBPACK_IMPORTED_MODULE_1__.nonNegative]), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)]),
|
|
18163
|
-
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()
|
|
18302
|
+
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()["function"]),
|
|
18164
18303
|
target: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().array)])
|
|
18165
18304
|
})),
|
|
18166
18305
|
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),
|
|
@@ -21259,8 +21398,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21259
21398
|
*/
|
|
21260
21399
|
|
|
21261
21400
|
var TimerContext = react__WEBPACK_IMPORTED_MODULE_0___default().createContext({
|
|
21262
|
-
transitionTimer: new _timer__WEBPACK_IMPORTED_MODULE_1__
|
|
21263
|
-
animationTimer: new _timer__WEBPACK_IMPORTED_MODULE_1__
|
|
21401
|
+
transitionTimer: new _timer__WEBPACK_IMPORTED_MODULE_1__["default"](),
|
|
21402
|
+
animationTimer: new _timer__WEBPACK_IMPORTED_MODULE_1__["default"]()
|
|
21264
21403
|
});
|
|
21265
21404
|
TimerContext.displayName = "TimerContext";
|
|
21266
21405
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TimerContext);
|
|
@@ -21287,7 +21426,9 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
21287
21426
|
|
|
21288
21427
|
|
|
21289
21428
|
|
|
21290
|
-
var Timer =
|
|
21429
|
+
var Timer =
|
|
21430
|
+
/*#__PURE__*/
|
|
21431
|
+
function () {
|
|
21291
21432
|
function Timer() {
|
|
21292
21433
|
_classCallCheck(this, Timer);
|
|
21293
21434
|
|
|
@@ -21910,7 +22051,7 @@ var __webpack_exports__ = {};
|
|
|
21910
22051
|
\******************/
|
|
21911
22052
|
__webpack_require__.r(__webpack_exports__);
|
|
21912
22053
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21913
|
-
/* harmony export */ "VictoryPolarAxis": () => (/* reexport safe */ _victory_polar_axis__WEBPACK_IMPORTED_MODULE_0__
|
|
22054
|
+
/* harmony export */ "VictoryPolarAxis": () => (/* reexport safe */ _victory_polar_axis__WEBPACK_IMPORTED_MODULE_0__["default"])
|
|
21914
22055
|
/* harmony export */ });
|
|
21915
22056
|
/* harmony import */ var _victory_polar_axis__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./victory-polar-axis */ "./victory-polar-axis.js");
|
|
21916
22057
|
|