victory-create-container 36.9.2-next.3 → 36.9.2

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.
@@ -1792,37 +1792,6 @@ function strictIndexOf(array, value, fromIndex) {
1792
1792
  module.exports = strictIndexOf;
1793
1793
 
1794
1794
 
1795
- /***/ }),
1796
-
1797
- /***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseInverter.js":
1798
- /*!***************************************************************************************!*\
1799
- !*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseInverter.js ***!
1800
- \***************************************************************************************/
1801
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1802
-
1803
- var baseForOwn = __webpack_require__(/*! ./_baseForOwn */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseForOwn.js");
1804
-
1805
- /**
1806
- * The base implementation of `_.invert` and `_.invertBy` which inverts
1807
- * `object` with values transformed by `iteratee` and set by `setter`.
1808
- *
1809
- * @private
1810
- * @param {Object} object The object to iterate over.
1811
- * @param {Function} setter The function to set `accumulator` values.
1812
- * @param {Function} iteratee The iteratee to transform values.
1813
- * @param {Object} accumulator The initial inverted object.
1814
- * @returns {Function} Returns `accumulator`.
1815
- */
1816
- function baseInverter(object, setter, iteratee, accumulator) {
1817
- baseForOwn(object, function(value, key, object) {
1818
- setter(accumulator, iteratee(value), key, object);
1819
- });
1820
- return accumulator;
1821
- }
1822
-
1823
- module.exports = baseInverter;
1824
-
1825
-
1826
1795
  /***/ }),
1827
1796
 
1828
1797
  /***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsDate.js":
@@ -3142,33 +3111,6 @@ function createFlow(fromRight) {
3142
3111
  module.exports = createFlow;
3143
3112
 
3144
3113
 
3145
- /***/ }),
3146
-
3147
- /***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createInverter.js":
3148
- /*!*****************************************************************************************!*\
3149
- !*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createInverter.js ***!
3150
- \*****************************************************************************************/
3151
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3152
-
3153
- var baseInverter = __webpack_require__(/*! ./_baseInverter */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseInverter.js");
3154
-
3155
- /**
3156
- * Creates a function like `_.invertBy`.
3157
- *
3158
- * @private
3159
- * @param {Function} setter The function to set accumulator values.
3160
- * @param {Function} toIteratee The function to resolve iteratees.
3161
- * @returns {Function} Returns the new inverter function.
3162
- */
3163
- function createInverter(setter, toIteratee) {
3164
- return function(object, iteratee) {
3165
- return baseInverter(object, setter, toIteratee(iteratee), {});
3166
- };
3167
- }
3168
-
3169
- module.exports = createInverter;
3170
-
3171
-
3172
3114
  /***/ }),
3173
3115
 
3174
3116
  /***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createSet.js":
@@ -4584,42 +4526,6 @@ function trimmedEndIndex(string) {
4584
4526
  module.exports = trimmedEndIndex;
4585
4527
 
4586
4528
 
4587
- /***/ }),
4588
-
4589
- /***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/constant.js":
4590
- /*!**********************************************************************************!*\
4591
- !*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/constant.js ***!
4592
- \**********************************************************************************/
4593
- /***/ ((module) => {
4594
-
4595
- /**
4596
- * Creates a function that returns `value`.
4597
- *
4598
- * @static
4599
- * @memberOf _
4600
- * @since 2.4.0
4601
- * @category Util
4602
- * @param {*} value The value to return from the new function.
4603
- * @returns {Function} Returns the new constant function.
4604
- * @example
4605
- *
4606
- * var objects = _.times(2, _.constant({ 'a': 1 }));
4607
- *
4608
- * console.log(objects);
4609
- * // => [{ 'a': 1 }, { 'a': 1 }]
4610
- *
4611
- * console.log(objects[0] === objects[1]);
4612
- * // => true
4613
- */
4614
- function constant(value) {
4615
- return function() {
4616
- return value;
4617
- };
4618
- }
4619
-
4620
- module.exports = constant;
4621
-
4622
-
4623
4529
  /***/ }),
4624
4530
 
