victory-voronoi-container 31.1.0 → 31.2.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.
|
@@ -506,9 +506,7 @@ function reduceChildren(children, iteratee) {
|
|
|
506
506
|
} else {
|
|
507
507
|
var result = iteratee(child, childName, parent);
|
|
508
508
|
|
|
509
|
-
if (
|
|
510
|
-
memo = result.reduce(combine, memo);
|
|
511
|
-
} else if (result) {
|
|
509
|
+
if (result) {
|
|
512
510
|
memo = combine(memo, result);
|
|
513
511
|
}
|
|
514
512
|
}
|
|
@@ -661,7 +659,7 @@ function newInterval(floori, offseti, count, field) {
|
|
|
661
659
|
/***/ (function(module, exports, __webpack_require__) {
|
|
662
660
|
|
|
663
661
|
var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 97),
|
|
664
|
-
isObject = __webpack_require__(/*! ./isObject */
|
|
662
|
+
isObject = __webpack_require__(/*! ./isObject */ 9);
|
|
665
663
|
|
|
666
664
|
/** `Object#toString` result references. */
|
|
667
665
|
var asyncTag = '[object AsyncFunction]',
|
|
@@ -813,6 +811,157 @@ module.exports = isArray;
|
|
|
813
811
|
|
|
814
812
|
/***/ }),
|
|
815
813
|
/* 8 */
|
|
814
|
+
/*!************************************************************************************!*\
|
|
815
|
+
!*** /Users/boygirl/formidable/v/victory/node_modules/react-fast-compare/index.js ***!
|
|
816
|
+
\************************************************************************************/
|
|
817
|
+
/*! dynamic exports provided */
|
|
818
|
+
/*! exports used: default */
|
|
819
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
820
|
+
|
|
821
|
+
"use strict";
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
var isArray = Array.isArray;
|
|
825
|
+
var keyList = Object.keys;
|
|
826
|
+
var hasProp = Object.prototype.hasOwnProperty;
|
|
827
|
+
var hasElementType = typeof Element !== 'undefined';
|
|
828
|
+
|
|
829
|
+
function equal(a, b) {
|
|
830
|
+
// fast-deep-equal index.js 2.0.1
|
|
831
|
+
if (a === b) return true;
|
|
832
|
+
|
|
833
|
+
if (a && b && typeof a == 'object' && typeof b == 'object') {
|
|
834
|
+
var arrA = isArray(a)
|
|
835
|
+
, arrB = isArray(b)
|
|
836
|
+
, i
|
|
837
|
+
, length
|
|
838
|
+
, key;
|
|
839
|
+
|
|
840
|
+
if (arrA && arrB) {
|
|
841
|
+
length = a.length;
|
|
842
|
+
if (length != b.length) return false;
|
|
843
|
+
for (i = length; i-- !== 0;)
|
|
844
|
+
if (!equal(a[i], b[i])) return false;
|
|
845
|
+
return true;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
if (arrA != arrB) return false;
|
|
849
|
+
|
|
850
|
+
var dateA = a instanceof Date
|
|
851
|
+
, dateB = b instanceof Date;
|
|
852
|
+
if (dateA != dateB) return false;
|
|
853
|
+
if (dateA && dateB) return a.getTime() == b.getTime();
|
|
854
|
+
|
|
855
|
+
var regexpA = a instanceof RegExp
|
|
856
|
+
, regexpB = b instanceof RegExp;
|
|
857
|
+
if (regexpA != regexpB) return false;
|
|
858
|
+
if (regexpA && regexpB) return a.toString() == b.toString();
|
|
859
|
+
|
|
860
|
+
var keys = keyList(a);
|
|
861
|
+
length = keys.length;
|
|
862
|
+
|
|
863
|
+
if (length !== keyList(b).length)
|
|
864
|
+
return false;
|
|
865
|
+
|
|
866
|
+
for (i = length; i-- !== 0;)
|
|
867
|
+
if (!hasProp.call(b, keys[i])) return false;
|
|
868
|
+
// end fast-deep-equal
|
|
869
|
+
|
|
870
|
+
// start react-fast-compare
|
|
871
|
+
// custom handling for DOM elements
|
|
872
|
+
if (hasElementType && a instanceof Element && b instanceof Element)
|
|
873
|
+
return a === b;
|
|
874
|
+
|
|
875
|
+
// custom handling for React
|
|
876
|
+
for (i = length; i-- !== 0;) {
|
|
877
|
+
key = keys[i];
|
|
878
|
+
if (key === '_owner' && a.$$typeof) {
|
|
879
|
+
// React-specific: avoid traversing React elements' _owner.
|
|
880
|
+
// _owner contains circular references
|
|
881
|
+
// and is not needed when comparing the actual elements (and not their owners)
|
|
882
|
+
// .$$typeof and ._store on just reasonable markers of a react element
|
|
883
|
+
continue;
|
|
884
|
+
} else {
|
|
885
|
+
// all other properties should be traversed as usual
|
|
886
|
+
if (!equal(a[key], b[key])) {
|
|
887
|
+
// console.log(key)
|
|
888
|
+
return false
|
|
889
|
+
};
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
// end react-fast-compare
|
|
893
|
+
|
|
894
|
+
// fast-deep-equal index.js 2.0.1
|
|
895
|
+
return true;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
return a !== a && b !== b;
|
|
899
|
+
}
|
|
900
|
+
// end fast-deep-equal
|
|
901
|
+
|
|
902
|
+
module.exports = function exportedEqual(a, b) {
|
|
903
|
+
try {
|
|
904
|
+
return equal(a, b);
|
|
905
|
+
} catch (error) {
|
|
906
|
+
if ((error.message && error.message.match(/stack|recursion/i)) || (error.number === -2146828260)) {
|
|
907
|
+
// warn on circular references, don't crash
|
|
908
|
+
// browsers give this different errors name and messages:
|
|
909
|
+
// chrome/safari: "RangeError", "Maximum call stack size exceeded"
|
|
910
|
+
// firefox: "InternalError", too much recursion"
|
|
911
|
+
// edge: "Error", "Out of stack space"
|
|
912
|
+
console.warn('Warning: react-fast-compare does not handle circular references.', error.name, error.message);
|
|
913
|
+
return false;
|
|
914
|
+
}
|
|
915
|
+
// some other error. we should definitely know about these
|
|
916
|
+
throw error;
|
|
917
|
+
}
|
|
918
|
+
};
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
/***/ }),
|
|
922
|
+
/* 9 */
|
|
923
|
+
/*!***************************************************************************!*\
|
|
924
|
+
!*** /Users/boygirl/formidable/v/victory/node_modules/lodash/isObject.js ***!
|
|
925
|
+
\***************************************************************************/
|
|
926
|
+
/*! dynamic exports provided */
|
|
927
|
+
/*! all exports used */
|
|
928
|
+
/***/ (function(module, exports) {
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* Checks if `value` is the
|
|
932
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
933
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
934
|
+
*
|
|
935
|
+
* @static
|
|
936
|
+
* @memberOf _
|
|
937
|
+
* @since 0.1.0
|
|
938
|
+
* @category Lang
|
|
939
|
+
* @param {*} value The value to check.
|
|
940
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
941
|
+
* @example
|
|
942
|
+
*
|
|
943
|
+
* _.isObject({});
|
|
944
|
+
* // => true
|
|
945
|
+
*
|
|
946
|
+
* _.isObject([1, 2, 3]);
|
|
947
|
+
* // => true
|
|
948
|
+
*
|
|
949
|
+
* _.isObject(_.noop);
|
|
950
|
+
* // => true
|
|
951
|
+
*
|
|
952
|
+
* _.isObject(null);
|
|
953
|
+
* // => false
|
|
954
|
+
*/
|
|
955
|
+
function isObject(value) {
|
|
956
|
+
var type = typeof value;
|
|
957
|
+
return value != null && (type == 'object' || type == 'function');
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
module.exports = isObject;
|
|
961
|
+
|
|
962
|
+
|
|
963
|
+
/***/ }),
|
|
964
|
+
/* 10 */
|
|
816
965
|
/*!******************************************************************************!*\
|
|
817
966
|
!*** /Users/boygirl/formidable/v/victory/node_modules/d3-array/src/index.js ***!
|
|
818
967
|
\******************************************************************************/
|
|
@@ -909,7 +1058,7 @@ module.exports = isArray;
|
|
|
909
1058
|
|
|
910
1059
|
|
|
911
1060
|
/***/ }),
|
|
912
|
-
/*
|
|
1061
|
+
/* 11 */
|
|
913
1062
|
/*!********************************************************************************!*\
|
|
914
1063
|
!*** /Users/boygirl/formidable/v/victory/node_modules/d3-time/src/duration.js ***!
|
|
915
1064
|
\********************************************************************************/
|
|
@@ -931,49 +1080,7 @@ var durationWeek = 6048e5;
|
|
|
931
1080
|
|
|
932
1081
|
|
|
933
1082
|
/***/ }),
|
|
934
|
-
/*
|
|
935
|
-
/*!***************************************************************************!*\
|
|
936
|
-
!*** /Users/boygirl/formidable/v/victory/node_modules/lodash/isObject.js ***!
|
|
937
|
-
\***************************************************************************/
|
|
938
|
-
/*! dynamic exports provided */
|
|
939
|
-
/*! all exports used */
|
|
940
|
-
/***/ (function(module, exports) {
|
|
941
|
-
|
|
942
|
-
/**
|
|
943
|
-
* Checks if `value` is the
|
|
944
|
-
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
945
|
-
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
946
|
-
*
|
|
947
|
-
* @static
|
|
948
|
-
* @memberOf _
|
|
949
|
-
* @since 0.1.0
|
|
950
|
-
* @category Lang
|
|
951
|
-
* @param {*} value The value to check.
|
|
952
|
-
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
953
|
-
* @example
|
|
954
|
-
*
|
|
955
|
-
* _.isObject({});
|
|
956
|
-
* // => true
|
|
957
|
-
*
|
|
958
|
-
* _.isObject([1, 2, 3]);
|
|
959
|
-
* // => true
|
|
960
|
-
*
|
|
961
|
-
* _.isObject(_.noop);
|
|
962
|
-
* // => true
|
|
963
|
-
*
|
|
964
|
-
* _.isObject(null);
|
|
965
|
-
* // => false
|
|
966
|
-
*/
|
|
967
|
-
function isObject(value) {
|
|
968
|
-
var type = typeof value;
|
|
969
|
-
return value != null && (type == 'object' || type == 'function');
|
|
970
|
-
}
|
|
971
|
-
|
|
972
|
-
module.exports = isObject;
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
/***/ }),
|
|
976
|
-
/* 11 */
|
|
1083
|
+
/* 12 */
|
|
977
1084
|
/*!******************************************************************************!*\
|
|
978
1085
|
!*** /Users/boygirl/formidable/v/victory/node_modules/d3-color/src/index.js ***!
|
|
979
1086
|
\******************************************************************************/
|
|
@@ -998,112 +1105,6 @@ module.exports = isObject;
|
|
|
998
1105
|
|
|
999
1106
|
|
|
1000
1107
|
|
|
1001
|
-
/***/ }),
|
|
1002
|
-
/* 12 */
|
|
1003
|
-
/*!************************************************************************************!*\
|
|
1004
|
-
!*** /Users/boygirl/formidable/v/victory/node_modules/react-fast-compare/index.js ***!
|
|
1005
|
-
\************************************************************************************/
|
|
1006
|
-
/*! dynamic exports provided */
|
|
1007
|
-
/*! exports used: default */
|
|
1008
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1009
|
-
|
|
1010
|
-
"use strict";
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
var isArray = Array.isArray;
|
|
1014
|
-
var keyList = Object.keys;
|
|
1015
|
-
var hasProp = Object.prototype.hasOwnProperty;
|
|
1016
|
-
var hasElementType = typeof Element !== 'undefined';
|
|
1017
|
-
|
|
1018
|
-
function equal(a, b) {
|
|
1019
|
-
// fast-deep-equal index.js 2.0.1
|
|
1020
|
-
if (a === b) return true;
|
|
1021
|
-
|
|
1022
|
-
if (a && b && typeof a == 'object' && typeof b == 'object') {
|
|
1023
|
-
var arrA = isArray(a)
|
|
1024
|
-
, arrB = isArray(b)
|
|
1025
|
-
, i
|
|
1026
|
-
, length
|
|
1027
|
-
, key;
|
|
1028
|
-
|
|
1029
|
-
if (arrA && arrB) {
|
|
1030
|
-
length = a.length;
|
|
1031
|
-
if (length != b.length) return false;
|
|
1032
|
-
for (i = length; i-- !== 0;)
|
|
1033
|
-
if (!equal(a[i], b[i])) return false;
|
|
1034
|
-
return true;
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
if (arrA != arrB) return false;
|
|
1038
|
-
|
|
1039
|
-
var dateA = a instanceof Date
|
|
1040
|
-
, dateB = b instanceof Date;
|
|
1041
|
-
if (dateA != dateB) return false;
|
|
1042
|
-
if (dateA && dateB) return a.getTime() == b.getTime();
|
|
1043
|
-
|
|
1044
|
-
var regexpA = a instanceof RegExp
|
|
1045
|
-
, regexpB = b instanceof RegExp;
|
|
1046
|
-
if (regexpA != regexpB) return false;
|
|
1047
|
-
if (regexpA && regexpB) return a.toString() == b.toString();
|
|
1048
|
-
|
|
1049
|
-
var keys = keyList(a);
|
|
1050
|
-
length = keys.length;
|
|
1051
|
-
|
|
1052
|
-
if (length !== keyList(b).length)
|
|
1053
|
-
return false;
|
|
1054
|
-
|
|
1055
|
-
for (i = length; i-- !== 0;)
|
|
1056
|
-
if (!hasProp.call(b, keys[i])) return false;
|
|
1057
|
-
// end fast-deep-equal
|
|
1058
|
-
|
|
1059
|
-
// start react-fast-compare
|
|
1060
|
-
// custom handling for DOM elements
|
|
1061
|
-
if (hasElementType && a instanceof Element && b instanceof Element)
|
|
1062
|
-
return a === b;
|
|
1063
|
-
|
|
1064
|
-
// custom handling for React
|
|
1065
|
-
for (i = length; i-- !== 0;) {
|
|
1066
|
-
key = keys[i];
|
|
1067
|
-
if (key === '_owner' && a.$$typeof) {
|
|
1068
|
-
// React-specific: avoid traversing React elements' _owner.
|
|
1069
|
-
// _owner contains circular references
|
|
1070
|
-
// and is not needed when comparing the actual elements (and not their owners)
|
|
1071
|
-
// .$$typeof and ._store on just reasonable markers of a react element
|
|
1072
|
-
continue;
|
|
1073
|
-
} else {
|
|
1074
|
-
// all other properties should be traversed as usual
|
|
1075
|
-
if (!equal(a[key], b[key])) return false;
|
|
1076
|
-
}
|
|
1077
|
-
}
|
|
1078
|
-
// end react-fast-compare
|
|
1079
|
-
|
|
1080
|
-
// fast-deep-equal index.js 2.0.1
|
|
1081
|
-
return true;
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
return a !== a && b !== b;
|
|
1085
|
-
}
|
|
1086
|
-
// end fast-deep-equal
|
|
1087
|
-
|
|
1088
|
-
module.exports = function exportedEqual(a, b) {
|
|
1089
|
-
try {
|
|
1090
|
-
return equal(a, b);
|
|
1091
|
-
} catch (error) {
|
|
1092
|
-
if ((error.message && error.message.match(/stack|recursion/i)) || (error.number === -2146828260)) {
|
|
1093
|
-
// warn on circular references, don't crash
|
|
1094
|
-
// browsers give this different errors name and messages:
|
|
1095
|
-
// chrome/safari: "RangeError", "Maximum call stack size exceeded"
|
|
1096
|
-
// firefox: "InternalError", too much recursion"
|
|
1097
|
-
// edge: "Error", "Out of stack space"
|
|
1098
|
-
console.warn('Warning: react-fast-compare does not handle circular references.', error.name, error.message);
|
|
1099
|
-
return false;
|
|
1100
|
-
}
|
|
1101
|
-
// some other error. we should definitely know about these
|
|
1102
|
-
throw error;
|
|
1103
|
-
}
|
|
1104
|
-
};
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
1108
|
/***/ }),
|
|
1108
1109
|
/* 13 */
|
|
1109
1110
|
/*!***********************************************************************************************!*\
|
|
@@ -2034,7 +2035,7 @@ module.exports = isEmpty;
|
|
|
2034
2035
|
"use strict";
|
|
2035
2036
|
/* harmony export (immutable) */ __webpack_exports__["b"] = linearish;
|
|
2036
2037
|
/* harmony export (immutable) */ __webpack_exports__["a"] = linear;
|
|
2037
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(/*! d3-array */
|
|
2038
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(/*! d3-array */ 10);
|
|
2038
2039
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_d3_interpolate__ = __webpack_require__(/*! d3-interpolate */ 17);
|
|
2039
2040
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__continuous__ = __webpack_require__(/*! ./continuous */ 46);
|
|
2040
2041
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__tickFormat__ = __webpack_require__(/*! ./tickFormat */ 295);
|
|
@@ -3152,7 +3153,7 @@ module.exports = uniq;
|
|
|
3152
3153
|
/* harmony export (immutable) */ __webpack_exports__["c"] = deinterpolateLinear;
|
|
3153
3154
|
/* harmony export (immutable) */ __webpack_exports__["a"] = copy;
|
|
3154
3155
|
/* harmony export (immutable) */ __webpack_exports__["b"] = continuous;
|
|
3155
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(/*! d3-array */
|
|
3156
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(/*! d3-array */ 10);
|
|
3156
3157
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_d3_interpolate__ = __webpack_require__(/*! d3-interpolate */ 17);
|
|
3157
3158
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__array__ = __webpack_require__(/*! ./array */ 15);
|
|
3158
3159
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__constant__ = __webpack_require__(/*! ./constant */ 81);
|
|
@@ -3890,7 +3891,7 @@ module.exports = property;
|
|
|
3890
3891
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3891
3892
|
|
|
3892
3893
|
"use strict";
|
|
3893
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_color__ = __webpack_require__(/*! d3-color */
|
|
3894
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_color__ = __webpack_require__(/*! d3-color */ 12);
|
|
3894
3895
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__rgb__ = __webpack_require__(/*! ./rgb */ 108);
|
|
3895
3896
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__array__ = __webpack_require__(/*! ./array */ 111);
|
|
3896
3897
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__date__ = __webpack_require__(/*! ./date */ 112);
|
|
@@ -4980,7 +4981,7 @@ function getTransitionPropsFactory(props, state, setState) {
|
|
|
4980
4981
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
|
4981
4982
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types__ = __webpack_require__(/*! prop-types */ 1);
|
|
4982
4983
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_prop_types__);
|
|
4983
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_fast_compare__ = __webpack_require__(/*! react-fast-compare */
|
|
4984
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_fast_compare__ = __webpack_require__(/*! react-fast-compare */ 8);
|
|
4984
4985
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_fast_compare___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react_fast_compare__);
|
|
4985
4986
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4986
4987
|
|
|
@@ -5091,7 +5092,7 @@ Object.defineProperty(Rect, "propTypes", {
|
|
|
5091
5092
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
|
5092
5093
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types__ = __webpack_require__(/*! prop-types */ 1);
|
|
5093
5094
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_prop_types__);
|
|
5094
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_fast_compare__ = __webpack_require__(/*! react-fast-compare */
|
|
5095
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_fast_compare__ = __webpack_require__(/*! react-fast-compare */ 8);
|
|
5095
5096
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_fast_compare___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react_fast_compare__);
|
|
5096
5097
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
5097
5098
|
|
|
@@ -5186,7 +5187,7 @@ Object.defineProperty(Path, "propTypes", {
|
|
|
5186
5187
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
|
5187
5188
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types__ = __webpack_require__(/*! prop-types */ 1);
|
|
5188
5189
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_prop_types__);
|
|
5189
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_fast_compare__ = __webpack_require__(/*! react-fast-compare */
|
|
5190
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_fast_compare__ = __webpack_require__(/*! react-fast-compare */ 8);
|
|
5190
5191
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_fast_compare___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react_fast_compare__);
|
|
5191
5192
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
5192
5193
|
|
|
@@ -6207,8 +6208,13 @@ function getStringsFromData(props, axis) {
|
|
|
6207
6208
|
}
|
|
6208
6209
|
|
|
6209
6210
|
var key = props[axis] === undefined ? axis : props[axis];
|
|
6210
|
-
var accessor = __WEBPACK_IMPORTED_MODULE_12__helpers__["a" /* default */].createAccessor(key);
|
|
6211
|
-
|
|
6211
|
+
var accessor = __WEBPACK_IMPORTED_MODULE_12__helpers__["a" /* default */].createAccessor(key); // support immutable data
|
|
6212
|
+
|
|
6213
|
+
var data = props.data.reduce(function (memo, d) {
|
|
6214
|
+
memo.push(parseDatum(d));
|
|
6215
|
+
return memo;
|
|
6216
|
+
}, []);
|
|
6217
|
+
var sortedData = sortData(data, props.sortKey, props.sortOrder);
|
|
6212
6218
|
var dataStrings = sortedData.reduce(function (dataArr, datum) {
|
|
6213
6219
|
datum = parseDatum(datum);
|
|
6214
6220
|
dataArr.push(accessor(datum));
|
|
@@ -8031,6 +8037,8 @@ module.exports = stubFalse;
|
|
|
8031
8037
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_d3_ease__ = __webpack_require__(/*! d3-ease */ 185);
|
|
8032
8038
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__util__ = __webpack_require__(/*! ./util */ 196);
|
|
8033
8039
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__victory_util_timer__ = __webpack_require__(/*! ../victory-util/timer */ 43);
|
|
8040
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react_fast_compare__ = __webpack_require__(/*! react-fast-compare */ 8);
|
|
8041
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react_fast_compare___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_react_fast_compare__);
|
|
8034
8042
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }
|
|
8035
8043
|
|
|
8036
8044
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); }
|
|
@@ -8058,6 +8066,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
8058
8066
|
|
|
8059
8067
|
|
|
8060
8068
|
|
|
8069
|
+
|
|
8061
8070
|
var VictoryAnimation =
|
|
8062
8071
|
/*#__PURE__*/
|
|
8063
8072
|
function (_React$Component) {
|
|
@@ -8101,31 +8110,35 @@ function (_React$Component) {
|
|
|
8101
8110
|
this.traverseQueue();
|
|
8102
8111
|
}
|
|
8103
8112
|
}
|
|
8104
|
-
/* lifecycle */
|
|
8105
|
-
|
|
8106
8113
|
}, {
|
|
8107
|
-
key: "
|
|
8108
|
-
value: function
|
|
8109
|
-
|
|
8110
|
-
this.getTimer().unsubscribe(this.loopID);
|
|
8111
|
-
/* If an object was supplied */
|
|
8112
|
-
|
|
8113
|
-
if (!Array.isArray(nextProps.data)) {
|
|
8114
|
-
// Replace the tween queue. Could set `this.queue = [nextProps.data]`,
|
|
8115
|
-
// but let's reuse the same array.
|
|
8116
|
-
this.queue.length = 0;
|
|
8117
|
-
this.queue.push(nextProps.data);
|
|
8118
|
-
/* If an array was supplied */
|
|
8119
|
-
} else {
|
|
8120
|
-
var _queue;
|
|
8114
|
+
key: "shouldComponentUpdate",
|
|
8115
|
+
value: function shouldComponentUpdate(nextProps, nextState) {
|
|
8116
|
+
var equalProps = __WEBPACK_IMPORTED_MODULE_5_react_fast_compare___default()(this.props, nextProps);
|
|
8121
8117
|
|
|
8122
|
-
|
|
8123
|
-
|
|
8124
|
-
|
|
8125
|
-
|
|
8118
|
+
if (!equalProps) {
|
|
8119
|
+
/* cancel existing loop if it exists */
|
|
8120
|
+
this.getTimer().unsubscribe(this.loopID);
|
|
8121
|
+
/* If an object was supplied */
|
|
8122
|
+
|
|
8123
|
+
if (!Array.isArray(nextProps.data)) {
|
|
8124
|
+
// Replace the tween queue. Could set `this.queue = [nextProps.data]`,
|
|
8125
|
+
// but let's reuse the same array.
|
|
8126
|
+
this.queue.length = 0;
|
|
8127
|
+
this.queue.push(nextProps.data);
|
|
8128
|
+
/* If an array was supplied */
|
|
8129
|
+
} else {
|
|
8130
|
+
var _queue;
|
|
8131
|
+
|
|
8132
|
+
/* Extend the tween queue */
|
|
8133
|
+
(_queue = this.queue).push.apply(_queue, _toConsumableArray(nextProps.data));
|
|
8134
|
+
}
|
|
8135
|
+
/* Start traversing the tween queue */
|
|
8126
8136
|
|
|
8127
8137
|
|
|
8128
|
-
|
|
8138
|
+
this.traverseQueue();
|
|
8139
|
+
}
|
|
8140
|
+
|
|
8141
|
+
return nextState.animationInfo.animating || !equalProps;
|
|
8129
8142
|
}
|
|
8130
8143
|
}, {
|
|
8131
8144
|
key: "componentWillUnmount",
|
|
@@ -8422,7 +8435,7 @@ module.exports = stubFalse;
|
|
|
8422
8435
|
/*! all exports used */
|
|
8423
8436
|
/***/ (function(module, exports, __webpack_require__) {
|
|
8424
8437
|
|
|
8425
|
-
var isObject = __webpack_require__(/*! ./isObject */
|
|
8438
|
+
var isObject = __webpack_require__(/*! ./isObject */ 9);
|
|
8426
8439
|
|
|
8427
8440
|
/**
|
|
8428
8441
|
* Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
|
|
@@ -8523,7 +8536,7 @@ var rad2deg = 180 / Math.PI;
|
|
|
8523
8536
|
"use strict";
|
|
8524
8537
|
/* unused harmony export rgbBasis */
|
|
8525
8538
|
/* unused harmony export rgbBasisClosed */
|
|
8526
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_color__ = __webpack_require__(/*! d3-color */
|
|
8539
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_color__ = __webpack_require__(/*! d3-color */ 12);
|
|
8527
8540
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__basis__ = __webpack_require__(/*! ./basis */ 67);
|
|
8528
8541
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__basisClosed__ = __webpack_require__(/*! ./basisClosed */ 109);
|
|
8529
8542
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__color__ = __webpack_require__(/*! ./color */ 18);
|
|
@@ -9383,7 +9396,7 @@ function getProps(props, index) {
|
|
|
9383
9396
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
|
9384
9397
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types__ = __webpack_require__(/*! prop-types */ 1);
|
|
9385
9398
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_prop_types__);
|
|
9386
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_fast_compare__ = __webpack_require__(/*! react-fast-compare */
|
|
9399
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_fast_compare__ = __webpack_require__(/*! react-fast-compare */ 8);
|
|
9387
9400
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_fast_compare___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react_fast_compare__);
|
|
9388
9401
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
9389
9402
|
|
|
@@ -9480,7 +9493,7 @@ Object.defineProperty(TSpan, "propTypes", {
|
|
|
9480
9493
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
|
9481
9494
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types__ = __webpack_require__(/*! prop-types */ 1);
|
|
9482
9495
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_prop_types__);
|
|
9483
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_fast_compare__ = __webpack_require__(/*! react-fast-compare */
|
|
9496
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_fast_compare__ = __webpack_require__(/*! react-fast-compare */ 8);
|
|
9484
9497
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_fast_compare___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react_fast_compare__);
|
|
9485
9498
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
9486
9499
|
|
|
@@ -9580,7 +9593,7 @@ Object.defineProperty(Text, "propTypes", {
|
|
|
9580
9593
|
|
|
9581
9594
|
"use strict";
|
|
9582
9595
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return VictoryTransition; });
|
|
9583
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_isObject__ = __webpack_require__(/*! lodash/isObject */
|
|
9596
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_isObject__ = __webpack_require__(/*! lodash/isObject */ 9);
|
|
9584
9597
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_isObject___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_lodash_isObject__);
|
|
9585
9598
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_pick__ = __webpack_require__(/*! lodash/pick */ 31);
|
|
9586
9599
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_pick___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_pick__);
|
|
@@ -9597,6 +9610,8 @@ Object.defineProperty(Text, "propTypes", {
|
|
|
9597
9610
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__victory_util_helpers__ = __webpack_require__(/*! ../victory-util/helpers */ 3);
|
|
9598
9611
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__victory_util_timer__ = __webpack_require__(/*! ../victory-util/timer */ 43);
|
|
9599
9612
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__victory_util_transitions__ = __webpack_require__(/*! ../victory-util/transitions */ 70);
|
|
9613
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_react_fast_compare__ = __webpack_require__(/*! react-fast-compare */ 8);
|
|
9614
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_react_fast_compare___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11_react_fast_compare__);
|
|
9600
9615
|
|
|
9601
9616
|
|
|
9602
9617
|
|
|
@@ -9624,6 +9639,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
9624
9639
|
|
|
9625
9640
|
|
|
9626
9641
|
|
|
9642
|
+
|
|
9627
9643
|
var VictoryTransition =
|
|
9628
9644
|
/*#__PURE__*/
|
|
9629
9645
|
function (_React$Component) {
|
|
@@ -9655,14 +9671,18 @@ function (_React$Component) {
|
|
|
9655
9671
|
}); //eslint-disable-line react/no-did-mount-set-state
|
|
9656
9672
|
}
|
|
9657
9673
|
}, {
|
|
9658
|
-
key: "
|
|
9659
|
-
value: function
|
|
9674
|
+
key: "shouldComponentUpdate",
|
|
9675
|
+
value: function shouldComponentUpdate(nextProps) {
|
|
9660
9676
|
var _this2 = this;
|
|
9661
9677
|
|
|
9662
|
-
|
|
9663
|
-
|
|
9664
|
-
|
|
9665
|
-
|
|
9678
|
+
if (!__WEBPACK_IMPORTED_MODULE_11_react_fast_compare___default()(this.props, nextProps)) {
|
|
9679
|
+
this.getTimer().bypassAnimation();
|
|
9680
|
+
this.setState(this.getTransitionState(this.props, nextProps), function () {
|
|
9681
|
+
return _this2.getTimer().resumeAnimation();
|
|
9682
|
+
});
|
|
9683
|
+
}
|
|
9684
|
+
|
|
9685
|
+
return true;
|
|
9666
9686
|
}
|
|
9667
9687
|
}, {
|
|
9668
9688
|
key: "componentWillUnmount",
|
|
@@ -9925,7 +9945,7 @@ Object.defineProperty(ClipPath, "propTypes", {
|
|
|
9925
9945
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
|
9926
9946
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types__ = __webpack_require__(/*! prop-types */ 1);
|
|
9927
9947
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_prop_types__);
|
|
9928
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_fast_compare__ = __webpack_require__(/*! react-fast-compare */
|
|
9948
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_fast_compare__ = __webpack_require__(/*! react-fast-compare */ 8);
|
|
9929
9949
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_fast_compare___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react_fast_compare__);
|
|
9930
9950
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
9931
9951
|
|
|
@@ -10867,7 +10887,7 @@ var prefixExponent;
|
|
|
10867
10887
|
|
|
10868
10888
|
"use strict";
|
|
10869
10889
|
/* harmony export (immutable) */ __webpack_exports__["a"] = calendar;
|
|
10870
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(/*! d3-array */
|
|
10890
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(/*! d3-array */ 10);
|
|
10871
10891
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_d3_interpolate__ = __webpack_require__(/*! d3-interpolate */ 17);
|
|
10872
10892
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_d3_time__ = __webpack_require__(/*! d3-time */ 83);
|
|
10873
10893
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_d3_time_format__ = __webpack_require__(/*! d3-time-format */ 147);
|
|
@@ -11874,14 +11894,17 @@ module.exports = groupBy;
|
|
|
11874
11894
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_lodash_uniq___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_lodash_uniq__);
|
|
11875
11895
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_invert__ = __webpack_require__(/*! lodash/invert */ 346);
|
|
11876
11896
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_invert___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_lodash_invert__);
|
|
11877
|
-
/* harmony import */ var
|
|
11878
|
-
/* harmony import */ var
|
|
11879
|
-
/* harmony import */ var
|
|
11880
|
-
/* harmony import */ var
|
|
11881
|
-
/* harmony import */ var
|
|
11882
|
-
/* harmony import */ var
|
|
11883
|
-
/* harmony import */ var
|
|
11884
|
-
/* harmony import */ var
|
|
11897
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_isObject__ = __webpack_require__(/*! lodash/isObject */ 9);
|
|
11898
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_isObject___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_lodash_isObject__);
|
|
11899
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_lodash_isFunction__ = __webpack_require__(/*! lodash/isFunction */ 5);
|
|
11900
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_lodash_isFunction___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_lodash_isFunction__);
|
|
11901
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_lodash_identity__ = __webpack_require__(/*! lodash/identity */ 16);
|
|
11902
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_lodash_identity___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_lodash_identity__);
|
|
11903
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_react__ = __webpack_require__(/*! react */ 0);
|
|
11904
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_react__);
|
|
11905
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__collection__ = __webpack_require__(/*! ./collection */ 13);
|
|
11906
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__domain__ = __webpack_require__(/*! ./domain */ 85);
|
|
11907
|
+
|
|
11885
11908
|
|
|
11886
11909
|
|
|
11887
11910
|
|
|
@@ -11944,14 +11967,14 @@ function getCurrentAxis(axis, horizontal) {
|
|
|
11944
11967
|
|
|
11945
11968
|
|
|
11946
11969
|
function findAxisComponents(childComponents, predicate) {
|
|
11947
|
-
predicate = predicate ||
|
|
11970
|
+
predicate = predicate || __WEBPACK_IMPORTED_MODULE_9_lodash_identity___default.a;
|
|
11948
11971
|
|
|
11949
11972
|
var findAxes = function (children) {
|
|
11950
11973
|
return children.reduce(function (memo, child) {
|
|
11951
11974
|
if (child.type && child.type.role === "axis" && predicate(child)) {
|
|
11952
11975
|
return memo.concat(child);
|
|
11953
11976
|
} else if (child.props && child.props.children) {
|
|
11954
|
-
return memo.concat(findAxes(
|
|
11977
|
+
return memo.concat(findAxes(__WEBPACK_IMPORTED_MODULE_10_react___default.a.Children.toArray(child.props.children)));
|
|
11955
11978
|
}
|
|
11956
11979
|
|
|
11957
11980
|
return memo;
|
|
@@ -11995,7 +12018,7 @@ function getAxisComponentsWithParent(childComponents, type) {
|
|
|
11995
12018
|
if (child.type && child.type.role === "axis" && matchesType(child)) {
|
|
11996
12019
|
return memo.concat(child);
|
|
11997
12020
|
} else if (child.props && child.props.children) {
|
|
11998
|
-
var childAxis = findComponents(
|
|
12021
|
+
var childAxis = findComponents(__WEBPACK_IMPORTED_MODULE_10_react___default.a.Children.toArray(child.props.children));
|
|
11999
12022
|
return childAxis.length > 0 ? memo.concat(child) : memo;
|
|
12000
12023
|
}
|
|
12001
12024
|
|
|
@@ -12014,8 +12037,8 @@ function getOrigin(domain) {
|
|
|
12014
12037
|
};
|
|
12015
12038
|
|
|
12016
12039
|
return {
|
|
12017
|
-
x:
|
|
12018
|
-
y:
|
|
12040
|
+
x: __WEBPACK_IMPORTED_MODULE_11__collection__["a" /* default */].containsDates(domain.x) ? new Date(Math.min.apply(Math, _toConsumableArray(domain.x))) : getSingleOrigin(domain.x),
|
|
12041
|
+
y: __WEBPACK_IMPORTED_MODULE_11__collection__["a" /* default */].containsDates(domain.y) ? new Date(Math.min.apply(Math, _toConsumableArray(domain.y))) : getSingleOrigin(domain.y)
|
|
12019
12042
|
};
|
|
12020
12043
|
}
|
|
12021
12044
|
|
|
@@ -12024,7 +12047,7 @@ function getOriginSign(origin, domain) {
|
|
|
12024
12047
|
return origin <= 0 && Math.max.apply(Math, _toConsumableArray(domain)) <= 0 ? "negative" : "positive";
|
|
12025
12048
|
};
|
|
12026
12049
|
|
|
12027
|
-
return
|
|
12050
|
+
return __WEBPACK_IMPORTED_MODULE_11__collection__["a" /* default */].containsDates(domain) ? "positive" : getSign();
|
|
12028
12051
|
}
|
|
12029
12052
|
/**
|
|
12030
12053
|
* @param {ReactComponent} component: a victory axis component.
|
|
@@ -12091,13 +12114,15 @@ function isVertical(props) {
|
|
|
12091
12114
|
|
|
12092
12115
|
|
|
12093
12116
|
function stringTicks(props) {
|
|
12094
|
-
return props.tickValues !== undefined &&
|
|
12117
|
+
return props.tickValues !== undefined && __WEBPACK_IMPORTED_MODULE_11__collection__["a" /* default */].containsStrings(props.tickValues);
|
|
12095
12118
|
}
|
|
12096
12119
|
|
|
12097
12120
|
function getDefaultTickFormat(props) {
|
|
12098
|
-
var tickValues = props.tickValues
|
|
12099
|
-
|
|
12100
|
-
var
|
|
12121
|
+
var tickValues = props.tickValues;
|
|
12122
|
+
var axis = getAxis(props);
|
|
12123
|
+
var currentAxis = getCurrentAxis(axis, props.horizontal);
|
|
12124
|
+
var stringMap = props.stringMap && props.stringMap[currentAxis];
|
|
12125
|
+
var fallbackFormat = tickValues && !__WEBPACK_IMPORTED_MODULE_11__collection__["a" /* default */].containsDates(tickValues) ? function (x) {
|
|
12101
12126
|
return x;
|
|
12102
12127
|
} : undefined;
|
|
12103
12128
|
|
|
@@ -12124,12 +12149,14 @@ function getDefaultTickFormat(props) {
|
|
|
12124
12149
|
}
|
|
12125
12150
|
|
|
12126
12151
|
function getTickFormat(props, scale) {
|
|
12127
|
-
var tickFormat = props.tickFormat
|
|
12128
|
-
|
|
12152
|
+
var tickFormat = props.tickFormat;
|
|
12153
|
+
var axis = getAxis(props);
|
|
12154
|
+
var currentAxis = getCurrentAxis(axis, props.horizontal);
|
|
12155
|
+
var stringMap = props.stringMap && props.stringMap[currentAxis];
|
|
12129
12156
|
|
|
12130
12157
|
if (!tickFormat) {
|
|
12131
12158
|
var defaultTickFormat = getDefaultTickFormat(props);
|
|
12132
|
-
var scaleTickFormat = scale.tickFormat &&
|
|
12159
|
+
var scaleTickFormat = scale.tickFormat && __WEBPACK_IMPORTED_MODULE_8_lodash_isFunction___default()(scale.tickFormat) ? scale.tickFormat() : function (x) {
|
|
12133
12160
|
return x;
|
|
12134
12161
|
};
|
|
12135
12162
|
return defaultTickFormat || scaleTickFormat;
|
|
@@ -12137,7 +12164,7 @@ function getTickFormat(props, scale) {
|
|
|
12137
12164
|
return function (x, index) {
|
|
12138
12165
|
return tickFormat[index];
|
|
12139
12166
|
};
|
|
12140
|
-
} else if (tickFormat &&
|
|
12167
|
+
} else if (tickFormat && __WEBPACK_IMPORTED_MODULE_8_lodash_isFunction___default()(tickFormat)) {
|
|
12141
12168
|
var applyStringTicks = function (tick, index, ticks) {
|
|
12142
12169
|
var invertedStringMap = __WEBPACK_IMPORTED_MODULE_6_lodash_invert___default()(stringMap);
|
|
12143
12170
|
|
|
@@ -12156,10 +12183,11 @@ function getTickFormat(props, scale) {
|
|
|
12156
12183
|
}
|
|
12157
12184
|
|
|
12158
12185
|
function getStringTicks(props) {
|
|
12159
|
-
var stringMap = props.stringMap;
|
|
12160
12186
|
var axis = getAxis(props);
|
|
12187
|
+
var currentAxis = getCurrentAxis(axis, props.horizontal);
|
|
12188
|
+
var stringMap = props.stringMap && props.stringMap[currentAxis];
|
|
12161
12189
|
var categories = Array.isArray(props.categories) ? props.categories : props.categories && props.categories[axis];
|
|
12162
|
-
var ticksFromCategories = categories &&
|
|
12190
|
+
var ticksFromCategories = categories && __WEBPACK_IMPORTED_MODULE_11__collection__["a" /* default */].containsOnlyStrings(categories) ? categories.map(function (tick) {
|
|
12163
12191
|
return stringMap[tick];
|
|
12164
12192
|
}) : undefined;
|
|
12165
12193
|
|
|
@@ -12170,15 +12198,17 @@ function getStringTicks(props) {
|
|
|
12170
12198
|
|
|
12171
12199
|
function getTickArray(props) {
|
|
12172
12200
|
var tickValues = props.tickValues,
|
|
12173
|
-
tickFormat = props.tickFormat
|
|
12174
|
-
|
|
12201
|
+
tickFormat = props.tickFormat;
|
|
12202
|
+
var axis = getAxis(props);
|
|
12203
|
+
var currentAxis = getCurrentAxis(axis, props.horizontal);
|
|
12204
|
+
var stringMap = props.stringMap && props.stringMap[currentAxis];
|
|
12175
12205
|
|
|
12176
12206
|
var getTicksFromFormat = function () {
|
|
12177
12207
|
if (!tickFormat || !Array.isArray(tickFormat)) {
|
|
12178
12208
|
return undefined;
|
|
12179
12209
|
}
|
|
12180
12210
|
|
|
12181
|
-
return
|
|
12211
|
+
return __WEBPACK_IMPORTED_MODULE_11__collection__["a" /* default */].containsStrings(tickFormat) ? tickFormat.map(function (t, i) {
|
|
12182
12212
|
return i;
|
|
12183
12213
|
}) : tickFormat;
|
|
12184
12214
|
};
|
|
@@ -12189,7 +12219,7 @@ function getTickArray(props) {
|
|
|
12189
12219
|
ticks = getStringTicks(props);
|
|
12190
12220
|
}
|
|
12191
12221
|
|
|
12192
|
-
if (tickValues &&
|
|
12222
|
+
if (tickValues && __WEBPACK_IMPORTED_MODULE_11__collection__["a" /* default */].containsStrings(tickValues)) {
|
|
12193
12223
|
ticks = stringMap ? tickValues.map(function (tick) {
|
|
12194
12224
|
return stringMap[tick];
|
|
12195
12225
|
}) : __WEBPACK_IMPORTED_MODULE_4_lodash_range___default()(1, tickValues.length + 1);
|
|
@@ -12198,7 +12228,6 @@ function getTickArray(props) {
|
|
|
12198
12228
|
var tickArray = ticks ? __WEBPACK_IMPORTED_MODULE_5_lodash_uniq___default()(ticks) : getTicksFromFormat(props);
|
|
12199
12229
|
|
|
12200
12230
|
var filterArray = function (arr) {
|
|
12201
|
-
var axis = getAxis(props);
|
|
12202
12231
|
var domain = props.domain && props.domain[axis] || props.domain;
|
|
12203
12232
|
return Array.isArray(domain) ? arr.filter(function (t) {
|
|
12204
12233
|
return t >= Math.min.apply(Math, _toConsumableArray(domain)) && t <= Math.max.apply(Math, _toConsumableArray(domain));
|
|
@@ -12225,7 +12254,7 @@ function getTicks(props, scale, filterZero) {
|
|
|
12225
12254
|
|
|
12226
12255
|
if (tickValues) {
|
|
12227
12256
|
return downsampleTicks(tickValues, tickCount);
|
|
12228
|
-
} else if (scale.ticks &&
|
|
12257
|
+
} else if (scale.ticks && __WEBPACK_IMPORTED_MODULE_8_lodash_isFunction___default()(scale.ticks)) {
|
|
12229
12258
|
// eslint-disable-next-line no-magic-numbers
|
|
12230
12259
|
var defaultTickCount = tickCount || 5;
|
|
12231
12260
|
var scaleTicks = scale.ticks(defaultTickCount);
|
|
@@ -12263,18 +12292,18 @@ function getDomainFromData(props, axis) {
|
|
|
12263
12292
|
return undefined;
|
|
12264
12293
|
}
|
|
12265
12294
|
|
|
12266
|
-
var minDomain =
|
|
12267
|
-
var maxDomain =
|
|
12295
|
+
var minDomain = __WEBPACK_IMPORTED_MODULE_12__domain__["a" /* default */].getMinFromProps(props, axis);
|
|
12296
|
+
var maxDomain = __WEBPACK_IMPORTED_MODULE_12__domain__["a" /* default */].getMaxFromProps(props, axis);
|
|
12268
12297
|
var tickStrings = stringTicks(props);
|
|
12269
12298
|
var ticks = tickValues.map(function (value) {
|
|
12270
12299
|
return +value;
|
|
12271
12300
|
});
|
|
12272
|
-
var defaultMin = tickStrings ? 1 :
|
|
12273
|
-
var defaultMax = tickStrings ? tickValues.length :
|
|
12301
|
+
var defaultMin = tickStrings ? 1 : __WEBPACK_IMPORTED_MODULE_11__collection__["a" /* default */].getMinValue(ticks);
|
|
12302
|
+
var defaultMax = tickStrings ? tickValues.length : __WEBPACK_IMPORTED_MODULE_11__collection__["a" /* default */].getMaxValue(ticks);
|
|
12274
12303
|
var min = minDomain !== undefined ? minDomain : defaultMin;
|
|
12275
12304
|
var max = maxDomain !== undefined ? maxDomain : defaultMax;
|
|
12276
|
-
var initialDomain =
|
|
12277
|
-
var domain = polar && axis === "x" && Math.abs(startAngle - endAngle) === 360 ?
|
|
12305
|
+
var initialDomain = __WEBPACK_IMPORTED_MODULE_12__domain__["a" /* default */].getDomainFromMinMax(min, max);
|
|
12306
|
+
var domain = polar && axis === "x" && Math.abs(startAngle - endAngle) === 360 ? __WEBPACK_IMPORTED_MODULE_12__domain__["a" /* default */].getSymmetricDomain(initialDomain, ticks) : initialDomain;
|
|
12278
12307
|
|
|
12279
12308
|
if (isVertical(props) && !polar) {
|
|
12280
12309
|
domain.reverse();
|
|
@@ -12291,7 +12320,25 @@ function getDomain(props, axis) {
|
|
|
12291
12320
|
return undefined;
|
|
12292
12321
|
}
|
|
12293
12322
|
|
|
12294
|
-
return
|
|
12323
|
+
return __WEBPACK_IMPORTED_MODULE_12__domain__["a" /* default */].createDomainFunction(getDomainFromData)(props, inherentAxis);
|
|
12324
|
+
}
|
|
12325
|
+
|
|
12326
|
+
function getAxisValue(props, axis) {
|
|
12327
|
+
if (!props.axisValue) {
|
|
12328
|
+
return undefined;
|
|
12329
|
+
}
|
|
12330
|
+
|
|
12331
|
+
var scaleAxis = axis === "x" ? "y" : "x";
|
|
12332
|
+
var scale = __WEBPACK_IMPORTED_MODULE_7_lodash_isObject___default()(props.scale) && __WEBPACK_IMPORTED_MODULE_8_lodash_isFunction___default()(props.scale[scaleAxis]) ? props.scale[scaleAxis] : undefined;
|
|
12333
|
+
|
|
12334
|
+
if (!scale) {
|
|
12335
|
+
return undefined;
|
|
12336
|
+
}
|
|
12337
|
+
|
|
12338
|
+
var stringMapAxis = getCurrentAxis(axis, props.horizontal) === "x" ? "y" : "x";
|
|
12339
|
+
var stringMap = __WEBPACK_IMPORTED_MODULE_7_lodash_isObject___default()(props.stringMap) && props.stringMap[stringMapAxis];
|
|
12340
|
+
var axisValue = stringMap && typeof props.axisValue === "string" ? stringMap[props.axisValue] : props.axisValue;
|
|
12341
|
+
return scale(axisValue);
|
|
12295
12342
|
}
|
|
12296
12343
|
|
|
12297
12344
|
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
@@ -12307,7 +12354,8 @@ function getDomain(props, axis) {
|
|
|
12307
12354
|
getOriginSign: getOriginSign,
|
|
12308
12355
|
getDomain: getDomain,
|
|
12309
12356
|
isVertical: isVertical,
|
|
12310
|
-
stringTicks: stringTicks
|
|
12357
|
+
stringTicks: stringTicks,
|
|
12358
|
+
getAxisValue: getAxisValue
|
|
12311
12359
|
});
|
|
12312
12360
|
|
|
12313
12361
|
/***/ }),
|
|
@@ -12489,7 +12537,7 @@ Object.defineProperty(Flyout, "defaultProps", {
|
|
|
12489
12537
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_assign__ = __webpack_require__(/*! lodash/assign */ 2);
|
|
12490
12538
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_assign___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_lodash_assign__);
|
|
12491
12539
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_victory_core__ = __webpack_require__(/*! victory-core */ 39);
|
|
12492
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_react_fast_compare__ = __webpack_require__(/*! react-fast-compare */
|
|
12540
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_react_fast_compare__ = __webpack_require__(/*! react-fast-compare */ 8);
|
|
12493
12541
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_react_fast_compare___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_react_fast_compare__);
|
|
12494
12542
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_d3_voronoi__ = __webpack_require__(/*! d3-voronoi */ 356);
|
|
12495
12543
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_react__ = __webpack_require__(/*! react */ 0);
|
|
@@ -13612,7 +13660,7 @@ module.exports = g;
|
|
|
13612
13660
|
var assignValue = __webpack_require__(/*! ./_assignValue */ 50),
|
|
13613
13661
|
castPath = __webpack_require__(/*! ./_castPath */ 32),
|
|
13614
13662
|
isIndex = __webpack_require__(/*! ./_isIndex */ 92),
|
|
13615
|
-
isObject = __webpack_require__(/*! ./isObject */
|
|
13663
|
+
isObject = __webpack_require__(/*! ./isObject */ 9),
|
|
13616
13664
|
toKey = __webpack_require__(/*! ./_toKey */ 24);
|
|
13617
13665
|
|
|
13618
13666
|
/**
|
|
@@ -17724,7 +17772,7 @@ function tanh(x) {
|
|
|
17724
17772
|
|
|
17725
17773
|
"use strict";
|
|
17726
17774
|
/* unused harmony export hslLong */
|
|
17727
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_color__ = __webpack_require__(/*! d3-color */
|
|
17775
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_color__ = __webpack_require__(/*! d3-color */ 12);
|
|
17728
17776
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__color__ = __webpack_require__(/*! ./color */ 18);
|
|
17729
17777
|
|
|
17730
17778
|
|
|
@@ -17759,7 +17807,7 @@ var hslLong = hsl(__WEBPACK_IMPORTED_MODULE_1__color__["a" /* default */]);
|
|
|
17759
17807
|
|
|
17760
17808
|
"use strict";
|
|
17761
17809
|
/* unused harmony export default */
|
|
17762
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_color__ = __webpack_require__(/*! d3-color */
|
|
17810
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_color__ = __webpack_require__(/*! d3-color */ 12);
|
|
17763
17811
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__color__ = __webpack_require__(/*! ./color */ 18);
|
|
17764
17812
|
|
|
17765
17813
|
|
|
@@ -17789,7 +17837,7 @@ function lab(start, end) {
|
|
|
17789
17837
|
|
|
17790
17838
|
"use strict";
|
|
17791
17839
|
/* unused harmony export hclLong */
|
|
17792
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_color__ = __webpack_require__(/*! d3-color */
|
|
17840
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_color__ = __webpack_require__(/*! d3-color */ 12);
|
|
17793
17841
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__color__ = __webpack_require__(/*! ./color */ 18);
|
|
17794
17842
|
|
|
17795
17843
|
|
|
@@ -17825,7 +17873,7 @@ var hclLong = hcl(__WEBPACK_IMPORTED_MODULE_1__color__["a" /* default */]);
|
|
|
17825
17873
|
|
|
17826
17874
|
"use strict";
|
|
17827
17875
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return cubehelixLong; });
|
|
17828
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_color__ = __webpack_require__(/*! d3-color */
|
|
17876
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_color__ = __webpack_require__(/*! d3-color */ 12);
|
|
17829
17877
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__color__ = __webpack_require__(/*! ./color */ 18);
|
|
17830
17878
|
|
|
17831
17879
|
|
|
@@ -17978,7 +18026,7 @@ function piecewise(interpolate, values) {
|
|
|
17978
18026
|
|
|
17979
18027
|
"use strict";
|
|
17980
18028
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return VictoryContainer; });
|
|
17981
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_isObject__ = __webpack_require__(/*! lodash/isObject */
|
|
18029
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_isObject__ = __webpack_require__(/*! lodash/isObject */ 9);
|
|
17982
18030
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_isObject___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_lodash_isObject__);
|
|
17983
18031
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_uniqueId__ = __webpack_require__(/*! lodash/uniqueId */ 36);
|
|
17984
18032
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_uniqueId___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_uniqueId__);
|
|
@@ -18882,7 +18930,7 @@ module.exports = nativeKeys;
|
|
|
18882
18930
|
/* unused harmony export default */
|
|
18883
18931
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_uniqueId__ = __webpack_require__(/*! lodash/uniqueId */ 36);
|
|
18884
18932
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_uniqueId___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_lodash_uniqueId__);
|
|
18885
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_isObject__ = __webpack_require__(/*! lodash/isObject */
|
|
18933
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_isObject__ = __webpack_require__(/*! lodash/isObject */ 9);
|
|
18886
18934
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_isObject___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_isObject__);
|
|
18887
18935
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_isFunction__ = __webpack_require__(/*! lodash/isFunction */ 5);
|
|
18888
18936
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_isFunction___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_isFunction__);
|
|
@@ -20533,7 +20581,7 @@ Object.defineProperty(Whisker, "defaultProps", {
|
|
|
20533
20581
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_react__ = __webpack_require__(/*! react */ 0);
|
|
20534
20582
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_react__);
|
|
20535
20583
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__events__ = __webpack_require__(/*! ./events */ 76);
|
|
20536
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_react_fast_compare__ = __webpack_require__(/*! react-fast-compare */
|
|
20584
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_react_fast_compare__ = __webpack_require__(/*! react-fast-compare */ 8);
|
|
20537
20585
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_react_fast_compare___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_react_fast_compare__);
|
|
20538
20586
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__victory_transition_victory_transition__ = __webpack_require__(/*! ../victory-transition/victory-transition */ 122);
|
|
20539
20587
|
|
|
@@ -20572,9 +20620,18 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
20572
20620
|
|
|
20573
20621
|
var datumHasXandY = function (datum) {
|
|
20574
20622
|
return !__WEBPACK_IMPORTED_MODULE_0_lodash_isNil___default()(datum._x) && !__WEBPACK_IMPORTED_MODULE_0_lodash_isNil___default()(datum._y);
|
|
20575
|
-
};
|
|
20576
|
-
|
|
20577
|
-
|
|
20623
|
+
}; // used for checking state changes. Expected components can be passed in via options
|
|
20624
|
+
|
|
20625
|
+
|
|
20626
|
+
var defaultComponents = [{
|
|
20627
|
+
name: "parent",
|
|
20628
|
+
index: "parent"
|
|
20629
|
+
}, {
|
|
20630
|
+
name: "data"
|
|
20631
|
+
}, {
|
|
20632
|
+
name: "labels"
|
|
20633
|
+
}];
|
|
20634
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (function (WrappedComponent, options) {
|
|
20578
20635
|
return (
|
|
20579
20636
|
/*#__PURE__*/
|
|
20580
20637
|
function (_WrappedComponent) {
|
|
@@ -20601,23 +20658,73 @@ var datumHasXandY = function (datum) {
|
|
|
20601
20658
|
_this.cacheValues(calculatedValues);
|
|
20602
20659
|
|
|
20603
20660
|
_this.externalMutations = _this.getExternalMutations(props);
|
|
20661
|
+
_this.calculatedState = _this.getStateChanges(props, calculatedValues);
|
|
20604
20662
|
return _this;
|
|
20605
20663
|
}
|
|
20606
20664
|
|
|
20607
20665
|
_createClass(addEvents, [{
|
|
20608
|
-
key: "
|
|
20609
|
-
value: function
|
|
20610
|
-
var
|
|
20611
|
-
|
|
20612
|
-
|
|
20666
|
+
key: "shouldComponentUpdate",
|
|
20667
|
+
value: function shouldComponentUpdate(nextProps) {
|
|
20668
|
+
var calculatedValues = this.getCalculatedValues(nextProps);
|
|
20669
|
+
var externalMutations = this.getExternalMutations(nextProps);
|
|
20670
|
+
var animating = this.props.animating || this.props.animate;
|
|
20671
|
+
var newMutation = !__WEBPACK_IMPORTED_MODULE_10_react_fast_compare___default()(externalMutations, this.externalMutations);
|
|
20672
|
+
|
|
20673
|
+
if (animating || newMutation) {
|
|
20674
|
+
this.cacheValues(calculatedValues);
|
|
20613
20675
|
this.externalMutations = externalMutations;
|
|
20614
|
-
this.applyExternalMutations(
|
|
20676
|
+
this.applyExternalMutations(nextProps, externalMutations);
|
|
20677
|
+
return true;
|
|
20615
20678
|
}
|
|
20616
|
-
|
|
20679
|
+
|
|
20680
|
+
var calculatedState = this.getStateChanges(nextProps, calculatedValues);
|
|
20681
|
+
|
|
20682
|
+
if (!__WEBPACK_IMPORTED_MODULE_10_react_fast_compare___default()(this.calculatedState, calculatedState)) {
|
|
20683
|
+
this.calculatedState = calculatedState;
|
|
20684
|
+
this.cacheValues(calculatedValues);
|
|
20685
|
+
return true;
|
|
20686
|
+
}
|
|
20687
|
+
|
|
20688
|
+
if (!__WEBPACK_IMPORTED_MODULE_10_react_fast_compare___default()(this.props, nextProps)) {
|
|
20689
|
+
this.cacheValues(calculatedValues);
|
|
20690
|
+
return true;
|
|
20691
|
+
}
|
|
20692
|
+
|
|
20693
|
+
return false;
|
|
20694
|
+
} // compile all state changes from own and parent state. Order doesn't matter, as any state
|
|
20695
|
+
// state change should trigger a re-render
|
|
20696
|
+
|
|
20617
20697
|
}, {
|
|
20618
|
-
key: "
|
|
20619
|
-
value: function
|
|
20620
|
-
this
|
|
20698
|
+
key: "getStateChanges",
|
|
20699
|
+
value: function getStateChanges(props, calculatedValues) {
|
|
20700
|
+
var _this2 = this;
|
|
20701
|
+
|
|
20702
|
+
var hasEvents = calculatedValues.hasEvents,
|
|
20703
|
+
getSharedEventState = calculatedValues.getSharedEventState;
|
|
20704
|
+
|
|
20705
|
+
if (!hasEvents) {
|
|
20706
|
+
return {};
|
|
20707
|
+
}
|
|
20708
|
+
|
|
20709
|
+
var getState = function (key, type) {
|
|
20710
|
+
var result = __WEBPACK_IMPORTED_MODULE_7_lodash_defaults___default()({}, _this2.getEventState(key, type), getSharedEventState(key, type));
|
|
20711
|
+
|
|
20712
|
+
return __WEBPACK_IMPORTED_MODULE_1_lodash_isEmpty___default()(result) ? undefined : result;
|
|
20713
|
+
};
|
|
20714
|
+
|
|
20715
|
+
options = options || {};
|
|
20716
|
+
var components = options.components || defaultComponents;
|
|
20717
|
+
var stateChanges = components.map(function (component) {
|
|
20718
|
+
if (!props.standalone && component.name === "parent") {
|
|
20719
|
+
// don't check for changes on parent props for non-standalone components
|
|
20720
|
+
return undefined;
|
|
20721
|
+
} else {
|
|
20722
|
+
return component.index !== undefined ? getState(component.index, component.name) : calculatedValues.dataKeys.map(function (key) {
|
|
20723
|
+
return getState(key, component.name);
|
|
20724
|
+
}).filter(Boolean);
|
|
20725
|
+
}
|
|
20726
|
+
}).filter(Boolean);
|
|
20727
|
+
return stateChanges;
|
|
20621
20728
|
}
|
|
20622
20729
|
}, {
|
|
20623
20730
|
key: "applyExternalMutations",
|
|
@@ -20671,10 +20778,10 @@ var datumHasXandY = function (datum) {
|
|
|
20671
20778
|
}, {
|
|
20672
20779
|
key: "cacheValues",
|
|
20673
20780
|
value: function cacheValues(obj) {
|
|
20674
|
-
var
|
|
20781
|
+
var _this3 = this;
|
|
20675
20782
|
|
|
20676
20783
|
__WEBPACK_IMPORTED_MODULE_5_lodash_keys___default()(obj).forEach(function (key) {
|
|
20677
|
-
|
|
20784
|
+
_this3[key] = obj[key];
|
|
20678
20785
|
});
|
|
20679
20786
|
}
|
|
20680
20787
|
}, {
|
|
@@ -20760,7 +20867,7 @@ var datumHasXandY = function (datum) {
|
|
|
20760
20867
|
}, {
|
|
20761
20868
|
key: "renderContinuousData",
|
|
20762
20869
|
value: function renderContinuousData(props) {
|
|
20763
|
-
var
|
|
20870
|
+
var _this4 = this;
|
|
20764
20871
|
|
|
20765
20872
|
var dataComponent = props.dataComponent,
|
|
20766
20873
|
labelComponent = props.labelComponent,
|
|
@@ -20769,7 +20876,7 @@ var datumHasXandY = function (datum) {
|
|
|
20769
20876
|
var dataKeys = __WEBPACK_IMPORTED_MODULE_2_lodash_without___default()(this.dataKeys, "all");
|
|
20770
20877
|
|
|
20771
20878
|
var labelComponents = dataKeys.reduce(function (memo, key) {
|
|
20772
|
-
var labelProps =
|
|
20879
|
+
var labelProps = _this4.getComponentProps(labelComponent, "labels", key);
|
|
20773
20880
|
|
|
20774
20881
|
if (labelProps && labelProps.text !== undefined && labelProps.text !== null) {
|
|
20775
20882
|
memo = memo.concat(__WEBPACK_IMPORTED_MODULE_8_react___default.a.cloneElement(labelComponent, labelProps));
|
|
@@ -20784,14 +20891,14 @@ var datumHasXandY = function (datum) {
|
|
|
20784
20891
|
}, {
|
|
20785
20892
|
key: "renderData",
|
|
20786
20893
|
value: function renderData(props) {
|
|
20787
|
-
var
|
|
20894
|
+
var _this5 = this;
|
|
20788
20895
|
|
|
20789
20896
|
var shouldRenderDatum = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : datumHasXandY;
|
|
20790
20897
|
var dataComponent = props.dataComponent,
|
|
20791
20898
|
labelComponent = props.labelComponent,
|
|
20792
20899
|
groupComponent = props.groupComponent;
|
|
20793
20900
|
var dataComponents = this.dataKeys.reduce(function (validDataComponents, _dataKey, index) {
|
|
20794
|
-
var dataProps =
|
|
20901
|
+
var dataProps = _this5.getComponentProps(dataComponent, "data", index);
|
|
20795
20902
|
|
|
20796
20903
|
if (shouldRenderDatum(dataProps.datum)) {
|
|
20797
20904
|
validDataComponents.push(__WEBPACK_IMPORTED_MODULE_8_react___default.a.cloneElement(dataComponent, dataProps));
|
|
@@ -20800,7 +20907,7 @@ var datumHasXandY = function (datum) {
|
|
|
20800
20907
|
return validDataComponents;
|
|
20801
20908
|
}, []);
|
|
20802
20909
|
var labelComponents = this.dataKeys.map(function (_dataKey, index) {
|
|
20803
|
-
var labelProps =
|
|
20910
|
+
var labelProps = _this5.getComponentProps(labelComponent, "labels", index);
|
|
20804
20911
|
|
|
20805
20912
|
if (labelProps.text !== undefined && labelProps.text !== null) {
|
|
20806
20913
|
return __WEBPACK_IMPORTED_MODULE_8_react___default.a.cloneElement(labelComponent, labelProps);
|
|
@@ -21387,7 +21494,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
|
21387
21494
|
"use strict";
|
|
21388
21495
|
/* harmony export (immutable) */ __webpack_exports__["a"] = band;
|
|
21389
21496
|
/* harmony export (immutable) */ __webpack_exports__["b"] = point;
|
|
21390
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(/*! d3-array */
|
|
21497
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(/*! d3-array */ 10);
|
|
21391
21498
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ordinal__ = __webpack_require__(/*! ./ordinal */ 139);
|
|
21392
21499
|
|
|
21393
21500
|
|
|
@@ -22246,7 +22353,7 @@ function identity() {
|
|
|
22246
22353
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
22247
22354
|
|
|
22248
22355
|
"use strict";
|
|
22249
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(/*! d3-array */
|
|
22356
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(/*! d3-array */ 10);
|
|
22250
22357
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_d3_format__ = __webpack_require__(/*! d3-format */ 141);
|
|
22251
22358
|
|
|
22252
22359
|
|
|
@@ -22525,7 +22632,7 @@ function defaultLocale(definition) {
|
|
|
22525
22632
|
|
|
22526
22633
|
"use strict";
|
|
22527
22634
|
/* harmony export (immutable) */ __webpack_exports__["a"] = log;
|
|
22528
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(/*! d3-array */
|
|
22635
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(/*! d3-array */ 10);
|
|
22529
22636
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_d3_format__ = __webpack_require__(/*! d3-format */ 141);
|
|
22530
22637
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constant__ = __webpack_require__(/*! ./constant */ 81);
|
|
22531
22638
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__nice__ = __webpack_require__(/*! ./nice */ 145);
|
|
@@ -22726,7 +22833,7 @@ function sqrt() {
|
|
|
22726
22833
|
|
|
22727
22834
|
"use strict";
|
|
22728
22835
|
/* harmony export (immutable) */ __webpack_exports__["a"] = quantile;
|
|
22729
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(/*! d3-array */
|
|
22836
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(/*! d3-array */ 10);
|
|
22730
22837
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__array__ = __webpack_require__(/*! ./array */ 15);
|
|
22731
22838
|
|
|
22732
22839
|
|
|
@@ -22792,7 +22899,7 @@ function quantile() {
|
|
|
22792
22899
|
|
|
22793
22900
|
"use strict";
|
|
22794
22901
|
/* harmony export (immutable) */ __webpack_exports__["a"] = quantize;
|
|
22795
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(/*! d3-array */
|
|
22902
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(/*! d3-array */ 10);
|
|
22796
22903
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__array__ = __webpack_require__(/*! ./array */ 15);
|
|
22797
22904
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__linear__ = __webpack_require__(/*! ./linear */ 28);
|
|
22798
22905
|
|
|
@@ -22854,7 +22961,7 @@ function quantize() {
|
|
|
22854
22961
|
|
|
22855
22962
|
"use strict";
|
|
22856
22963
|
/* harmony export (immutable) */ __webpack_exports__["a"] = threshold;
|
|
22857
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(/*! d3-array */
|
|
22964
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(/*! d3-array */ 10);
|
|
22858
22965
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__array__ = __webpack_require__(/*! ./array */ 15);
|
|
22859
22966
|
|
|
22860
22967
|
|
|
@@ -22943,7 +23050,7 @@ var milliseconds = millisecond.range;
|
|
|
22943
23050
|
"use strict";
|
|
22944
23051
|
/* unused harmony export seconds */
|
|
22945
23052
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__interval__ = __webpack_require__(/*! ./interval */ 4);
|
|
22946
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__duration__ = __webpack_require__(/*! ./duration */
|
|
23053
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__duration__ = __webpack_require__(/*! ./duration */ 11);
|
|
22947
23054
|
|
|
22948
23055
|
|
|
22949
23056
|
|
|
@@ -22973,7 +23080,7 @@ var seconds = second.range;
|
|
|
22973
23080
|
"use strict";
|
|
22974
23081
|
/* unused harmony export minutes */
|
|
22975
23082
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__interval__ = __webpack_require__(/*! ./interval */ 4);
|
|
22976
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__duration__ = __webpack_require__(/*! ./duration */
|
|
23083
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__duration__ = __webpack_require__(/*! ./duration */ 11);
|
|
22977
23084
|
|
|
22978
23085
|
|
|
22979
23086
|
|
|
@@ -23003,7 +23110,7 @@ var minutes = minute.range;
|
|
|
23003
23110
|
"use strict";
|
|
23004
23111
|
/* unused harmony export hours */
|
|
23005
23112
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__interval__ = __webpack_require__(/*! ./interval */ 4);
|
|
23006
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__duration__ = __webpack_require__(/*! ./duration */
|
|
23113
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__duration__ = __webpack_require__(/*! ./duration */ 11);
|
|
23007
23114
|
|
|
23008
23115
|
|
|
23009
23116
|
|
|
@@ -23035,7 +23142,7 @@ var hours = hour.range;
|
|
|
23035
23142
|
"use strict";
|
|
23036
23143
|
/* unused harmony export days */
|
|
23037
23144
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__interval__ = __webpack_require__(/*! ./interval */ 4);
|
|
23038
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__duration__ = __webpack_require__(/*! ./duration */
|
|
23145
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__duration__ = __webpack_require__(/*! ./duration */ 11);
|
|
23039
23146
|
|
|
23040
23147
|
|
|
23041
23148
|
|
|
@@ -23078,7 +23185,7 @@ var days = day.range;
|
|
|
23078
23185
|
/* unused harmony export fridays */
|
|
23079
23186
|
/* unused harmony export saturdays */
|
|
23080
23187
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__interval__ = __webpack_require__(/*! ./interval */ 4);
|
|
23081
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__duration__ = __webpack_require__(/*! ./duration */
|
|
23188
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__duration__ = __webpack_require__(/*! ./duration */ 11);
|
|
23082
23189
|
|
|
23083
23190
|
|
|
23084
23191
|
|
|
@@ -23191,7 +23298,7 @@ var years = year.range;
|
|
|
23191
23298
|
"use strict";
|
|
23192
23299
|
/* unused harmony export utcMinutes */
|
|
23193
23300
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__interval__ = __webpack_require__(/*! ./interval */ 4);
|
|
23194
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__duration__ = __webpack_require__(/*! ./duration */
|
|
23301
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__duration__ = __webpack_require__(/*! ./duration */ 11);
|
|
23195
23302
|
|
|
23196
23303
|
|
|
23197
23304
|
|
|
@@ -23221,7 +23328,7 @@ var utcMinutes = utcMinute.range;
|
|
|
23221
23328
|
"use strict";
|
|
23222
23329
|
/* unused harmony export utcHours */
|
|
23223
23330
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__interval__ = __webpack_require__(/*! ./interval */ 4);
|
|
23224
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__duration__ = __webpack_require__(/*! ./duration */
|
|
23331
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__duration__ = __webpack_require__(/*! ./duration */ 11);
|
|
23225
23332
|
|
|
23226
23333
|
|
|
23227
23334
|
|
|
@@ -23251,7 +23358,7 @@ var utcHours = utcHour.range;
|
|
|
23251
23358
|
"use strict";
|
|
23252
23359
|
/* unused harmony export utcDays */
|
|
23253
23360
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__interval__ = __webpack_require__(/*! ./interval */ 4);
|
|
23254
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__duration__ = __webpack_require__(/*! ./duration */
|
|
23361
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__duration__ = __webpack_require__(/*! ./duration */ 11);
|
|
23255
23362
|
|
|
23256
23363
|
|
|
23257
23364
|
|
|
@@ -23294,7 +23401,7 @@ var utcDays = utcDay.range;
|
|
|
23294
23401
|
/* unused harmony export utcFridays */
|
|
23295
23402
|
/* unused harmony export utcSaturdays */
|
|
23296
23403
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__interval__ = __webpack_require__(/*! ./interval */ 4);
|
|
23297
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__duration__ = __webpack_require__(/*! ./duration */
|
|
23404
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__duration__ = __webpack_require__(/*! ./duration */ 11);
|
|
23298
23405
|
|
|
23299
23406
|
|
|
23300
23407
|
|
|
@@ -23517,7 +23624,7 @@ var parseIso = +new Date("2000-01-01T00:00:00.000Z")
|
|
|
23517
23624
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
23518
23625
|
|
|
23519
23626
|
"use strict";
|
|
23520
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_color__ = __webpack_require__(/*! d3-color */
|
|
23627
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_color__ = __webpack_require__(/*! d3-color */ 12);
|
|
23521
23628
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_d3_interpolate__ = __webpack_require__(/*! d3-interpolate */ 17);
|
|
23522
23629
|
|
|
23523
23630
|
|
|
@@ -23537,7 +23644,7 @@ var parseIso = +new Date("2000-01-01T00:00:00.000Z")
|
|
|
23537
23644
|
"use strict";
|
|
23538
23645
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return warm; });
|
|
23539
23646
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return cool; });
|
|
23540
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_color__ = __webpack_require__(/*! d3-color */
|
|
23647
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_color__ = __webpack_require__(/*! d3-color */ 12);
|
|
23541
23648
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_d3_interpolate__ = __webpack_require__(/*! d3-interpolate */ 17);
|
|
23542
23649
|
|
|
23543
23650
|
|
|
@@ -24326,14 +24433,15 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
|
|
|
24326
24433
|
getAllEvents: function (props) {
|
|
24327
24434
|
var components = ["groupComponent", "containerComponent", "labelComponent"];
|
|
24328
24435
|
this.componentEvents = __WEBPACK_IMPORTED_MODULE_15__events__["a" /* default */].getComponentEvents(props, components);
|
|
24436
|
+
var events = props.events;
|
|
24329
24437
|
|
|
24330
24438
|
if (Array.isArray(this.componentEvents)) {
|
|
24331
24439
|
var _componentEvents;
|
|
24332
24440
|
|
|
24333
|
-
|
|
24441
|
+
events = Array.isArray(props.events) ? (_componentEvents = this.componentEvents).concat.apply(_componentEvents, _toConsumableArray(props.events)) : this.componentEvents;
|
|
24334
24442
|
}
|
|
24335
24443
|
|
|
24336
|
-
return
|
|
24444
|
+
return events || [];
|
|
24337
24445
|
},
|
|
24338
24446
|
getAnimationProps: function (props, child, index) {
|
|
24339
24447
|
var _this = this;
|
|
@@ -24571,9 +24679,15 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
|
|
|
24571
24679
|
};
|
|
24572
24680
|
|
|
24573
24681
|
var combine = function (memo, datum) {
|
|
24682
|
+
var x = Array.isArray(datum) ? datum.map(function (d) {
|
|
24683
|
+
return d.x;
|
|
24684
|
+
}).filter(Boolean) : datum.x;
|
|
24685
|
+
var y = Array.isArray(datum) ? datum.map(function (d) {
|
|
24686
|
+
return d.y;
|
|
24687
|
+
}).filter(Boolean) : datum.y;
|
|
24574
24688
|
return {
|
|
24575
|
-
x:
|
|
24576
|
-
y:
|
|
24689
|
+
x: x !== undefined ? memo.x.concat(x) : memo.x,
|
|
24690
|
+
y: y !== undefined ? memo.y.concat(y) : memo.y
|
|
24577
24691
|
};
|
|
24578
24692
|
};
|
|
24579
24693
|
|
|
@@ -25025,7 +25139,7 @@ module.exports = createBaseFor;
|
|
|
25025
25139
|
/***/ (function(module, exports, __webpack_require__) {
|
|
25026
25140
|
|
|
25027
25141
|
var debounce = __webpack_require__(/*! ./debounce */ 354),
|
|
25028
|
-
isObject = __webpack_require__(/*! ./isObject */
|
|
25142
|
+
isObject = __webpack_require__(/*! ./isObject */ 9);
|
|
25029
25143
|
|
|
25030
25144
|
/** Error message constants. */
|
|
25031
25145
|
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
@@ -25104,7 +25218,7 @@ module.exports = throttle;
|
|
|
25104
25218
|
/*! all exports used */
|
|
25105
25219
|
/***/ (function(module, exports, __webpack_require__) {
|
|
25106
25220
|
|
|
25107
|
-
var isObject = __webpack_require__(/*! ./isObject */
|
|
25221
|
+
var isObject = __webpack_require__(/*! ./isObject */ 9),
|
|
25108
25222
|
now = __webpack_require__(/*! ./now */ 355),
|
|
25109
25223
|
toNumber = __webpack_require__(/*! ./toNumber */ 116);
|
|
25110
25224
|
|