victory-stack 36.4.0 → 36.4.1
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-stack.js +414 -328
- package/dist/victory-stack.min.js +1 -1
- package/package.json +6 -6
package/dist/victory-stack.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
exports["VictoryStack"] = factory(require("react"));
|
|
8
8
|
else
|
|
9
9
|
root["VictoryStack"] = factory(root["React"]);
|
|
10
|
-
})(self,
|
|
10
|
+
})(self, (__WEBPACK_EXTERNAL_MODULE_react__) => {
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
@@ -21,9 +21,9 @@ return /******/ (() => { // webpackBootstrap
|
|
|
21
21
|
__webpack_require__.r(__webpack_exports__);
|
|
22
22
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23
23
|
/* harmony export */ "getCalculatedProps": () => (/* binding */ getCalculatedProps),
|
|
24
|
-
/* harmony export */ "useMemoizedProps": () => (/* binding */ useMemoizedProps),
|
|
25
24
|
/* harmony export */ "getChildProps": () => (/* binding */ getChildProps),
|
|
26
|
-
/* harmony export */ "getChildren": () => (/* binding */ getChildren)
|
|
25
|
+
/* harmony export */ "getChildren": () => (/* binding */ getChildren),
|
|
26
|
+
/* harmony export */ "useMemoizedProps": () => (/* binding */ useMemoizedProps)
|
|
27
27
|
/* harmony export */ });
|
|
28
28
|
/* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/orderBy */ "../../../node_modules/lodash/orderBy.js");
|
|
29
29
|
/* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -346,23 +346,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
346
346
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
|
|
347
347
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/assign */ "../../../node_modules/lodash/assign.js");
|
|
348
348
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_2__);
|
|
349
|
-
/* harmony import */ var
|
|
350
|
-
/* harmony import */ var
|
|
351
|
-
/* harmony import */ var
|
|
352
|
-
/* harmony import */ var
|
|
353
|
-
/* harmony import */ var
|
|
354
|
-
/* harmony import */ var
|
|
355
|
-
/* harmony import */ var
|
|
356
|
-
/* harmony import */ var
|
|
357
|
-
/* harmony import */ var
|
|
358
|
-
/* harmony import */ var
|
|
349
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
350
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_13__);
|
|
351
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
|
|
352
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
|
|
353
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/hooks/use-animation-state.js");
|
|
354
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/helpers.js");
|
|
355
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/user-props.js");
|
|
356
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/wrapper.js");
|
|
357
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/hooks/use-previous-props.js");
|
|
358
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/common-props.js");
|
|
359
359
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/prop-types.js");
|
|
360
360
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-container/victory-container.js");
|
|
361
361
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-theme/victory-theme.js");
|
|
362
|
-
/* harmony import */ var
|
|
363
|
-
/* harmony import */ var
|
|
364
|
-
/* harmony import */ var
|
|
365
|
-
/* harmony import */ var
|
|
362
|
+
/* harmony import */ var victory_shared_events__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! victory-shared-events */ "../../victory-shared-events/es/victory-shared-events.js");
|
|
363
|
+
/* harmony import */ var _helper_methods__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./helper-methods */ "./helper-methods.js");
|
|
364
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/react-fast-compare/index.js");
|
|
365
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_4__);
|
|
366
366
|
|
|
367
367
|
|
|
368
368
|
|
|
@@ -389,13 +389,13 @@ var VictoryStack = function (initialProps) {
|
|
|
389
389
|
// eslint-disable-next-line no-use-before-define
|
|
390
390
|
var role = VictoryStackMemo.role;
|
|
391
391
|
|
|
392
|
-
var _Hooks$useAnimationSt =
|
|
392
|
+
var _Hooks$useAnimationSt = victory_core__WEBPACK_IMPORTED_MODULE_5__.useAnimationState(),
|
|
393
393
|
setAnimationState = _Hooks$useAnimationSt.setAnimationState,
|
|
394
394
|
getAnimationProps = _Hooks$useAnimationSt.getAnimationProps,
|
|
395
395
|
getProps = _Hooks$useAnimationSt.getProps;
|
|
396
396
|
|
|
397
397
|
var props = getProps(initialProps);
|
|
398
|
-
var modifiedProps =
|
|
398
|
+
var modifiedProps = victory_core__WEBPACK_IMPORTED_MODULE_6__.modifyProps(props, fallbackProps, role);
|
|
399
399
|
var eventKey = modifiedProps.eventKey,
|
|
400
400
|
containerComponent = modifiedProps.containerComponent,
|
|
401
401
|
standalone = modifiedProps.standalone,
|
|
@@ -407,20 +407,20 @@ var VictoryStack = function (initialProps) {
|
|
|
407
407
|
polar = modifiedProps.polar,
|
|
408
408
|
horizontal = modifiedProps.horizontal,
|
|
409
409
|
name = modifiedProps.name;
|
|
410
|
-
var childComponents =
|
|
411
|
-
var calculatedProps = (0,
|
|
410
|
+
var childComponents = react__WEBPACK_IMPORTED_MODULE_3___default().Children.toArray(modifiedProps.children);
|
|
411
|
+
var calculatedProps = (0,_helper_methods__WEBPACK_IMPORTED_MODULE_7__.useMemoizedProps)(modifiedProps);
|
|
412
412
|
var domain = calculatedProps.domain,
|
|
413
413
|
scale = calculatedProps.scale,
|
|
414
414
|
style = calculatedProps.style,
|
|
415
415
|
origin = calculatedProps.origin;
|
|
416
|
-
var newChildren =
|
|
417
|
-
var children = (0,
|
|
416
|
+
var newChildren = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {
|
|
417
|
+
var children = (0,_helper_methods__WEBPACK_IMPORTED_MODULE_7__.getChildren)(props, childComponents, calculatedProps);
|
|
418
418
|
var orderedChildren = children.map(function (child, index) {
|
|
419
419
|
var childProps = lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({
|
|
420
420
|
animate: getAnimationProps(props, child, index, "victory-stack")
|
|
421
421
|
}, child.props);
|
|
422
422
|
|
|
423
|
-
return /*#__PURE__*/
|
|
423
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(child, childProps);
|
|
424
424
|
});
|
|
425
425
|
/*
|
|
426
426
|
reverse render order for children of `VictoryStack` so that higher children in the stack
|
|
@@ -430,7 +430,7 @@ var VictoryStack = function (initialProps) {
|
|
|
430
430
|
|
|
431
431
|
return orderedChildren.reverse();
|
|
432
432
|
}, [props, childComponents, calculatedProps, getAnimationProps]);
|
|
433
|
-
var containerProps =
|
|
433
|
+
var containerProps = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {
|
|
434
434
|
if (standalone) {
|
|
435
435
|
return {
|
|
436
436
|
domain: domain,
|
|
@@ -449,23 +449,23 @@ var VictoryStack = function (initialProps) {
|
|
|
449
449
|
|
|
450
450
|
return {};
|
|
451
451
|
}, [standalone, domain, scale, width, height, theme, style, horizontal, polar, origin, name]);
|
|
452
|
-
var userProps =
|
|
453
|
-
return
|
|
452
|
+
var userProps = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {
|
|
453
|
+
return victory_core__WEBPACK_IMPORTED_MODULE_8__.getSafeUserProps(initialProps);
|
|
454
454
|
}, [initialProps]);
|
|
455
|
-
var container =
|
|
455
|
+
var container = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {
|
|
456
456
|
if (standalone) {
|
|
457
457
|
var defaultContainerProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, containerComponent.props, containerProps, userProps);
|
|
458
458
|
|
|
459
|
-
return /*#__PURE__*/
|
|
459
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(containerComponent, defaultContainerProps);
|
|
460
460
|
}
|
|
461
461
|
|
|
462
|
-
return /*#__PURE__*/
|
|
462
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(groupComponent, userProps);
|
|
463
463
|
}, [groupComponent, standalone, containerComponent, containerProps, userProps]);
|
|
464
|
-
var events =
|
|
465
|
-
return
|
|
464
|
+
var events = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {
|
|
465
|
+
return victory_core__WEBPACK_IMPORTED_MODULE_9__.getAllEvents(props);
|
|
466
466
|
}, [props]);
|
|
467
|
-
var previousProps =
|
|
468
|
-
|
|
467
|
+
var previousProps = victory_core__WEBPACK_IMPORTED_MODULE_10__.usePreviousProps(initialProps);
|
|
468
|
+
react__WEBPACK_IMPORTED_MODULE_3___default().useEffect(function () {
|
|
469
469
|
// This is called before dismount to keep state in sync
|
|
470
470
|
return function () {
|
|
471
471
|
if (initialProps.animate) {
|
|
@@ -475,7 +475,7 @@ var VictoryStack = function (initialProps) {
|
|
|
475
475
|
}, [setAnimationState, previousProps, initialProps]);
|
|
476
476
|
|
|
477
477
|
if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(events)) {
|
|
478
|
-
return /*#__PURE__*/
|
|
478
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(victory_shared_events__WEBPACK_IMPORTED_MODULE_11__["default"], {
|
|
479
479
|
container: container,
|
|
480
480
|
eventKey: eventKey,
|
|
481
481
|
events: events,
|
|
@@ -483,40 +483,40 @@ var VictoryStack = function (initialProps) {
|
|
|
483
483
|
}, newChildren);
|
|
484
484
|
}
|
|
485
485
|
|
|
486
|
-
return /*#__PURE__*/
|
|
486
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(container, container.props, newChildren);
|
|
487
487
|
};
|
|
488
488
|
|
|
489
|
-
VictoryStack.propTypes = _objectSpread(_objectSpread({},
|
|
490
|
-
bins:
|
|
491
|
-
categories:
|
|
492
|
-
x:
|
|
493
|
-
y:
|
|
489
|
+
VictoryStack.propTypes = _objectSpread(_objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_12__.baseProps), {}, {
|
|
490
|
+
bins: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_13___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([victory_core__WEBPACK_IMPORTED_MODULE_14__.nonNegative, prop_types__WEBPACK_IMPORTED_MODULE_13___default().instanceOf(Date)])), victory_core__WEBPACK_IMPORTED_MODULE_14__.nonNegative]),
|
|
491
|
+
categories: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_13___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_13___default().string)), prop_types__WEBPACK_IMPORTED_MODULE_13___default().shape({
|
|
492
|
+
x: prop_types__WEBPACK_IMPORTED_MODULE_13___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_13___default().string)),
|
|
493
|
+
y: prop_types__WEBPACK_IMPORTED_MODULE_13___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_13___default().string))
|
|
494
494
|
})]),
|
|
495
|
-
children:
|
|
496
|
-
colorScale:
|
|
497
|
-
fillInMissingData: (
|
|
498
|
-
horizontal: (
|
|
499
|
-
labelComponent: (
|
|
500
|
-
labels:
|
|
501
|
-
style:
|
|
502
|
-
parent: (
|
|
503
|
-
data: (
|
|
504
|
-
labels: (
|
|
495
|
+
children: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_13___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_13___default().node)), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().node)]),
|
|
496
|
+
colorScale: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_13___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_13___default().string)), prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOf(["grayscale", "qualitative", "heatmap", "warm", "cool", "red", "green", "blue"])]),
|
|
497
|
+
fillInMissingData: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().bool),
|
|
498
|
+
horizontal: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().bool),
|
|
499
|
+
labelComponent: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().element),
|
|
500
|
+
labels: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_13___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().array)]),
|
|
501
|
+
style: prop_types__WEBPACK_IMPORTED_MODULE_13___default().shape({
|
|
502
|
+
parent: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().object),
|
|
503
|
+
data: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().object),
|
|
504
|
+
labels: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().object)
|
|
505
505
|
}),
|
|
506
|
-
xOffset: (
|
|
506
|
+
xOffset: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().number)
|
|
507
507
|
});
|
|
508
508
|
VictoryStack.defaultProps = {
|
|
509
|
-
containerComponent: /*#__PURE__*/
|
|
510
|
-
groupComponent: /*#__PURE__*/
|
|
509
|
+
containerComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_15__["default"], null),
|
|
510
|
+
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("g", null),
|
|
511
511
|
standalone: true,
|
|
512
512
|
theme: victory_core__WEBPACK_IMPORTED_MODULE_16__["default"].grayscale,
|
|
513
513
|
fillInMissingData: true
|
|
514
514
|
};
|
|
515
|
-
var VictoryStackMemo = /*#__PURE__*/
|
|
515
|
+
var VictoryStackMemo = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().memo(VictoryStack, (react_fast_compare__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
516
516
|
VictoryStackMemo.displayName = "VictoryStack";
|
|
517
517
|
VictoryStackMemo.role = "stack";
|
|
518
518
|
VictoryStackMemo.expectedComponents = ["groupComponent", "containerComponent", "labelComponent"];
|
|
519
|
-
VictoryStackMemo.getChildren =
|
|
519
|
+
VictoryStackMemo.getChildren = _helper_methods__WEBPACK_IMPORTED_MODULE_7__.getChildren;
|
|
520
520
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (VictoryStackMemo);
|
|
521
521
|
|
|
522
522
|
/***/ }),
|
|
@@ -6415,7 +6415,7 @@ var printWarning = function() {};
|
|
|
6415
6415
|
if (true) {
|
|
6416
6416
|
var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../../node_modules/prop-types/lib/ReactPropTypesSecret.js");
|
|
6417
6417
|
var loggedTypeFailures = {};
|
|
6418
|
-
var has =
|
|
6418
|
+
var has = __webpack_require__(/*! ./lib/has */ "../../../node_modules/prop-types/lib/has.js");
|
|
6419
6419
|
|
|
6420
6420
|
printWarning = function(text) {
|
|
6421
6421
|
var message = 'Warning: ' + text;
|
|
@@ -6427,7 +6427,7 @@ if (true) {
|
|
|
6427
6427
|
// This error was thrown as a convenience so that you can use this stack
|
|
6428
6428
|
// to find the callsite that caused this warning to fire.
|
|
6429
6429
|
throw new Error(message);
|
|
6430
|
-
} catch (x) {}
|
|
6430
|
+
} catch (x) { /**/ }
|
|
6431
6431
|
};
|
|
6432
6432
|
}
|
|
6433
6433
|
|
|
@@ -6456,7 +6456,8 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
|
6456
6456
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
6457
6457
|
var err = Error(
|
|
6458
6458
|
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
6459
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
6459
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
6460
|
+
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
6460
6461
|
);
|
|
6461
6462
|
err.name = 'Invariant Violation';
|
|
6462
6463
|
throw err;
|
|
@@ -6527,9 +6528,9 @@ var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/react-i
|
|
|
6527
6528
|
var assign = __webpack_require__(/*! object-assign */ "../../../node_modules/object-assign/index.js");
|
|
6528
6529
|
|
|
6529
6530
|
var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../../node_modules/prop-types/lib/ReactPropTypesSecret.js");
|
|
6531
|
+
var has = __webpack_require__(/*! ./lib/has */ "../../../node_modules/prop-types/lib/has.js");
|
|
6530
6532
|
var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "../../../node_modules/prop-types/checkPropTypes.js");
|
|
6531
6533
|
|
|
6532
|
-
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
6533
6534
|
var printWarning = function() {};
|
|
6534
6535
|
|
|
6535
6536
|
if (true) {
|
|
@@ -6630,6 +6631,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6630
6631
|
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
6631
6632
|
var ReactPropTypes = {
|
|
6632
6633
|
array: createPrimitiveTypeChecker('array'),
|
|
6634
|
+
bigint: createPrimitiveTypeChecker('bigint'),
|
|
6633
6635
|
bool: createPrimitiveTypeChecker('boolean'),
|
|
6634
6636
|
func: createPrimitiveTypeChecker('function'),
|
|
6635
6637
|
number: createPrimitiveTypeChecker('number'),
|
|
@@ -6675,8 +6677,9 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6675
6677
|
* is prohibitively expensive if they are created too often, such as what
|
|
6676
6678
|
* happens in oneOfType() for any type before the one that matched.
|
|
6677
6679
|
*/
|
|
6678
|
-
function PropTypeError(message) {
|
|
6680
|
+
function PropTypeError(message, data) {
|
|
6679
6681
|
this.message = message;
|
|
6682
|
+
this.data = data && typeof data === 'object' ? data: {};
|
|
6680
6683
|
this.stack = '';
|
|
6681
6684
|
}
|
|
6682
6685
|
// Make `instanceof Error` still work for returned errors.
|
|
@@ -6711,7 +6714,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6711
6714
|
) {
|
|
6712
6715
|
printWarning(
|
|
6713
6716
|
'You are manually calling a React.PropTypes validation ' +
|
|
6714
|
-
'function for the `' + propFullName + '` prop on `' + componentName
|
|
6717
|
+
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
6715
6718
|
'and will throw in the standalone `prop-types` package. ' +
|
|
6716
6719
|
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
6717
6720
|
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
@@ -6750,7 +6753,10 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6750
6753
|
// 'of type `object`'.
|
|
6751
6754
|
var preciseType = getPreciseType(propValue);
|
|
6752
6755
|
|
|
6753
|
-
return new PropTypeError(
|
|
6756
|
+
return new PropTypeError(
|
|
6757
|
+
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
6758
|
+
{expectedType: expectedType}
|
|
6759
|
+
);
|
|
6754
6760
|
}
|
|
6755
6761
|
return null;
|
|
6756
6762
|
}
|
|
@@ -6894,14 +6900,19 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6894
6900
|
}
|
|
6895
6901
|
|
|
6896
6902
|
function validate(props, propName, componentName, location, propFullName) {
|
|
6903
|
+
var expectedTypes = [];
|
|
6897
6904
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
6898
6905
|
var checker = arrayOfTypeCheckers[i];
|
|
6899
|
-
|
|
6906
|
+
var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
|
6907
|
+
if (checkerResult == null) {
|
|
6900
6908
|
return null;
|
|
6901
6909
|
}
|
|
6910
|
+
if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
|
|
6911
|
+
expectedTypes.push(checkerResult.data.expectedType);
|
|
6912
|
+
}
|
|
6902
6913
|
}
|
|
6903
|
-
|
|
6904
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '
|
|
6914
|
+
var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
|
|
6915
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
|
|
6905
6916
|
}
|
|
6906
6917
|
return createChainableTypeChecker(validate);
|
|
6907
6918
|
}
|
|
@@ -6916,6 +6927,13 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6916
6927
|
return createChainableTypeChecker(validate);
|
|
6917
6928
|
}
|
|
6918
6929
|
|
|
6930
|
+
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
6931
|
+
return new PropTypeError(
|
|
6932
|
+
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
6933
|
+
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
6934
|
+
);
|
|
6935
|
+
}
|
|
6936
|
+
|
|
6919
6937
|
function createShapeTypeChecker(shapeTypes) {
|
|
6920
6938
|
function validate(props, propName, componentName, location, propFullName) {
|
|
6921
6939
|
var propValue = props[propName];
|
|
@@ -6925,8 +6943,8 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6925
6943
|
}
|
|
6926
6944
|
for (var key in shapeTypes) {
|
|
6927
6945
|
var checker = shapeTypes[key];
|
|
6928
|
-
if (
|
|
6929
|
-
|
|
6946
|
+
if (typeof checker !== 'function') {
|
|
6947
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
6930
6948
|
}
|
|
6931
6949
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
6932
6950
|
if (error) {
|
|
@@ -6945,16 +6963,18 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6945
6963
|
if (propType !== 'object') {
|
|
6946
6964
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
6947
6965
|
}
|
|
6948
|
-
// We need to check all keys in case some are required but missing from
|
|
6949
|
-
// props.
|
|
6966
|
+
// We need to check all keys in case some are required but missing from props.
|
|
6950
6967
|
var allKeys = assign({}, props[propName], shapeTypes);
|
|
6951
6968
|
for (var key in allKeys) {
|
|
6952
6969
|
var checker = shapeTypes[key];
|
|
6970
|
+
if (has(shapeTypes, key) && typeof checker !== 'function') {
|
|
6971
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
6972
|
+
}
|
|
6953
6973
|
if (!checker) {
|
|
6954
6974
|
return new PropTypeError(
|
|
6955
6975
|
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
6956
6976
|
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
6957
|
-
'\nValid keys: ' +
|
|
6977
|
+
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
6958
6978
|
);
|
|
6959
6979
|
}
|
|
6960
6980
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
@@ -7155,6 +7175,17 @@ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
|
7155
7175
|
module.exports = ReactPropTypesSecret;
|
|
7156
7176
|
|
|
7157
7177
|
|
|
7178
|
+
/***/ }),
|
|
7179
|
+
|
|
7180
|
+
/***/ "../../../node_modules/prop-types/lib/has.js":
|
|
7181
|
+
/*!***************************************************!*\
|
|
7182
|
+
!*** ../../../node_modules/prop-types/lib/has.js ***!
|
|
7183
|
+
\***************************************************/
|
|
7184
|
+
/***/ ((module) => {
|
|
7185
|
+
|
|
7186
|
+
module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
7187
|
+
|
|
7188
|
+
|
|
7158
7189
|
/***/ }),
|
|
7159
7190
|
|
|
7160
7191
|
/***/ "../../../node_modules/react-fast-compare/index.js":
|
|
@@ -7163,26 +7194,24 @@ module.exports = ReactPropTypesSecret;
|
|
|
7163
7194
|
\*********************************************************/
|
|
7164
7195
|
/***/ ((module) => {
|
|
7165
7196
|
|
|
7166
|
-
|
|
7197
|
+
/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */
|
|
7167
7198
|
|
|
7168
|
-
|
|
7169
|
-
var isArray = Array.isArray;
|
|
7170
|
-
var keyList = Object.keys;
|
|
7171
|
-
var hasProp = Object.prototype.hasOwnProperty;
|
|
7172
7199
|
var hasElementType = typeof Element !== 'undefined';
|
|
7200
|
+
var hasMap = typeof Map === 'function';
|
|
7201
|
+
var hasSet = typeof Set === 'function';
|
|
7202
|
+
var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;
|
|
7203
|
+
|
|
7204
|
+
// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js
|
|
7173
7205
|
|
|
7174
7206
|
function equal(a, b) {
|
|
7175
|
-
// fast-deep-equal index.js
|
|
7207
|
+
// START: fast-deep-equal es6/index.js 3.1.1
|
|
7176
7208
|
if (a === b) return true;
|
|
7177
7209
|
|
|
7178
7210
|
if (a && b && typeof a == 'object' && typeof b == 'object') {
|
|
7179
|
-
|
|
7180
|
-
, arrB = isArray(b)
|
|
7181
|
-
, i
|
|
7182
|
-
, length
|
|
7183
|
-
, key;
|
|
7211
|
+
if (a.constructor !== b.constructor) return false;
|
|
7184
7212
|
|
|
7185
|
-
|
|
7213
|
+
var length, i, keys;
|
|
7214
|
+
if (Array.isArray(a)) {
|
|
7186
7215
|
length = a.length;
|
|
7187
7216
|
if (length != b.length) return false;
|
|
7188
7217
|
for (i = length; i-- !== 0;)
|
|
@@ -7190,50 +7219,91 @@ function equal(a, b) {
|
|
|
7190
7219
|
return true;
|
|
7191
7220
|
}
|
|
7192
7221
|
|
|
7193
|
-
|
|
7222
|
+
// START: Modifications:
|
|
7223
|
+
// 1. Extra `has<Type> &&` helpers in initial condition allow es6 code
|
|
7224
|
+
// to co-exist with es5.
|
|
7225
|
+
// 2. Replace `for of` with es5 compliant iteration using `for`.
|
|
7226
|
+
// Basically, take:
|
|
7227
|
+
//
|
|
7228
|
+
// ```js
|
|
7229
|
+
// for (i of a.entries())
|
|
7230
|
+
// if (!b.has(i[0])) return false;
|
|
7231
|
+
// ```
|
|
7232
|
+
//
|
|
7233
|
+
// ... and convert to:
|
|
7234
|
+
//
|
|
7235
|
+
// ```js
|
|
7236
|
+
// it = a.entries();
|
|
7237
|
+
// while (!(i = it.next()).done)
|
|
7238
|
+
// if (!b.has(i.value[0])) return false;
|
|
7239
|
+
// ```
|
|
7240
|
+
//
|
|
7241
|
+
// **Note**: `i` access switches to `i.value`.
|
|
7242
|
+
var it;
|
|
7243
|
+
if (hasMap && (a instanceof Map) && (b instanceof Map)) {
|
|
7244
|
+
if (a.size !== b.size) return false;
|
|
7245
|
+
it = a.entries();
|
|
7246
|
+
while (!(i = it.next()).done)
|
|
7247
|
+
if (!b.has(i.value[0])) return false;
|
|
7248
|
+
it = a.entries();
|
|
7249
|
+
while (!(i = it.next()).done)
|
|
7250
|
+
if (!equal(i.value[1], b.get(i.value[0]))) return false;
|
|
7251
|
+
return true;
|
|
7252
|
+
}
|
|
7194
7253
|
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7254
|
+
if (hasSet && (a instanceof Set) && (b instanceof Set)) {
|
|
7255
|
+
if (a.size !== b.size) return false;
|
|
7256
|
+
it = a.entries();
|
|
7257
|
+
while (!(i = it.next()).done)
|
|
7258
|
+
if (!b.has(i.value[0])) return false;
|
|
7259
|
+
return true;
|
|
7260
|
+
}
|
|
7261
|
+
// END: Modifications
|
|
7262
|
+
|
|
7263
|
+
if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
|
|
7264
|
+
length = a.length;
|
|
7265
|
+
if (length != b.length) return false;
|
|
7266
|
+
for (i = length; i-- !== 0;)
|
|
7267
|
+
if (a[i] !== b[i]) return false;
|
|
7268
|
+
return true;
|
|
7269
|
+
}
|
|
7199
7270
|
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
if (
|
|
7203
|
-
if (regexpA && regexpB) return a.toString() == b.toString();
|
|
7271
|
+
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
|
|
7272
|
+
if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
|
|
7273
|
+
if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
|
|
7204
7274
|
|
|
7205
|
-
|
|
7275
|
+
keys = Object.keys(a);
|
|
7206
7276
|
length = keys.length;
|
|
7207
|
-
|
|
7208
|
-
if (length !== keyList(b).length)
|
|
7209
|
-
return false;
|
|
7277
|
+
if (length !== Object.keys(b).length) return false;
|
|
7210
7278
|
|
|
7211
7279
|
for (i = length; i-- !== 0;)
|
|
7212
|
-
if (!
|
|
7213
|
-
//
|
|
7280
|
+
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
7281
|
+
// END: fast-deep-equal
|
|
7214
7282
|
|
|
7215
|
-
//
|
|
7283
|
+
// START: react-fast-compare
|
|
7216
7284
|
// custom handling for DOM elements
|
|
7217
|
-
if (hasElementType && a instanceof Element
|
|
7218
|
-
return a === b;
|
|
7285
|
+
if (hasElementType && a instanceof Element) return false;
|
|
7219
7286
|
|
|
7220
|
-
// custom handling for React
|
|
7287
|
+
// custom handling for React/Preact
|
|
7221
7288
|
for (i = length; i-- !== 0;) {
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
//
|
|
7225
|
-
//
|
|
7226
|
-
//
|
|
7227
|
-
//
|
|
7289
|
+
if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {
|
|
7290
|
+
// React-specific: avoid traversing React elements' _owner
|
|
7291
|
+
// Preact-specific: avoid traversing Preact elements' __v and __o
|
|
7292
|
+
// __v = $_original / $_vnode
|
|
7293
|
+
// __o = $_owner
|
|
7294
|
+
// These properties contain circular references and are not needed when
|
|
7295
|
+
// comparing the actual elements (and not their owners)
|
|
7296
|
+
// .$$typeof and ._store on just reasonable markers of elements
|
|
7297
|
+
|
|
7228
7298
|
continue;
|
|
7229
|
-
} else {
|
|
7230
|
-
// all other properties should be traversed as usual
|
|
7231
|
-
if (!equal(a[key], b[key])) return false;
|
|
7232
7299
|
}
|
|
7300
|
+
|
|
7301
|
+
// all other properties should be traversed as usual
|
|
7302
|
+
if (!equal(a[keys[i]], b[keys[i]])) return false;
|
|
7233
7303
|
}
|
|
7234
|
-
//
|
|
7304
|
+
// END: react-fast-compare
|
|
7235
7305
|
|
|
7236
|
-
// fast-deep-equal
|
|
7306
|
+
// START: fast-deep-equal
|
|
7237
7307
|
return true;
|
|
7238
7308
|
}
|
|
7239
7309
|
|
|
@@ -7241,17 +7311,17 @@ function equal(a, b) {
|
|
|
7241
7311
|
}
|
|
7242
7312
|
// end fast-deep-equal
|
|
7243
7313
|
|
|
7244
|
-
module.exports = function
|
|
7314
|
+
module.exports = function isEqual(a, b) {
|
|
7245
7315
|
try {
|
|
7246
7316
|
return equal(a, b);
|
|
7247
7317
|
} catch (error) {
|
|
7248
|
-
if ((error.message
|
|
7318
|
+
if (((error.message || '').match(/stack|recursion/i))) {
|
|
7249
7319
|
// warn on circular references, don't crash
|
|
7250
7320
|
// browsers give this different errors name and messages:
|
|
7251
7321
|
// chrome/safari: "RangeError", "Maximum call stack size exceeded"
|
|
7252
7322
|
// firefox: "InternalError", too much recursion"
|
|
7253
7323
|
// edge: "Error", "Out of stack space"
|
|
7254
|
-
console.warn('
|
|
7324
|
+
console.warn('react-fast-compare cannot handle circular refs');
|
|
7255
7325
|
return false;
|
|
7256
7326
|
}
|
|
7257
7327
|
// some other error. we should definitely know about these
|
|
@@ -7493,14 +7563,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7493
7563
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_4__);
|
|
7494
7564
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "react");
|
|
7495
7565
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
|
|
7496
|
-
/* harmony import */ var
|
|
7497
|
-
/* harmony import */ var
|
|
7566
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
7567
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_9__);
|
|
7498
7568
|
/* harmony import */ var _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../victory-util/prop-types */ "../../victory-core/es/victory-util/prop-types.js");
|
|
7499
7569
|
/* harmony import */ var _victory_portal_portal__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../victory-portal/portal */ "../../victory-core/es/victory-portal/portal.js");
|
|
7500
|
-
/* harmony import */ var
|
|
7570
|
+
/* harmony import */ var _victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../victory-portal/portal-context */ "../../victory-core/es/victory-portal/portal-context.js");
|
|
7501
7571
|
/* harmony import */ var _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../victory-util/timer-context */ "../../victory-core/es/victory-util/timer-context.js");
|
|
7502
|
-
/* harmony import */ var
|
|
7503
|
-
/* harmony import */ var
|
|
7572
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
7573
|
+
/* harmony import */ var _victory_util_user_props__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../victory-util/user-props */ "../../victory-core/es/victory-util/user-props.js");
|
|
7504
7574
|
|
|
7505
7575
|
|
|
7506
7576
|
|
|
@@ -7678,7 +7748,7 @@ var VictoryContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
7678
7748
|
preserveAspectRatio: svgProps.preserveAspectRatio,
|
|
7679
7749
|
style: portalSvgStyle
|
|
7680
7750
|
};
|
|
7681
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(
|
|
7751
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_6__["default"].Provider, {
|
|
7682
7752
|
value: {
|
|
7683
7753
|
portalUpdate: this.portalUpdate,
|
|
7684
7754
|
portalRegister: this.portalRegister,
|
|
@@ -7713,8 +7783,8 @@ var VictoryContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
7713
7783
|
tabIndex = _this$props.tabIndex,
|
|
7714
7784
|
preserveAspectRatio = _this$props.preserveAspectRatio,
|
|
7715
7785
|
role = _this$props.role;
|
|
7716
|
-
var style = responsive ? this.props.style :
|
|
7717
|
-
var userProps =
|
|
7786
|
+
var style = responsive ? this.props.style : _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__.omit(this.props.style, ["height", "width"]);
|
|
7787
|
+
var userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_8__.getSafeUserProps(this.props);
|
|
7718
7788
|
|
|
7719
7789
|
var svgProps = lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()(_objectSpread({
|
|
7720
7790
|
width: width,
|
|
@@ -7739,33 +7809,33 @@ _defineProperty(VictoryContainer, "displayName", "VictoryContainer");
|
|
|
7739
7809
|
_defineProperty(VictoryContainer, "role", "container");
|
|
7740
7810
|
|
|
7741
7811
|
_defineProperty(VictoryContainer, "propTypes", {
|
|
7742
|
-
"aria-describedby": (
|
|
7743
|
-
"aria-labelledby": (
|
|
7744
|
-
children:
|
|
7745
|
-
className: (
|
|
7746
|
-
containerId:
|
|
7747
|
-
containerRef: (
|
|
7748
|
-
desc: (
|
|
7749
|
-
events: (
|
|
7812
|
+
"aria-describedby": (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7813
|
+
"aria-labelledby": (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7814
|
+
children: prop_types__WEBPACK_IMPORTED_MODULE_9___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_9___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_9___default().node)), (prop_types__WEBPACK_IMPORTED_MODULE_9___default().node)]),
|
|
7815
|
+
className: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7816
|
+
containerId: prop_types__WEBPACK_IMPORTED_MODULE_9___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_9___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string)]),
|
|
7817
|
+
containerRef: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().func),
|
|
7818
|
+
desc: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7819
|
+
events: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object),
|
|
7750
7820
|
height: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative,
|
|
7751
|
-
name: (
|
|
7752
|
-
origin:
|
|
7821
|
+
name: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7822
|
+
origin: prop_types__WEBPACK_IMPORTED_MODULE_9___default().shape({
|
|
7753
7823
|
x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative,
|
|
7754
7824
|
y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative
|
|
7755
7825
|
}),
|
|
7756
|
-
ouiaId:
|
|
7757
|
-
ouiaSafe: (
|
|
7758
|
-
ouiaType: (
|
|
7759
|
-
polar: (
|
|
7760
|
-
portalComponent: (
|
|
7826
|
+
ouiaId: prop_types__WEBPACK_IMPORTED_MODULE_9___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_9___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string)]),
|
|
7827
|
+
ouiaSafe: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
|
|
7828
|
+
ouiaType: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7829
|
+
polar: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
|
|
7830
|
+
portalComponent: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().element),
|
|
7761
7831
|
portalZIndex: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.integer,
|
|
7762
|
-
preserveAspectRatio: (
|
|
7763
|
-
responsive: (
|
|
7764
|
-
role: (
|
|
7765
|
-
style: (
|
|
7766
|
-
tabIndex: (
|
|
7767
|
-
theme: (
|
|
7768
|
-
title: (
|
|
7832
|
+
preserveAspectRatio: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7833
|
+
responsive: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
|
|
7834
|
+
role: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7835
|
+
style: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object),
|
|
7836
|
+
tabIndex: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().number),
|
|
7837
|
+
theme: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object),
|
|
7838
|
+
title: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7769
7839
|
width: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative
|
|
7770
7840
|
});
|
|
7771
7841
|
|
|
@@ -8535,19 +8605,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8535
8605
|
"use strict";
|
|
8536
8606
|
__webpack_require__.r(__webpack_exports__);
|
|
8537
8607
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8538
|
-
/* harmony export */ "getAxis": () => (/* binding */ getAxis),
|
|
8539
8608
|
/* harmony export */ "findAxisComponents": () => (/* binding */ findAxisComponents),
|
|
8609
|
+
/* harmony export */ "getAxis": () => (/* binding */ getAxis),
|
|
8540
8610
|
/* harmony export */ "getAxisComponent": () => (/* binding */ getAxisComponent),
|
|
8541
8611
|
/* harmony export */ "getAxisComponentsWithParent": () => (/* binding */ getAxisComponentsWithParent),
|
|
8612
|
+
/* harmony export */ "getAxisValue": () => (/* binding */ getAxisValue),
|
|
8613
|
+
/* harmony export */ "getDomain": () => (/* binding */ getDomain),
|
|
8542
8614
|
/* harmony export */ "getOrigin": () => (/* binding */ getOrigin),
|
|
8543
8615
|
/* harmony export */ "getOriginSign": () => (/* binding */ getOriginSign),
|
|
8544
|
-
/* harmony export */ "isVertical": () => (/* binding */ isVertical),
|
|
8545
|
-
/* harmony export */ "stringTicks": () => (/* binding */ stringTicks),
|
|
8546
8616
|
/* harmony export */ "getTickFormat": () => (/* binding */ getTickFormat),
|
|
8547
8617
|
/* harmony export */ "getTicks": () => (/* binding */ getTicks),
|
|
8548
|
-
/* harmony export */ "
|
|
8549
|
-
/* harmony export */ "
|
|
8550
|
-
/* harmony export */ "
|
|
8618
|
+
/* harmony export */ "isVertical": () => (/* binding */ isVertical),
|
|
8619
|
+
/* harmony export */ "modifyProps": () => (/* binding */ modifyProps),
|
|
8620
|
+
/* harmony export */ "stringTicks": () => (/* binding */ stringTicks)
|
|
8551
8621
|
/* harmony export */ });
|
|
8552
8622
|
/* harmony import */ var lodash_without__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/without */ "../../../node_modules/lodash/without.js");
|
|
8553
8623
|
/* harmony import */ var lodash_without__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_without__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -9018,14 +9088,14 @@ function modifyProps(props, fallbackProps) {
|
|
|
9018
9088
|
"use strict";
|
|
9019
9089
|
__webpack_require__.r(__webpack_exports__);
|
|
9020
9090
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9021
|
-
/* harmony export */ "containsStrings": () => (/* binding */ containsStrings),
|
|
9022
9091
|
/* harmony export */ "containsDates": () => (/* binding */ containsDates),
|
|
9023
9092
|
/* harmony export */ "containsNumbers": () => (/* binding */ containsNumbers),
|
|
9024
9093
|
/* harmony export */ "containsOnlyStrings": () => (/* binding */ containsOnlyStrings),
|
|
9025
|
-
/* harmony export */ "
|
|
9026
|
-
/* harmony export */ "removeUndefined": () => (/* binding */ removeUndefined),
|
|
9094
|
+
/* harmony export */ "containsStrings": () => (/* binding */ containsStrings),
|
|
9027
9095
|
/* harmony export */ "getMaxValue": () => (/* binding */ getMaxValue),
|
|
9028
|
-
/* harmony export */ "getMinValue": () => (/* binding */ getMinValue)
|
|
9096
|
+
/* harmony export */ "getMinValue": () => (/* binding */ getMinValue),
|
|
9097
|
+
/* harmony export */ "isArrayOfArrays": () => (/* binding */ isArrayOfArrays),
|
|
9098
|
+
/* harmony export */ "removeUndefined": () => (/* binding */ removeUndefined)
|
|
9029
9099
|
/* harmony export */ });
|
|
9030
9100
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
9031
9101
|
|
|
@@ -9102,8 +9172,8 @@ function getMinValue(arr) {
|
|
|
9102
9172
|
"use strict";
|
|
9103
9173
|
__webpack_require__.r(__webpack_exports__);
|
|
9104
9174
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9105
|
-
/* harmony export */ "dataProps": () => (/* binding */ dataProps),
|
|
9106
9175
|
/* harmony export */ "baseProps": () => (/* binding */ baseProps),
|
|
9176
|
+
/* harmony export */ "dataProps": () => (/* binding */ dataProps),
|
|
9107
9177
|
/* harmony export */ "primitiveProps": () => (/* binding */ primitiveProps)
|
|
9108
9178
|
/* harmony export */ });
|
|
9109
9179
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
@@ -9159,10 +9229,10 @@ var baseProps = {
|
|
|
9159
9229
|
eventHandlers: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)
|
|
9160
9230
|
})),
|
|
9161
9231
|
externalEventMutations: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
9162
|
-
callback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()
|
|
9232
|
+
callback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
|
9163
9233
|
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)]),
|
|
9164
9234
|
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)]),
|
|
9165
|
-
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()
|
|
9235
|
+
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
|
9166
9236
|
target: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().array)])
|
|
9167
9237
|
})),
|
|
9168
9238
|
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),
|
|
@@ -9237,10 +9307,10 @@ var primitiveProps = {
|
|
|
9237
9307
|
"use strict";
|
|
9238
9308
|
__webpack_require__.r(__webpack_exports__);
|
|
9239
9309
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9240
|
-
/* harmony export */ "formatDataFromDomain": () => (/* binding */ formatDataFromDomain),
|
|
9241
9310
|
/* harmony export */ "createStringMap": () => (/* binding */ createStringMap),
|
|
9242
9311
|
/* harmony export */ "downsample": () => (/* binding */ downsample),
|
|
9243
9312
|
/* harmony export */ "formatData": () => (/* binding */ formatData),
|
|
9313
|
+
/* harmony export */ "formatDataFromDomain": () => (/* binding */ formatDataFromDomain),
|
|
9244
9314
|
/* harmony export */ "generateData": () => (/* binding */ generateData),
|
|
9245
9315
|
/* harmony export */ "getCategories": () => (/* binding */ getCategories),
|
|
9246
9316
|
/* harmony export */ "getData": () => (/* binding */ getData),
|
|
@@ -10206,18 +10276,18 @@ function isDomainComponent(component) {
|
|
|
10206
10276
|
"use strict";
|
|
10207
10277
|
__webpack_require__.r(__webpack_exports__);
|
|
10208
10278
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10209
|
-
/* harmony export */ "
|
|
10210
|
-
/* harmony export */ "
|
|
10211
|
-
/* harmony export */ "getPartialEvents": () => (/* binding */ getPartialEvents),
|
|
10279
|
+
/* harmony export */ "emulateReactEvent": () => (/* binding */ emulateReactEvent),
|
|
10280
|
+
/* harmony export */ "getComponentEvents": () => (/* binding */ getComponentEvents),
|
|
10212
10281
|
/* harmony export */ "getEventState": () => (/* binding */ getEventState),
|
|
10213
|
-
/* harmony export */ "
|
|
10214
|
-
/* harmony export */ "getExternalMutations": () => (/* binding */ getExternalMutations),
|
|
10282
|
+
/* harmony export */ "getEvents": () => (/* binding */ getEvents),
|
|
10215
10283
|
/* harmony export */ "getExternalMutation": () => (/* binding */ getExternalMutation),
|
|
10216
|
-
/* harmony export */ "
|
|
10284
|
+
/* harmony export */ "getExternalMutations": () => (/* binding */ getExternalMutations),
|
|
10285
|
+
/* harmony export */ "getExternalMutationsWithChildren": () => (/* binding */ getExternalMutationsWithChildren),
|
|
10217
10286
|
/* harmony export */ "getGlobalEventNameFromKey": () => (/* binding */ getGlobalEventNameFromKey),
|
|
10218
10287
|
/* harmony export */ "getGlobalEvents": () => (/* binding */ getGlobalEvents),
|
|
10219
|
-
/* harmony export */ "
|
|
10220
|
-
/* harmony export */ "
|
|
10288
|
+
/* harmony export */ "getPartialEvents": () => (/* binding */ getPartialEvents),
|
|
10289
|
+
/* harmony export */ "getScopedEvents": () => (/* binding */ getScopedEvents),
|
|
10290
|
+
/* harmony export */ "omitGlobalEvents": () => (/* binding */ omitGlobalEvents)
|
|
10221
10291
|
/* harmony export */ });
|
|
10222
10292
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/keys */ "../../../node_modules/lodash/keys.js");
|
|
10223
10293
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -10707,25 +10777,25 @@ var emulateReactEvent = function (event) {
|
|
|
10707
10777
|
"use strict";
|
|
10708
10778
|
__webpack_require__.r(__webpack_exports__);
|
|
10709
10779
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10710
|
-
/* harmony export */ "
|
|
10711
|
-
/* harmony export */ "
|
|
10712
|
-
/* harmony export */ "scalePoint": () => (/* binding */ scalePoint),
|
|
10713
|
-
/* harmony export */ "getPadding": () => (/* binding */ getPadding),
|
|
10714
|
-
/* harmony export */ "isTooltip": () => (/* binding */ isTooltip),
|
|
10715
|
-
/* harmony export */ "getDefaultStyles": () => (/* binding */ getDefaultStyles),
|
|
10716
|
-
/* harmony export */ "getStyles": () => (/* binding */ getStyles),
|
|
10780
|
+
/* harmony export */ "createAccessor": () => (/* binding */ createAccessor),
|
|
10781
|
+
/* harmony export */ "degreesToRadians": () => (/* binding */ degreesToRadians),
|
|
10717
10782
|
/* harmony export */ "evaluateProp": () => (/* binding */ evaluateProp),
|
|
10718
10783
|
/* harmony export */ "evaluateStyle": () => (/* binding */ evaluateStyle),
|
|
10719
|
-
/* harmony export */ "
|
|
10720
|
-
/* harmony export */ "
|
|
10721
|
-
/* harmony export */ "
|
|
10784
|
+
/* harmony export */ "getCurrentAxis": () => (/* binding */ getCurrentAxis),
|
|
10785
|
+
/* harmony export */ "getDefaultStyles": () => (/* binding */ getDefaultStyles),
|
|
10786
|
+
/* harmony export */ "getPadding": () => (/* binding */ getPadding),
|
|
10787
|
+
/* harmony export */ "getPoint": () => (/* binding */ getPoint),
|
|
10722
10788
|
/* harmony export */ "getPolarOrigin": () => (/* binding */ getPolarOrigin),
|
|
10789
|
+
/* harmony export */ "getRadius": () => (/* binding */ getRadius),
|
|
10723
10790
|
/* harmony export */ "getRange": () => (/* binding */ getRange),
|
|
10724
|
-
/* harmony export */ "
|
|
10791
|
+
/* harmony export */ "getStyles": () => (/* binding */ getStyles),
|
|
10792
|
+
/* harmony export */ "isHorizontal": () => (/* binding */ isHorizontal),
|
|
10793
|
+
/* harmony export */ "isTooltip": () => (/* binding */ isTooltip),
|
|
10725
10794
|
/* harmony export */ "modifyProps": () => (/* binding */ modifyProps),
|
|
10726
|
-
/* harmony export */ "
|
|
10795
|
+
/* harmony export */ "omit": () => (/* binding */ omit),
|
|
10796
|
+
/* harmony export */ "radiansToDegrees": () => (/* binding */ radiansToDegrees),
|
|
10727
10797
|
/* harmony export */ "reduceChildren": () => (/* binding */ reduceChildren),
|
|
10728
|
-
/* harmony export */ "
|
|
10798
|
+
/* harmony export */ "scalePoint": () => (/* binding */ scalePoint)
|
|
10729
10799
|
/* harmony export */ });
|
|
10730
10800
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/keys */ "../../../node_modules/lodash/keys.js");
|
|
10731
10801
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -11285,14 +11355,14 @@ var usePreviousProps = function (props) {
|
|
|
11285
11355
|
__webpack_require__.r(__webpack_exports__);
|
|
11286
11356
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11287
11357
|
/* harmony export */ "IMMUTABLE_ITERABLE": () => (/* binding */ IMMUTABLE_ITERABLE),
|
|
11288
|
-
/* harmony export */ "IMMUTABLE_RECORD": () => (/* binding */ IMMUTABLE_RECORD),
|
|
11289
11358
|
/* harmony export */ "IMMUTABLE_LIST": () => (/* binding */ IMMUTABLE_LIST),
|
|
11290
11359
|
/* harmony export */ "IMMUTABLE_MAP": () => (/* binding */ IMMUTABLE_MAP),
|
|
11291
|
-
/* harmony export */ "
|
|
11292
|
-
/* harmony export */ "isRecord": () => (/* binding */ isRecord),
|
|
11360
|
+
/* harmony export */ "IMMUTABLE_RECORD": () => (/* binding */ IMMUTABLE_RECORD),
|
|
11293
11361
|
/* harmony export */ "isImmutable": () => (/* binding */ isImmutable),
|
|
11362
|
+
/* harmony export */ "isIterable": () => (/* binding */ isIterable),
|
|
11294
11363
|
/* harmony export */ "isList": () => (/* binding */ isList),
|
|
11295
11364
|
/* harmony export */ "isMap": () => (/* binding */ isMap),
|
|
11365
|
+
/* harmony export */ "isRecord": () => (/* binding */ isRecord),
|
|
11296
11366
|
/* harmony export */ "shallowToJS": () => (/* binding */ shallowToJS)
|
|
11297
11367
|
/* harmony export */ });
|
|
11298
11368
|
/* eslint-disable func-style */
|
|
@@ -11363,16 +11433,16 @@ function warn(message) {
|
|
|
11363
11433
|
"use strict";
|
|
11364
11434
|
__webpack_require__.r(__webpack_exports__);
|
|
11365
11435
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11366
|
-
/* harmony export */ "deprecated": () => (/* binding */ deprecated),
|
|
11367
11436
|
/* harmony export */ "allOfType": () => (/* binding */ allOfType),
|
|
11368
|
-
/* harmony export */ "
|
|
11369
|
-
/* harmony export */ "integer": () => (/* binding */ integer),
|
|
11370
|
-
/* harmony export */ "greaterThanZero": () => (/* binding */ greaterThanZero),
|
|
11437
|
+
/* harmony export */ "deprecated": () => (/* binding */ deprecated),
|
|
11371
11438
|
/* harmony export */ "domain": () => (/* binding */ domain),
|
|
11372
|
-
/* harmony export */ "
|
|
11439
|
+
/* harmony export */ "greaterThanZero": () => (/* binding */ greaterThanZero),
|
|
11373
11440
|
/* harmony export */ "homogeneousArray": () => (/* binding */ homogeneousArray),
|
|
11441
|
+
/* harmony export */ "integer": () => (/* binding */ integer),
|
|
11374
11442
|
/* harmony export */ "matchDataLength": () => (/* binding */ matchDataLength),
|
|
11375
|
-
/* harmony export */ "
|
|
11443
|
+
/* harmony export */ "nonNegative": () => (/* binding */ nonNegative),
|
|
11444
|
+
/* harmony export */ "regExp": () => (/* binding */ regExp),
|
|
11445
|
+
/* harmony export */ "scale": () => (/* binding */ scale)
|
|
11376
11446
|
/* harmony export */ });
|
|
11377
11447
|
/* harmony import */ var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isRegExp */ "../../../node_modules/lodash/isRegExp.js");
|
|
11378
11448
|
/* harmony import */ var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -11380,9 +11450,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
11380
11450
|
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_find__WEBPACK_IMPORTED_MODULE_1__);
|
|
11381
11451
|
/* harmony import */ var lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isFunction */ "../../../node_modules/lodash/isFunction.js");
|
|
11382
11452
|
/* harmony import */ var lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__);
|
|
11383
|
-
/* harmony import */ var
|
|
11384
|
-
/* harmony import */ var
|
|
11385
|
-
/* harmony import */ var
|
|
11453
|
+
/* harmony import */ var _log__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./log */ "../../victory-core/es/victory-util/log.js");
|
|
11454
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
11455
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
11386
11456
|
|
|
11387
11457
|
|
|
11388
11458
|
|
|
@@ -11481,10 +11551,10 @@ function deprecated(propType, explanation) {
|
|
|
11481
11551
|
var value = props[propName];
|
|
11482
11552
|
|
|
11483
11553
|
if (value !== null && value !== undefined) {
|
|
11484
|
-
|
|
11554
|
+
_log__WEBPACK_IMPORTED_MODULE_3__.warn("\"".concat(propName, "\" property of \"").concat(componentName, "\" has been deprecated ").concat(explanation));
|
|
11485
11555
|
}
|
|
11486
11556
|
|
|
11487
|
-
return
|
|
11557
|
+
return prop_types__WEBPACK_IMPORTED_MODULE_4___default().checkPropTypes(_defineProperty({}, propName, propType), props, propName, componentName);
|
|
11488
11558
|
};
|
|
11489
11559
|
}
|
|
11490
11560
|
/**
|
|
@@ -11646,9 +11716,9 @@ var regExp = makeChainable(function (props, propName, componentName) {
|
|
|
11646
11716
|
"use strict";
|
|
11647
11717
|
__webpack_require__.r(__webpack_exports__);
|
|
11648
11718
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11649
|
-
/* harmony export */ "getScaleFromName": () => (/* binding */ getScaleFromName),
|
|
11650
11719
|
/* harmony export */ "getBaseScale": () => (/* binding */ getBaseScale),
|
|
11651
11720
|
/* harmony export */ "getDefaultScale": () => (/* binding */ getDefaultScale),
|
|
11721
|
+
/* harmony export */ "getScaleFromName": () => (/* binding */ getScaleFromName),
|
|
11652
11722
|
/* harmony export */ "getScaleFromProps": () => (/* binding */ getScaleFromProps),
|
|
11653
11723
|
/* harmony export */ "getScaleType": () => (/* binding */ getScaleType),
|
|
11654
11724
|
/* harmony export */ "getType": () => (/* binding */ getType)
|
|
@@ -11810,8 +11880,8 @@ function getType(scale) {
|
|
|
11810
11880
|
"use strict";
|
|
11811
11881
|
__webpack_require__.r(__webpack_exports__);
|
|
11812
11882
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11813
|
-
/* harmony export */ "
|
|
11814
|
-
/* harmony export */ "
|
|
11883
|
+
/* harmony export */ "getColorScale": () => (/* binding */ getColorScale),
|
|
11884
|
+
/* harmony export */ "toTransformString": () => (/* binding */ toTransformString)
|
|
11815
11885
|
/* harmony export */ });
|
|
11816
11886
|
/* eslint-disable func-style */
|
|
11817
11887
|
|
|
@@ -12444,8 +12514,11 @@ function getTransitionPropsFactory(props, state, setState) {
|
|
|
12444
12514
|
"use strict";
|
|
12445
12515
|
__webpack_require__.r(__webpack_exports__);
|
|
12446
12516
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12447
|
-
/* harmony export */ "getSafeUserProps": () => (/* binding */ getSafeUserProps)
|
|
12517
|
+
/* harmony export */ "getSafeUserProps": () => (/* binding */ getSafeUserProps),
|
|
12518
|
+
/* harmony export */ "withSafeUserProps": () => (/* binding */ withSafeUserProps)
|
|
12448
12519
|
/* harmony export */ });
|
|
12520
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
12521
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
12449
12522
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
12450
12523
|
|
|
12451
12524
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -12464,12 +12537,14 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
12464
12537
|
|
|
12465
12538
|
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; }
|
|
12466
12539
|
|
|
12540
|
+
|
|
12467
12541
|
/*
|
|
12468
12542
|
USER_PROPS_SAFELIST is to contain any string deemed safe for user props.
|
|
12469
12543
|
The startsWidth array will contain the start of any accepted user-prop that
|
|
12470
12544
|
starts with these characters.
|
|
12471
12545
|
The exactMatch will contain a list of exact prop names that are accepted.
|
|
12472
12546
|
*/
|
|
12547
|
+
|
|
12473
12548
|
var USER_PROPS_SAFELIST = {
|
|
12474
12549
|
startsWith: ["data-", "aria-"],
|
|
12475
12550
|
exactMatch: []
|
|
@@ -12556,6 +12631,17 @@ var getSafeUserProps = function (props) {
|
|
|
12556
12631
|
return [key, getValue(value, props)];
|
|
12557
12632
|
}));
|
|
12558
12633
|
};
|
|
12634
|
+
/**
|
|
12635
|
+
* Wraps a component and adds safe user props
|
|
12636
|
+
*
|
|
12637
|
+
* @param {ReactNode} component: parent component
|
|
12638
|
+
* @param {Object} props: props to be filtered
|
|
12639
|
+
* @returns {ReactNode} modified component
|
|
12640
|
+
*/
|
|
12641
|
+
|
|
12642
|
+
var withSafeUserProps = function (component, props) {
|
|
12643
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(component, getSafeUserProps(props));
|
|
12644
|
+
};
|
|
12559
12645
|
|
|
12560
12646
|
/***/ }),
|
|
12561
12647
|
|
|
@@ -12569,22 +12655,22 @@ var getSafeUserProps = function (props) {
|
|
|
12569
12655
|
__webpack_require__.r(__webpack_exports__);
|
|
12570
12656
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12571
12657
|
/* harmony export */ "addBinsToParentPropsIfHistogram": () => (/* binding */ addBinsToParentPropsIfHistogram),
|
|
12572
|
-
/* harmony export */ "
|
|
12658
|
+
/* harmony export */ "getAllEvents": () => (/* binding */ getAllEvents),
|
|
12659
|
+
/* harmony export */ "getCategories": () => (/* binding */ getCategories),
|
|
12660
|
+
/* harmony export */ "getCategoryAndAxisStringsFromChildren": () => (/* binding */ getCategoryAndAxisStringsFromChildren),
|
|
12661
|
+
/* harmony export */ "getChildStyle": () => (/* binding */ getChildStyle),
|
|
12662
|
+
/* harmony export */ "getColor": () => (/* binding */ getColor),
|
|
12573
12663
|
/* harmony export */ "getData": () => (/* binding */ getData),
|
|
12574
|
-
/* harmony export */ "
|
|
12664
|
+
/* harmony export */ "getDataFromChildren": () => (/* binding */ getDataFromChildren),
|
|
12575
12665
|
/* harmony export */ "getDefaultDomainPadding": () => (/* binding */ getDefaultDomainPadding),
|
|
12576
|
-
/* harmony export */ "getDomainFromChildren": () => (/* binding */ getDomainFromChildren),
|
|
12577
12666
|
/* harmony export */ "getDomain": () => (/* binding */ getDomain),
|
|
12667
|
+
/* harmony export */ "getDomainFromChildren": () => (/* binding */ getDomainFromChildren),
|
|
12578
12668
|
/* harmony export */ "getScale": () => (/* binding */ getScale),
|
|
12579
|
-
/* harmony export */ "getAllEvents": () => (/* binding */ getAllEvents),
|
|
12580
|
-
/* harmony export */ "getColor": () => (/* binding */ getColor),
|
|
12581
|
-
/* harmony export */ "getStyle": () => (/* binding */ getStyle),
|
|
12582
|
-
/* harmony export */ "getChildStyle": () => (/* binding */ getChildStyle),
|
|
12583
12669
|
/* harmony export */ "getStringsFromCategories": () => (/* binding */ getStringsFromCategories),
|
|
12584
|
-
/* harmony export */ "getStringsFromData": () => (/* binding */ getStringsFromData),
|
|
12585
|
-
/* harmony export */ "getCategoryAndAxisStringsFromChildren": () => (/* binding */ getCategoryAndAxisStringsFromChildren),
|
|
12586
12670
|
/* harmony export */ "getStringsFromChildren": () => (/* binding */ getStringsFromChildren),
|
|
12587
|
-
/* harmony export */ "
|
|
12671
|
+
/* harmony export */ "getStringsFromData": () => (/* binding */ getStringsFromData),
|
|
12672
|
+
/* harmony export */ "getStyle": () => (/* binding */ getStyle),
|
|
12673
|
+
/* harmony export */ "getWidth": () => (/* binding */ getWidth)
|
|
12588
12674
|
/* harmony export */ });
|
|
12589
12675
|
/* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isPlainObject */ "../../../node_modules/lodash/isPlainObject.js");
|
|
12590
12676
|
/* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -13094,16 +13180,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13094
13180
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_6__);
|
|
13095
13181
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "react");
|
|
13096
13182
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
|
|
13097
|
-
/* harmony import */ var
|
|
13098
|
-
/* harmony import */ var
|
|
13099
|
-
/* harmony import */ var
|
|
13100
|
-
/* harmony import */ var
|
|
13183
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
13184
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_12__);
|
|
13185
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/events.js");
|
|
13186
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/helpers.js");
|
|
13101
13187
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/prop-types.js");
|
|
13102
13188
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/timer-context.js");
|
|
13103
|
-
/* harmony import */ var
|
|
13104
|
-
/* harmony import */ var
|
|
13105
|
-
/* harmony import */ var
|
|
13106
|
-
/* harmony import */ var
|
|
13189
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/react-fast-compare/index.js");
|
|
13190
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_8__);
|
|
13191
|
+
/* harmony import */ var json_stringify_safe__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! json-stringify-safe */ "../../../node_modules/json-stringify-safe/stringify.js");
|
|
13192
|
+
/* harmony import */ var json_stringify_safe__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(json_stringify_safe__WEBPACK_IMPORTED_MODULE_9__);
|
|
13107
13193
|
|
|
13108
13194
|
|
|
13109
13195
|
|
|
@@ -13172,8 +13258,8 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
13172
13258
|
|
|
13173
13259
|
_this = _super.call(this, props);
|
|
13174
13260
|
_this.state = _this.state || {};
|
|
13175
|
-
_this.getScopedEvents =
|
|
13176
|
-
_this.getEventState =
|
|
13261
|
+
_this.getScopedEvents = victory_core__WEBPACK_IMPORTED_MODULE_10__.getScopedEvents.bind(_assertThisInitialized(_this));
|
|
13262
|
+
_this.getEventState = victory_core__WEBPACK_IMPORTED_MODULE_10__.getEventState.bind(_assertThisInitialized(_this));
|
|
13177
13263
|
_this.baseProps = _this.getBaseProps(props);
|
|
13178
13264
|
_this.sharedEventsCache = {};
|
|
13179
13265
|
_this.globalEvents = {};
|
|
@@ -13185,7 +13271,7 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
13185
13271
|
_createClass(VictorySharedEvents, [{
|
|
13186
13272
|
key: "shouldComponentUpdate",
|
|
13187
13273
|
value: function shouldComponentUpdate(nextProps) {
|
|
13188
|
-
if (!
|
|
13274
|
+
if (!react_fast_compare__WEBPACK_IMPORTED_MODULE_8___default()(this.props, nextProps)) {
|
|
13189
13275
|
this.baseProps = this.getBaseProps(nextProps);
|
|
13190
13276
|
var externalMutations = this.getExternalMutations(nextProps, this.baseProps);
|
|
13191
13277
|
this.applyExternalMutations(nextProps, externalMutations);
|
|
@@ -13241,22 +13327,22 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
13241
13327
|
|
|
13242
13328
|
var boundListener = function (event) {
|
|
13243
13329
|
var listener = _this5.globalEvents[key];
|
|
13244
|
-
return listener && listener(
|
|
13330
|
+
return listener && listener(victory_core__WEBPACK_IMPORTED_MODULE_10__.emulateReactEvent(event));
|
|
13245
13331
|
};
|
|
13246
13332
|
|
|
13247
13333
|
this.boundGlobalEvents[key] = boundListener;
|
|
13248
|
-
window.addEventListener(
|
|
13334
|
+
window.addEventListener(victory_core__WEBPACK_IMPORTED_MODULE_10__.getGlobalEventNameFromKey(key), boundListener);
|
|
13249
13335
|
}
|
|
13250
13336
|
}, {
|
|
13251
13337
|
key: "removeGlobalListener",
|
|
13252
13338
|
value: function removeGlobalListener(key) {
|
|
13253
|
-
window.removeEventListener(
|
|
13339
|
+
window.removeEventListener(victory_core__WEBPACK_IMPORTED_MODULE_10__.getGlobalEventNameFromKey(key), this.boundGlobalEvents[key]);
|
|
13254
13340
|
}
|
|
13255
13341
|
}, {
|
|
13256
13342
|
key: "getAllEvents",
|
|
13257
13343
|
value: function getAllEvents(props) {
|
|
13258
13344
|
var components = ["container", "groupComponent"];
|
|
13259
|
-
var componentEvents =
|
|
13345
|
+
var componentEvents = victory_core__WEBPACK_IMPORTED_MODULE_10__.getComponentEvents(props, components);
|
|
13260
13346
|
|
|
13261
13347
|
if (Array.isArray(componentEvents)) {
|
|
13262
13348
|
return Array.isArray(props.events) ? componentEvents.concat.apply(componentEvents, _toConsumableArray(props.events)) : componentEvents;
|
|
@@ -13283,7 +13369,7 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
13283
13369
|
}, {
|
|
13284
13370
|
key: "getExternalMutations",
|
|
13285
13371
|
value: function getExternalMutations(props, baseProps) {
|
|
13286
|
-
return !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(props.externalEventMutations) ?
|
|
13372
|
+
return !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(props.externalEventMutations) ? victory_core__WEBPACK_IMPORTED_MODULE_10__.getExternalMutationsWithChildren(props.externalEventMutations, baseProps, this.state, lodash_keys__WEBPACK_IMPORTED_MODULE_1___default()(baseProps)) : undefined;
|
|
13287
13373
|
}
|
|
13288
13374
|
}, {
|
|
13289
13375
|
key: "cacheSharedEvents",
|
|
@@ -13298,7 +13384,7 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
13298
13384
|
sharedEvents = _ref2[0],
|
|
13299
13385
|
prevCacheValues = _ref2[1];
|
|
13300
13386
|
|
|
13301
|
-
if (sharedEvents &&
|
|
13387
|
+
if (sharedEvents && react_fast_compare__WEBPACK_IMPORTED_MODULE_8___default()(cacheValues, prevCacheValues)) {
|
|
13302
13388
|
return sharedEvents;
|
|
13303
13389
|
}
|
|
13304
13390
|
|
|
@@ -13328,7 +13414,7 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
13328
13414
|
}
|
|
13329
13415
|
};
|
|
13330
13416
|
|
|
13331
|
-
var baseProps =
|
|
13417
|
+
var baseProps = victory_core__WEBPACK_IMPORTED_MODULE_11__.reduceChildren(childComponents, iteratee);
|
|
13332
13418
|
return lodash_fromPairs__WEBPACK_IMPORTED_MODULE_2___default()(baseProps);
|
|
13333
13419
|
}
|
|
13334
13420
|
}, {
|
|
@@ -13355,7 +13441,7 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
13355
13441
|
|
|
13356
13442
|
return Array.isArray(event.childName) ? event.childName.indexOf(name) > -1 : event.childName === name || event.childName === "all";
|
|
13357
13443
|
});
|
|
13358
|
-
var sharedEventsCacheValues = [name, baseProps, childEvents,
|
|
13444
|
+
var sharedEventsCacheValues = [name, baseProps, childEvents, json_stringify_safe__WEBPACK_IMPORTED_MODULE_9___default()(_this6.state[name])];
|
|
13359
13445
|
var sharedEvents = _this6.getCachedSharedEvents(name, sharedEventsCacheValues) || {
|
|
13360
13446
|
events: childEvents,
|
|
13361
13447
|
// partially apply child name and baseProps,
|
|
@@ -13407,7 +13493,7 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
13407
13493
|
var container = props.container || props.groupComponent;
|
|
13408
13494
|
var role = container.type && container.type.role;
|
|
13409
13495
|
var containerProps = container.props || {};
|
|
13410
|
-
var boundGetEvents =
|
|
13496
|
+
var boundGetEvents = victory_core__WEBPACK_IMPORTED_MODULE_10__.getEvents.bind(this);
|
|
13411
13497
|
var parentEvents = sharedEvents && boundGetEvents({
|
|
13412
13498
|
sharedEvents: sharedEvents
|
|
13413
13499
|
}, "parent");
|
|
@@ -13416,10 +13502,10 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
13416
13502
|
children: children
|
|
13417
13503
|
});
|
|
13418
13504
|
|
|
13419
|
-
var containerEvents = lodash_defaults__WEBPACK_IMPORTED_MODULE_4___default()({},
|
|
13505
|
+
var containerEvents = lodash_defaults__WEBPACK_IMPORTED_MODULE_4___default()({}, victory_core__WEBPACK_IMPORTED_MODULE_10__.getPartialEvents(parentEvents, "parent", parentProps), containerProps.events);
|
|
13420
13506
|
|
|
13421
|
-
this.globalEvents =
|
|
13422
|
-
var localEvents =
|
|
13507
|
+
this.globalEvents = victory_core__WEBPACK_IMPORTED_MODULE_10__.getGlobalEvents(containerEvents);
|
|
13508
|
+
var localEvents = victory_core__WEBPACK_IMPORTED_MODULE_10__.omitGlobalEvents(containerEvents);
|
|
13423
13509
|
return role === "container" ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().cloneElement(container, lodash_assign__WEBPACK_IMPORTED_MODULE_6___default()({}, parentProps, {
|
|
13424
13510
|
events: localEvents
|
|
13425
13511
|
})) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().cloneElement(container, localEvents, children);
|
|
@@ -13447,23 +13533,23 @@ _defineProperty(VictorySharedEvents, "displayName", "VictorySharedEvents");
|
|
|
13447
13533
|
_defineProperty(VictorySharedEvents, "role", "shared-event-wrapper");
|
|
13448
13534
|
|
|
13449
13535
|
_defineProperty(VictorySharedEvents, "propTypes", {
|
|
13450
|
-
children:
|
|
13451
|
-
container: (
|
|
13452
|
-
eventKey:
|
|
13453
|
-
events:
|
|
13454
|
-
childName:
|
|
13455
|
-
eventHandlers: (
|
|
13456
|
-
eventKey:
|
|
13457
|
-
target: (
|
|
13536
|
+
children: prop_types__WEBPACK_IMPORTED_MODULE_12___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_12___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_12___default().node)), (prop_types__WEBPACK_IMPORTED_MODULE_12___default().node)]),
|
|
13537
|
+
container: (prop_types__WEBPACK_IMPORTED_MODULE_12___default().node),
|
|
13538
|
+
eventKey: prop_types__WEBPACK_IMPORTED_MODULE_12___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_12___default().array), (prop_types__WEBPACK_IMPORTED_MODULE_12___default().func), victory_core__WEBPACK_IMPORTED_MODULE_13__.allOfType([victory_core__WEBPACK_IMPORTED_MODULE_13__.integer, victory_core__WEBPACK_IMPORTED_MODULE_13__.nonNegative]), (prop_types__WEBPACK_IMPORTED_MODULE_12___default().string)]),
|
|
13539
|
+
events: prop_types__WEBPACK_IMPORTED_MODULE_12___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_12___default().shape({
|
|
13540
|
+
childName: prop_types__WEBPACK_IMPORTED_MODULE_12___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_12___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_12___default().array)]),
|
|
13541
|
+
eventHandlers: (prop_types__WEBPACK_IMPORTED_MODULE_12___default().object),
|
|
13542
|
+
eventKey: prop_types__WEBPACK_IMPORTED_MODULE_12___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_12___default().array), (prop_types__WEBPACK_IMPORTED_MODULE_12___default().func), victory_core__WEBPACK_IMPORTED_MODULE_13__.allOfType([victory_core__WEBPACK_IMPORTED_MODULE_13__.integer, victory_core__WEBPACK_IMPORTED_MODULE_13__.nonNegative]), (prop_types__WEBPACK_IMPORTED_MODULE_12___default().string)]),
|
|
13543
|
+
target: (prop_types__WEBPACK_IMPORTED_MODULE_12___default().string)
|
|
13458
13544
|
})),
|
|
13459
|
-
externalEventMutations:
|
|
13460
|
-
callback: (
|
|
13461
|
-
childName:
|
|
13462
|
-
eventKey:
|
|
13463
|
-
mutation: (
|
|
13464
|
-
target:
|
|
13545
|
+
externalEventMutations: prop_types__WEBPACK_IMPORTED_MODULE_12___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_12___default().shape({
|
|
13546
|
+
callback: (prop_types__WEBPACK_IMPORTED_MODULE_12___default().func),
|
|
13547
|
+
childName: prop_types__WEBPACK_IMPORTED_MODULE_12___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_12___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_12___default().array)]),
|
|
13548
|
+
eventKey: prop_types__WEBPACK_IMPORTED_MODULE_12___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_12___default().array), victory_core__WEBPACK_IMPORTED_MODULE_13__.allOfType([victory_core__WEBPACK_IMPORTED_MODULE_13__.integer, victory_core__WEBPACK_IMPORTED_MODULE_13__.nonNegative]), (prop_types__WEBPACK_IMPORTED_MODULE_12___default().string)]),
|
|
13549
|
+
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_12___default().func),
|
|
13550
|
+
target: prop_types__WEBPACK_IMPORTED_MODULE_12___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_12___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_12___default().array)])
|
|
13465
13551
|
})),
|
|
13466
|
-
groupComponent: (
|
|
13552
|
+
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_12___default().node)
|
|
13467
13553
|
});
|
|
13468
13554
|
|
|
13469
13555
|
_defineProperty(VictorySharedEvents, "defaultProps", {
|
|
@@ -13563,9 +13649,9 @@ function ascending(a, b) {
|
|
|
13563
13649
|
"use strict";
|
|
13564
13650
|
__webpack_require__.r(__webpack_exports__);
|
|
13565
13651
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13566
|
-
/* harmony export */ "bisectRight": () => (/* binding */ bisectRight),
|
|
13567
|
-
/* harmony export */ "bisectLeft": () => (/* binding */ bisectLeft),
|
|
13568
13652
|
/* harmony export */ "bisectCenter": () => (/* binding */ bisectCenter),
|
|
13653
|
+
/* harmony export */ "bisectLeft": () => (/* binding */ bisectLeft),
|
|
13654
|
+
/* harmony export */ "bisectRight": () => (/* binding */ bisectRight),
|
|
13569
13655
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
13570
13656
|
/* harmony export */ });
|
|
13571
13657
|
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ascending.js */ "../../victory-vendor/node_modules/d3-array/src/ascending.js");
|
|
@@ -13951,9 +14037,9 @@ function range(start, stop, step) {
|
|
|
13951
14037
|
"use strict";
|
|
13952
14038
|
__webpack_require__.r(__webpack_exports__);
|
|
13953
14039
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13954
|
-
/* harmony export */ "
|
|
14040
|
+
/* harmony export */ "ascendingDefined": () => (/* binding */ ascendingDefined),
|
|
13955
14041
|
/* harmony export */ "compareDefined": () => (/* binding */ compareDefined),
|
|
13956
|
-
/* harmony export */ "
|
|
14042
|
+
/* harmony export */ "default": () => (/* binding */ sort)
|
|
13957
14043
|
/* harmony export */ });
|
|
13958
14044
|
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ascending.js */ "../../victory-vendor/node_modules/d3-array/src/ascending.js");
|
|
13959
14045
|
/* harmony import */ var _permute_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./permute.js */ "../../victory-vendor/node_modules/d3-array/src/permute.js");
|
|
@@ -14081,14 +14167,14 @@ function tickStep(start, stop, count) {
|
|
|
14081
14167
|
__webpack_require__.r(__webpack_exports__);
|
|
14082
14168
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14083
14169
|
/* harmony export */ "Color": () => (/* binding */ Color),
|
|
14084
|
-
/* harmony export */ "
|
|
14170
|
+
/* harmony export */ "Rgb": () => (/* binding */ Rgb),
|
|
14085
14171
|
/* harmony export */ "brighter": () => (/* binding */ brighter),
|
|
14172
|
+
/* harmony export */ "darker": () => (/* binding */ darker),
|
|
14086
14173
|
/* harmony export */ "default": () => (/* binding */ color),
|
|
14087
|
-
/* harmony export */ "
|
|
14088
|
-
/* harmony export */ "rgb": () => (/* binding */ rgb),
|
|
14089
|
-
/* harmony export */ "Rgb": () => (/* binding */ Rgb),
|
|
14174
|
+
/* harmony export */ "hsl": () => (/* binding */ hsl),
|
|
14090
14175
|
/* harmony export */ "hslConvert": () => (/* binding */ hslConvert),
|
|
14091
|
-
/* harmony export */ "
|
|
14176
|
+
/* harmony export */ "rgb": () => (/* binding */ rgb),
|
|
14177
|
+
/* harmony export */ "rgbConvert": () => (/* binding */ rgbConvert)
|
|
14092
14178
|
/* harmony export */ });
|
|
14093
14179
|
/* harmony import */ var _define_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./define.js */ "../../victory-vendor/node_modules/d3-color/src/define.js");
|
|
14094
14180
|
|
|
@@ -14526,9 +14612,9 @@ function extend(parent, definition) {
|
|
|
14526
14612
|
"use strict";
|
|
14527
14613
|
__webpack_require__.r(__webpack_exports__);
|
|
14528
14614
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14615
|
+
/* harmony export */ "default": () => (/* binding */ defaultLocale),
|
|
14529
14616
|
/* harmony export */ "format": () => (/* binding */ format),
|
|
14530
|
-
/* harmony export */ "formatPrefix": () => (/* binding */ formatPrefix)
|
|
14531
|
-
/* harmony export */ "default": () => (/* binding */ defaultLocale)
|
|
14617
|
+
/* harmony export */ "formatPrefix": () => (/* binding */ formatPrefix)
|
|
14532
14618
|
/* harmony export */ });
|
|
14533
14619
|
/* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./locale.js */ "../../victory-vendor/node_modules/d3-format/src/locale.js");
|
|
14534
14620
|
|
|
@@ -14674,8 +14760,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14674
14760
|
"use strict";
|
|
14675
14761
|
__webpack_require__.r(__webpack_exports__);
|
|
14676
14762
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14677
|
-
/* harmony export */ "
|
|
14678
|
-
/* harmony export */ "
|
|
14763
|
+
/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__),
|
|
14764
|
+
/* harmony export */ "prefixExponent": () => (/* binding */ prefixExponent)
|
|
14679
14765
|
/* harmony export */ });
|
|
14680
14766
|
/* harmony import */ var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatDecimal.js */ "../../victory-vendor/node_modules/d3-format/src/formatDecimal.js");
|
|
14681
14767
|
|
|
@@ -14734,8 +14820,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14734
14820
|
"use strict";
|
|
14735
14821
|
__webpack_require__.r(__webpack_exports__);
|
|
14736
14822
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14737
|
-
/* harmony export */ "
|
|
14738
|
-
/* harmony export */ "
|
|
14823
|
+
/* harmony export */ "FormatSpecifier": () => (/* binding */ FormatSpecifier),
|
|
14824
|
+
/* harmony export */ "default": () => (/* binding */ formatSpecifier)
|
|
14739
14825
|
/* harmony export */ });
|
|
14740
14826
|
// [[fill]align][sign][symbol][0][width][,][.precision][~][type]
|
|
14741
14827
|
var re = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
|
|
@@ -15217,9 +15303,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15217
15303
|
"use strict";
|
|
15218
15304
|
__webpack_require__.r(__webpack_exports__);
|
|
15219
15305
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15220
|
-
/* harmony export */ "
|
|
15306
|
+
/* harmony export */ "default": () => (/* binding */ nogamma),
|
|
15221
15307
|
/* harmony export */ "gamma": () => (/* binding */ gamma),
|
|
15222
|
-
/* harmony export */ "
|
|
15308
|
+
/* harmony export */ "hue": () => (/* binding */ hue)
|
|
15223
15309
|
/* harmony export */ });
|
|
15224
15310
|
/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "../../victory-vendor/node_modules/d3-interpolate/src/constant.js");
|
|
15225
15311
|
|
|
@@ -15779,10 +15865,10 @@ function constants(x) {
|
|
|
15779
15865
|
"use strict";
|
|
15780
15866
|
__webpack_require__.r(__webpack_exports__);
|
|
15781
15867
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15782
|
-
/* harmony export */ "identity": () => (/* binding */ identity),
|
|
15783
15868
|
/* harmony export */ "copy": () => (/* binding */ copy),
|
|
15784
|
-
/* harmony export */ "
|
|
15785
|
-
/* harmony export */ "
|
|
15869
|
+
/* harmony export */ "default": () => (/* binding */ continuous),
|
|
15870
|
+
/* harmony export */ "identity": () => (/* binding */ identity),
|
|
15871
|
+
/* harmony export */ "transformer": () => (/* binding */ transformer)
|
|
15786
15872
|
/* harmony export */ });
|
|
15787
15873
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/bisect.js");
|
|
15788
15874
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
@@ -15930,9 +16016,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15930
16016
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15931
16017
|
/* harmony export */ "default": () => (/* binding */ diverging),
|
|
15932
16018
|
/* harmony export */ "divergingLog": () => (/* binding */ divergingLog),
|
|
15933
|
-
/* harmony export */ "divergingSymlog": () => (/* binding */ divergingSymlog),
|
|
15934
16019
|
/* harmony export */ "divergingPow": () => (/* binding */ divergingPow),
|
|
15935
|
-
/* harmony export */ "divergingSqrt": () => (/* binding */ divergingSqrt)
|
|
16020
|
+
/* harmony export */ "divergingSqrt": () => (/* binding */ divergingSqrt),
|
|
16021
|
+
/* harmony export */ "divergingSymlog": () => (/* binding */ divergingSymlog)
|
|
15936
16022
|
/* harmony export */ });
|
|
15937
16023
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/piecewise.js");
|
|
15938
16024
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
@@ -16107,32 +16193,32 @@ function identity(domain) {
|
|
|
16107
16193
|
__webpack_require__.r(__webpack_exports__);
|
|
16108
16194
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16109
16195
|
/* harmony export */ "scaleBand": () => (/* reexport safe */ _band_js__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
16110
|
-
/* harmony export */ "
|
|
16196
|
+
/* harmony export */ "scaleDiverging": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__["default"]),
|
|
16197
|
+
/* harmony export */ "scaleDivergingLog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingLog),
|
|
16198
|
+
/* harmony export */ "scaleDivergingPow": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingPow),
|
|
16199
|
+
/* harmony export */ "scaleDivergingSqrt": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSqrt),
|
|
16200
|
+
/* harmony export */ "scaleDivergingSymlog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSymlog),
|
|
16111
16201
|
/* harmony export */ "scaleIdentity": () => (/* reexport safe */ _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
16202
|
+
/* harmony export */ "scaleImplicit": () => (/* reexport safe */ _ordinal_js__WEBPACK_IMPORTED_MODULE_5__.implicit),
|
|
16112
16203
|
/* harmony export */ "scaleLinear": () => (/* reexport safe */ _linear_js__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
16113
16204
|
/* harmony export */ "scaleLog": () => (/* reexport safe */ _log_js__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
16114
|
-
/* harmony export */ "scaleSymlog": () => (/* reexport safe */ _symlog_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
16115
16205
|
/* harmony export */ "scaleOrdinal": () => (/* reexport safe */ _ordinal_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
16116
|
-
/* harmony export */ "
|
|
16206
|
+
/* harmony export */ "scalePoint": () => (/* reexport safe */ _band_js__WEBPACK_IMPORTED_MODULE_0__.point),
|
|
16117
16207
|
/* harmony export */ "scalePow": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
16118
|
-
/* harmony export */ "scaleSqrt": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__.sqrt),
|
|
16119
|
-
/* harmony export */ "scaleRadial": () => (/* reexport safe */ _radial_js__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
16120
16208
|
/* harmony export */ "scaleQuantile": () => (/* reexport safe */ _quantile_js__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
|
16121
16209
|
/* harmony export */ "scaleQuantize": () => (/* reexport safe */ _quantize_js__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
|
16122
|
-
/* harmony export */ "
|
|
16123
|
-
/* harmony export */ "scaleTime": () => (/* reexport safe */ _time_js__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
16124
|
-
/* harmony export */ "scaleUtc": () => (/* reexport safe */ _utcTime_js__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
16210
|
+
/* harmony export */ "scaleRadial": () => (/* reexport safe */ _radial_js__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
16125
16211
|
/* harmony export */ "scaleSequential": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
|
16126
16212
|
/* harmony export */ "scaleSequentialLog": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialLog),
|
|
16127
16213
|
/* harmony export */ "scaleSequentialPow": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialPow),
|
|
16214
|
+
/* harmony export */ "scaleSequentialQuantile": () => (/* reexport safe */ _sequentialQuantile_js__WEBPACK_IMPORTED_MODULE_14__["default"]),
|
|
16128
16215
|
/* harmony export */ "scaleSequentialSqrt": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialSqrt),
|
|
16129
16216
|
/* harmony export */ "scaleSequentialSymlog": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialSymlog),
|
|
16130
|
-
/* harmony export */ "
|
|
16131
|
-
/* harmony export */ "
|
|
16132
|
-
/* harmony export */ "
|
|
16133
|
-
/* harmony export */ "
|
|
16134
|
-
/* harmony export */ "
|
|
16135
|
-
/* harmony export */ "scaleDivergingSymlog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSymlog),
|
|
16217
|
+
/* harmony export */ "scaleSqrt": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__.sqrt),
|
|
16218
|
+
/* harmony export */ "scaleSymlog": () => (/* reexport safe */ _symlog_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
16219
|
+
/* harmony export */ "scaleThreshold": () => (/* reexport safe */ _threshold_js__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
|
16220
|
+
/* harmony export */ "scaleTime": () => (/* reexport safe */ _time_js__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
16221
|
+
/* harmony export */ "scaleUtc": () => (/* reexport safe */ _utcTime_js__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
16136
16222
|
/* harmony export */ "tickFormat": () => (/* reexport safe */ _tickFormat_js__WEBPACK_IMPORTED_MODULE_16__["default"])
|
|
16137
16223
|
/* harmony export */ });
|
|
16138
16224
|
/* harmony import */ var _band_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./band.js */ "../../victory-vendor/node_modules/d3-scale/src/band.js");
|
|
@@ -16198,8 +16284,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16198
16284
|
"use strict";
|
|
16199
16285
|
__webpack_require__.r(__webpack_exports__);
|
|
16200
16286
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16201
|
-
/* harmony export */ "
|
|
16202
|
-
/* harmony export */ "
|
|
16287
|
+
/* harmony export */ "initInterpolator": () => (/* binding */ initInterpolator),
|
|
16288
|
+
/* harmony export */ "initRange": () => (/* binding */ initRange)
|
|
16203
16289
|
/* harmony export */ });
|
|
16204
16290
|
function initRange(domain, range) {
|
|
16205
16291
|
switch (arguments.length) {
|
|
@@ -16240,8 +16326,8 @@ function initInterpolator(domain, interpolator) {
|
|
|
16240
16326
|
"use strict";
|
|
16241
16327
|
__webpack_require__.r(__webpack_exports__);
|
|
16242
16328
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16243
|
-
/* harmony export */ "
|
|
16244
|
-
/* harmony export */ "
|
|
16329
|
+
/* harmony export */ "default": () => (/* binding */ linear),
|
|
16330
|
+
/* harmony export */ "linearish": () => (/* binding */ linearish)
|
|
16245
16331
|
/* harmony export */ });
|
|
16246
16332
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
16247
16333
|
/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./continuous.js */ "../../victory-vendor/node_modules/d3-scale/src/continuous.js");
|
|
@@ -16330,8 +16416,8 @@ function linear() {
|
|
|
16330
16416
|
"use strict";
|
|
16331
16417
|
__webpack_require__.r(__webpack_exports__);
|
|
16332
16418
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16333
|
-
/* harmony export */ "
|
|
16334
|
-
/* harmony export */ "
|
|
16419
|
+
/* harmony export */ "default": () => (/* binding */ log),
|
|
16420
|
+
/* harmony export */ "loggish": () => (/* binding */ loggish)
|
|
16335
16421
|
/* harmony export */ });
|
|
16336
16422
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
16337
16423
|
/* harmony import */ var d3_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-format */ "../../victory-vendor/node_modules/d3-format/src/formatSpecifier.js");
|
|
@@ -16543,8 +16629,8 @@ function number(x) {
|
|
|
16543
16629
|
"use strict";
|
|
16544
16630
|
__webpack_require__.r(__webpack_exports__);
|
|
16545
16631
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16546
|
-
/* harmony export */ "
|
|
16547
|
-
/* harmony export */ "
|
|
16632
|
+
/* harmony export */ "default": () => (/* binding */ ordinal),
|
|
16633
|
+
/* harmony export */ "implicit": () => (/* binding */ implicit)
|
|
16548
16634
|
/* harmony export */ });
|
|
16549
16635
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/internmap/src/index.js");
|
|
16550
16636
|
/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./init.js */ "../../victory-vendor/node_modules/d3-scale/src/init.js");
|
|
@@ -16607,8 +16693,8 @@ function ordinal() {
|
|
|
16607
16693
|
"use strict";
|
|
16608
16694
|
__webpack_require__.r(__webpack_exports__);
|
|
16609
16695
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16610
|
-
/* harmony export */ "powish": () => (/* binding */ powish),
|
|
16611
16696
|
/* harmony export */ "default": () => (/* binding */ pow),
|
|
16697
|
+
/* harmony export */ "powish": () => (/* binding */ powish),
|
|
16612
16698
|
/* harmony export */ "sqrt": () => (/* binding */ sqrt)
|
|
16613
16699
|
/* harmony export */ });
|
|
16614
16700
|
/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./linear.js */ "../../victory-vendor/node_modules/d3-scale/src/linear.js");
|
|
@@ -16912,9 +16998,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16912
16998
|
/* harmony export */ "copy": () => (/* binding */ copy),
|
|
16913
16999
|
/* harmony export */ "default": () => (/* binding */ sequential),
|
|
16914
17000
|
/* harmony export */ "sequentialLog": () => (/* binding */ sequentialLog),
|
|
16915
|
-
/* harmony export */ "sequentialSymlog": () => (/* binding */ sequentialSymlog),
|
|
16916
17001
|
/* harmony export */ "sequentialPow": () => (/* binding */ sequentialPow),
|
|
16917
|
-
/* harmony export */ "sequentialSqrt": () => (/* binding */ sequentialSqrt)
|
|
17002
|
+
/* harmony export */ "sequentialSqrt": () => (/* binding */ sequentialSqrt),
|
|
17003
|
+
/* harmony export */ "sequentialSymlog": () => (/* binding */ sequentialSymlog)
|
|
16918
17004
|
/* harmony export */ });
|
|
16919
17005
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
16920
17006
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/round.js");
|
|
@@ -17102,8 +17188,8 @@ function sequentialQuantile() {
|
|
|
17102
17188
|
"use strict";
|
|
17103
17189
|
__webpack_require__.r(__webpack_exports__);
|
|
17104
17190
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17105
|
-
/* harmony export */ "
|
|
17106
|
-
/* harmony export */ "
|
|
17191
|
+
/* harmony export */ "default": () => (/* binding */ symlog),
|
|
17192
|
+
/* harmony export */ "symlogish": () => (/* binding */ symlogish)
|
|
17107
17193
|
/* harmony export */ });
|
|
17108
17194
|
/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./linear.js */ "../../victory-vendor/node_modules/d3-scale/src/linear.js");
|
|
17109
17195
|
/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./continuous.js */ "../../victory-vendor/node_modules/d3-scale/src/continuous.js");
|
|
@@ -17395,11 +17481,11 @@ function utcTime() {
|
|
|
17395
17481
|
"use strict";
|
|
17396
17482
|
__webpack_require__.r(__webpack_exports__);
|
|
17397
17483
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17484
|
+
/* harmony export */ "default": () => (/* binding */ defaultLocale),
|
|
17398
17485
|
/* harmony export */ "timeFormat": () => (/* binding */ timeFormat),
|
|
17399
17486
|
/* harmony export */ "timeParse": () => (/* binding */ timeParse),
|
|
17400
17487
|
/* harmony export */ "utcFormat": () => (/* binding */ utcFormat),
|
|
17401
|
-
/* harmony export */ "utcParse": () => (/* binding */ utcParse)
|
|
17402
|
-
/* harmony export */ "default": () => (/* binding */ defaultLocale)
|
|
17488
|
+
/* harmony export */ "utcParse": () => (/* binding */ utcParse)
|
|
17403
17489
|
/* harmony export */ });
|
|
17404
17490
|
/* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./locale.js */ "../../victory-vendor/node_modules/d3-time-format/src/locale.js");
|
|
17405
17491
|
|
|
@@ -18149,8 +18235,8 @@ function formatUnixTimestampSeconds(d) {
|
|
|
18149
18235
|
"use strict";
|
|
18150
18236
|
__webpack_require__.r(__webpack_exports__);
|
|
18151
18237
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18152
|
-
/* harmony export */ "
|
|
18153
|
-
/* harmony export */ "
|
|
18238
|
+
/* harmony export */ "days": () => (/* binding */ days),
|
|
18239
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
18154
18240
|
/* harmony export */ });
|
|
18155
18241
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
18156
18242
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -18179,12 +18265,12 @@ var days = day.range;
|
|
|
18179
18265
|
"use strict";
|
|
18180
18266
|
__webpack_require__.r(__webpack_exports__);
|
|
18181
18267
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18182
|
-
/* harmony export */ "durationSecond": () => (/* binding */ durationSecond),
|
|
18183
|
-
/* harmony export */ "durationMinute": () => (/* binding */ durationMinute),
|
|
18184
|
-
/* harmony export */ "durationHour": () => (/* binding */ durationHour),
|
|
18185
18268
|
/* harmony export */ "durationDay": () => (/* binding */ durationDay),
|
|
18186
|
-
/* harmony export */ "
|
|
18269
|
+
/* harmony export */ "durationHour": () => (/* binding */ durationHour),
|
|
18270
|
+
/* harmony export */ "durationMinute": () => (/* binding */ durationMinute),
|
|
18187
18271
|
/* harmony export */ "durationMonth": () => (/* binding */ durationMonth),
|
|
18272
|
+
/* harmony export */ "durationSecond": () => (/* binding */ durationSecond),
|
|
18273
|
+
/* harmony export */ "durationWeek": () => (/* binding */ durationWeek),
|
|
18188
18274
|
/* harmony export */ "durationYear": () => (/* binding */ durationYear)
|
|
18189
18275
|
/* harmony export */ });
|
|
18190
18276
|
const durationSecond = 1000;
|
|
@@ -18466,10 +18552,10 @@ var seconds = second.range;
|
|
|
18466
18552
|
"use strict";
|
|
18467
18553
|
__webpack_require__.r(__webpack_exports__);
|
|
18468
18554
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18469
|
-
/* harmony export */ "
|
|
18470
|
-
/* harmony export */ "utcTickInterval": () => (/* binding */ utcTickInterval),
|
|
18555
|
+
/* harmony export */ "timeTickInterval": () => (/* binding */ timeTickInterval),
|
|
18471
18556
|
/* harmony export */ "timeTicks": () => (/* binding */ timeTicks),
|
|
18472
|
-
/* harmony export */ "
|
|
18557
|
+
/* harmony export */ "utcTickInterval": () => (/* binding */ utcTickInterval),
|
|
18558
|
+
/* harmony export */ "utcTicks": () => (/* binding */ utcTicks)
|
|
18473
18559
|
/* harmony export */ });
|
|
18474
18560
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/bisector.js");
|
|
18475
18561
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
@@ -18696,20 +18782,20 @@ var utcMonths = utcMonth.range;
|
|
|
18696
18782
|
"use strict";
|
|
18697
18783
|
__webpack_require__.r(__webpack_exports__);
|
|
18698
18784
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18699
|
-
/* harmony export */ "utcSunday": () => (/* binding */ utcSunday),
|
|
18700
|
-
/* harmony export */ "utcMonday": () => (/* binding */ utcMonday),
|
|
18701
|
-
/* harmony export */ "utcTuesday": () => (/* binding */ utcTuesday),
|
|
18702
|
-
/* harmony export */ "utcWednesday": () => (/* binding */ utcWednesday),
|
|
18703
|
-
/* harmony export */ "utcThursday": () => (/* binding */ utcThursday),
|
|
18704
18785
|
/* harmony export */ "utcFriday": () => (/* binding */ utcFriday),
|
|
18786
|
+
/* harmony export */ "utcFridays": () => (/* binding */ utcFridays),
|
|
18787
|
+
/* harmony export */ "utcMonday": () => (/* binding */ utcMonday),
|
|
18788
|
+
/* harmony export */ "utcMondays": () => (/* binding */ utcMondays),
|
|
18705
18789
|
/* harmony export */ "utcSaturday": () => (/* binding */ utcSaturday),
|
|
18790
|
+
/* harmony export */ "utcSaturdays": () => (/* binding */ utcSaturdays),
|
|
18791
|
+
/* harmony export */ "utcSunday": () => (/* binding */ utcSunday),
|
|
18706
18792
|
/* harmony export */ "utcSundays": () => (/* binding */ utcSundays),
|
|
18707
|
-
/* harmony export */ "
|
|
18708
|
-
/* harmony export */ "utcTuesdays": () => (/* binding */ utcTuesdays),
|
|
18709
|
-
/* harmony export */ "utcWednesdays": () => (/* binding */ utcWednesdays),
|
|
18793
|
+
/* harmony export */ "utcThursday": () => (/* binding */ utcThursday),
|
|
18710
18794
|
/* harmony export */ "utcThursdays": () => (/* binding */ utcThursdays),
|
|
18711
|
-
/* harmony export */ "
|
|
18712
|
-
/* harmony export */ "
|
|
18795
|
+
/* harmony export */ "utcTuesday": () => (/* binding */ utcTuesday),
|
|
18796
|
+
/* harmony export */ "utcTuesdays": () => (/* binding */ utcTuesdays),
|
|
18797
|
+
/* harmony export */ "utcWednesday": () => (/* binding */ utcWednesday),
|
|
18798
|
+
/* harmony export */ "utcWednesdays": () => (/* binding */ utcWednesdays)
|
|
18713
18799
|
/* harmony export */ });
|
|
18714
18800
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
18715
18801
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -18798,20 +18884,20 @@ var utcYears = utcYear.range;
|
|
|
18798
18884
|
"use strict";
|
|
18799
18885
|
__webpack_require__.r(__webpack_exports__);
|
|
18800
18886
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18801
|
-
/* harmony export */ "sunday": () => (/* binding */ sunday),
|
|
18802
|
-
/* harmony export */ "monday": () => (/* binding */ monday),
|
|
18803
|
-
/* harmony export */ "tuesday": () => (/* binding */ tuesday),
|
|
18804
|
-
/* harmony export */ "wednesday": () => (/* binding */ wednesday),
|
|
18805
|
-
/* harmony export */ "thursday": () => (/* binding */ thursday),
|
|
18806
18887
|
/* harmony export */ "friday": () => (/* binding */ friday),
|
|
18888
|
+
/* harmony export */ "fridays": () => (/* binding */ fridays),
|
|
18889
|
+
/* harmony export */ "monday": () => (/* binding */ monday),
|
|
18890
|
+
/* harmony export */ "mondays": () => (/* binding */ mondays),
|
|
18807
18891
|
/* harmony export */ "saturday": () => (/* binding */ saturday),
|
|
18892
|
+
/* harmony export */ "saturdays": () => (/* binding */ saturdays),
|
|
18893
|
+
/* harmony export */ "sunday": () => (/* binding */ sunday),
|
|
18808
18894
|
/* harmony export */ "sundays": () => (/* binding */ sundays),
|
|
18809
|
-
/* harmony export */ "
|
|
18810
|
-
/* harmony export */ "tuesdays": () => (/* binding */ tuesdays),
|
|
18811
|
-
/* harmony export */ "wednesdays": () => (/* binding */ wednesdays),
|
|
18895
|
+
/* harmony export */ "thursday": () => (/* binding */ thursday),
|
|
18812
18896
|
/* harmony export */ "thursdays": () => (/* binding */ thursdays),
|
|
18813
|
-
/* harmony export */ "
|
|
18814
|
-
/* harmony export */ "
|
|
18897
|
+
/* harmony export */ "tuesday": () => (/* binding */ tuesday),
|
|
18898
|
+
/* harmony export */ "tuesdays": () => (/* binding */ tuesdays),
|
|
18899
|
+
/* harmony export */ "wednesday": () => (/* binding */ wednesday),
|
|
18900
|
+
/* harmony export */ "wednesdays": () => (/* binding */ wednesdays)
|
|
18815
18901
|
/* harmony export */ });
|
|
18816
18902
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
18817
18903
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -18900,8 +18986,8 @@ var years = year.range;
|
|
|
18900
18986
|
"use strict";
|
|
18901
18987
|
__webpack_require__.r(__webpack_exports__);
|
|
18902
18988
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18903
|
-
/* harmony export */ "now": () => (/* binding */ now),
|
|
18904
18989
|
/* harmony export */ "Timer": () => (/* binding */ Timer),
|
|
18990
|
+
/* harmony export */ "now": () => (/* binding */ now),
|
|
18905
18991
|
/* harmony export */ "timer": () => (/* binding */ timer),
|
|
18906
18992
|
/* harmony export */ "timerFlush": () => (/* binding */ timerFlush)
|
|
18907
18993
|
/* harmony export */ });
|