4625
4531
  /***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/debounce.js":
@@ -5264,58 +5170,6 @@ function identity(value) {
5264
5170
  module.exports = identity;
5265
5171
 
5266
5172
 
5267
- /***/ }),
5268
-
5269
- /***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/invert.js":
5270
- /*!********************************************************************************!*\
5271
- !*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/invert.js ***!
5272
- \********************************************************************************/
5273
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5274
-
5275
- var constant = __webpack_require__(/*! ./constant */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/constant.js"),
5276
- createInverter = __webpack_require__(/*! ./_createInverter */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createInverter.js"),
5277
- identity = __webpack_require__(/*! ./identity */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js");
5278
-
5279
- /** Used for built-in method references. */
5280
- var objectProto = Object.prototype;
5281
-
5282
- /**
5283
- * Used to resolve the
5284
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
5285
- * of values.
5286
- */
5287
- var nativeObjectToString = objectProto.toString;
5288
-
5289
- /**
5290
- * Creates an object composed of the inverted keys and values of `object`.
5291
- * If `object` contains duplicate values, subsequent values overwrite
5292
- * property assignments of previous values.
5293
- *
5294
- * @static
5295
- * @memberOf _
5296
- * @since 0.7.0
5297
- * @category Object
5298
- * @param {Object} object The object to invert.
5299
- * @returns {Object} Returns the new inverted object.
5300
- * @example
5301
- *
5302
- * var object = { 'a': 1, 'b': 2, 'c': 1 };
5303
- *
5304
- * _.invert(object);
5305
- * // => { '1': 'c', '2': 'b' }
5306
- */
5307
- var invert = createInverter(function(result, value, key) {
5308
- if (value != null &&
5309
- typeof value.toString != 'function') {
5310
- value = nativeObjectToString.call(value);
5311
- }
5312
-
5313
- result[value] = key;
5314
- }, constant(identity));
5315
-
5316
- module.exports = invert;
5317
-
5318
-
5319
5173
  /***/ }),
5320
5174
 
5321
5175
  /***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js":
@@ -5901,46 +5755,6 @@ var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;
5901
5755
  module.exports = isRegExp;
5902
5756
 
5903
5757
 
5904
- /***/ }),
5905
-
5906
- /***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isString.js":
5907
- /*!**********************************************************************************!*\
5908
- !*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isString.js ***!
5909
- \**********************************************************************************/
5910
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5911
-
5912
- var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js"),
5913
- isArray = __webpack_require__(/*! ./isArray */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js"),
5914
- isObjectLike = __webpack_require__(/*! ./isObjectLike */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js");
5915
-
5916
- /** `Object#toString` result references. */
5917
- var stringTag = '[object String]';
5918
-
5919
- /**
5920
- * Checks if `value` is classified as a `String` primitive or object.
5921
- *
5922
- * @static
5923
- * @since 0.1.0
5924
- * @memberOf _
5925
- * @category Lang
5926
- * @param {*} value The value to check.
5927
- * @returns {boolean} Returns `true` if `value` is a string, else `false`.
5928
- * @example
5929
- *
5930
- * _.isString('abc');
5931
- * // => true
5932
- *
5933
- * _.isString(1);
5934
- * // => false
5935
- */
5936
- function isString(value) {
5937
- return typeof value == 'string' ||
5938
- (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);
5939
- }
5940
-
5941
- module.exports = isString;
5942
-
5943
-
5944
5758
  /***/ }),
5945
5759
 
5946
5760
  /***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js":
@@ -10209,21 +10023,15 @@ __webpack_require__.r(__webpack_exports__);
10209
10023
  /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__);
10210
10024
  /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/uniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js");
10211
10025
  /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_1__);
10212
- /* harmony import */ var lodash_invert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/invert */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/invert.js");
10213
- /* harmony import */ var lodash_invert__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_invert__WEBPACK_IMPORTED_MODULE_2__);
10214
- /* harmony import */ var lodash_isObject__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/isObject */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js");
10215
- /* harmony import */ var lodash_isObject__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_isObject__WEBPACK_IMPORTED_MODULE_3__);
10216
- /* harmony import */ var lodash_identity__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash/identity */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js");
10217
- /* harmony import */ var lodash_identity__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_identity__WEBPACK_IMPORTED_MODULE_4__);
10218
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
10219
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_5__);
10220
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "react");
10221
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
10222
- /* harmony import */ var _collection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./collection */ "../../victory-core/es/victory-util/collection.js");
10223
- /* harmony import */ var _domain__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./domain */ "../../victory-core/es/victory-util/domain.js");
10224
- /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./helpers */ "../../victory-core/es/victory-util/helpers.js");
10225
-
10226
-
10026
+ /* harmony import */ var lodash_isObject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isObject */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js");
10027
+ /* harmony import */ var lodash_isObject__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isObject__WEBPACK_IMPORTED_MODULE_2__);
10028
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
10029
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_3__);
10030
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "react");
10031
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
10032
+ /* harmony import */ var _collection__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./collection */ "../../victory-core/es/victory-util/collection.js");
10033
+ /* harmony import */ var _domain__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./domain */ "../../victory-core/es/victory-util/domain.js");
10034
+ /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./helpers */ "../../victory-core/es/victory-util/helpers.js");
10227
10035
 
10228
10036
 
10229
10037
 
@@ -10246,12 +10054,22 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
10246
10054
 
10247
10055
 
10248
10056
 
10057
+ /**
10058
+ * Returns the first argument it receives
10059
+ * @param value The value to return
10060
+ * @returns The value given
10061
+ */
10062
+ function identity(value) {
10063
+ return value;
10064
+ }
10249
10065
  /**
10250
10066
  * Returns the axis (x or y) of a particular axis component
10251
10067
  * @param {Object} props: the props object.
10252
10068
  * @param {Boolean} horizontal: true for horizontal charts
10253
10069
  * @returns {String} the dimension appropriate for the axis given its props
10254
10070
  */
