victory-brush-line 36.4.1 → 36.5.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.
- package/dist/victory-brush-line.js +324 -295
- package/dist/victory-brush-line.min.js +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +2 -1
- package/es/victory-brush-line.js +10 -12
- package/lib/index.d.ts +1 -1
- package/lib/index.js +2 -1
- package/lib/victory-brush-line.js +9 -12
- package/package.json +4 -4
- package/src/index.d.ts +1 -1
- package/src/victory-brush-line.js +75 -75
|
@@ -56,7 +56,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
56
56
|
|
|
57
57
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
58
58
|
|
|
59
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
59
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
60
60
|
|
|
61
61
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
62
62
|
|
|
@@ -66,9 +66,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
66
66
|
|
|
67
67
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
68
68
|
|
|
69
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
70
|
-
|
|
71
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
69
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
72
70
|
|
|
73
71
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
74
72
|
|
|
@@ -448,7 +446,7 @@ var VictoryBrushLine = /*#__PURE__*/function (_React$Component) {
|
|
|
448
446
|
return VictoryBrushLine;
|
|
449
447
|
}((react__WEBPACK_IMPORTED_MODULE_4___default().Component));
|
|
450
448
|
|
|
451
|
-
|
|
449
|
+
VictoryBrushLine.propTypes = {
|
|
452
450
|
allowDrag: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().bool),
|
|
453
451
|
allowDraw: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().bool),
|
|
454
452
|
allowResize: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().bool),
|
|
@@ -476,22 +474,21 @@ _defineProperty(VictoryBrushLine, "propTypes", {
|
|
|
476
474
|
style: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().object),
|
|
477
475
|
type: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().string),
|
|
478
476
|
width: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().number)
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
_defineProperty(VictoryBrushLine, "defaultProps", {
|
|
477
|
+
};
|
|
478
|
+
VictoryBrushLine.defaultProps = {
|
|
482
479
|
allowDrag: true,
|
|
483
480
|
allowDraw: true,
|
|
484
481
|
allowResize: true,
|
|
485
|
-
brushAreaComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__
|
|
486
|
-
brushComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__
|
|
482
|
+
brushAreaComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__.Border, null),
|
|
483
|
+
brushComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__.Border, null),
|
|
487
484
|
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("g", null),
|
|
488
|
-
handleComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__
|
|
485
|
+
handleComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__.Border, null),
|
|
489
486
|
handleWidth: 10,
|
|
490
|
-
lineComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_12__
|
|
487
|
+
lineComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_12__.LineSegment, null),
|
|
491
488
|
width: 10
|
|
492
|
-
}
|
|
489
|
+
};
|
|
493
490
|
|
|
494
|
-
|
|
491
|
+
VictoryBrushLine.defaultEvents = function (props) {
|
|
495
492
|
return props.disable ? undefined : [{
|
|
496
493
|
target: props.type,
|
|
497
494
|
eventHandlers: {
|
|
@@ -735,7 +732,7 @@ _defineProperty(VictoryBrushLine, "defaultEvents", function (props) {
|
|
|
735
732
|
}
|
|
736
733
|
}
|
|
737
734
|
}];
|
|
738
|
-
}
|
|
735
|
+
};
|
|
739
736
|
|
|
740
737
|
|
|
741
738
|
|
|
@@ -5899,7 +5896,7 @@ module.exports = checkPropTypes;
|
|
|
5899
5896
|
|
|
5900
5897
|
|
|
5901
5898
|
|
|
5902
|
-
var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/react-is/index.js");
|
|
5899
|
+
var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/prop-types/node_modules/react-is/index.js");
|
|
5903
5900
|
var assign = __webpack_require__(/*! object-assign */ "../../../node_modules/object-assign/index.js");
|
|
5904
5901
|
|
|
5905
5902
|
var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../../node_modules/prop-types/lib/ReactPropTypesSecret.js");
|
|
@@ -6518,7 +6515,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6518
6515
|
*/
|
|
6519
6516
|
|
|
6520
6517
|
if (true) {
|
|
6521
|
-
var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/react-is/index.js");
|
|
6518
|
+
var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/prop-types/node_modules/react-is/index.js");
|
|
6522
6519
|
|
|
6523
6520
|
// By explicitly using `prop-types` you are opting into new development behavior.
|
|
6524
6521
|
// http://fb.me/prop-types-in-prod
|
|
@@ -6563,154 +6560,10 @@ module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
|
6563
6560
|
|
|
6564
6561
|
/***/ }),
|
|
6565
6562
|
|
|
6566
|
-
/***/ "../../../node_modules/react-
|
|
6567
|
-
|
|
6568
|
-
!*** ../../../node_modules/react-
|
|
6569
|
-
|
|
6570
|
-
/***/ ((module) => {
|
|
6571
|
-
|
|
6572
|
-
/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */
|
|
6573
|
-
|
|
6574
|
-
var hasElementType = typeof Element !== 'undefined';
|
|
6575
|
-
var hasMap = typeof Map === 'function';
|
|
6576
|
-
var hasSet = typeof Set === 'function';
|
|
6577
|
-
var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;
|
|
6578
|
-
|
|
6579
|
-
// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js
|
|
6580
|
-
|
|
6581
|
-
function equal(a, b) {
|
|
6582
|
-
// START: fast-deep-equal es6/index.js 3.1.1
|
|
6583
|
-
if (a === b) return true;
|
|
6584
|
-
|
|
6585
|
-
if (a && b && typeof a == 'object' && typeof b == 'object') {
|
|
6586
|
-
if (a.constructor !== b.constructor) return false;
|
|
6587
|
-
|
|
6588
|
-
var length, i, keys;
|
|
6589
|
-
if (Array.isArray(a)) {
|
|
6590
|
-
length = a.length;
|
|
6591
|
-
if (length != b.length) return false;
|
|
6592
|
-
for (i = length; i-- !== 0;)
|
|
6593
|
-
if (!equal(a[i], b[i])) return false;
|
|
6594
|
-
return true;
|
|
6595
|
-
}
|
|
6596
|
-
|
|
6597
|
-
// START: Modifications:
|
|
6598
|
-
// 1. Extra `has<Type> &&` helpers in initial condition allow es6 code
|
|
6599
|
-
// to co-exist with es5.
|
|
6600
|
-
// 2. Replace `for of` with es5 compliant iteration using `for`.
|
|
6601
|
-
// Basically, take:
|
|
6602
|
-
//
|
|
6603
|
-
// ```js
|
|
6604
|
-
// for (i of a.entries())
|
|
6605
|
-
// if (!b.has(i[0])) return false;
|
|
6606
|
-
// ```
|
|
6607
|
-
//
|
|
6608
|
-
// ... and convert to:
|
|
6609
|
-
//
|
|
6610
|
-
// ```js
|
|
6611
|
-
// it = a.entries();
|
|
6612
|
-
// while (!(i = it.next()).done)
|
|
6613
|
-
// if (!b.has(i.value[0])) return false;
|
|
6614
|
-
// ```
|
|
6615
|
-
//
|
|
6616
|
-
// **Note**: `i` access switches to `i.value`.
|
|
6617
|
-
var it;
|
|
6618
|
-
if (hasMap && (a instanceof Map) && (b instanceof Map)) {
|
|
6619
|
-
if (a.size !== b.size) return false;
|
|
6620
|
-
it = a.entries();
|
|
6621
|
-
while (!(i = it.next()).done)
|
|
6622
|
-
if (!b.has(i.value[0])) return false;
|
|
6623
|
-
it = a.entries();
|
|
6624
|
-
while (!(i = it.next()).done)
|
|
6625
|
-
if (!equal(i.value[1], b.get(i.value[0]))) return false;
|
|
6626
|
-
return true;
|
|
6627
|
-
}
|
|
6628
|
-
|
|
6629
|
-
if (hasSet && (a instanceof Set) && (b instanceof Set)) {
|
|
6630
|
-
if (a.size !== b.size) return false;
|
|
6631
|
-
it = a.entries();
|
|
6632
|
-
while (!(i = it.next()).done)
|
|
6633
|
-
if (!b.has(i.value[0])) return false;
|
|
6634
|
-
return true;
|
|
6635
|
-
}
|
|
6636
|
-
// END: Modifications
|
|
6637
|
-
|
|
6638
|
-
if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
|
|
6639
|
-
length = a.length;
|
|
6640
|
-
if (length != b.length) return false;
|
|
6641
|
-
for (i = length; i-- !== 0;)
|
|
6642
|
-
if (a[i] !== b[i]) return false;
|
|
6643
|
-
return true;
|
|
6644
|
-
}
|
|
6645
|
-
|
|
6646
|
-
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
|
|
6647
|
-
if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
|
|
6648
|
-
if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
|
|
6649
|
-
|
|
6650
|
-
keys = Object.keys(a);
|
|
6651
|
-
length = keys.length;
|
|
6652
|
-
if (length !== Object.keys(b).length) return false;
|
|
6653
|
-
|
|
6654
|
-
for (i = length; i-- !== 0;)
|
|
6655
|
-
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
6656
|
-
// END: fast-deep-equal
|
|
6657
|
-
|
|
6658
|
-
// START: react-fast-compare
|
|
6659
|
-
// custom handling for DOM elements
|
|
6660
|
-
if (hasElementType && a instanceof Element) return false;
|
|
6661
|
-
|
|
6662
|
-
// custom handling for React/Preact
|
|
6663
|
-
for (i = length; i-- !== 0;) {
|
|
6664
|
-
if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {
|
|
6665
|
-
// React-specific: avoid traversing React elements' _owner
|
|
6666
|
-
// Preact-specific: avoid traversing Preact elements' __v and __o
|
|
6667
|
-
// __v = $_original / $_vnode
|
|
6668
|
-
// __o = $_owner
|
|
6669
|
-
// These properties contain circular references and are not needed when
|
|
6670
|
-
// comparing the actual elements (and not their owners)
|
|
6671
|
-
// .$$typeof and ._store on just reasonable markers of elements
|
|
6672
|
-
|
|
6673
|
-
continue;
|
|
6674
|
-
}
|
|
6675
|
-
|
|
6676
|
-
// all other properties should be traversed as usual
|
|
6677
|
-
if (!equal(a[keys[i]], b[keys[i]])) return false;
|
|
6678
|
-
}
|
|
6679
|
-
// END: react-fast-compare
|
|
6680
|
-
|
|
6681
|
-
// START: fast-deep-equal
|
|
6682
|
-
return true;
|
|
6683
|
-
}
|
|
6684
|
-
|
|
6685
|
-
return a !== a && b !== b;
|
|
6686
|
-
}
|
|
6687
|
-
// end fast-deep-equal
|
|
6688
|
-
|
|
6689
|
-
module.exports = function isEqual(a, b) {
|
|
6690
|
-
try {
|
|
6691
|
-
return equal(a, b);
|
|
6692
|
-
} catch (error) {
|
|
6693
|
-
if (((error.message || '').match(/stack|recursion/i))) {
|
|
6694
|
-
// warn on circular references, don't crash
|
|
6695
|
-
// browsers give this different errors name and messages:
|
|
6696
|
-
// chrome/safari: "RangeError", "Maximum call stack size exceeded"
|
|
6697
|
-
// firefox: "InternalError", too much recursion"
|
|
6698
|
-
// edge: "Error", "Out of stack space"
|
|
6699
|
-
console.warn('react-fast-compare cannot handle circular refs');
|
|
6700
|
-
return false;
|
|
6701
|
-
}
|
|
6702
|
-
// some other error. we should definitely know about these
|
|
6703
|
-
throw error;
|
|
6704
|
-
}
|
|
6705
|
-
};
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
/***/ }),
|
|
6709
|
-
|
|
6710
|
-
/***/ "../../../node_modules/react-is/cjs/react-is.development.js":
|
|
6711
|
-
/*!******************************************************************!*\
|
|
6712
|
-
!*** ../../../node_modules/react-is/cjs/react-is.development.js ***!
|
|
6713
|
-
\******************************************************************/
|
|
6563
|
+
/***/ "../../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js":
|
|
6564
|
+
/*!******************************************************************************************!*\
|
|
6565
|
+
!*** ../../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js ***!
|
|
6566
|
+
\******************************************************************************************/
|
|
6714
6567
|
/***/ ((__unused_webpack_module, exports) => {
|
|
6715
6568
|
|
|
6716
6569
|
"use strict";
|
|
@@ -6899,20 +6752,164 @@ exports.typeOf = typeOf;
|
|
|
6899
6752
|
|
|
6900
6753
|
/***/ }),
|
|
6901
6754
|
|
|
6902
|
-
/***/ "../../../node_modules/react-is/index.js":
|
|
6903
|
-
|
|
6904
|
-
!*** ../../../node_modules/react-is/index.js ***!
|
|
6905
|
-
|
|
6755
|
+
/***/ "../../../node_modules/prop-types/node_modules/react-is/index.js":
|
|
6756
|
+
/*!***********************************************************************!*\
|
|
6757
|
+
!*** ../../../node_modules/prop-types/node_modules/react-is/index.js ***!
|
|
6758
|
+
\***********************************************************************/
|
|
6906
6759
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6907
6760
|
|
|
6908
6761
|
"use strict";
|
|
6909
6762
|
|
|
6910
6763
|
|
|
6911
6764
|
if (false) {} else {
|
|
6912
|
-
module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "../../../node_modules/react-is/cjs/react-is.development.js");
|
|
6765
|
+
module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "../../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js");
|
|
6913
6766
|
}
|
|
6914
6767
|
|
|
6915
6768
|
|
|
6769
|
+
/***/ }),
|
|
6770
|
+
|
|
6771
|
+
/***/ "../../../node_modules/react-fast-compare/index.js":
|
|
6772
|
+
/*!*********************************************************!*\
|
|
6773
|
+
!*** ../../../node_modules/react-fast-compare/index.js ***!
|
|
6774
|
+
\*********************************************************/
|
|
6775
|
+
/***/ ((module) => {
|
|
6776
|
+
|
|
6777
|
+
/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */
|
|
6778
|
+
|
|
6779
|
+
var hasElementType = typeof Element !== 'undefined';
|
|
6780
|
+
var hasMap = typeof Map === 'function';
|
|
6781
|
+
var hasSet = typeof Set === 'function';
|
|
6782
|
+
var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;
|
|
6783
|
+
|
|
6784
|
+
// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js
|
|
6785
|
+
|
|
6786
|
+
function equal(a, b) {
|
|
6787
|
+
// START: fast-deep-equal es6/index.js 3.1.1
|
|
6788
|
+
if (a === b) return true;
|
|
6789
|
+
|
|
6790
|
+
if (a && b && typeof a == 'object' && typeof b == 'object') {
|
|
6791
|
+
if (a.constructor !== b.constructor) return false;
|
|
6792
|
+
|
|
6793
|
+
var length, i, keys;
|
|
6794
|
+
if (Array.isArray(a)) {
|
|
6795
|
+
length = a.length;
|
|
6796
|
+
if (length != b.length) return false;
|
|
6797
|
+
for (i = length; i-- !== 0;)
|
|
6798
|
+
if (!equal(a[i], b[i])) return false;
|
|
6799
|
+
return true;
|
|
6800
|
+
}
|
|
6801
|
+
|
|
6802
|
+
// START: Modifications:
|
|
6803
|
+
// 1. Extra `has<Type> &&` helpers in initial condition allow es6 code
|
|
6804
|
+
// to co-exist with es5.
|
|
6805
|
+
// 2. Replace `for of` with es5 compliant iteration using `for`.
|
|
6806
|
+
// Basically, take:
|
|
6807
|
+
//
|
|
6808
|
+
// ```js
|
|
6809
|
+
// for (i of a.entries())
|
|
6810
|
+
// if (!b.has(i[0])) return false;
|
|
6811
|
+
// ```
|
|
6812
|
+
//
|
|
6813
|
+
// ... and convert to:
|
|
6814
|
+
//
|
|
6815
|
+
// ```js
|
|
6816
|
+
// it = a.entries();
|
|
6817
|
+
// while (!(i = it.next()).done)
|
|
6818
|
+
// if (!b.has(i.value[0])) return false;
|
|
6819
|
+
// ```
|
|
6820
|
+
//
|
|
6821
|
+
// **Note**: `i` access switches to `i.value`.
|
|
6822
|
+
var it;
|
|
6823
|
+
if (hasMap && (a instanceof Map) && (b instanceof Map)) {
|
|
6824
|
+
if (a.size !== b.size) return false;
|
|
6825
|
+
it = a.entries();
|
|
6826
|
+
while (!(i = it.next()).done)
|
|
6827
|
+
if (!b.has(i.value[0])) return false;
|
|
6828
|
+
it = a.entries();
|
|
6829
|
+
while (!(i = it.next()).done)
|
|
6830
|
+
if (!equal(i.value[1], b.get(i.value[0]))) return false;
|
|
6831
|
+
return true;
|
|
6832
|
+
}
|
|
6833
|
+
|
|
6834
|
+
if (hasSet && (a instanceof Set) && (b instanceof Set)) {
|
|
6835
|
+
if (a.size !== b.size) return false;
|
|
6836
|
+
it = a.entries();
|
|
6837
|
+
while (!(i = it.next()).done)
|
|
6838
|
+
if (!b.has(i.value[0])) return false;
|
|
6839
|
+
return true;
|
|
6840
|
+
}
|
|
6841
|
+
// END: Modifications
|
|
6842
|
+
|
|
6843
|
+
if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
|
|
6844
|
+
length = a.length;
|
|
6845
|
+
if (length != b.length) return false;
|
|
6846
|
+
for (i = length; i-- !== 0;)
|
|
6847
|
+
if (a[i] !== b[i]) return false;
|
|
6848
|
+
return true;
|
|
6849
|
+
}
|
|
6850
|
+
|
|
6851
|
+
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
|
|
6852
|
+
if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
|
|
6853
|
+
if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
|
|
6854
|
+
|
|
6855
|
+
keys = Object.keys(a);
|
|
6856
|
+
length = keys.length;
|
|
6857
|
+
if (length !== Object.keys(b).length) return false;
|
|
6858
|
+
|
|
6859
|
+
for (i = length; i-- !== 0;)
|
|
6860
|
+
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
6861
|
+
// END: fast-deep-equal
|
|
6862
|
+
|
|
6863
|
+
// START: react-fast-compare
|
|
6864
|
+
// custom handling for DOM elements
|
|
6865
|
+
if (hasElementType && a instanceof Element) return false;
|
|
6866
|
+
|
|
6867
|
+
// custom handling for React/Preact
|
|
6868
|
+
for (i = length; i-- !== 0;) {
|
|
6869
|
+
if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {
|
|
6870
|
+
// React-specific: avoid traversing React elements' _owner
|
|
6871
|
+
// Preact-specific: avoid traversing Preact elements' __v and __o
|
|
6872
|
+
// __v = $_original / $_vnode
|
|
6873
|
+
// __o = $_owner
|
|
6874
|
+
// These properties contain circular references and are not needed when
|
|
6875
|
+
// comparing the actual elements (and not their owners)
|
|
6876
|
+
// .$$typeof and ._store on just reasonable markers of elements
|
|
6877
|
+
|
|
6878
|
+
continue;
|
|
6879
|
+
}
|
|
6880
|
+
|
|
6881
|
+
// all other properties should be traversed as usual
|
|
6882
|
+
if (!equal(a[keys[i]], b[keys[i]])) return false;
|
|
6883
|
+
}
|
|
6884
|
+
// END: react-fast-compare
|
|
6885
|
+
|
|
6886
|
+
// START: fast-deep-equal
|
|
6887
|
+
return true;
|
|
6888
|
+
}
|
|
6889
|
+
|
|
6890
|
+
return a !== a && b !== b;
|
|
6891
|
+
}
|
|
6892
|
+
// end fast-deep-equal
|
|
6893
|
+
|
|
6894
|
+
module.exports = function isEqual(a, b) {
|
|
6895
|
+
try {
|
|
6896
|
+
return equal(a, b);
|
|
6897
|
+
} catch (error) {
|
|
6898
|
+
if (((error.message || '').match(/stack|recursion/i))) {
|
|
6899
|
+
// warn on circular references, don't crash
|
|
6900
|
+
// browsers give this different errors name and messages:
|
|
6901
|
+
// chrome/safari: "RangeError", "Maximum call stack size exceeded"
|
|
6902
|
+
// firefox: "InternalError", too much recursion"
|
|
6903
|
+
// edge: "Error", "Out of stack space"
|
|
6904
|
+
console.warn('react-fast-compare cannot handle circular refs');
|
|
6905
|
+
return false;
|
|
6906
|
+
}
|
|
6907
|
+
// some other error. we should definitely know about these
|
|
6908
|
+
throw error;
|
|
6909
|
+
}
|
|
6910
|
+
};
|
|
6911
|
+
|
|
6912
|
+
|
|
6916
6913
|
/***/ }),
|
|
6917
6914
|
|
|
6918
6915
|
/***/ "../../victory-core/es/victory-primitives/border.js":
|
|
@@ -6924,7 +6921,7 @@ if (false) {} else {
|
|
|
6924
6921
|
"use strict";
|
|
6925
6922
|
__webpack_require__.r(__webpack_exports__);
|
|
6926
6923
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6927
|
-
/* harmony export */ "
|
|
6924
|
+
/* harmony export */ "Border": () => (/* binding */ Border)
|
|
6928
6925
|
/* harmony export */ });
|
|
6929
6926
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/assign */ "../../../node_modules/lodash/assign.js");
|
|
6930
6927
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -6992,8 +6989,7 @@ var Border = function (props) {
|
|
|
6992
6989
|
clipPath: props.clipPath
|
|
6993
6990
|
}));
|
|
6994
6991
|
};
|
|
6995
|
-
|
|
6996
|
-
Border.propTypes = _objectSpread(_objectSpread({}, _victory_util_common_props__WEBPACK_IMPORTED_MODULE_3__.primitiveProps), {}, {
|
|
6992
|
+
Border.propTypes = _objectSpread(_objectSpread({}, _victory_util_common_props__WEBPACK_IMPORTED_MODULE_3__.CommonProps.primitiveProps), {}, {
|
|
6997
6993
|
height: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
6998
6994
|
rectComponent: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().element),
|
|
6999
6995
|
width: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
@@ -7001,11 +6997,11 @@ Border.propTypes = _objectSpread(_objectSpread({}, _victory_util_common_props__W
|
|
|
7001
6997
|
y: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number)
|
|
7002
6998
|
});
|
|
7003
6999
|
Border.defaultProps = {
|
|
7004
|
-
rectComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_rect__WEBPACK_IMPORTED_MODULE_5__
|
|
7000
|
+
rectComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_rect__WEBPACK_IMPORTED_MODULE_5__.Rect, null),
|
|
7005
7001
|
role: "presentation",
|
|
7006
7002
|
shapeRendering: "auto"
|
|
7007
7003
|
};
|
|
7008
|
-
|
|
7004
|
+
//# sourceMappingURL=border.js.map
|
|
7009
7005
|
|
|
7010
7006
|
/***/ }),
|
|
7011
7007
|
|
|
@@ -7018,7 +7014,7 @@ Border.defaultProps = {
|
|
|
7018
7014
|
"use strict";
|
|
7019
7015
|
__webpack_require__.r(__webpack_exports__);
|
|
7020
7016
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7021
|
-
/* harmony export */ "
|
|
7017
|
+
/* harmony export */ "LineSegment": () => (/* binding */ LineSegment)
|
|
7022
7018
|
/* harmony export */ });
|
|
7023
7019
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/assign */ "../../../node_modules/lodash/assign.js");
|
|
7024
7020
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -7086,8 +7082,7 @@ var LineSegment = function (props) {
|
|
|
7086
7082
|
clipPath: props.clipPath
|
|
7087
7083
|
}));
|
|
7088
7084
|
};
|
|
7089
|
-
|
|
7090
|
-
LineSegment.propTypes = _objectSpread(_objectSpread({}, _victory_util_common_props__WEBPACK_IMPORTED_MODULE_3__.primitiveProps), {}, {
|
|
7085
|
+
LineSegment.propTypes = _objectSpread(_objectSpread({}, _victory_util_common_props__WEBPACK_IMPORTED_MODULE_3__.CommonProps.primitiveProps), {}, {
|
|
7091
7086
|
datum: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().any),
|
|
7092
7087
|
lineComponent: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().element),
|
|
7093
7088
|
x1: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
@@ -7096,11 +7091,11 @@ LineSegment.propTypes = _objectSpread(_objectSpread({}, _victory_util_common_pro
|
|
|
7096
7091
|
y2: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number)
|
|
7097
7092
|
});
|
|
7098
7093
|
LineSegment.defaultProps = {
|
|
7099
|
-
lineComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_line__WEBPACK_IMPORTED_MODULE_5__
|
|
7094
|
+
lineComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_line__WEBPACK_IMPORTED_MODULE_5__.Line, null),
|
|
7100
7095
|
role: "presentation",
|
|
7101
7096
|
shapeRendering: "auto"
|
|
7102
7097
|
};
|
|
7103
|
-
|
|
7098
|
+
//# sourceMappingURL=line-segment.js.map
|
|
7104
7099
|
|
|
7105
7100
|
/***/ }),
|
|
7106
7101
|
|
|
@@ -7113,33 +7108,37 @@ LineSegment.defaultProps = {
|
|
|
7113
7108
|
"use strict";
|
|
7114
7109
|
__webpack_require__.r(__webpack_exports__);
|
|
7115
7110
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7116
|
-
/* harmony export */ "
|
|
7111
|
+
/* harmony export */ "Line": () => (/* binding */ Line)
|
|
7117
7112
|
/* harmony export */ });
|
|
7118
7113
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
7119
7114
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
7120
7115
|
var _excluded = ["desc"];
|
|
7121
7116
|
|
|
7122
|
-
function _extends() { _extends = Object.assign
|
|
7117
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
7123
7118
|
|
|
7124
7119
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
7125
7120
|
|
|
7126
7121
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
7127
7122
|
|
|
7128
7123
|
|
|
7129
|
-
|
|
7130
7124
|
var Line = function (props) {
|
|
7131
7125
|
// eslint-disable-next-line react/prop-types
|
|
7132
7126
|
var desc = props.desc,
|
|
7133
7127
|
rest = _objectWithoutProperties(props, _excluded);
|
|
7134
7128
|
|
|
7135
|
-
return desc ?
|
|
7129
|
+
return desc ?
|
|
7130
|
+
/*#__PURE__*/
|
|
7131
|
+
// @ts-expect-error FIXME: "id cannot be a number"
|
|
7132
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("line", _extends({
|
|
7136
7133
|
vectorEffect: "non-scaling-stroke"
|
|
7137
|
-
}, rest), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("desc", null, desc)) :
|
|
7134
|
+
}, rest), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("desc", null, desc)) :
|
|
7135
|
+
/*#__PURE__*/
|
|
7136
|
+
// @ts-expect-error FIXME: "id cannot be a number"
|
|
7137
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("line", _extends({
|
|
7138
7138
|
vectorEffect: "non-scaling-stroke"
|
|
7139
7139
|
}, rest));
|
|
7140
7140
|
};
|
|
7141
|
-
|
|
7142
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Line);
|
|
7141
|
+
//# sourceMappingURL=line.js.map
|
|
7143
7142
|
|
|
7144
7143
|
/***/ }),
|
|
7145
7144
|
|
|
@@ -7152,33 +7151,37 @@ var Line = function (props) {
|
|
|
7152
7151
|
"use strict";
|
|
7153
7152
|
__webpack_require__.r(__webpack_exports__);
|
|
7154
7153
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7155
|
-
/* harmony export */ "
|
|
7154
|
+
/* harmony export */ "Rect": () => (/* binding */ Rect)
|
|
7156
7155
|
/* harmony export */ });
|
|
7157
7156
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
7158
7157
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
7159
7158
|
var _excluded = ["desc"];
|
|
7160
7159
|
|
|
7161
|
-
function _extends() { _extends = Object.assign
|
|
7160
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
7162
7161
|
|
|
7163
7162
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
7164
7163
|
|
|
7165
7164
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
7166
7165
|
|
|
7167
7166
|
|
|
7168
|
-
|
|
7169
7167
|
var Rect = function (props) {
|
|
7170
7168
|
// eslint-disable-next-line react/prop-types
|
|
7171
7169
|
var desc = props.desc,
|
|
7172
7170
|
rest = _objectWithoutProperties(props, _excluded);
|
|
7173
7171
|
|
|
7174
|
-
return desc ?
|
|
7172
|
+
return desc ?
|
|
7173
|
+
/*#__PURE__*/
|
|
7174
|
+
// @ts-expect-error FIXME: "id cannot be a number"
|
|
7175
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("rect", _extends({
|
|
7175
7176
|
vectorEffect: "non-scaling-stroke"
|
|
7176
|
-
}, rest), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("desc", null, desc)) :
|
|
7177
|
+
}, rest), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("desc", null, desc)) :
|
|
7178
|
+
/*#__PURE__*/
|
|
7179
|
+
// @ts-expect-error FIXME: "id cannot be a number"
|
|
7180
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("rect", _extends({
|
|
7177
7181
|
vectorEffect: "non-scaling-stroke"
|
|
7178
7182
|
}, rest));
|
|
7179
7183
|
};
|
|
7180
|
-
|
|
7181
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Rect);
|
|
7184
|
+
//# sourceMappingURL=rect.js.map
|
|
7182
7185
|
|
|
7183
7186
|
/***/ }),
|
|
7184
7187
|
|
|
@@ -7212,9 +7215,6 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
|
|
|
7212
7215
|
|
|
7213
7216
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
7214
7217
|
|
|
7215
|
-
/* eslint-disable func-style */
|
|
7216
|
-
|
|
7217
|
-
/* eslint-disable no-use-before-define */
|
|
7218
7218
|
function isNonEmptyArray(collection) {
|
|
7219
7219
|
return Array.isArray(collection) && collection.length > 0;
|
|
7220
7220
|
}
|
|
@@ -7253,7 +7253,8 @@ function getMaxValue(arr) {
|
|
|
7253
7253
|
}
|
|
7254
7254
|
|
|
7255
7255
|
var array = arr.concat(values);
|
|
7256
|
-
return containsDates(array) ? new Date(Math.max.apply(Math, _toConsumableArray(array)))
|
|
7256
|
+
return containsDates(array) ? new Date(Math.max.apply(Math, _toConsumableArray(array))) // Dates will be coerced to numbers
|
|
7257
|
+
: Math.max.apply(Math, _toConsumableArray(array));
|
|
7257
7258
|
}
|
|
7258
7259
|
function getMinValue(arr) {
|
|
7259
7260
|
for (var _len2 = arguments.length, values = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
@@ -7261,8 +7262,10 @@ function getMinValue(arr) {
|
|
|
7261
7262
|
}
|
|
7262
7263
|
|
|
7263
7264
|
var array = arr.concat(values);
|
|
7264
|
-
return containsDates(array) ? new Date(Math.min.apply(Math, _toConsumableArray(array)))
|
|
7265
|
+
return containsDates(array) ? new Date(Math.min.apply(Math, _toConsumableArray(array))) // Dates will be coerced to numbers
|
|
7266
|
+
: Math.min.apply(Math, _toConsumableArray(array));
|
|
7265
7267
|
}
|
|
7268
|
+
//# sourceMappingURL=collection.js.map
|
|
7266
7269
|
|
|
7267
7270
|
/***/ }),
|
|
7268
7271
|
|
|
@@ -7275,9 +7278,7 @@ function getMinValue(arr) {
|
|
|
7275
7278
|
"use strict";
|
|
7276
7279
|
__webpack_require__.r(__webpack_exports__);
|
|
7277
7280
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7278
|
-
/* harmony export */ "
|
|
7279
|
-
/* harmony export */ "dataProps": () => (/* binding */ dataProps),
|
|
7280
|
-
/* harmony export */ "primitiveProps": () => (/* binding */ primitiveProps)
|
|
7281
|
+
/* harmony export */ "CommonProps": () => (/* binding */ CommonProps)
|
|
7281
7282
|
/* harmony export */ });
|
|
7282
7283
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
7283
7284
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -7285,26 +7286,28 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7285
7286
|
|
|
7286
7287
|
|
|
7287
7288
|
var dataProps = {
|
|
7289
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7288
7290
|
categories: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)), prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7289
7291
|
x: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)),
|
|
7290
7292
|
y: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string))
|
|
7291
7293
|
})]),
|
|
7294
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7292
7295
|
data: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().array), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)]),
|
|
7293
7296
|
dataComponent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),
|
|
7294
7297
|
disableInlineStyles: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
|
7295
7298
|
labelComponent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),
|
|
7296
7299
|
labels: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().array)]),
|
|
7297
7300
|
samples: _prop_types__WEBPACK_IMPORTED_MODULE_1__.nonNegative,
|
|
7298
|
-
sortKey: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), _prop_types__WEBPACK_IMPORTED_MODULE_1__.allOfType([_prop_types__WEBPACK_IMPORTED_MODULE_1__.integer, _prop_types__WEBPACK_IMPORTED_MODULE_1__.nonNegative]), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string))]),
|
|
7301
|
+
sortKey: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), _prop_types__WEBPACK_IMPORTED_MODULE_1__.allOfType([_prop_types__WEBPACK_IMPORTED_MODULE_1__.integer, _prop_types__WEBPACK_IMPORTED_MODULE_1__.nonNegative]), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string.isRequired))]),
|
|
7299
7302
|
sortOrder: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(["ascending", "descending"]),
|
|
7300
7303
|
style: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7301
7304
|
parent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
|
|
7302
7305
|
data: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
|
|
7303
7306
|
labels: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)
|
|
7304
7307
|
}),
|
|
7305
|
-
x: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), _prop_types__WEBPACK_IMPORTED_MODULE_1__.allOfType([_prop_types__WEBPACK_IMPORTED_MODULE_1__.integer, _prop_types__WEBPACK_IMPORTED_MODULE_1__.nonNegative]), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string))]),
|
|
7306
|
-
y: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), _prop_types__WEBPACK_IMPORTED_MODULE_1__.allOfType([_prop_types__WEBPACK_IMPORTED_MODULE_1__.integer, _prop_types__WEBPACK_IMPORTED_MODULE_1__.nonNegative]), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string))]),
|
|
7307
|
-
y0: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), _prop_types__WEBPACK_IMPORTED_MODULE_1__.allOfType([_prop_types__WEBPACK_IMPORTED_MODULE_1__.integer, _prop_types__WEBPACK_IMPORTED_MODULE_1__.nonNegative]), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string))])
|
|
7308
|
+
x: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), _prop_types__WEBPACK_IMPORTED_MODULE_1__.allOfType([_prop_types__WEBPACK_IMPORTED_MODULE_1__.integer, _prop_types__WEBPACK_IMPORTED_MODULE_1__.nonNegative]), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string.isRequired))]),
|
|
7309
|
+
y: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), _prop_types__WEBPACK_IMPORTED_MODULE_1__.allOfType([_prop_types__WEBPACK_IMPORTED_MODULE_1__.integer, _prop_types__WEBPACK_IMPORTED_MODULE_1__.nonNegative]), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string.isRequired))]),
|
|
7310
|
+
y0: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), _prop_types__WEBPACK_IMPORTED_MODULE_1__.allOfType([_prop_types__WEBPACK_IMPORTED_MODULE_1__.integer, _prop_types__WEBPACK_IMPORTED_MODULE_1__.nonNegative]), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string.isRequired))])
|
|
7308
7311
|
};
|
|
7309
7312
|
var baseProps = {
|
|
7310
7313
|
animate: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)]),
|
|
@@ -7313,14 +7316,17 @@ var baseProps = {
|
|
|
7313
7316
|
x: _prop_types__WEBPACK_IMPORTED_MODULE_1__.domain,
|
|
7314
7317
|
y: _prop_types__WEBPACK_IMPORTED_MODULE_1__.domain
|
|
7315
7318
|
})]),
|
|
7319
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7316
7320
|
maxDomain: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(Date), prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7317
7321
|
x: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(Date)]),
|
|
7318
7322
|
y: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(Date)])
|
|
7319
7323
|
})]),
|
|
7324
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7320
7325
|
minDomain: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(Date), prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7321
7326
|
x: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(Date)]),
|
|
7322
7327
|
y: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(Date)])
|
|
7323
7328
|
})]),
|
|
7329
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7324
7330
|
domainPadding: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7325
7331
|
x: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().number))]),
|
|
7326
7332
|
y: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().number))])
|
|
@@ -7331,6 +7337,7 @@ var baseProps = {
|
|
|
7331
7337
|
eventKey: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().array), _prop_types__WEBPACK_IMPORTED_MODULE_1__.allOfType([_prop_types__WEBPACK_IMPORTED_MODULE_1__.integer, _prop_types__WEBPACK_IMPORTED_MODULE_1__.nonNegative]), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)]),
|
|
7332
7338
|
eventHandlers: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)
|
|
7333
7339
|
})),
|
|
7340
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7334
7341
|
externalEventMutations: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7335
7342
|
callback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
|
7336
7343
|
childName: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().array)]),
|
|
@@ -7341,10 +7348,12 @@ var baseProps = {
|
|
|
7341
7348
|
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),
|
|
7342
7349
|
height: _prop_types__WEBPACK_IMPORTED_MODULE_1__.nonNegative,
|
|
7343
7350
|
name: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
|
7351
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7344
7352
|
origin: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7345
7353
|
x: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
|
|
7346
7354
|
y: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)
|
|
7347
7355
|
}),
|
|
7356
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7348
7357
|
padding: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7349
7358
|
top: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
|
|
7350
7359
|
bottom: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
|
|
@@ -7353,17 +7362,19 @@ var baseProps = {
|
|
|
7353
7362
|
})]),
|
|
7354
7363
|
polar: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
|
7355
7364
|
range: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([_prop_types__WEBPACK_IMPORTED_MODULE_1__.domain, prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7356
|
-
x: _prop_types__WEBPACK_IMPORTED_MODULE_1__.domain,
|
|
7357
|
-
y: _prop_types__WEBPACK_IMPORTED_MODULE_1__.domain
|
|
7365
|
+
x: _prop_types__WEBPACK_IMPORTED_MODULE_1__.domain.isRequired,
|
|
7366
|
+
y: _prop_types__WEBPACK_IMPORTED_MODULE_1__.domain.isRequired
|
|
7358
7367
|
})]),
|
|
7359
7368
|
scale: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([_prop_types__WEBPACK_IMPORTED_MODULE_1__.scale, prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7360
|
-
x: _prop_types__WEBPACK_IMPORTED_MODULE_1__.scale,
|
|
7361
|
-
y: _prop_types__WEBPACK_IMPORTED_MODULE_1__.scale
|
|
7369
|
+
x: _prop_types__WEBPACK_IMPORTED_MODULE_1__.scale.isRequired,
|
|
7370
|
+
y: _prop_types__WEBPACK_IMPORTED_MODULE_1__.scale.isRequired
|
|
7362
7371
|
})]),
|
|
7372
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7363
7373
|
sharedEvents: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7364
7374
|
events: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().array),
|
|
7365
7375
|
getEventState: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
|
|
7366
7376
|
}),
|
|
7377
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7367
7378
|
singleQuadrantDomainPadding: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool), prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7368
7379
|
x: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)]),
|
|
7369
7380
|
y: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)])
|
|
@@ -7383,6 +7394,7 @@ var primitiveProps = {
|
|
|
7383
7394
|
events: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
|
|
7384
7395
|
id: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)]),
|
|
7385
7396
|
index: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)]),
|
|
7397
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7386
7398
|
origin: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7387
7399
|
x: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
|
|
7388
7400
|
y: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)
|
|
@@ -7398,6 +7410,12 @@ var primitiveProps = {
|
|
|
7398
7410
|
tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)]),
|
|
7399
7411
|
transform: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
|
|
7400
7412
|
};
|
|
7413
|
+
var CommonProps = {
|
|
7414
|
+
dataProps: dataProps,
|
|
7415
|
+
baseProps: baseProps,
|
|
7416
|
+
primitiveProps: primitiveProps
|
|
7417
|
+
};
|
|
7418
|
+
//# sourceMappingURL=common-props.js.map
|
|
7401
7419
|
|
|
7402
7420
|
/***/ }),
|
|
7403
7421
|
|
|
@@ -7480,8 +7498,6 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
|
|
|
7480
7498
|
|
|
7481
7499
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
7482
7500
|
|
|
7483
|
-
/* eslint-disable func-style */
|
|
7484
|
-
|
|
7485
7501
|
/* eslint-disable no-use-before-define */
|
|
7486
7502
|
|
|
7487
7503
|
|
|
@@ -7913,6 +7929,7 @@ function isDataComponent(component) {
|
|
|
7913
7929
|
var whitelist = ["area", "bar", "boxplot", "candlestick", "errorbar", "group", "histogram", "line", "pie", "scatter", "stack", "voronoi"];
|
|
7914
7930
|
return lodash_includes__WEBPACK_IMPORTED_MODULE_2___default()(whitelist, role);
|
|
7915
7931
|
}
|
|
7932
|
+
//# sourceMappingURL=data.js.map
|
|
7916
7933
|
|
|
7917
7934
|
/***/ }),
|
|
7918
7935
|
|
|
@@ -7975,8 +7992,6 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
|
|
|
7975
7992
|
|
|
7976
7993
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
7977
7994
|
|
|
7978
|
-
/* eslint-disable func-style */
|
|
7979
|
-
|
|
7980
7995
|
/* eslint-disable no-use-before-define */
|
|
7981
7996
|
|
|
7982
7997
|
|
|
@@ -8016,8 +8031,9 @@ function getDomainPadding(props, axis) {
|
|
|
8016
8031
|
}
|
|
8017
8032
|
|
|
8018
8033
|
function getFlatData(dataset, axis) {
|
|
8034
|
+
var axisKey = "_".concat(axis);
|
|
8019
8035
|
return lodash_flatten__WEBPACK_IMPORTED_MODULE_5___default()(dataset).map(function (datum) {
|
|
8020
|
-
return datum[
|
|
8036
|
+
return datum[axisKey] && datum[axisKey][1] !== undefined ? datum[axisKey][1] : datum[axisKey];
|
|
8021
8037
|
});
|
|
8022
8038
|
}
|
|
8023
8039
|
|
|
@@ -8082,7 +8098,9 @@ function padDomain(domain, props, axis) {
|
|
|
8082
8098
|
if (addsQuadrants && singleQuadrantDomainPadding !== false) {
|
|
8083
8099
|
// Naive initial padding calculation
|
|
8084
8100
|
var initialPadding = {
|
|
8101
|
+
// @ts-expect-error `max/min` might be dates
|
|
8085
8102
|
left: Math.abs(max - min) * padding.left / rangeExtent,
|
|
8103
|
+
// @ts-expect-error `max/min` might be dates
|
|
8086
8104
|
right: Math.abs(max - min) * padding.right / rangeExtent
|
|
8087
8105
|
}; // Adjust the domain by the initial padding
|
|
8088
8106
|
|
|
@@ -8367,6 +8385,7 @@ function isDomainComponent(component) {
|
|
|
8367
8385
|
var whitelist = ["area", "axis", "bar", "boxplot", "candlestick", "errorbar", "group", "histogram", "line", "pie", "scatter", "stack", "voronoi"];
|
|
8368
8386
|
return lodash_includes__WEBPACK_IMPORTED_MODULE_1___default()(whitelist, role);
|
|
8369
8387
|
}
|
|
8388
|
+
//# sourceMappingURL=domain.js.map
|
|
8370
8389
|
|
|
8371
8390
|
/***/ }),
|
|
8372
8391
|
|
|
@@ -8420,8 +8439,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8420
8439
|
|
|
8421
8440
|
|
|
8422
8441
|
|
|
8423
|
-
/* eslint-disable func-style */
|
|
8424
|
-
|
|
8425
8442
|
/* eslint-disable no-use-before-define */
|
|
8426
8443
|
|
|
8427
8444
|
|
|
@@ -8450,7 +8467,7 @@ function getPolarRange(props, axis) {
|
|
|
8450
8467
|
|
|
8451
8468
|
/**
|
|
8452
8469
|
* creates an object with some keys excluded
|
|
8453
|
-
* replacement for lodash.omit for performance. does not
|
|
8470
|
+
* replacement for lodash.omit for performance. does not mimic the entire lodash.omit api
|
|
8454
8471
|
* @param {Object} originalObject: created object will be based on this object
|
|
8455
8472
|
* @param {Array<String>} ks: an array of keys to omit from the new object
|
|
8456
8473
|
* @returns {Object} new object with same properties as originalObject
|
|
@@ -8463,6 +8480,7 @@ function omit(originalObject) {
|
|
|
8463
8480
|
var newObject = {};
|
|
8464
8481
|
|
|
8465
8482
|
for (var key in originalObject) {
|
|
8483
|
+
// @ts-expect-error String is not assignable to Key
|
|
8466
8484
|
if (ks.indexOf(key) >= 0) {
|
|
8467
8485
|
continue;
|
|
8468
8486
|
}
|
|
@@ -8695,7 +8713,9 @@ function reduceChildren(children, iteratee) {
|
|
|
8695
8713
|
var parentProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
8696
8714
|
var initialMemo = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
|
|
8697
8715
|
var combine = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : function (memo, item) {
|
|
8698
|
-
return
|
|
8716
|
+
return (// @ts-expect-error These defaults are hard to type
|
|
8717
|
+
memo.concat(item)
|
|
8718
|
+
);
|
|
8699
8719
|
};
|
|
8700
8720
|
var sharedProps = ["data", "domain", "categories", "polar", "startAngle", "endAngle", "minDomain", "maxDomain", "horizontal"];
|
|
8701
8721
|
|
|
@@ -8739,7 +8759,7 @@ function reduceChildren(children, iteratee) {
|
|
|
8739
8759
|
/**
|
|
8740
8760
|
* @param {Object} props: the props object
|
|
8741
8761
|
* @returns {Boolean} returns true if the props object contains `horizontal: true` of if any
|
|
8742
|
-
* children or nested children are
|
|
8762
|
+
* children or nested children are horizontal
|
|
8743
8763
|
*/
|
|
8744
8764
|
|
|
8745
8765
|
function isHorizontal(props) {
|
|
@@ -8762,6 +8782,7 @@ function isHorizontal(props) {
|
|
|
8762
8782
|
|
|
8763
8783
|
return traverseChildren(react__WEBPACK_IMPORTED_MODULE_6___default().Children.toArray(props.children));
|
|
8764
8784
|
}
|
|
8785
|
+
//# sourceMappingURL=helpers.js.map
|
|
8765
8786
|
|
|
8766
8787
|
/***/ }),
|
|
8767
8788
|
|
|
@@ -8785,7 +8806,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8785
8806
|
/* harmony export */ "isRecord": () => (/* binding */ isRecord),
|
|
8786
8807
|
/* harmony export */ "shallowToJS": () => (/* binding */ shallowToJS)
|
|
8787
8808
|
/* harmony export */ });
|
|
8788
|
-
/* eslint-disable func-style */
|
|
8789
8809
|
var IMMUTABLE_ITERABLE = "@@__IMMUTABLE_ITERABLE__@@";
|
|
8790
8810
|
var IMMUTABLE_RECORD = "@@__IMMUTABLE_RECORD__@@";
|
|
8791
8811
|
var IMMUTABLE_LIST = "@@__IMMUTABLE_LIST__@@";
|
|
@@ -8806,15 +8826,16 @@ function isMap(x) {
|
|
|
8806
8826
|
return !!(x && x[IMMUTABLE_MAP]);
|
|
8807
8827
|
}
|
|
8808
8828
|
function shallowToJS(x, whitelist) {
|
|
8809
|
-
return isIterable(x) ? x.reduce(function (
|
|
8829
|
+
return isIterable(x) ? x.reduce(function (result, curr, key) {
|
|
8810
8830
|
if (whitelist && whitelist[key]) {
|
|
8811
8831
|
curr = shallowToJS(curr);
|
|
8812
8832
|
}
|
|
8813
8833
|
|
|
8814
|
-
|
|
8815
|
-
return
|
|
8834
|
+
result[key] = curr;
|
|
8835
|
+
return result;
|
|
8816
8836
|
}, isList(x) ? [] : {}) : x;
|
|
8817
8837
|
}
|
|
8838
|
+
//# sourceMappingURL=immutable.js.map
|
|
8818
8839
|
|
|
8819
8840
|
/***/ }),
|
|
8820
8841
|
|
|
@@ -8833,7 +8854,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8833
8854
|
|
|
8834
8855
|
/* eslint-disable no-console */
|
|
8835
8856
|
// TODO: Use "warning" npm module like React is switching to.
|
|
8836
|
-
// eslint-disable-next-line func-style
|
|
8837
8857
|
function warn(message) {
|
|
8838
8858
|
if (true) {
|
|
8839
8859
|
if (console && console.warn) {
|
|
@@ -8841,6 +8861,7 @@ function warn(message) {
|
|
|
8841
8861
|
}
|
|
8842
8862
|
}
|
|
8843
8863
|
}
|
|
8864
|
+
//# sourceMappingURL=log.js.map
|
|
8844
8865
|
|
|
8845
8866
|
/***/ }),
|
|
8846
8867
|
|
|
@@ -8868,12 +8889,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8868
8889
|
/* harmony import */ var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__);
|
|
8869
8890
|
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/find */ "../../../node_modules/lodash/find.js");
|
|
8870
8891
|
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_find__WEBPACK_IMPORTED_MODULE_1__);
|
|
8871
|
-
/* harmony import */ var
|
|
8872
|
-
/* harmony import */ var
|
|
8873
|
-
/* harmony import */ var
|
|
8874
|
-
/* harmony import */ var
|
|
8875
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
8876
|
-
|
|
8892
|
+
/* harmony import */ var _log__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./log */ "../../victory-core/es/victory-util/log.js");
|
|
8893
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
8894
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
|
|
8895
|
+
/* harmony import */ var _scale__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./scale */ "../../victory-core/es/victory-util/scale.js");
|
|
8877
8896
|
|
|
8878
8897
|
|
|
8879
8898
|
|
|
@@ -8881,6 +8900,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
8881
8900
|
|
|
8882
8901
|
|
|
8883
8902
|
|
|
8903
|
+
|
|
8904
|
+
|
|
8884
8905
|
/**
|
|
8885
8906
|
* Return a new validator based on `validator` but with the option to chain
|
|
8886
8907
|
* `isRequired` onto the validation. This is nearly identical to how React
|
|
@@ -8888,30 +8909,30 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
8888
8909
|
* @param {Function} validator Validation function.
|
|
8889
8910
|
* @returns {Function} Validator with `isRequired` option.
|
|
8890
8911
|
*/
|
|
8891
|
-
|
|
8892
8912
|
var makeChainable = function (validator) {
|
|
8893
|
-
|
|
8894
|
-
|
|
8895
|
-
|
|
8913
|
+
var createChainable = function (isRequired) {
|
|
8914
|
+
return function (props, propName, componentName) {
|
|
8915
|
+
var value = props[propName];
|
|
8896
8916
|
|
|
8897
|
-
|
|
8898
|
-
|
|
8899
|
-
|
|
8900
|
-
|
|
8917
|
+
if (value === undefined || value === null) {
|
|
8918
|
+
if (isRequired) {
|
|
8919
|
+
return new Error("Required `".concat(propName, "` was not specified in `").concat(componentName, "`."));
|
|
8920
|
+
}
|
|
8901
8921
|
|
|
8902
|
-
|
|
8903
|
-
|
|
8922
|
+
return null;
|
|
8923
|
+
}
|
|
8904
8924
|
|
|
8905
|
-
|
|
8906
|
-
|
|
8907
|
-
|
|
8925
|
+
for (var _len = arguments.length, rest = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {
|
|
8926
|
+
rest[_key - 3] = arguments[_key];
|
|
8927
|
+
}
|
|
8908
8928
|
|
|
8909
|
-
|
|
8929
|
+
return validator.apply(void 0, [props, propName, componentName].concat(rest));
|
|
8930
|
+
};
|
|
8910
8931
|
};
|
|
8911
8932
|
|
|
8912
|
-
var chainable =
|
|
8913
|
-
|
|
8914
|
-
|
|
8933
|
+
var chainable = Object.assign(createChainable(false), {
|
|
8934
|
+
isRequired: createChainable(true)
|
|
8935
|
+
});
|
|
8915
8936
|
return chainable;
|
|
8916
8937
|
};
|
|
8917
8938
|
|
|
@@ -8941,7 +8962,7 @@ var getConstructor = function (value) {
|
|
|
8941
8962
|
};
|
|
8942
8963
|
/**
|
|
8943
8964
|
* Get the name of the constructor used to create `value`, using
|
|
8944
|
-
* `Object.
|
|
8965
|
+
* `Object.prototype.toString`. If the value is null or undefined, return
|
|
8945
8966
|
* "null" or "undefined", respectively.
|
|
8946
8967
|
* @param {*} value Instance to return the constructor name of.
|
|
8947
8968
|
* @returns {String} Name of the constructor.
|
|
@@ -8971,10 +8992,11 @@ function deprecated(propType, explanation) {
|
|
|
8971
8992
|
var value = props[propName];
|
|
8972
8993
|
|
|
8973
8994
|
if (value !== null && value !== undefined) {
|
|
8974
|
-
|
|
8995
|
+
_log__WEBPACK_IMPORTED_MODULE_2__.warn("\"".concat(propName, "\" property of \"").concat(componentName, "\" has been deprecated ").concat(explanation));
|
|
8975
8996
|
}
|
|
8976
8997
|
|
|
8977
|
-
|
|
8998
|
+
prop_types__WEBPACK_IMPORTED_MODULE_3___default().checkPropTypes(_defineProperty({}, propName, propType), props, propName, componentName);
|
|
8999
|
+
return null;
|
|
8978
9000
|
};
|
|
8979
9001
|
}
|
|
8980
9002
|
/**
|
|
@@ -8993,7 +9015,7 @@ function allOfType(validators) {
|
|
|
8993
9015
|
|
|
8994
9016
|
return validators.reduce(function (result, validator) {
|
|
8995
9017
|
return result || validator.apply(void 0, [props, propName, componentName].concat(rest));
|
|
8996
|
-
},
|
|
9018
|
+
}, null);
|
|
8997
9019
|
});
|
|
8998
9020
|
}
|
|
8999
9021
|
/**
|
|
@@ -9007,7 +9029,7 @@ var nonNegative = makeChainable(function (props, propName, componentName) {
|
|
|
9007
9029
|
return new Error("`".concat(propName, "` in `").concat(componentName, "` must be a non-negative number."));
|
|
9008
9030
|
}
|
|
9009
9031
|
|
|
9010
|
-
return
|
|
9032
|
+
return null;
|
|
9011
9033
|
});
|
|
9012
9034
|
/**
|
|
9013
9035
|
* Check that the value is an integer.
|
|
@@ -9020,7 +9042,7 @@ var integer = makeChainable(function (props, propName, componentName) {
|
|
|
9020
9042
|
return new Error("`".concat(propName, "` in `").concat(componentName, "` must be an integer."));
|
|
9021
9043
|
}
|
|
9022
9044
|
|
|
9023
|
-
return
|
|
9045
|
+
return null;
|
|
9024
9046
|
});
|
|
9025
9047
|
/**
|
|
9026
9048
|
* Check that the value is greater than zero.
|
|
@@ -9033,7 +9055,7 @@ var greaterThanZero = makeChainable(function (props, propName, componentName) {
|
|
|
9033
9055
|
return new Error("`".concat(propName, "` in `").concat(componentName, "` must be a number greater than zero."));
|
|
9034
9056
|
}
|
|
9035
9057
|
|
|
9036
|
-
return
|
|
9058
|
+
return null;
|
|
9037
9059
|
});
|
|
9038
9060
|
/**
|
|
9039
9061
|
* Check that the value is an Array of two unique values.
|
|
@@ -9046,32 +9068,20 @@ var domain = makeChainable(function (props, propName, componentName) {
|
|
|
9046
9068
|
return new Error("`".concat(propName, "` in `").concat(componentName, "` must be an array of two unique numeric values."));
|
|
9047
9069
|
}
|
|
9048
9070
|
|
|
9049
|
-
return
|
|
9071
|
+
return null;
|
|
9050
9072
|
});
|
|
9051
9073
|
/**
|
|
9052
9074
|
* Check that the value looks like a d3 `scale` function.
|
|
9053
9075
|
*/
|
|
9054
9076
|
|
|
9055
9077
|
var scale = makeChainable(function (props, propName, componentName) {
|
|
9056
|
-
var supportedScaleStrings = ["linear", "time", "log", "sqrt"];
|
|
9057
|
-
|
|
9058
|
-
var validScale = function (scl) {
|
|
9059
|
-
if (lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(scl)) {
|
|
9060
|
-
return lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(scl.copy) && lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(scl.domain) && lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(scl.range);
|
|
9061
|
-
} else if (typeof scl === "string") {
|
|
9062
|
-
return supportedScaleStrings.indexOf(scl) !== -1;
|
|
9063
|
-
}
|
|
9064
|
-
|
|
9065
|
-
return false;
|
|
9066
|
-
};
|
|
9067
|
-
|
|
9068
9078
|
var value = props[propName];
|
|
9069
9079
|
|
|
9070
|
-
if (!validScale(value)) {
|
|
9080
|
+
if (!_scale__WEBPACK_IMPORTED_MODULE_4__.validScale(value)) {
|
|
9071
9081
|
return new Error("`".concat(propName, "` in `").concat(componentName, "` must be a d3 scale."));
|
|
9072
9082
|
}
|
|
9073
9083
|
|
|
9074
|
-
return
|
|
9084
|
+
return null;
|
|
9075
9085
|
});
|
|
9076
9086
|
/**
|
|
9077
9087
|
* Check that an array contains items of the same type.
|
|
@@ -9085,7 +9095,7 @@ var homogeneousArray = makeChainable(function (props, propName, componentName) {
|
|
|
9085
9095
|
}
|
|
9086
9096
|
|
|
9087
9097
|
if (values.length < 2) {
|
|
9088
|
-
return
|
|
9098
|
+
return null;
|
|
9089
9099
|
}
|
|
9090
9100
|
|
|
9091
9101
|
var comparisonConstructor = getConstructor(values[0]);
|
|
@@ -9100,7 +9110,7 @@ var homogeneousArray = makeChainable(function (props, propName, componentName) {
|
|
|
9100
9110
|
return new Error("Expected `".concat(propName, "` in `").concat(componentName, "` to be a ") + "homogeneous array, but found types `".concat(constructorName, "` and ") + "`".concat(otherConstructorName, "`."));
|
|
9101
9111
|
}
|
|
9102
9112
|
|
|
9103
|
-
return
|
|
9113
|
+
return null;
|
|
9104
9114
|
});
|
|
9105
9115
|
/**
|
|
9106
9116
|
* Check that array prop length matches props.data.length
|
|
@@ -9111,7 +9121,7 @@ var matchDataLength = makeChainable(function (props, propName) {
|
|
|
9111
9121
|
return new Error("Length of data and ".concat(propName, " arrays must match."));
|
|
9112
9122
|
}
|
|
9113
9123
|
|
|
9114
|
-
return
|
|
9124
|
+
return null;
|
|
9115
9125
|
});
|
|
9116
9126
|
/**
|
|
9117
9127
|
* Check that the value is a regular expression
|
|
@@ -9122,8 +9132,9 @@ var regExp = makeChainable(function (props, propName, componentName) {
|
|
|
9122
9132
|
return new Error("`".concat(propName, "` in `").concat(componentName, "` must be a regular expression."));
|
|
9123
9133
|
}
|
|
9124
9134
|
|
|
9125
|
-
return
|
|
9135
|
+
return null;
|
|
9126
9136
|
});
|
|
9137
|
+
//# sourceMappingURL=prop-types.js.map
|
|
9127
9138
|
|
|
9128
9139
|
/***/ }),
|
|
9129
9140
|
|
|
@@ -9141,7 +9152,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9141
9152
|
/* harmony export */ "getScaleFromName": () => (/* binding */ getScaleFromName),
|
|
9142
9153
|
/* harmony export */ "getScaleFromProps": () => (/* binding */ getScaleFromProps),
|
|
9143
9154
|
/* harmony export */ "getScaleType": () => (/* binding */ getScaleType),
|
|
9144
|
-
/* harmony export */ "getType": () => (/* binding */ getType)
|
|
9155
|
+
/* harmony export */ "getType": () => (/* binding */ getType),
|
|
9156
|
+
/* harmony export */ "validScale": () => (/* binding */ validScale)
|
|
9145
9157
|
/* harmony export */ });
|
|
9146
9158
|
/* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isPlainObject */ "../../../node_modules/lodash/isPlainObject.js");
|
|
9147
9159
|
/* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -9159,8 +9171,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9159
9171
|
|
|
9160
9172
|
|
|
9161
9173
|
|
|
9162
|
-
var supportedScaleStrings = ["linear", "time", "log", "sqrt"];
|
|
9174
|
+
var supportedScaleStrings = ["linear", "time", "log", "sqrt"];
|
|
9163
9175
|
|
|
9176
|
+
// Private Functions
|
|
9164
9177
|
function toNewName(scale) {
|
|
9165
9178
|
// d3 scale changed the naming scheme for scale from "linear" -> "scaleLinear" etc.
|
|
9166
9179
|
var capitalize = function (s) {
|
|
@@ -9230,7 +9243,13 @@ function getScaleTypeFromData(props, axis) {
|
|
|
9230
9243
|
|
|
9231
9244
|
|
|
9232
9245
|
function getScaleFromName(name) {
|
|
9233
|
-
|
|
9246
|
+
if (validScale(name)) {
|
|
9247
|
+
var methodName = toNewName(name); // @ts-expect-error scaleTime is not directly compatible with our D3Scale definition
|
|
9248
|
+
|
|
9249
|
+
return victory_vendor_d3_scale__WEBPACK_IMPORTED_MODULE_5__[methodName]();
|
|
9250
|
+
}
|
|
9251
|
+
|
|
9252
|
+
return victory_vendor_d3_scale__WEBPACK_IMPORTED_MODULE_6__["default"]();
|
|
9234
9253
|
}
|
|
9235
9254
|
function getBaseScale(props, axis) {
|
|
9236
9255
|
var scale = getScaleFromProps(props, axis);
|
|
@@ -9240,7 +9259,7 @@ function getBaseScale(props, axis) {
|
|
|
9240
9259
|
}
|
|
9241
9260
|
|
|
9242
9261
|
var defaultScale = getScaleFromDomain(props, axis) || getScaleTypeFromData(props, axis);
|
|
9243
|
-
return
|
|
9262
|
+
return getScaleFromName(defaultScale);
|
|
9244
9263
|
}
|
|
9245
9264
|
function getDefaultScale() {
|
|
9246
9265
|
return victory_vendor_d3_scale__WEBPACK_IMPORTED_MODULE_6__["default"]();
|
|
@@ -9253,7 +9272,7 @@ function getScaleFromProps(props, axis) {
|
|
|
9253
9272
|
var scale = props.scale[axis] || props.scale;
|
|
9254
9273
|
|
|
9255
9274
|
if (validScale(scale)) {
|
|
9256
|
-
return lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(scale) ? scale :
|
|
9275
|
+
return lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(scale) ? scale : getScaleFromName(scale);
|
|
9257
9276
|
}
|
|
9258
9277
|
|
|
9259
9278
|
return undefined;
|
|
@@ -9288,6 +9307,7 @@ function getType(scale) {
|
|
|
9288
9307
|
})[0];
|
|
9289
9308
|
return scaleType ? scaleType.name : undefined;
|
|
9290
9309
|
}
|
|
9310
|
+
//# sourceMappingURL=scale.js.map
|
|
9291
9311
|
|
|
9292
9312
|
/***/ }),
|
|
9293
9313
|
|
|
@@ -9306,12 +9326,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9306
9326
|
/* harmony export */ "getParentSVG": () => (/* binding */ getParentSVG),
|
|
9307
9327
|
/* harmony export */ "getSVGEventCoordinates": () => (/* binding */ getSVGEventCoordinates)
|
|
9308
9328
|
/* harmony export */ });
|
|
9309
|
-
/* harmony import */ var
|
|
9310
|
-
/* eslint-disable func-style */
|
|
9329
|
+
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index */ "../../victory-core/es/victory-util/collection.js");
|
|
9311
9330
|
|
|
9312
|
-
/* eslint-disable no-use-before-define */
|
|
9313
|
-
// Private Functions
|
|
9314
9331
|
|
|
9332
|
+
// Private Functions
|
|
9315
9333
|
function transformTarget(target, matrix, dimension) {
|
|
9316
9334
|
var a = matrix.a,
|
|
9317
9335
|
d = matrix.d,
|
|
@@ -9322,11 +9340,20 @@ function transformTarget(target, matrix, dimension) {
|
|
|
9322
9340
|
|
|
9323
9341
|
function getTransformationMatrix(svg) {
|
|
9324
9342
|
return svg.getScreenCTM().inverse();
|
|
9343
|
+
}
|
|
9344
|
+
|
|
9345
|
+
function isNativeTouchEvent(nativeEvent) {
|
|
9346
|
+
return !!(nativeEvent && nativeEvent.identifier !== undefined);
|
|
9347
|
+
}
|
|
9348
|
+
|
|
9349
|
+
function isReactTouchEvent(evt) {
|
|
9350
|
+
return evt.changedTouches && evt.changedTouches.length > 0;
|
|
9325
9351
|
} // Exported Functions
|
|
9326
9352
|
|
|
9327
9353
|
|
|
9328
9354
|
function getParentSVG(evt) {
|
|
9329
|
-
if (evt.nativeEvent
|
|
9355
|
+
if (isNativeTouchEvent(evt.nativeEvent)) {
|
|
9356
|
+
// @ts-expect-error Seems like a superfluous check.
|
|
9330
9357
|
return undefined;
|
|
9331
9358
|
}
|
|
9332
9359
|
|
|
@@ -9341,7 +9368,7 @@ function getParentSVG(evt) {
|
|
|
9341
9368
|
return getParent(evt.target);
|
|
9342
9369
|
}
|
|
9343
9370
|
function getSVGEventCoordinates(evt, svg) {
|
|
9344
|
-
if (evt.nativeEvent
|
|
9371
|
+
if (isNativeTouchEvent(evt.nativeEvent)) {
|
|
9345
9372
|
// react-native override. relies on the RN.View being the _exact_ same size as its child SVG.
|
|
9346
9373
|
// this should be fine: the svg is the only child of View and the View shirks to its children
|
|
9347
9374
|
return {
|
|
@@ -9350,24 +9377,25 @@ function getSVGEventCoordinates(evt, svg) {
|
|
|
9350
9377
|
};
|
|
9351
9378
|
}
|
|
9352
9379
|
|
|
9353
|
-
|
|
9354
|
-
svg = svg || getParentSVG(
|
|
9380
|
+
var location = isReactTouchEvent(evt) ? evt.changedTouches[0] : evt;
|
|
9381
|
+
svg = svg || getParentSVG(location);
|
|
9355
9382
|
var matrix = getTransformationMatrix(svg);
|
|
9356
9383
|
return {
|
|
9357
|
-
x: transformTarget(
|
|
9358
|
-
y: transformTarget(
|
|
9384
|
+
x: transformTarget(location.clientX, matrix, "x"),
|
|
9385
|
+
y: transformTarget(location.clientY, matrix, "y")
|
|
9359
9386
|
};
|
|
9360
9387
|
}
|
|
9361
9388
|
function getDomainCoordinates(props, domain) {
|
|
9362
|
-
var
|
|
9363
|
-
|
|
9364
|
-
|
|
9389
|
+
var horizontal = props.horizontal;
|
|
9390
|
+
var scale = props.scale; // FIXME: add support for DomainTuple: [number, number]
|
|
9391
|
+
|
|
9392
|
+
var domainObj = domain || {
|
|
9365
9393
|
x: scale.x.domain(),
|
|
9366
9394
|
y: scale.y.domain()
|
|
9367
9395
|
};
|
|
9368
9396
|
return {
|
|
9369
|
-
x: horizontal ? [scale.y(
|
|
9370
|
-
y: horizontal ? [scale.x(
|
|
9397
|
+
x: horizontal ? [scale.y(domainObj.y[0]), scale.y(domainObj.y[1])] : [scale.x(domainObj.x[0]), scale.x(domainObj.x[1])],
|
|
9398
|
+
y: horizontal ? [scale.x(domainObj.x[0]), scale.x(domainObj.x[1])] : [scale.y(domainObj.y[0]), scale.y(domainObj.y[1])]
|
|
9371
9399
|
};
|
|
9372
9400
|
} // eslint-disable-next-line max-params
|
|
9373
9401
|
|
|
@@ -9405,7 +9433,7 @@ function getBounds(props) {
|
|
|
9405
9433
|
var point2 = getDataCoordinates(props, scale, x2, y2);
|
|
9406
9434
|
|
|
9407
9435
|
var makeBound = function (a, b) {
|
|
9408
|
-
return [
|
|
9436
|
+
return [_index__WEBPACK_IMPORTED_MODULE_0__.getMinValue([a, b]), _index__WEBPACK_IMPORTED_MODULE_0__.getMaxValue([a, b])];
|
|
9409
9437
|
};
|
|
9410
9438
|
|
|
9411
9439
|
return {
|
|
@@ -9413,6 +9441,7 @@ function getBounds(props) {
|
|
|
9413
9441
|
y: makeBound(point1.y, point2.y)
|
|
9414
9442
|
};
|
|
9415
9443
|
}
|
|
9444
|
+
//# sourceMappingURL=selection.js.map
|
|
9416
9445
|
|
|
9417
9446
|
/***/ }),
|
|
9418
9447
|
|