10071
+
10072
+
10255
10073
  function getAxis(props) {
10256
10074
  var dependentAxis = props.dependentAxis;
10257
10075
  return dependentAxis ? "y" : "x";
@@ -10264,14 +10082,14 @@ function getAxis(props) {
10264
10082
  */
10265
10083
 
10266
10084
  function findAxisComponents(childComponents, predicate) {
10267
- var predicateFunction = predicate || (lodash_identity__WEBPACK_IMPORTED_MODULE_4___default());
10085
+ var predicateFunction = predicate || identity;
10268
10086
 
10269
10087
  var findAxes = function (children) {
10270
10088
  return children.reduce(function (memo, child) {
10271
10089
  if (child.type && child.type.role === "axis" && predicateFunction(child)) {
10272
10090
  return memo.concat(child);
10273
10091
  } else if (child.props && child.props.children) {
10274
- return memo.concat(findAxes(react__WEBPACK_IMPORTED_MODULE_6___default().Children.toArray(child.props.children)));
10092
+ return memo.concat(findAxes(react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(child.props.children)));
10275
10093
  }
10276
10094
 
10277
10095
  return memo;
@@ -10313,7 +10131,7 @@ function getAxisComponentsWithParent(childComponents, type) {
10313
10131
  if (child.type && child.type.role === "axis" && matchesType(child)) {
10314
10132
  return memo.concat(child);
10315
10133
  } else if (child.props && child.props.children) {
10316
- var childAxis = findComponents(react__WEBPACK_IMPORTED_MODULE_6___default().Children.toArray(child.props.children));
10134
+ var childAxis = findComponents(react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(child.props.children));
10317
10135
  return childAxis.length > 0 ? memo.concat(child) : memo;
10318
10136
  }
10319
10137
 
@@ -10331,8 +10149,8 @@ function getOrigin(domain) {
10331
10149
  };
10332
10150
 
10333
10151
  return {
10334
- x: _collection__WEBPACK_IMPORTED_MODULE_7__.containsDates(domain.x) ? new Date(Math.min.apply(Math, _toConsumableArray(domain.x))) : getSingleOrigin(domain.x),
10335
- y: _collection__WEBPACK_IMPORTED_MODULE_7__.containsDates(domain.y) ? new Date(Math.min.apply(Math, _toConsumableArray(domain.y))) : getSingleOrigin(domain.y)
10152
+ x: _collection__WEBPACK_IMPORTED_MODULE_5__.containsDates(domain.x) ? new Date(Math.min.apply(Math, _toConsumableArray(domain.x))) : getSingleOrigin(domain.x),
10153
+ y: _collection__WEBPACK_IMPORTED_MODULE_5__.containsDates(domain.y) ? new Date(Math.min.apply(Math, _toConsumableArray(domain.y))) : getSingleOrigin(domain.y)
10336
10154
  };
10337
10155
  }
10338
10156
  function getOriginSign(origin, domain) {
@@ -10340,7 +10158,7 @@ function getOriginSign(origin, domain) {
10340
10158
  return origin <= 0 && Math.max.apply(Math, _toConsumableArray(domain)) <= 0 ? "negative" : "positive";
10341
10159
  };
10342
10160
 
10343
- return _collection__WEBPACK_IMPORTED_MODULE_7__.containsDates(domain) ? "positive" : getSign();
10161
+ return _collection__WEBPACK_IMPORTED_MODULE_5__.containsDates(domain) ? "positive" : getSign();
10344
10162
  }
10345
10163
  /**
10346
10164
  * @param {Object} props: axis component props
@@ -10363,14 +10181,14 @@ function isVertical(props) {
10363
10181
  */
10364
10182
 
10365
10183
  function stringTicks(props) {
10366
- return props.tickValues !== undefined && _collection__WEBPACK_IMPORTED_MODULE_7__.containsStrings(props.tickValues);
10184
+ return props.tickValues !== undefined && _collection__WEBPACK_IMPORTED_MODULE_5__.containsStrings(props.tickValues);
10367
10185
  }
10368
10186
 
10369
10187
  function getDefaultTickFormat(props) {
10370
10188
  var tickValues = props.tickValues;
10371
10189
  var axis = getAxis(props);
10372
10190
  var stringMap = props.stringMap && props.stringMap[axis];
10373
- var fallbackFormat = tickValues && !_collection__WEBPACK_IMPORTED_MODULE_7__.containsDates(tickValues) ? function (x) {
10191
+ var fallbackFormat = tickValues && !_collection__WEBPACK_IMPORTED_MODULE_5__.containsDates(tickValues) ? function (x) {
10374
10192
  return x;
10375
10193
  } : undefined;
10376
10194
 
@@ -10380,7 +10198,7 @@ function getDefaultTickFormat(props) {
10380
10198
  } : fallbackFormat;
10381
10199
  }
10382
10200
 
10383
- var invertedStringMap = stringMap && lodash_invert__WEBPACK_IMPORTED_MODULE_2___default()(stringMap);
10201
+ var invertedStringMap = stringMap && _helpers__WEBPACK_IMPORTED_MODULE_6__.invert(stringMap);
10384
10202
 
10385
10203
  var tickValueArray = lodash_orderBy__WEBPACK_IMPORTED_MODULE_0___default()(Object.values(stringMap), function (n) {
10386
10204
  return n;
@@ -10400,7 +10218,7 @@ function getStringTicks(props) {
10400
10218
  var axis = getAxis(props);
10401
10219
  var stringMap = props.stringMap && props.stringMap[axis];
10402
10220
  var categories = Array.isArray(props.categories) ? props.categories : props.categories && props.categories[axis];
10403
- var ticksFromCategories = categories && _collection__WEBPACK_IMPORTED_MODULE_7__.containsOnlyStrings(categories) ? categories.map(function (tick) {
10221
+ var ticksFromCategories = categories && _collection__WEBPACK_IMPORTED_MODULE_5__.containsOnlyStrings(categories) ? categories.map(function (tick) {
10404
10222
  return stringMap[tick];
10405
10223
  }) : undefined;
10406
10224
  var ticksFromStringMap = stringMap && Object.values(stringMap);
@@ -10423,7 +10241,7 @@ function getTickArray(props) {
10423
10241
  return undefined;
10424
10242
  }
10425
10243
 
10426
- return _collection__WEBPACK_IMPORTED_MODULE_7__.containsStrings(tickFormat) ? tickFormat.map(function (t, i) {
10244
+ return _collection__WEBPACK_IMPORTED_MODULE_5__.containsStrings(tickFormat) ? tickFormat.map(function (t, i) {
10427
10245
  return i;
10428
10246
  }) : tickFormat;
10429
10247
  };
@@ -10434,10 +10252,10 @@ function getTickArray(props) {
10434
10252
  ticks = getStringTicks(props);
10435
10253
  }
10436
10254
 
10437
- if (tickValues && _collection__WEBPACK_IMPORTED_MODULE_7__.containsStrings(tickValues)) {
10255
+ if (tickValues && _collection__WEBPACK_IMPORTED_MODULE_5__.containsStrings(tickValues)) {
10438
10256
  ticks = stringMap ? tickValues.map(function (tick) {
10439
10257
  return stringMap[tick];
10440
- }) : _helpers__WEBPACK_IMPORTED_MODULE_8__.range(1, tickValues.length + 1);
10258
+ }) : _helpers__WEBPACK_IMPORTED_MODULE_6__.range(1, tickValues.length + 1);
10441
10259
  }
10442
10260
 
10443
10261
  var tickArray = ticks ? lodash_uniq__WEBPACK_IMPORTED_MODULE_1___default()(ticks) : getTicksFromFormat();
@@ -10449,7 +10267,7 @@ function getTickArray(props) {
10449
10267
  if (arr) {
10450
10268
  arr.forEach(function (t, index) {
10451
10269
  if (Array.isArray(domain)) {
10452
- if (t >= _collection__WEBPACK_IMPORTED_MODULE_7__.getMinValue(domain) && t <= _collection__WEBPACK_IMPORTED_MODULE_7__.getMaxValue(domain)) {
10270
+ if (t >= _collection__WEBPACK_IMPORTED_MODULE_5__.getMinValue(domain) && t <= _collection__WEBPACK_IMPORTED_MODULE_5__.getMaxValue(domain)) {
10453
10271
  newTickArray.push({
10454
10272
  value: t,
10455
10273
  index: index
@@ -10481,7 +10299,7 @@ function getTickFormat(props, scale) {
10481
10299
  // by default. This changed the default formatting for some scale types when
10482
10300
  // we upgraded to d3-scale@4..
10483
10301
 
10484
- var scaleTickFormat = scale.tickFormat && _helpers__WEBPACK_IMPORTED_MODULE_8__.isFunction(scale.tickFormat) ? scale.tickFormat() : function (x) {
10302
+ var scaleTickFormat = scale.tickFormat && _helpers__WEBPACK_IMPORTED_MODULE_6__.isFunction(scale.tickFormat) ? scale.tickFormat() : function (x) {
10485
10303
  return x;
10486
10304
  };
10487
10305
  return defaultTickFormat || scaleTickFormat;
@@ -10496,10 +10314,9 @@ function getTickFormat(props, scale) {
10496
10314
  return function (x, index) {
10497
10315
  return filteredTickFormat[index];
10498
10316
  };
10499
- } else if (tickFormat && _helpers__WEBPACK_IMPORTED_MODULE_8__.isFunction(tickFormat)) {
10317
+ } else if (tickFormat && _helpers__WEBPACK_IMPORTED_MODULE_6__.isFunction(tickFormat)) {
10500
10318
  var applyStringTicks = function (tick, index, ticks) {
10501
- var invertedStringMap = lodash_invert__WEBPACK_IMPORTED_MODULE_2___default()(stringMap);
10502
-
10319
+ var invertedStringMap = _helpers__WEBPACK_IMPORTED_MODULE_6__.invert(stringMap);
10503
10320
  var stringTickArray = ticks.map(function (t) {
10504
10321
  return invertedStringMap[t];
10505
10322
  });
@@ -10540,7 +10357,7 @@ function getTicks(props, scale) {
10540
10357
 
10541
10358
  if (tickValues) {
10542
10359
  return downsampleTicks(tickValues, tickCount);
10543
- } else if (scale.ticks && _helpers__WEBPACK_IMPORTED_MODULE_8__.isFunction(scale.ticks)) {
10360
+ } else if (scale.ticks && _helpers__WEBPACK_IMPORTED_MODULE_6__.isFunction(scale.ticks)) {
10544
10361
  // eslint-disable-next-line no-magic-numbers
10545
10362
  var defaultTickCount = tickCount || 5;
10546
10363
  var scaleTicks = scale.ticks(defaultTickCount);
@@ -10582,18 +10399,18 @@ function getDomainFromData(props, axis) {
10582
10399
  return undefined;
10583
10400
  }
10584
10401
 
10585
- var minDomain = _domain__WEBPACK_IMPORTED_MODULE_9__.getMinFromProps(props, axis);
10586
- var maxDomain = _domain__WEBPACK_IMPORTED_MODULE_9__.getMaxFromProps(props, axis);
10402
+ var minDomain = _domain__WEBPACK_IMPORTED_MODULE_7__.getMinFromProps(props, axis);
10403
+ var maxDomain = _domain__WEBPACK_IMPORTED_MODULE_7__.getMaxFromProps(props, axis);
10587
10404
  var tickStrings = stringTicks(props);
10588
10405
  var ticks = tickValues.map(function (value) {
10589
10406
  return Number(value);
10590
10407
  });
10591
- var defaultMin = tickStrings ? 1 : _collection__WEBPACK_IMPORTED_MODULE_7__.getMinValue(ticks);
10592
- var defaultMax = tickStrings ? tickValues.length : _collection__WEBPACK_IMPORTED_MODULE_7__.getMaxValue(ticks);
10408
+ var defaultMin = tickStrings ? 1 : _collection__WEBPACK_IMPORTED_MODULE_5__.getMinValue(ticks);
10409
+ var defaultMax = tickStrings ? tickValues.length : _collection__WEBPACK_IMPORTED_MODULE_5__.getMaxValue(ticks);
10593
10410
  var min = minDomain !== undefined ? minDomain : defaultMin;
10594
10411
  var max = maxDomain !== undefined ? maxDomain : defaultMax;
10595
- var initialDomain = _domain__WEBPACK_IMPORTED_MODULE_9__.getDomainFromMinMax(min, max);
10596
- var domain = polar && axis === "x" && Math.abs(startAngle - endAngle) === 360 ? _domain__WEBPACK_IMPORTED_MODULE_9__.getSymmetricDomain(initialDomain, ticks) : initialDomain;
10412
+ var initialDomain = _domain__WEBPACK_IMPORTED_MODULE_7__.getDomainFromMinMax(min, max);
10413
+ var domain = polar && axis === "x" && Math.abs(startAngle - endAngle) === 360 ? _domain__WEBPACK_IMPORTED_MODULE_7__.getSymmetricDomain(initialDomain, ticks) : initialDomain;
10597
10414
 
10598
10415
  if (isVertical(props) && !polar) {
10599
10416
  domain.reverse();
@@ -10610,7 +10427,7 @@ function getDomain(props, axis) {
10610
10427
  return undefined;
10611
10428
  }
10612
10429
 
10613
- return _domain__WEBPACK_IMPORTED_MODULE_9__.createDomainFunction(getDomainFromData)(props, inherentAxis);
10430
+ return _domain__WEBPACK_IMPORTED_MODULE_7__.createDomainFunction(getDomainFromData)(props, inherentAxis);
10614
10431
  }
10615
10432
  function getAxisValue(props, axis) {
10616
10433
  if (!props.axisValue) {
@@ -10618,20 +10435,20 @@ function getAxisValue(props, axis) {
10618
10435
  }
10619
10436
 
10620
10437
  var scaleAxis = axis === "x" ? "y" : "x";
10621
- var scale = lodash_isObject__WEBPACK_IMPORTED_MODULE_3___default()(props.scale) && _helpers__WEBPACK_IMPORTED_MODULE_8__.isFunction(props.scale[scaleAxis]) ? props.scale[scaleAxis] : undefined;
10438
+ var scale = lodash_isObject__WEBPACK_IMPORTED_MODULE_2___default()(props.scale) && _helpers__WEBPACK_IMPORTED_MODULE_6__.isFunction(props.scale[scaleAxis]) ? props.scale[scaleAxis] : undefined;
10622
10439
 
10623
10440
  if (!scale) {
10624
10441
  return undefined;
10625
10442
  }
10626
10443
 
10627
10444
  var stringMapAxis = axis === "x" ? "y" : "x";
10628
- var stringMap = lodash_isObject__WEBPACK_IMPORTED_MODULE_3___default()(props.stringMap) && props.stringMap[stringMapAxis];
10445
+ var stringMap = lodash_isObject__WEBPACK_IMPORTED_MODULE_2___default()(props.stringMap) && props.stringMap[stringMapAxis];
10629
10446
  var axisValue = stringMap && typeof props.axisValue === "string" ? stringMap[props.axisValue] : props.axisValue;
10630
10447
  return scale(axisValue);
10631
10448
  }
10632
10449
  function modifyProps(props, fallbackProps) {
10633
- if (!lodash_isObject__WEBPACK_IMPORTED_MODULE_3___default()(props.theme)) {
10634
- return _helpers__WEBPACK_IMPORTED_MODULE_8__.modifyProps(props, fallbackProps, "axis");
10450
+ if (!lodash_isObject__WEBPACK_IMPORTED_MODULE_2___default()(props.theme)) {
10451
+ return _helpers__WEBPACK_IMPORTED_MODULE_6__.modifyProps(props, fallbackProps, "axis");
10635
10452
  }
10636
10453
 
10637
10454
  var role = "axis";
@@ -10643,15 +10460,15 @@ function modifyProps(props, fallbackProps) {
10643
10460
  }
10644
10461
 
10645
10462
  if (role === "axis") {
10646
- return _helpers__WEBPACK_IMPORTED_MODULE_8__.modifyProps(props, fallbackProps, "axis");
10463
+ return _helpers__WEBPACK_IMPORTED_MODULE_6__.modifyProps(props, fallbackProps, "axis");
10647
10464
  }
10648
10465
 
10649
- var axisTheme = lodash_defaults__WEBPACK_IMPORTED_MODULE_5___default()({}, props.theme[role], props.theme.axis);
10466
+ var axisTheme = lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, props.theme[role], props.theme.axis);
10650
10467
 
10651
10468
  var theme = Object.assign({}, props.theme, {
10652
10469
  axis: axisTheme
10653
10470
  });
10654
- return _helpers__WEBPACK_IMPORTED_MODULE_8__.modifyProps(Object.assign({}, props, {
10471
+ return _helpers__WEBPACK_IMPORTED_MODULE_6__.modifyProps(Object.assign({}, props, {
10655
10472
  theme: theme
10656
10473
  }), fallbackProps, "axis");
10657
10474
  }
@@ -10671,6 +10488,7 @@ __webpack_require__.r(__webpack_exports__);
10671
10488
  /* harmony export */ "containsNumbers": () => (/* binding */ containsNumbers),
10672
10489
  /* harmony export */ "containsOnlyStrings": () => (/* binding */ containsOnlyStrings),
10673
10490
  /* harmony export */ "containsStrings": () => (/* binding */ containsStrings),
10491
+ /* harmony export */ "difference": () => (/* binding */ difference),
10674
10492
  /* harmony export */ "getMaxValue": () => (/* binding */ getMaxValue),
10675
10493
  /* harmony export */ "getMinValue": () => (/* binding */ getMinValue),
10676
10494
  /* harmony export */ "isArrayOfArrays": () => (/* binding */ isArrayOfArrays),
@@ -10712,6 +10530,22 @@ function containsOnlyStrings(collection) {
10712
10530
  return typeof value === "string";
10713
10531
  });
10714
10532
  }
10533
+ /**
10534
+ * Creates an array of array values not included in the other given arrays
10535
+ * @param a The array to inspect
10536
+ * @param b The values to exclude
10537
+ * @returns The new array of filtered values
10538
+ */
10539
+
10540
+ function difference(a, b) {
10541
+ if (a && b) {
10542
+ return a.filter(function (value) {
10543
+ return !b.includes(value);
10544
+ });
10545
+ }
10546
+
10547
+ return [];
10548
+ }
10715
10549
  function isArrayOfArrays(collection) {
10716
10550
  return isNonEmptyArray(collection) && collection.every(Array.isArray);
10717
10551
  }
@@ -12199,6 +12033,7 @@ __webpack_require__.r(__webpack_exports__);
12199
12033
  /* harmony export */ "getRadius": () => (/* binding */ getRadius),
12200
12034
  /* harmony export */ "getRange": () => (/* binding */ getRange),
12201
12035
  /* harmony export */ "getStyles": () => (/* binding */ getStyles),
12036
+ /* harmony export */ "invert": () => (/* binding */ invert),
12202
12037
  /* harmony export */ "isFunction": () => (/* binding */ isFunction),
12203
12038
  /* harmony export */ "isHorizontal": () => (/* binding */ isHorizontal),
12204
12039
  /* harmony export */ "isNil": () => (/* binding */ isNil),
@@ -12249,6 +12084,18 @@ function getPolarRange(props, axis) {
12249
12084
  return [props.innerRadius || 0, getRadius(props)];
12250
12085
  } // Exported Functions
12251
12086
 
12087
+ /**
12088
+ * Creates an object composed of the inverted keys and values of object.
12089
+ * If object contains duplicate values, subsequent values overwrite property assignments of previous values.
12090
+ */
12091
+
12092
+
12093
+ function invert(original) {
12094
+ return Object.entries(original).reduce(function (acc, current) {
12095
+ acc[current[1]] = current[0];
12096
+ return acc;
12097
+ }, {});
12098
+ }
12252
12099
  /**
12253
12100
  * creates an object with some keys excluded
12254
12101
  * replacement for lodash.omit for performance. does not mimic the entire lodash.omit api
@@ -12257,7 +12104,6 @@ function getPolarRange(props, axis) {
12257
12104
  * @returns {Object} new object with same properties as originalObject
12258
12105
  */
12259
12106
 
12260
-
12261
12107
  function omit(originalObject) {
12262
12108
  var ks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
12263
12109
  // code based on babel's _objectWithoutProperties
@@ -14408,11 +14254,11 @@ function getChildStyle(child, index, calculatedProps) {
14408
14254
 
14409
14255
  var labelsStyle = lodash_defaults__WEBPACK_IMPORTED_MODULE_4___default()({}, childStyle.labels, style.labels);
14410
14256
 
14411
- return {
14257
+ return _objectSpread(_objectSpread({}, childStyle), {}, {
14412
14258
  parent: style.parent,
14413
14259
  data: dataStyle,
14414
14260
  labels: labelsStyle
14415
- };
14261
+ });
14416
14262
  }
14417
14263
  function getStringsFromCategories(childComponents, axis) {
14418
14264
  var iteratee = function (child) {
@@ -16518,20 +16364,17 @@ __webpack_require__.r(__webpack_exports__);
16518
16364
  /* harmony import */ var lodash_throttle__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_throttle__WEBPACK_IMPORTED_MODULE_0__);
16519
16365
  /* harmony import */ var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/isRegExp */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isRegExp.js");
16520
16366
  /* harmony import */ var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isRegExp__WEBPACK_IMPORTED_MODULE_1__);
16521
- /* harmony import */ var lodash_isString__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isString */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isString.js");
16522
- /* harmony import */ var lodash_isString__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isString__WEBPACK_IMPORTED_MODULE_2__);
16523
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
16524
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3__);
16525
- /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/selection.js");
16526
- /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/helpers.js");
16527
- /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/collection.js");
16528
- /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/data.js");
16529
- /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/.pnpm/react-fast-compare@3.2.0/node_modules/react-fast-compare/index.js");
16530
- /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_4__);
16531
- /* harmony import */ var delaunay_find_lib_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! delaunay-find/lib/index.js */ "../../../node_modules/.pnpm/delaunay-find@0.0.6/node_modules/delaunay-find/lib/index.js");
16532
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "react");
16533
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
16534
-
16367
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
16368
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__);
16369
+ /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/selection.js");
16370
+ /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/helpers.js");
16371
+ /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/collection.js");
16372
+ /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/data.js");
16373
+ /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/.pnpm/react-fast-compare@3.2.0/node_modules/react-fast-compare/index.js");
16374
+ /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_3__);
16375
+ /* harmony import */ var delaunay_find_lib_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! delaunay-find/lib/index.js */ "../../../node_modules/.pnpm/delaunay-find@0.0.6/node_modules/delaunay-find/lib/index.js");
16376
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "react");
16377
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
16535
16378
 
16536
16379
 
16537
16380
 
@@ -16582,8 +16425,8 @@ var VoronoiHelpersClass = /*#__PURE__*/function () {
16582
16425
  this.handleMouseMove = function (evt, targetProps) {
16583
16426
  // eslint-disable-line max-statements
16584
16427
  var activePoints = targetProps.activePoints || [];
16585
- var parentSVG = targetProps.parentSVG || victory_core__WEBPACK_IMPORTED_MODULE_7__.getParentSVG(evt);
16586
- var mousePosition = victory_core__WEBPACK_IMPORTED_MODULE_7__.getSVGEventCoordinates(evt, parentSVG);
16428
+ var parentSVG = targetProps.parentSVG || victory_core__WEBPACK_IMPORTED_MODULE_6__.getParentSVG(evt);
16429
+ var mousePosition = victory_core__WEBPACK_IMPORTED_MODULE_6__.getSVGEventCoordinates(evt, parentSVG);
16587
16430
 
16588
16431
  if (!_this.withinBounds(targetProps, mousePosition)) {
16589
16432
  var _this$getParentMutati2;
@@ -16604,7 +16447,7 @@ var VoronoiHelpersClass = /*#__PURE__*/function () {
16604
16447
 
16605
16448
  var parentMutations = _this.getParentMutation(points, mousePosition, parentSVG, index);
16606
16449
 
16607
- if (activePoints.length && react_fast_compare__WEBPACK_IMPORTED_MODULE_4___default()(points, activePoints)) {
16450
+ if (activePoints.length && react_fast_compare__WEBPACK_IMPORTED_MODULE_3___default()(points, activePoints)) {
16608
16451
  return parentMutations;
16609
16452
  }
16610
16453
 
@@ -16635,7 +16478,7 @@ var VoronoiHelpersClass = /*#__PURE__*/function () {
16635
16478
  polar = props.polar,
16636
16479
  origin = props.origin,
16637
16480
  scale = props.scale;
16638
- var padding = victory_core__WEBPACK_IMPORTED_MODULE_8__.getPadding(props, "voronoiPadding");
16481
+ var padding = victory_core__WEBPACK_IMPORTED_MODULE_7__.getPadding(props, "voronoiPadding");
16639
16482
  var x = point.x,
16640
16483
  y = point.y;
16641
16484
 
@@ -16651,16 +16494,16 @@ var VoronoiHelpersClass = /*#__PURE__*/function () {
16651
16494
  key: "getDatasets",
16652
16495
  value: function getDatasets(props) {
16653
16496
  var minDomain = {
16654
- x: victory_core__WEBPACK_IMPORTED_MODULE_9__.getMinValue(props.domain.x),
16655
- y: victory_core__WEBPACK_IMPORTED_MODULE_9__.getMinValue(props.domain.y)
16497
+ x: victory_core__WEBPACK_IMPORTED_MODULE_8__.getMinValue(props.domain.x),
16498
+ y: victory_core__WEBPACK_IMPORTED_MODULE_8__.getMinValue(props.domain.y)
16656
16499
  };
16657
- var children = react__WEBPACK_IMPORTED_MODULE_6___default().Children.toArray(props.children);
16500
+ var children = react__WEBPACK_IMPORTED_MODULE_5___default().Children.toArray(props.children);
16658
16501
 
16659
16502
  var addMeta = function (data, name, child) {
16660
16503
  var continuous = child && child.type && child.type.continuous;
16661
16504
  var style = child ? child.props && child.props.style : props.style;
16662
16505
  return data.map(function (datum, index) {
16663
- var _Helpers$getPoint = victory_core__WEBPACK_IMPORTED_MODULE_8__.getPoint(datum),
16506
+ var _Helpers$getPoint = victory_core__WEBPACK_IMPORTED_MODULE_7__.getPoint(datum),
16664
16507
  x = _Helpers$getPoint.x,
16665
16508
  y = _Helpers$getPoint.y,
16666
16509
  y0 = _Helpers$getPoint.y0,
@@ -16684,7 +16527,7 @@ var VoronoiHelpersClass = /*#__PURE__*/function () {
16684
16527
  }
16685
16528
 
16686
16529
  var getData = function (childProps) {
16687
- var data = victory_core__WEBPACK_IMPORTED_MODULE_10__.getData(childProps);
16530
+ var data = victory_core__WEBPACK_IMPORTED_MODULE_9__.getData(childProps);
16688
16531
  return Array.isArray(data) && data.length > 0 ? data : undefined;
16689
16532
  };
16690
16533
 
@@ -16692,22 +16535,24 @@ var VoronoiHelpersClass = /*#__PURE__*/function () {
16692
16535
  var childProps = child.props || {};
16693
16536
  var name = childProps.name || childName;
16694
16537
  var blacklist = props.voronoiBlacklist || [];
16695
- var blacklistStr = blacklist.filter((lodash_isString__WEBPACK_IMPORTED_MODULE_2___default()));
16538
+ var blacklistStr = blacklist.filter(function (value) {
16539
+ return !!value && typeof value.valueOf() === "string";
16540
+ });
16696
16541
  var blacklistRegExp = blacklist.filter((lodash_isRegExp__WEBPACK_IMPORTED_MODULE_1___default()));
16697
16542
  var isRegExpMatch = blacklistRegExp.some(function (regExp) {
16698
16543
  return regExp.test(name);
16699
16544
  });
16700
16545
 
16701
- if (!victory_core__WEBPACK_IMPORTED_MODULE_10__.isDataComponent(child) || blacklistStr.includes(name) || isRegExpMatch) {
16546
+ if (!victory_core__WEBPACK_IMPORTED_MODULE_9__.isDataComponent(child) || blacklistStr.includes(name) || isRegExpMatch) {
16702
16547
  return null;
16703
16548
  }
16704
16549
 
16705
- var getChildData = child.type && victory_core__WEBPACK_IMPORTED_MODULE_8__.isFunction(child.type.getData) ? child.type.getData : getData;
16550
+ var getChildData = child.type && victory_core__WEBPACK_IMPORTED_MODULE_7__.isFunction(child.type.getData) ? child.type.getData : getData;
16706
16551
  var childData = getChildData(child.props);
16707
16552
  return childData ? addMeta(childData, name, child) : null;
16708
16553
  };
16709
16554
 
16710
- return victory_core__WEBPACK_IMPORTED_MODULE_8__.reduceChildren(children, iteratee, props);
16555
+ return victory_core__WEBPACK_IMPORTED_MODULE_7__.reduceChildren(children, iteratee, props);
16711
16556
  }
16712
16557
  }, {
16713
16558
  key: "findPoints",
@@ -16737,13 +16582,13 @@ var VoronoiHelpersClass = /*#__PURE__*/function () {
16737
16582
  value: function getVoronoiPoints(props, mousePosition) {
16738
16583
  var datasets = this.getDatasets(props);
16739
16584
  var scaledData = datasets.map(function (d) {
16740
- var _Helpers$scalePoint = victory_core__WEBPACK_IMPORTED_MODULE_8__.scalePoint(props, d),
16585
+ var _Helpers$scalePoint = victory_core__WEBPACK_IMPORTED_MODULE_7__.scalePoint(props, d),
16741
16586
  x = _Helpers$scalePoint.x,
16742
16587
  y = _Helpers$scalePoint.y;
16743
16588
 
16744
16589
  return [x, y];
16745
16590
  });
16746
- var delaunay = delaunay_find_lib_index_js__WEBPACK_IMPORTED_MODULE_5__["default"].from(scaledData);
16591
+ var delaunay = delaunay_find_lib_index_js__WEBPACK_IMPORTED_MODULE_4__["default"].from(scaledData);
16747
16592
  var index = delaunay.find(mousePosition.x, mousePosition.y);
16748
16593
  var withinRadius = this.withinRadius(scaledData[index], mousePosition, props.radius);
16749
16594
  var points = withinRadius ? this.findPoints(datasets, datasets[index]) : [];
@@ -16768,7 +16613,7 @@ var VoronoiHelpersClass = /*#__PURE__*/function () {
16768
16613
  var defaultTarget = activateData ? ["data"] : [];
16769
16614
  var targets = labels && !activateLabels ? defaultTarget : defaultTarget.concat("labels");
16770
16615
 
16771
- if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(targets)) {
16616
+ if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(targets)) {
16772
16617
  return [];
16773
16618
  }
16774
16619
 
@@ -16802,7 +16647,7 @@ var VoronoiHelpersClass = /*#__PURE__*/function () {
16802
16647
  var defaultTarget = activateData ? ["data"] : [];
16803
16648
  var targets = labels && !activateLabels ? defaultTarget : defaultTarget.concat("labels");
16804
16649
 
16805
- if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(targets)) {
16650
+ if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(targets)) {
16806
16651
  return [];
16807
16652
  }
16808
16653
 
@@ -16838,14 +16683,14 @@ var VoronoiHelpersClass = /*#__PURE__*/function () {
16838
16683
  }, {
16839
16684
  key: "onActivated",
16840
16685
  value: function onActivated(props, points) {
16841
- if (victory_core__WEBPACK_IMPORTED_MODULE_8__.isFunction(props.onActivated)) {
16686
+ if (victory_core__WEBPACK_IMPORTED_MODULE_7__.isFunction(props.onActivated)) {
16842
16687
  props.onActivated(points, props);
16843
16688
  }
16844
16689
  }
16845
16690
  }, {
16846
16691
  key: "onDeactivated",
16847
16692
  value: function onDeactivated(props, points) {
16848
- if (victory_core__WEBPACK_IMPORTED_MODULE_8__.isFunction(props.onDeactivated)) {
16693
+ if (victory_core__WEBPACK_IMPORTED_MODULE_7__.isFunction(props.onDeactivated)) {
16849
16694
  props.onDeactivated(points, props);
16850
16695
  }
16851
16696
  }