victory-group 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-group.js +404 -318
- package/dist/victory-group.min.js +1 -1
- package/package.json +6 -6
package/dist/victory-group.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
exports["VictoryGroup"] = factory(require("react"));
|
|
8
8
|
else
|
|
9
9
|
root["VictoryGroup"] = factory(root["React"]);
|
|
10
|
-
})(self,
|
|
10
|
+
})(self, (__WEBPACK_EXTERNAL_MODULE_react__) => {
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
@@ -21,8 +21,8 @@ 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 */ "
|
|
25
|
-
/* harmony export */ "
|
|
24
|
+
/* harmony export */ "getChildren": () => (/* binding */ getChildren),
|
|
25
|
+
/* harmony export */ "useMemoizedProps": () => (/* binding */ useMemoizedProps)
|
|
26
26
|
/* harmony export */ });
|
|
27
27
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/assign */ "../../../node_modules/lodash/assign.js");
|
|
28
28
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -300,22 +300,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300
300
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
|
|
301
301
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/assign */ "../../../node_modules/lodash/assign.js");
|
|
302
302
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_2__);
|
|
303
|
-
/* harmony import */ var
|
|
304
|
-
/* harmony import */ var
|
|
305
|
-
/* harmony import */ var
|
|
306
|
-
/* harmony import */ var
|
|
307
|
-
/* harmony import */ var
|
|
308
|
-
/* harmony import */ var
|
|
309
|
-
/* harmony import */ var
|
|
310
|
-
/* harmony import */ var
|
|
311
|
-
/* harmony import */ var
|
|
312
|
-
/* harmony import */ var
|
|
303
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
304
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_13__);
|
|
305
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
|
|
306
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
|
|
307
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/hooks/use-animation-state.js");
|
|
308
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/helpers.js");
|
|
309
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/user-props.js");
|
|
310
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/wrapper.js");
|
|
311
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/hooks/use-previous-props.js");
|
|
312
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/common-props.js");
|
|
313
313
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-container/victory-container.js");
|
|
314
314
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-theme/victory-theme.js");
|
|
315
|
-
/* harmony import */ var
|
|
316
|
-
/* harmony import */ var
|
|
317
|
-
/* harmony import */ var
|
|
318
|
-
/* harmony import */ var
|
|
315
|
+
/* harmony import */ var victory_shared_events__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! victory-shared-events */ "../../victory-shared-events/es/victory-shared-events.js");
|
|
316
|
+
/* harmony import */ var _helper_methods__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./helper-methods */ "./helper-methods.js");
|
|
317
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/react-fast-compare/index.js");
|
|
318
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_4__);
|
|
319
319
|
|
|
320
320
|
|
|
321
321
|
|
|
@@ -343,13 +343,13 @@ var VictoryGroup = function (initialProps) {
|
|
|
343
343
|
// eslint-disable-next-line no-use-before-define
|
|
344
344
|
var role = VictoryGroupMemo.role;
|
|
345
345
|
|
|
346
|
-
var _Hooks$useAnimationSt =
|
|
346
|
+
var _Hooks$useAnimationSt = victory_core__WEBPACK_IMPORTED_MODULE_5__.useAnimationState(),
|
|
347
347
|
getAnimationProps = _Hooks$useAnimationSt.getAnimationProps,
|
|
348
348
|
setAnimationState = _Hooks$useAnimationSt.setAnimationState,
|
|
349
349
|
getProps = _Hooks$useAnimationSt.getProps;
|
|
350
350
|
|
|
351
351
|
var props = getProps(initialProps);
|
|
352
|
-
var modifiedProps =
|
|
352
|
+
var modifiedProps = victory_core__WEBPACK_IMPORTED_MODULE_6__.modifyProps(props, fallbackProps, role);
|
|
353
353
|
var eventKey = modifiedProps.eventKey,
|
|
354
354
|
containerComponent = modifiedProps.containerComponent,
|
|
355
355
|
standalone = modifiedProps.standalone,
|
|
@@ -361,23 +361,23 @@ var VictoryGroup = function (initialProps) {
|
|
|
361
361
|
polar = modifiedProps.polar,
|
|
362
362
|
horizontal = modifiedProps.horizontal,
|
|
363
363
|
name = modifiedProps.name;
|
|
364
|
-
var childComponents =
|
|
365
|
-
var calculatedProps = (0,
|
|
364
|
+
var childComponents = react__WEBPACK_IMPORTED_MODULE_3___default().Children.toArray(modifiedProps.children);
|
|
365
|
+
var calculatedProps = (0,_helper_methods__WEBPACK_IMPORTED_MODULE_7__.useMemoizedProps)(modifiedProps);
|
|
366
366
|
var domain = calculatedProps.domain,
|
|
367
367
|
scale = calculatedProps.scale,
|
|
368
368
|
style = calculatedProps.style,
|
|
369
369
|
origin = calculatedProps.origin;
|
|
370
|
-
var newChildren =
|
|
371
|
-
var children = (0,
|
|
370
|
+
var newChildren = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {
|
|
371
|
+
var children = (0,_helper_methods__WEBPACK_IMPORTED_MODULE_7__.getChildren)(props, childComponents, calculatedProps);
|
|
372
372
|
return children.map(function (child, index) {
|
|
373
373
|
var childProps = lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({
|
|
374
374
|
animate: getAnimationProps(props, child, index, "victory-group")
|
|
375
375
|
}, child.props);
|
|
376
376
|
|
|
377
|
-
return /*#__PURE__*/
|
|
377
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(child, childProps);
|
|
378
378
|
});
|
|
379
379
|
}, [props, childComponents, calculatedProps, getAnimationProps]);
|
|
380
|
-
var containerProps =
|
|
380
|
+
var containerProps = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {
|
|
381
381
|
if (standalone) {
|
|
382
382
|
return {
|
|
383
383
|
domain: domain,
|
|
@@ -396,23 +396,23 @@ var VictoryGroup = function (initialProps) {
|
|
|
396
396
|
|
|
397
397
|
return {};
|
|
398
398
|
}, [standalone, domain, scale, width, height, theme, style, horizontal, polar, origin, name]);
|
|
399
|
-
var userProps =
|
|
400
|
-
return
|
|
399
|
+
var userProps = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {
|
|
400
|
+
return victory_core__WEBPACK_IMPORTED_MODULE_8__.getSafeUserProps(initialProps);
|
|
401
401
|
}, [initialProps]);
|
|
402
|
-
var container =
|
|
402
|
+
var container = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {
|
|
403
403
|
if (standalone) {
|
|
404
404
|
var defaultContainerProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, containerComponent.props, containerProps, userProps);
|
|
405
405
|
|
|
406
|
-
return /*#__PURE__*/
|
|
406
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(containerComponent, defaultContainerProps);
|
|
407
407
|
}
|
|
408
408
|
|
|
409
|
-
return /*#__PURE__*/
|
|
409
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(groupComponent, userProps);
|
|
410
410
|
}, [groupComponent, standalone, containerComponent, containerProps, userProps]);
|
|
411
|
-
var events =
|
|
412
|
-
return
|
|
411
|
+
var events = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {
|
|
412
|
+
return victory_core__WEBPACK_IMPORTED_MODULE_9__.getAllEvents(props);
|
|
413
413
|
}, [props]);
|
|
414
|
-
var previousProps =
|
|
415
|
-
|
|
414
|
+
var previousProps = victory_core__WEBPACK_IMPORTED_MODULE_10__.usePreviousProps(initialProps);
|
|
415
|
+
react__WEBPACK_IMPORTED_MODULE_3___default().useEffect(function () {
|
|
416
416
|
// This is called before dismount to keep state in sync
|
|
417
417
|
return function () {
|
|
418
418
|
if (initialProps.animate) {
|
|
@@ -422,7 +422,7 @@ var VictoryGroup = function (initialProps) {
|
|
|
422
422
|
}, [setAnimationState, previousProps, initialProps, props]);
|
|
423
423
|
|
|
424
424
|
if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(events)) {
|
|
425
|
-
return /*#__PURE__*/
|
|
425
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(victory_shared_events__WEBPACK_IMPORTED_MODULE_11__["default"], {
|
|
426
426
|
container: container,
|
|
427
427
|
eventKey: eventKey,
|
|
428
428
|
events: events,
|
|
@@ -430,19 +430,19 @@ var VictoryGroup = function (initialProps) {
|
|
|
430
430
|
}, newChildren);
|
|
431
431
|
}
|
|
432
432
|
|
|
433
|
-
return /*#__PURE__*/
|
|
433
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(container, container.props, newChildren);
|
|
434
434
|
};
|
|
435
435
|
|
|
436
|
-
VictoryGroup.propTypes = _objectSpread(_objectSpread(_objectSpread({},
|
|
437
|
-
children:
|
|
438
|
-
color:
|
|
439
|
-
colorScale:
|
|
440
|
-
horizontal: (
|
|
441
|
-
offset: (
|
|
436
|
+
VictoryGroup.propTypes = _objectSpread(_objectSpread(_objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_12__.baseProps), victory_core__WEBPACK_IMPORTED_MODULE_12__.dataProps), {}, {
|
|
437
|
+
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)]),
|
|
438
|
+
color: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_13___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().func)]),
|
|
439
|
+
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"])]),
|
|
440
|
+
horizontal: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().bool),
|
|
441
|
+
offset: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().number)
|
|
442
442
|
});
|
|
443
443
|
VictoryGroup.defaultProps = {
|
|
444
|
-
containerComponent: /*#__PURE__*/
|
|
445
|
-
groupComponent: /*#__PURE__*/
|
|
444
|
+
containerComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_14__["default"], null),
|
|
445
|
+
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("g", null),
|
|
446
446
|
samples: 50,
|
|
447
447
|
sortOrder: "ascending",
|
|
448
448
|
standalone: true,
|
|
@@ -450,11 +450,11 @@ VictoryGroup.defaultProps = {
|
|
|
450
450
|
}; // We need to attatch the static properties to the memoized version, or else
|
|
451
451
|
// VictoryChart will not be able to get this component's role type
|
|
452
452
|
|
|
453
|
-
var VictoryGroupMemo = /*#__PURE__*/
|
|
453
|
+
var VictoryGroupMemo = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().memo(VictoryGroup, (react_fast_compare__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
454
454
|
VictoryGroupMemo.displayName = "VictoryGroup";
|
|
455
455
|
VictoryGroupMemo.role = "group";
|
|
456
456
|
VictoryGroupMemo.expectedComponents = ["groupComponent", "containerComponent", "labelComponent"];
|
|
457
|
-
VictoryGroupMemo.getChildren =
|
|
457
|
+
VictoryGroupMemo.getChildren = _helper_methods__WEBPACK_IMPORTED_MODULE_7__.getChildren;
|
|
458
458
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (VictoryGroupMemo);
|
|
459
459
|
|
|
460
460
|
/***/ }),
|
|
@@ -6407,7 +6407,7 @@ var printWarning = function() {};
|
|
|
6407
6407
|
if (true) {
|
|
6408
6408
|
var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../../node_modules/prop-types/lib/ReactPropTypesSecret.js");
|
|
6409
6409
|
var loggedTypeFailures = {};
|
|
6410
|
-
var has =
|
|
6410
|
+
var has = __webpack_require__(/*! ./lib/has */ "../../../node_modules/prop-types/lib/has.js");
|
|
6411
6411
|
|
|
6412
6412
|
printWarning = function(text) {
|
|
6413
6413
|
var message = 'Warning: ' + text;
|
|
@@ -6419,7 +6419,7 @@ if (true) {
|
|
|
6419
6419
|
// This error was thrown as a convenience so that you can use this stack
|
|
6420
6420
|
// to find the callsite that caused this warning to fire.
|
|
6421
6421
|
throw new Error(message);
|
|
6422
|
-
} catch (x) {}
|
|
6422
|
+
} catch (x) { /**/ }
|
|
6423
6423
|
};
|
|
6424
6424
|
}
|
|
6425
6425
|
|
|
@@ -6448,7 +6448,8 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
|
6448
6448
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
6449
6449
|
var err = Error(
|
|
6450
6450
|
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
6451
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
6451
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
6452
|
+
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
6452
6453
|
);
|
|
6453
6454
|
err.name = 'Invariant Violation';
|
|
6454
6455
|
throw err;
|
|
@@ -6519,9 +6520,9 @@ var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/react-i
|
|
|
6519
6520
|
var assign = __webpack_require__(/*! object-assign */ "../../../node_modules/object-assign/index.js");
|
|
6520
6521
|
|
|
6521
6522
|
var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../../node_modules/prop-types/lib/ReactPropTypesSecret.js");
|
|
6523
|
+
var has = __webpack_require__(/*! ./lib/has */ "../../../node_modules/prop-types/lib/has.js");
|
|
6522
6524
|
var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "../../../node_modules/prop-types/checkPropTypes.js");
|
|
6523
6525
|
|
|
6524
|
-
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
6525
6526
|
var printWarning = function() {};
|
|
6526
6527
|
|
|
6527
6528
|
if (true) {
|
|
@@ -6622,6 +6623,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6622
6623
|
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
6623
6624
|
var ReactPropTypes = {
|
|
6624
6625
|
array: createPrimitiveTypeChecker('array'),
|
|
6626
|
+
bigint: createPrimitiveTypeChecker('bigint'),
|
|
6625
6627
|
bool: createPrimitiveTypeChecker('boolean'),
|
|
6626
6628
|
func: createPrimitiveTypeChecker('function'),
|
|
6627
6629
|
number: createPrimitiveTypeChecker('number'),
|
|
@@ -6667,8 +6669,9 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6667
6669
|
* is prohibitively expensive if they are created too often, such as what
|
|
6668
6670
|
* happens in oneOfType() for any type before the one that matched.
|
|
6669
6671
|
*/
|
|
6670
|
-
function PropTypeError(message) {
|
|
6672
|
+
function PropTypeError(message, data) {
|
|
6671
6673
|
this.message = message;
|
|
6674
|
+
this.data = data && typeof data === 'object' ? data: {};
|
|
6672
6675
|
this.stack = '';
|
|
6673
6676
|
}
|
|
6674
6677
|
// Make `instanceof Error` still work for returned errors.
|
|
@@ -6703,7 +6706,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6703
6706
|
) {
|
|
6704
6707
|
printWarning(
|
|
6705
6708
|
'You are manually calling a React.PropTypes validation ' +
|
|
6706
|
-
'function for the `' + propFullName + '` prop on `' + componentName
|
|
6709
|
+
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
6707
6710
|
'and will throw in the standalone `prop-types` package. ' +
|
|
6708
6711
|
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
6709
6712
|
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
@@ -6742,7 +6745,10 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6742
6745
|
// 'of type `object`'.
|
|
6743
6746
|
var preciseType = getPreciseType(propValue);
|
|
6744
6747
|
|
|
6745
|
-
return new PropTypeError(
|
|
6748
|
+
return new PropTypeError(
|
|
6749
|
+
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
6750
|
+
{expectedType: expectedType}
|
|
6751
|
+
);
|
|
6746
6752
|
}
|
|
6747
6753
|
return null;
|
|
6748
6754
|
}
|
|
@@ -6886,14 +6892,19 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6886
6892
|
}
|
|
6887
6893
|
|
|
6888
6894
|
function validate(props, propName, componentName, location, propFullName) {
|
|
6895
|
+
var expectedTypes = [];
|
|
6889
6896
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
6890
6897
|
var checker = arrayOfTypeCheckers[i];
|
|
6891
|
-
|
|
6898
|
+
var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
|
6899
|
+
if (checkerResult == null) {
|
|
6892
6900
|
return null;
|
|
6893
6901
|
}
|
|
6902
|
+
if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
|
|
6903
|
+
expectedTypes.push(checkerResult.data.expectedType);
|
|
6904
|
+
}
|
|
6894
6905
|
}
|
|
6895
|
-
|
|
6896
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '
|
|
6906
|
+
var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
|
|
6907
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
|
|
6897
6908
|
}
|
|
6898
6909
|
return createChainableTypeChecker(validate);
|
|
6899
6910
|
}
|
|
@@ -6908,6 +6919,13 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6908
6919
|
return createChainableTypeChecker(validate);
|
|
6909
6920
|
}
|
|
6910
6921
|
|
|
6922
|
+
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
6923
|
+
return new PropTypeError(
|
|
6924
|
+
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
6925
|
+
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
6926
|
+
);
|
|
6927
|
+
}
|
|
6928
|
+
|
|
6911
6929
|
function createShapeTypeChecker(shapeTypes) {
|
|
6912
6930
|
function validate(props, propName, componentName, location, propFullName) {
|
|
6913
6931
|
var propValue = props[propName];
|
|
@@ -6917,8 +6935,8 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6917
6935
|
}
|
|
6918
6936
|
for (var key in shapeTypes) {
|
|
6919
6937
|
var checker = shapeTypes[key];
|
|
6920
|
-
if (
|
|
6921
|
-
|
|
6938
|
+
if (typeof checker !== 'function') {
|
|
6939
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
6922
6940
|
}
|
|
6923
6941
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
6924
6942
|
if (error) {
|
|
@@ -6937,16 +6955,18 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6937
6955
|
if (propType !== 'object') {
|
|
6938
6956
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
6939
6957
|
}
|
|
6940
|
-
// We need to check all keys in case some are required but missing from
|
|
6941
|
-
// props.
|
|
6958
|
+
// We need to check all keys in case some are required but missing from props.
|
|
6942
6959
|
var allKeys = assign({}, props[propName], shapeTypes);
|
|
6943
6960
|
for (var key in allKeys) {
|
|
6944
6961
|
var checker = shapeTypes[key];
|
|
6962
|
+
if (has(shapeTypes, key) && typeof checker !== 'function') {
|
|
6963
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
6964
|
+
}
|
|
6945
6965
|
if (!checker) {
|
|
6946
6966
|
return new PropTypeError(
|
|
6947
6967
|
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
6948
6968
|
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
6949
|
-
'\nValid keys: ' +
|
|
6969
|
+
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
6950
6970
|
);
|
|
6951
6971
|
}
|
|
6952
6972
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
@@ -7147,6 +7167,17 @@ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
|
7147
7167
|
module.exports = ReactPropTypesSecret;
|
|
7148
7168
|
|
|
7149
7169
|
|
|
7170
|
+
/***/ }),
|
|
7171
|
+
|
|
7172
|
+
/***/ "../../../node_modules/prop-types/lib/has.js":
|
|
7173
|
+
/*!***************************************************!*\
|
|
7174
|
+
!*** ../../../node_modules/prop-types/lib/has.js ***!
|
|
7175
|
+
\***************************************************/
|
|
7176
|
+
/***/ ((module) => {
|
|
7177
|
+
|
|
7178
|
+
module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
7179
|
+
|
|
7180
|
+
|
|
7150
7181
|
/***/ }),
|
|
7151
7182
|
|
|
7152
7183
|
/***/ "../../../node_modules/react-fast-compare/index.js":
|
|
@@ -7155,26 +7186,24 @@ module.exports = ReactPropTypesSecret;
|
|
|
7155
7186
|
\*********************************************************/
|
|
7156
7187
|
/***/ ((module) => {
|
|
7157
7188
|
|
|
7158
|
-
|
|
7159
|
-
|
|
7189
|
+
/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */
|
|
7160
7190
|
|
|
7161
|
-
var isArray = Array.isArray;
|
|
7162
|
-
var keyList = Object.keys;
|
|
7163
|
-
var hasProp = Object.prototype.hasOwnProperty;
|
|
7164
7191
|
var hasElementType = typeof Element !== 'undefined';
|
|
7192
|
+
var hasMap = typeof Map === 'function';
|
|
7193
|
+
var hasSet = typeof Set === 'function';
|
|
7194
|
+
var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;
|
|
7195
|
+
|
|
7196
|
+
// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js
|
|
7165
7197
|
|
|
7166
7198
|
function equal(a, b) {
|
|
7167
|
-
// fast-deep-equal index.js
|
|
7199
|
+
// START: fast-deep-equal es6/index.js 3.1.1
|
|
7168
7200
|
if (a === b) return true;
|
|
7169
7201
|
|
|
7170
7202
|
if (a && b && typeof a == 'object' && typeof b == 'object') {
|
|
7171
|
-
|
|
7172
|
-
, arrB = isArray(b)
|
|
7173
|
-
, i
|
|
7174
|
-
, length
|
|
7175
|
-
, key;
|
|
7203
|
+
if (a.constructor !== b.constructor) return false;
|
|
7176
7204
|
|
|
7177
|
-
|
|
7205
|
+
var length, i, keys;
|
|
7206
|
+
if (Array.isArray(a)) {
|
|
7178
7207
|
length = a.length;
|
|
7179
7208
|
if (length != b.length) return false;
|
|
7180
7209
|
for (i = length; i-- !== 0;)
|
|
@@ -7182,50 +7211,91 @@ function equal(a, b) {
|
|
|
7182
7211
|
return true;
|
|
7183
7212
|
}
|
|
7184
7213
|
|
|
7185
|
-
|
|
7214
|
+
// START: Modifications:
|
|
7215
|
+
// 1. Extra `has<Type> &&` helpers in initial condition allow es6 code
|
|
7216
|
+
// to co-exist with es5.
|
|
7217
|
+
// 2. Replace `for of` with es5 compliant iteration using `for`.
|
|
7218
|
+
// Basically, take:
|
|
7219
|
+
//
|
|
7220
|
+
// ```js
|
|
7221
|
+
// for (i of a.entries())
|
|
7222
|
+
// if (!b.has(i[0])) return false;
|
|
7223
|
+
// ```
|
|
7224
|
+
//
|
|
7225
|
+
// ... and convert to:
|
|
7226
|
+
//
|
|
7227
|
+
// ```js
|
|
7228
|
+
// it = a.entries();
|
|
7229
|
+
// while (!(i = it.next()).done)
|
|
7230
|
+
// if (!b.has(i.value[0])) return false;
|
|
7231
|
+
// ```
|
|
7232
|
+
//
|
|
7233
|
+
// **Note**: `i` access switches to `i.value`.
|
|
7234
|
+
var it;
|
|
7235
|
+
if (hasMap && (a instanceof Map) && (b instanceof Map)) {
|
|
7236
|
+
if (a.size !== b.size) return false;
|
|
7237
|
+
it = a.entries();
|
|
7238
|
+
while (!(i = it.next()).done)
|
|
7239
|
+
if (!b.has(i.value[0])) return false;
|
|
7240
|
+
it = a.entries();
|
|
7241
|
+
while (!(i = it.next()).done)
|
|
7242
|
+
if (!equal(i.value[1], b.get(i.value[0]))) return false;
|
|
7243
|
+
return true;
|
|
7244
|
+
}
|
|
7245
|
+
|
|
7246
|
+
if (hasSet && (a instanceof Set) && (b instanceof Set)) {
|
|
7247
|
+
if (a.size !== b.size) return false;
|
|
7248
|
+
it = a.entries();
|
|
7249
|
+
while (!(i = it.next()).done)
|
|
7250
|
+
if (!b.has(i.value[0])) return false;
|
|
7251
|
+
return true;
|
|
7252
|
+
}
|
|
7253
|
+
// END: Modifications
|
|
7186
7254
|
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7255
|
+
if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
|
|
7256
|
+
length = a.length;
|
|
7257
|
+
if (length != b.length) return false;
|
|
7258
|
+
for (i = length; i-- !== 0;)
|
|
7259
|
+
if (a[i] !== b[i]) return false;
|
|
7260
|
+
return true;
|
|
7261
|
+
}
|
|
7191
7262
|
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
if (
|
|
7195
|
-
if (regexpA && regexpB) return a.toString() == b.toString();
|
|
7263
|
+
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
|
|
7264
|
+
if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
|
|
7265
|
+
if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
|
|
7196
7266
|
|
|
7197
|
-
|
|
7267
|
+
keys = Object.keys(a);
|
|
7198
7268
|
length = keys.length;
|
|
7199
|
-
|
|
7200
|
-
if (length !== keyList(b).length)
|
|
7201
|
-
return false;
|
|
7269
|
+
if (length !== Object.keys(b).length) return false;
|
|
7202
7270
|
|
|
7203
7271
|
for (i = length; i-- !== 0;)
|
|
7204
|
-
if (!
|
|
7205
|
-
//
|
|
7272
|
+
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
7273
|
+
// END: fast-deep-equal
|
|
7206
7274
|
|
|
7207
|
-
//
|
|
7275
|
+
// START: react-fast-compare
|
|
7208
7276
|
// custom handling for DOM elements
|
|
7209
|
-
if (hasElementType && a instanceof Element
|
|
7210
|
-
return a === b;
|
|
7277
|
+
if (hasElementType && a instanceof Element) return false;
|
|
7211
7278
|
|
|
7212
|
-
// custom handling for React
|
|
7279
|
+
// custom handling for React/Preact
|
|
7213
7280
|
for (i = length; i-- !== 0;) {
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
//
|
|
7217
|
-
//
|
|
7218
|
-
//
|
|
7219
|
-
//
|
|
7281
|
+
if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {
|
|
7282
|
+
// React-specific: avoid traversing React elements' _owner
|
|
7283
|
+
// Preact-specific: avoid traversing Preact elements' __v and __o
|
|
7284
|
+
// __v = $_original / $_vnode
|
|
7285
|
+
// __o = $_owner
|
|
7286
|
+
// These properties contain circular references and are not needed when
|
|
7287
|
+
// comparing the actual elements (and not their owners)
|
|
7288
|
+
// .$$typeof and ._store on just reasonable markers of elements
|
|
7289
|
+
|
|
7220
7290
|
continue;
|
|
7221
|
-
} else {
|
|
7222
|
-
// all other properties should be traversed as usual
|
|
7223
|
-
if (!equal(a[key], b[key])) return false;
|
|
7224
7291
|
}
|
|
7292
|
+
|
|
7293
|
+
// all other properties should be traversed as usual
|
|
7294
|
+
if (!equal(a[keys[i]], b[keys[i]])) return false;
|
|
7225
7295
|
}
|
|
7226
|
-
//
|
|
7296
|
+
// END: react-fast-compare
|
|
7227
7297
|
|
|
7228
|
-
// fast-deep-equal
|
|
7298
|
+
// START: fast-deep-equal
|
|
7229
7299
|
return true;
|
|
7230
7300
|
}
|
|
7231
7301
|
|
|
@@ -7233,17 +7303,17 @@ function equal(a, b) {
|
|
|
7233
7303
|
}
|
|
7234
7304
|
// end fast-deep-equal
|
|
7235
7305
|
|
|
7236
|
-
module.exports = function
|
|
7306
|
+
module.exports = function isEqual(a, b) {
|
|
7237
7307
|
try {
|
|
7238
7308
|
return equal(a, b);
|
|
7239
7309
|
} catch (error) {
|
|
7240
|
-
if ((error.message
|
|
7310
|
+
if (((error.message || '').match(/stack|recursion/i))) {
|
|
7241
7311
|
// warn on circular references, don't crash
|
|
7242
7312
|
// browsers give this different errors name and messages:
|
|
7243
7313
|
// chrome/safari: "RangeError", "Maximum call stack size exceeded"
|
|
7244
7314
|
// firefox: "InternalError", too much recursion"
|
|
7245
7315
|
// edge: "Error", "Out of stack space"
|
|
7246
|
-
console.warn('
|
|
7316
|
+
console.warn('react-fast-compare cannot handle circular refs');
|
|
7247
7317
|
return false;
|
|
7248
7318
|
}
|
|
7249
7319
|
// some other error. we should definitely know about these
|
|
@@ -7485,14 +7555,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7485
7555
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_4__);
|
|
7486
7556
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "react");
|
|
7487
7557
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
|
|
7488
|
-
/* harmony import */ var
|
|
7489
|
-
/* harmony import */ var
|
|
7558
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
7559
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_9__);
|
|
7490
7560
|
/* 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");
|
|
7491
7561
|
/* harmony import */ var _victory_portal_portal__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../victory-portal/portal */ "../../victory-core/es/victory-portal/portal.js");
|
|
7492
|
-
/* harmony import */ var
|
|
7562
|
+
/* 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");
|
|
7493
7563
|
/* 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");
|
|
7494
|
-
/* harmony import */ var
|
|
7495
|
-
/* harmony import */ var
|
|
7564
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
7565
|
+
/* 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");
|
|
7496
7566
|
|
|
7497
7567
|
|
|
7498
7568
|
|
|
@@ -7670,7 +7740,7 @@ var VictoryContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
7670
7740
|
preserveAspectRatio: svgProps.preserveAspectRatio,
|
|
7671
7741
|
style: portalSvgStyle
|
|
7672
7742
|
};
|
|
7673
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(
|
|
7743
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_6__["default"].Provider, {
|
|
7674
7744
|
value: {
|
|
7675
7745
|
portalUpdate: this.portalUpdate,
|
|
7676
7746
|
portalRegister: this.portalRegister,
|
|
@@ -7705,8 +7775,8 @@ var VictoryContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
7705
7775
|
tabIndex = _this$props.tabIndex,
|
|
7706
7776
|
preserveAspectRatio = _this$props.preserveAspectRatio,
|
|
7707
7777
|
role = _this$props.role;
|
|
7708
|
-
var style = responsive ? this.props.style :
|
|
7709
|
-
var userProps =
|
|
7778
|
+
var style = responsive ? this.props.style : _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__.omit(this.props.style, ["height", "width"]);
|
|
7779
|
+
var userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_8__.getSafeUserProps(this.props);
|
|
7710
7780
|
|
|
7711
7781
|
var svgProps = lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()(_objectSpread({
|
|
7712
7782
|
width: width,
|
|
@@ -7731,33 +7801,33 @@ _defineProperty(VictoryContainer, "displayName", "VictoryContainer");
|
|
|
7731
7801
|
_defineProperty(VictoryContainer, "role", "container");
|
|
7732
7802
|
|
|
7733
7803
|
_defineProperty(VictoryContainer, "propTypes", {
|
|
7734
|
-
"aria-describedby": (
|
|
7735
|
-
"aria-labelledby": (
|
|
7736
|
-
children:
|
|
7737
|
-
className: (
|
|
7738
|
-
containerId:
|
|
7739
|
-
containerRef: (
|
|
7740
|
-
desc: (
|
|
7741
|
-
events: (
|
|
7804
|
+
"aria-describedby": (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7805
|
+
"aria-labelledby": (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7806
|
+
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)]),
|
|
7807
|
+
className: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7808
|
+
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)]),
|
|
7809
|
+
containerRef: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().func),
|
|
7810
|
+
desc: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7811
|
+
events: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object),
|
|
7742
7812
|
height: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative,
|
|
7743
|
-
name: (
|
|
7744
|
-
origin:
|
|
7813
|
+
name: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7814
|
+
origin: prop_types__WEBPACK_IMPORTED_MODULE_9___default().shape({
|
|
7745
7815
|
x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative,
|
|
7746
7816
|
y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative
|
|
7747
7817
|
}),
|
|
7748
|
-
ouiaId:
|
|
7749
|
-
ouiaSafe: (
|
|
7750
|
-
ouiaType: (
|
|
7751
|
-
polar: (
|
|
7752
|
-
portalComponent: (
|
|
7818
|
+
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)]),
|
|
7819
|
+
ouiaSafe: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
|
|
7820
|
+
ouiaType: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7821
|
+
polar: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
|
|
7822
|
+
portalComponent: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().element),
|
|
7753
7823
|
portalZIndex: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.integer,
|
|
7754
|
-
preserveAspectRatio: (
|
|
7755
|
-
responsive: (
|
|
7756
|
-
role: (
|
|
7757
|
-
style: (
|
|
7758
|
-
tabIndex: (
|
|
7759
|
-
theme: (
|
|
7760
|
-
title: (
|
|
7824
|
+
preserveAspectRatio: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7825
|
+
responsive: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
|
|
7826
|
+
role: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7827
|
+
style: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object),
|
|
7828
|
+
tabIndex: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().number),
|
|
7829
|
+
theme: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object),
|
|
7830
|
+
title: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7761
7831
|
width: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative
|
|
7762
7832
|
});
|
|
7763
7833
|
|
|
@@ -8527,19 +8597,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8527
8597
|
"use strict";
|
|
8528
8598
|
__webpack_require__.r(__webpack_exports__);
|
|
8529
8599
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8530
|
-
/* harmony export */ "getAxis": () => (/* binding */ getAxis),
|
|
8531
8600
|
/* harmony export */ "findAxisComponents": () => (/* binding */ findAxisComponents),
|
|
8601
|
+
/* harmony export */ "getAxis": () => (/* binding */ getAxis),
|
|
8532
8602
|
/* harmony export */ "getAxisComponent": () => (/* binding */ getAxisComponent),
|
|
8533
8603
|
/* harmony export */ "getAxisComponentsWithParent": () => (/* binding */ getAxisComponentsWithParent),
|
|
8604
|
+
/* harmony export */ "getAxisValue": () => (/* binding */ getAxisValue),
|
|
8605
|
+
/* harmony export */ "getDomain": () => (/* binding */ getDomain),
|
|
8534
8606
|
/* harmony export */ "getOrigin": () => (/* binding */ getOrigin),
|
|
8535
8607
|
/* harmony export */ "getOriginSign": () => (/* binding */ getOriginSign),
|
|
8536
|
-
/* harmony export */ "isVertical": () => (/* binding */ isVertical),
|
|
8537
|
-
/* harmony export */ "stringTicks": () => (/* binding */ stringTicks),
|
|
8538
8608
|
/* harmony export */ "getTickFormat": () => (/* binding */ getTickFormat),
|
|
8539
8609
|
/* harmony export */ "getTicks": () => (/* binding */ getTicks),
|
|
8540
|
-
/* harmony export */ "
|
|
8541
|
-
/* harmony export */ "
|
|
8542
|
-
/* harmony export */ "
|
|
8610
|
+
/* harmony export */ "isVertical": () => (/* binding */ isVertical),
|
|
8611
|
+
/* harmony export */ "modifyProps": () => (/* binding */ modifyProps),
|
|
8612
|
+
/* harmony export */ "stringTicks": () => (/* binding */ stringTicks)
|
|
8543
8613
|
/* harmony export */ });
|
|
8544
8614
|
/* harmony import */ var lodash_without__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/without */ "../../../node_modules/lodash/without.js");
|
|
8545
8615
|
/* harmony import */ var lodash_without__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_without__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -9010,14 +9080,14 @@ function modifyProps(props, fallbackProps) {
|
|
|
9010
9080
|
"use strict";
|
|
9011
9081
|
__webpack_require__.r(__webpack_exports__);
|
|
9012
9082
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9013
|
-
/* harmony export */ "containsStrings": () => (/* binding */ containsStrings),
|
|
9014
9083
|
/* harmony export */ "containsDates": () => (/* binding */ containsDates),
|
|
9015
9084
|
/* harmony export */ "containsNumbers": () => (/* binding */ containsNumbers),
|
|
9016
9085
|
/* harmony export */ "containsOnlyStrings": () => (/* binding */ containsOnlyStrings),
|
|
9017
|
-
/* harmony export */ "
|
|
9018
|
-
/* harmony export */ "removeUndefined": () => (/* binding */ removeUndefined),
|
|
9086
|
+
/* harmony export */ "containsStrings": () => (/* binding */ containsStrings),
|
|
9019
9087
|
/* harmony export */ "getMaxValue": () => (/* binding */ getMaxValue),
|
|
9020
|
-
/* harmony export */ "getMinValue": () => (/* binding */ getMinValue)
|
|
9088
|
+
/* harmony export */ "getMinValue": () => (/* binding */ getMinValue),
|
|
9089
|
+
/* harmony export */ "isArrayOfArrays": () => (/* binding */ isArrayOfArrays),
|
|
9090
|
+
/* harmony export */ "removeUndefined": () => (/* binding */ removeUndefined)
|
|
9021
9091
|
/* harmony export */ });
|
|
9022
9092
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
9023
9093
|
|
|
@@ -9094,8 +9164,8 @@ function getMinValue(arr) {
|
|
|
9094
9164
|
"use strict";
|
|
9095
9165
|
__webpack_require__.r(__webpack_exports__);
|
|
9096
9166
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9097
|
-
/* harmony export */ "dataProps": () => (/* binding */ dataProps),
|
|
9098
9167
|
/* harmony export */ "baseProps": () => (/* binding */ baseProps),
|
|
9168
|
+
/* harmony export */ "dataProps": () => (/* binding */ dataProps),
|
|
9099
9169
|
/* harmony export */ "primitiveProps": () => (/* binding */ primitiveProps)
|
|
9100
9170
|
/* harmony export */ });
|
|
9101
9171
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
@@ -9151,10 +9221,10 @@ var baseProps = {
|
|
|
9151
9221
|
eventHandlers: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)
|
|
9152
9222
|
})),
|
|
9153
9223
|
externalEventMutations: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
9154
|
-
callback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()
|
|
9224
|
+
callback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
|
9155
9225
|
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)]),
|
|
9156
9226
|
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)]),
|
|
9157
|
-
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()
|
|
9227
|
+
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
|
9158
9228
|
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)])
|
|
9159
9229
|
})),
|
|
9160
9230
|
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),
|
|
@@ -9229,10 +9299,10 @@ var primitiveProps = {
|
|
|
9229
9299
|
"use strict";
|
|
9230
9300
|
__webpack_require__.r(__webpack_exports__);
|
|
9231
9301
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9232
|
-
/* harmony export */ "formatDataFromDomain": () => (/* binding */ formatDataFromDomain),
|
|
9233
9302
|
/* harmony export */ "createStringMap": () => (/* binding */ createStringMap),
|
|
9234
9303
|
/* harmony export */ "downsample": () => (/* binding */ downsample),
|
|
9235
9304
|
/* harmony export */ "formatData": () => (/* binding */ formatData),
|
|
9305
|
+
/* harmony export */ "formatDataFromDomain": () => (/* binding */ formatDataFromDomain),
|
|
9236
9306
|
/* harmony export */ "generateData": () => (/* binding */ generateData),
|
|
9237
9307
|
/* harmony export */ "getCategories": () => (/* binding */ getCategories),
|
|
9238
9308
|
/* harmony export */ "getData": () => (/* binding */ getData),
|
|
@@ -10198,18 +10268,18 @@ function isDomainComponent(component) {
|
|
|
10198
10268
|
"use strict";
|
|
10199
10269
|
__webpack_require__.r(__webpack_exports__);
|
|
10200
10270
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10201
|
-
/* harmony export */ "
|
|
10202
|
-
/* harmony export */ "
|
|
10203
|
-
/* harmony export */ "getPartialEvents": () => (/* binding */ getPartialEvents),
|
|
10271
|
+
/* harmony export */ "emulateReactEvent": () => (/* binding */ emulateReactEvent),
|
|
10272
|
+
/* harmony export */ "getComponentEvents": () => (/* binding */ getComponentEvents),
|
|
10204
10273
|
/* harmony export */ "getEventState": () => (/* binding */ getEventState),
|
|
10205
|
-
/* harmony export */ "
|
|
10206
|
-
/* harmony export */ "getExternalMutations": () => (/* binding */ getExternalMutations),
|
|
10274
|
+
/* harmony export */ "getEvents": () => (/* binding */ getEvents),
|
|
10207
10275
|
/* harmony export */ "getExternalMutation": () => (/* binding */ getExternalMutation),
|
|
10208
|
-
/* harmony export */ "
|
|
10276
|
+
/* harmony export */ "getExternalMutations": () => (/* binding */ getExternalMutations),
|
|
10277
|
+
/* harmony export */ "getExternalMutationsWithChildren": () => (/* binding */ getExternalMutationsWithChildren),
|
|
10209
10278
|
/* harmony export */ "getGlobalEventNameFromKey": () => (/* binding */ getGlobalEventNameFromKey),
|
|
10210
10279
|
/* harmony export */ "getGlobalEvents": () => (/* binding */ getGlobalEvents),
|
|
10211
|
-
/* harmony export */ "
|
|
10212
|
-
/* harmony export */ "
|
|
10280
|
+
/* harmony export */ "getPartialEvents": () => (/* binding */ getPartialEvents),
|
|
10281
|
+
/* harmony export */ "getScopedEvents": () => (/* binding */ getScopedEvents),
|
|
10282
|
+
/* harmony export */ "omitGlobalEvents": () => (/* binding */ omitGlobalEvents)
|
|
10213
10283
|
/* harmony export */ });
|
|
10214
10284
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/keys */ "../../../node_modules/lodash/keys.js");
|
|
10215
10285
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -10699,25 +10769,25 @@ var emulateReactEvent = function (event) {
|
|
|
10699
10769
|
"use strict";
|
|
10700
10770
|
__webpack_require__.r(__webpack_exports__);
|
|
10701
10771
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10702
|
-
/* harmony export */ "
|
|
10703
|
-
/* harmony export */ "
|
|
10704
|
-
/* harmony export */ "scalePoint": () => (/* binding */ scalePoint),
|
|
10705
|
-
/* harmony export */ "getPadding": () => (/* binding */ getPadding),
|
|
10706
|
-
/* harmony export */ "isTooltip": () => (/* binding */ isTooltip),
|
|
10707
|
-
/* harmony export */ "getDefaultStyles": () => (/* binding */ getDefaultStyles),
|
|
10708
|
-
/* harmony export */ "getStyles": () => (/* binding */ getStyles),
|
|
10772
|
+
/* harmony export */ "createAccessor": () => (/* binding */ createAccessor),
|
|
10773
|
+
/* harmony export */ "degreesToRadians": () => (/* binding */ degreesToRadians),
|
|
10709
10774
|
/* harmony export */ "evaluateProp": () => (/* binding */ evaluateProp),
|
|
10710
10775
|
/* harmony export */ "evaluateStyle": () => (/* binding */ evaluateStyle),
|
|
10711
|
-
/* harmony export */ "
|
|
10712
|
-
/* harmony export */ "
|
|
10713
|
-
/* harmony export */ "
|
|
10776
|
+
/* harmony export */ "getCurrentAxis": () => (/* binding */ getCurrentAxis),
|
|
10777
|
+
/* harmony export */ "getDefaultStyles": () => (/* binding */ getDefaultStyles),
|
|
10778
|
+
/* harmony export */ "getPadding": () => (/* binding */ getPadding),
|
|
10779
|
+
/* harmony export */ "getPoint": () => (/* binding */ getPoint),
|
|
10714
10780
|
/* harmony export */ "getPolarOrigin": () => (/* binding */ getPolarOrigin),
|
|
10781
|
+
/* harmony export */ "getRadius": () => (/* binding */ getRadius),
|
|
10715
10782
|
/* harmony export */ "getRange": () => (/* binding */ getRange),
|
|
10716
|
-
/* harmony export */ "
|
|
10783
|
+
/* harmony export */ "getStyles": () => (/* binding */ getStyles),
|
|
10784
|
+
/* harmony export */ "isHorizontal": () => (/* binding */ isHorizontal),
|
|
10785
|
+
/* harmony export */ "isTooltip": () => (/* binding */ isTooltip),
|
|
10717
10786
|
/* harmony export */ "modifyProps": () => (/* binding */ modifyProps),
|
|
10718
|
-
/* harmony export */ "
|
|
10787
|
+
/* harmony export */ "omit": () => (/* binding */ omit),
|
|
10788
|
+
/* harmony export */ "radiansToDegrees": () => (/* binding */ radiansToDegrees),
|
|
10719
10789
|
/* harmony export */ "reduceChildren": () => (/* binding */ reduceChildren),
|
|
10720
|
-
/* harmony export */ "
|
|
10790
|
+
/* harmony export */ "scalePoint": () => (/* binding */ scalePoint)
|
|
10721
10791
|
/* harmony export */ });
|
|
10722
10792
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/keys */ "../../../node_modules/lodash/keys.js");
|
|
10723
10793
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -11277,14 +11347,14 @@ var usePreviousProps = function (props) {
|
|
|
11277
11347
|
__webpack_require__.r(__webpack_exports__);
|
|
11278
11348
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11279
11349
|
/* harmony export */ "IMMUTABLE_ITERABLE": () => (/* binding */ IMMUTABLE_ITERABLE),
|
|
11280
|
-
/* harmony export */ "IMMUTABLE_RECORD": () => (/* binding */ IMMUTABLE_RECORD),
|
|
11281
11350
|
/* harmony export */ "IMMUTABLE_LIST": () => (/* binding */ IMMUTABLE_LIST),
|
|
11282
11351
|
/* harmony export */ "IMMUTABLE_MAP": () => (/* binding */ IMMUTABLE_MAP),
|
|
11283
|
-
/* harmony export */ "
|
|
11284
|
-
/* harmony export */ "isRecord": () => (/* binding */ isRecord),
|
|
11352
|
+
/* harmony export */ "IMMUTABLE_RECORD": () => (/* binding */ IMMUTABLE_RECORD),
|
|
11285
11353
|
/* harmony export */ "isImmutable": () => (/* binding */ isImmutable),
|
|
11354
|
+
/* harmony export */ "isIterable": () => (/* binding */ isIterable),
|
|
11286
11355
|
/* harmony export */ "isList": () => (/* binding */ isList),
|
|
11287
11356
|
/* harmony export */ "isMap": () => (/* binding */ isMap),
|
|
11357
|
+
/* harmony export */ "isRecord": () => (/* binding */ isRecord),
|
|
11288
11358
|
/* harmony export */ "shallowToJS": () => (/* binding */ shallowToJS)
|
|
11289
11359
|
/* harmony export */ });
|
|
11290
11360
|
/* eslint-disable func-style */
|
|
@@ -11355,16 +11425,16 @@ function warn(message) {
|
|
|
11355
11425
|
"use strict";
|
|
11356
11426
|
__webpack_require__.r(__webpack_exports__);
|
|
11357
11427
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11358
|
-
/* harmony export */ "deprecated": () => (/* binding */ deprecated),
|
|
11359
11428
|
/* harmony export */ "allOfType": () => (/* binding */ allOfType),
|
|
11360
|
-
/* harmony export */ "
|
|
11361
|
-
/* harmony export */ "integer": () => (/* binding */ integer),
|
|
11362
|
-
/* harmony export */ "greaterThanZero": () => (/* binding */ greaterThanZero),
|
|
11429
|
+
/* harmony export */ "deprecated": () => (/* binding */ deprecated),
|
|
11363
11430
|
/* harmony export */ "domain": () => (/* binding */ domain),
|
|
11364
|
-
/* harmony export */ "
|
|
11431
|
+
/* harmony export */ "greaterThanZero": () => (/* binding */ greaterThanZero),
|
|
11365
11432
|
/* harmony export */ "homogeneousArray": () => (/* binding */ homogeneousArray),
|
|
11433
|
+
/* harmony export */ "integer": () => (/* binding */ integer),
|
|
11366
11434
|
/* harmony export */ "matchDataLength": () => (/* binding */ matchDataLength),
|
|
11367
|
-
/* harmony export */ "
|
|
11435
|
+
/* harmony export */ "nonNegative": () => (/* binding */ nonNegative),
|
|
11436
|
+
/* harmony export */ "regExp": () => (/* binding */ regExp),
|
|
11437
|
+
/* harmony export */ "scale": () => (/* binding */ scale)
|
|
11368
11438
|
/* harmony export */ });
|
|
11369
11439
|
/* harmony import */ var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isRegExp */ "../../../node_modules/lodash/isRegExp.js");
|
|
11370
11440
|
/* harmony import */ var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -11372,9 +11442,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
11372
11442
|
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_find__WEBPACK_IMPORTED_MODULE_1__);
|
|
11373
11443
|
/* harmony import */ var lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isFunction */ "../../../node_modules/lodash/isFunction.js");
|
|
11374
11444
|
/* harmony import */ var lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__);
|
|
11375
|
-
/* harmony import */ var
|
|
11376
|
-
/* harmony import */ var
|
|
11377
|
-
/* harmony import */ var
|
|
11445
|
+
/* harmony import */ var _log__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./log */ "../../victory-core/es/victory-util/log.js");
|
|
11446
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
11447
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
11378
11448
|
|
|
11379
11449
|
|
|
11380
11450
|
|
|
@@ -11473,10 +11543,10 @@ function deprecated(propType, explanation) {
|
|
|
11473
11543
|
var value = props[propName];
|
|
11474
11544
|
|
|
11475
11545
|
if (value !== null && value !== undefined) {
|
|
11476
|
-
|
|
11546
|
+
_log__WEBPACK_IMPORTED_MODULE_3__.warn("\"".concat(propName, "\" property of \"").concat(componentName, "\" has been deprecated ").concat(explanation));
|
|
11477
11547
|
}
|
|
11478
11548
|
|
|
11479
|
-
return
|
|
11549
|
+
return prop_types__WEBPACK_IMPORTED_MODULE_4___default().checkPropTypes(_defineProperty({}, propName, propType), props, propName, componentName);
|
|
11480
11550
|
};
|
|
11481
11551
|
}
|
|
11482
11552
|
/**
|
|
@@ -11638,9 +11708,9 @@ var regExp = makeChainable(function (props, propName, componentName) {
|
|
|
11638
11708
|
"use strict";
|
|
11639
11709
|
__webpack_require__.r(__webpack_exports__);
|
|
11640
11710
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11641
|
-
/* harmony export */ "getScaleFromName": () => (/* binding */ getScaleFromName),
|
|
11642
11711
|
/* harmony export */ "getBaseScale": () => (/* binding */ getBaseScale),
|
|
11643
11712
|
/* harmony export */ "getDefaultScale": () => (/* binding */ getDefaultScale),
|
|
11713
|
+
/* harmony export */ "getScaleFromName": () => (/* binding */ getScaleFromName),
|
|
11644
11714
|
/* harmony export */ "getScaleFromProps": () => (/* binding */ getScaleFromProps),
|
|
11645
11715
|
/* harmony export */ "getScaleType": () => (/* binding */ getScaleType),
|
|
11646
11716
|
/* harmony export */ "getType": () => (/* binding */ getType)
|
|
@@ -11802,8 +11872,8 @@ function getType(scale) {
|
|
|
11802
11872
|
"use strict";
|
|
11803
11873
|
__webpack_require__.r(__webpack_exports__);
|
|
11804
11874
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11805
|
-
/* harmony export */ "
|
|
11806
|
-
/* harmony export */ "
|
|
11875
|
+
/* harmony export */ "getColorScale": () => (/* binding */ getColorScale),
|
|
11876
|
+
/* harmony export */ "toTransformString": () => (/* binding */ toTransformString)
|
|
11807
11877
|
/* harmony export */ });
|
|
11808
11878
|
/* eslint-disable func-style */
|
|
11809
11879
|
|
|
@@ -12436,8 +12506,11 @@ function getTransitionPropsFactory(props, state, setState) {
|
|
|
12436
12506
|
"use strict";
|
|
12437
12507
|
__webpack_require__.r(__webpack_exports__);
|
|
12438
12508
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12439
|
-
/* harmony export */ "getSafeUserProps": () => (/* binding */ getSafeUserProps)
|
|
12509
|
+
/* harmony export */ "getSafeUserProps": () => (/* binding */ getSafeUserProps),
|
|
12510
|
+
/* harmony export */ "withSafeUserProps": () => (/* binding */ withSafeUserProps)
|
|
12440
12511
|
/* harmony export */ });
|
|
12512
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
12513
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
12441
12514
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
12442
12515
|
|
|
12443
12516
|
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."); }
|
|
@@ -12456,12 +12529,14 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
12456
12529
|
|
|
12457
12530
|
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; }
|
|
12458
12531
|
|
|
12532
|
+
|
|
12459
12533
|
/*
|
|
12460
12534
|
USER_PROPS_SAFELIST is to contain any string deemed safe for user props.
|
|
12461
12535
|
The startsWidth array will contain the start of any accepted user-prop that
|
|
12462
12536
|
starts with these characters.
|
|
12463
12537
|
The exactMatch will contain a list of exact prop names that are accepted.
|
|
12464
12538
|
*/
|
|
12539
|
+
|
|
12465
12540
|
var USER_PROPS_SAFELIST = {
|
|
12466
12541
|
startsWith: ["data-", "aria-"],
|
|
12467
12542
|
exactMatch: []
|
|
@@ -12548,6 +12623,17 @@ var getSafeUserProps = function (props) {
|
|
|
12548
12623
|
return [key, getValue(value, props)];
|
|
12549
12624
|
}));
|
|
12550
12625
|
};
|
|
12626
|
+
/**
|
|
12627
|
+
* Wraps a component and adds safe user props
|
|
12628
|
+
*
|
|
12629
|
+
* @param {ReactNode} component: parent component
|
|
12630
|
+
* @param {Object} props: props to be filtered
|
|
12631
|
+
* @returns {ReactNode} modified component
|
|
12632
|
+
*/
|
|
12633
|
+
|
|
12634
|
+
var withSafeUserProps = function (component, props) {
|
|
12635
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(component, getSafeUserProps(props));
|
|
12636
|
+
};
|
|
12551
12637
|
|
|
12552
12638
|
/***/ }),
|
|
12553
12639
|
|
|
@@ -12561,22 +12647,22 @@ var getSafeUserProps = function (props) {
|
|
|
12561
12647
|
__webpack_require__.r(__webpack_exports__);
|
|
12562
12648
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12563
12649
|
/* harmony export */ "addBinsToParentPropsIfHistogram": () => (/* binding */ addBinsToParentPropsIfHistogram),
|
|
12564
|
-
/* harmony export */ "
|
|
12650
|
+
/* harmony export */ "getAllEvents": () => (/* binding */ getAllEvents),
|
|
12651
|
+
/* harmony export */ "getCategories": () => (/* binding */ getCategories),
|
|
12652
|
+
/* harmony export */ "getCategoryAndAxisStringsFromChildren": () => (/* binding */ getCategoryAndAxisStringsFromChildren),
|
|
12653
|
+
/* harmony export */ "getChildStyle": () => (/* binding */ getChildStyle),
|
|
12654
|
+
/* harmony export */ "getColor": () => (/* binding */ getColor),
|
|
12565
12655
|
/* harmony export */ "getData": () => (/* binding */ getData),
|
|
12566
|
-
/* harmony export */ "
|
|
12656
|
+
/* harmony export */ "getDataFromChildren": () => (/* binding */ getDataFromChildren),
|
|
12567
12657
|
/* harmony export */ "getDefaultDomainPadding": () => (/* binding */ getDefaultDomainPadding),
|
|
12568
|
-
/* harmony export */ "getDomainFromChildren": () => (/* binding */ getDomainFromChildren),
|
|
12569
12658
|
/* harmony export */ "getDomain": () => (/* binding */ getDomain),
|
|
12659
|
+
/* harmony export */ "getDomainFromChildren": () => (/* binding */ getDomainFromChildren),
|
|
12570
12660
|
/* harmony export */ "getScale": () => (/* binding */ getScale),
|
|
12571
|
-
/* harmony export */ "getAllEvents": () => (/* binding */ getAllEvents),
|
|
12572
|
-
/* harmony export */ "getColor": () => (/* binding */ getColor),
|
|
12573
|
-
/* harmony export */ "getStyle": () => (/* binding */ getStyle),
|
|
12574
|
-
/* harmony export */ "getChildStyle": () => (/* binding */ getChildStyle),
|
|
12575
12661
|
/* harmony export */ "getStringsFromCategories": () => (/* binding */ getStringsFromCategories),
|
|
12576
|
-
/* harmony export */ "getStringsFromData": () => (/* binding */ getStringsFromData),
|
|
12577
|
-
/* harmony export */ "getCategoryAndAxisStringsFromChildren": () => (/* binding */ getCategoryAndAxisStringsFromChildren),
|
|
12578
12662
|
/* harmony export */ "getStringsFromChildren": () => (/* binding */ getStringsFromChildren),
|
|
12579
|
-
/* harmony export */ "
|
|
12663
|
+
/* harmony export */ "getStringsFromData": () => (/* binding */ getStringsFromData),
|
|
12664
|
+
/* harmony export */ "getStyle": () => (/* binding */ getStyle),
|
|
12665
|
+
/* harmony export */ "getWidth": () => (/* binding */ getWidth)
|
|
12580
12666
|
/* harmony export */ });
|
|
12581
12667
|
/* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isPlainObject */ "../../../node_modules/lodash/isPlainObject.js");
|
|
12582
12668
|
/* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -13086,16 +13172,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13086
13172
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_6__);
|
|
13087
13173
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "react");
|
|
13088
13174
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
|
|
13089
|
-
/* harmony import */ var
|
|
13090
|
-
/* harmony import */ var
|
|
13091
|
-
/* harmony import */ var
|
|
13092
|
-
/* harmony import */ var
|
|
13175
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
13176
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_12__);
|
|
13177
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/events.js");
|
|
13178
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/helpers.js");
|
|
13093
13179
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/prop-types.js");
|
|
13094
13180
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/timer-context.js");
|
|
13095
|
-
/* harmony import */ var
|
|
13096
|
-
/* harmony import */ var
|
|
13097
|
-
/* harmony import */ var
|
|
13098
|
-
/* harmony import */ var
|
|
13181
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/react-fast-compare/index.js");
|
|
13182
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_8__);
|
|
13183
|
+
/* harmony import */ var json_stringify_safe__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! json-stringify-safe */ "../../../node_modules/json-stringify-safe/stringify.js");
|
|
13184
|
+
/* harmony import */ var json_stringify_safe__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(json_stringify_safe__WEBPACK_IMPORTED_MODULE_9__);
|
|
13099
13185
|
|
|
13100
13186
|
|
|
13101
13187
|
|
|
@@ -13164,8 +13250,8 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
13164
13250
|
|
|
13165
13251
|
_this = _super.call(this, props);
|
|
13166
13252
|
_this.state = _this.state || {};
|
|
13167
|
-
_this.getScopedEvents =
|
|
13168
|
-
_this.getEventState =
|
|
13253
|
+
_this.getScopedEvents = victory_core__WEBPACK_IMPORTED_MODULE_10__.getScopedEvents.bind(_assertThisInitialized(_this));
|
|
13254
|
+
_this.getEventState = victory_core__WEBPACK_IMPORTED_MODULE_10__.getEventState.bind(_assertThisInitialized(_this));
|
|
13169
13255
|
_this.baseProps = _this.getBaseProps(props);
|
|
13170
13256
|
_this.sharedEventsCache = {};
|
|
13171
13257
|
_this.globalEvents = {};
|
|
@@ -13177,7 +13263,7 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
13177
13263
|
_createClass(VictorySharedEvents, [{
|
|
13178
13264
|
key: "shouldComponentUpdate",
|
|
13179
13265
|
value: function shouldComponentUpdate(nextProps) {
|
|
13180
|
-
if (!
|
|
13266
|
+
if (!react_fast_compare__WEBPACK_IMPORTED_MODULE_8___default()(this.props, nextProps)) {
|
|
13181
13267
|
this.baseProps = this.getBaseProps(nextProps);
|
|
13182
13268
|
var externalMutations = this.getExternalMutations(nextProps, this.baseProps);
|
|
13183
13269
|
this.applyExternalMutations(nextProps, externalMutations);
|
|
@@ -13233,22 +13319,22 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
13233
13319
|
|
|
13234
13320
|
var boundListener = function (event) {
|
|
13235
13321
|
var listener = _this5.globalEvents[key];
|
|
13236
|
-
return listener && listener(
|
|
13322
|
+
return listener && listener(victory_core__WEBPACK_IMPORTED_MODULE_10__.emulateReactEvent(event));
|
|
13237
13323
|
};
|
|
13238
13324
|
|
|
13239
13325
|
this.boundGlobalEvents[key] = boundListener;
|
|
13240
|
-
window.addEventListener(
|
|
13326
|
+
window.addEventListener(victory_core__WEBPACK_IMPORTED_MODULE_10__.getGlobalEventNameFromKey(key), boundListener);
|
|
13241
13327
|
}
|
|
13242
13328
|
}, {
|
|
13243
13329
|
key: "removeGlobalListener",
|
|
13244
13330
|
value: function removeGlobalListener(key) {
|
|
13245
|
-
window.removeEventListener(
|
|
13331
|
+
window.removeEventListener(victory_core__WEBPACK_IMPORTED_MODULE_10__.getGlobalEventNameFromKey(key), this.boundGlobalEvents[key]);
|
|
13246
13332
|
}
|
|
13247
13333
|
}, {
|
|
13248
13334
|
key: "getAllEvents",
|
|
13249
13335
|
value: function getAllEvents(props) {
|
|
13250
13336
|
var components = ["container", "groupComponent"];
|
|
13251
|
-
var componentEvents =
|
|
13337
|
+
var componentEvents = victory_core__WEBPACK_IMPORTED_MODULE_10__.getComponentEvents(props, components);
|
|
13252
13338
|
|
|
13253
13339
|
if (Array.isArray(componentEvents)) {
|
|
13254
13340
|
return Array.isArray(props.events) ? componentEvents.concat.apply(componentEvents, _toConsumableArray(props.events)) : componentEvents;
|
|
@@ -13275,7 +13361,7 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
13275
13361
|
}, {
|
|
13276
13362
|
key: "getExternalMutations",
|
|
13277
13363
|
value: function getExternalMutations(props, baseProps) {
|
|
13278
|
-
return !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(props.externalEventMutations) ?
|
|
13364
|
+
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;
|
|
13279
13365
|
}
|
|
13280
13366
|
}, {
|
|
13281
13367
|
key: "cacheSharedEvents",
|
|
@@ -13290,7 +13376,7 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
13290
13376
|
sharedEvents = _ref2[0],
|
|
13291
13377
|
prevCacheValues = _ref2[1];
|
|
13292
13378
|
|
|
13293
|
-
if (sharedEvents &&
|
|
13379
|
+
if (sharedEvents && react_fast_compare__WEBPACK_IMPORTED_MODULE_8___default()(cacheValues, prevCacheValues)) {
|
|
13294
13380
|
return sharedEvents;
|
|
13295
13381
|
}
|
|
13296
13382
|
|
|
@@ -13320,7 +13406,7 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
13320
13406
|
}
|
|
13321
13407
|
};
|
|
13322
13408
|
|
|
13323
|
-
var baseProps =
|
|
13409
|
+
var baseProps = victory_core__WEBPACK_IMPORTED_MODULE_11__.reduceChildren(childComponents, iteratee);
|
|
13324
13410
|
return lodash_fromPairs__WEBPACK_IMPORTED_MODULE_2___default()(baseProps);
|
|
13325
13411
|
}
|
|
13326
13412
|
}, {
|
|
@@ -13347,7 +13433,7 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
13347
13433
|
|
|
13348
13434
|
return Array.isArray(event.childName) ? event.childName.indexOf(name) > -1 : event.childName === name || event.childName === "all";
|
|
13349
13435
|
});
|
|
13350
|
-
var sharedEventsCacheValues = [name, baseProps, childEvents,
|
|
13436
|
+
var sharedEventsCacheValues = [name, baseProps, childEvents, json_stringify_safe__WEBPACK_IMPORTED_MODULE_9___default()(_this6.state[name])];
|
|
13351
13437
|
var sharedEvents = _this6.getCachedSharedEvents(name, sharedEventsCacheValues) || {
|
|
13352
13438
|
events: childEvents,
|
|
13353
13439
|
// partially apply child name and baseProps,
|
|
@@ -13399,7 +13485,7 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
13399
13485
|
var container = props.container || props.groupComponent;
|
|
13400
13486
|
var role = container.type && container.type.role;
|
|
13401
13487
|
var containerProps = container.props || {};
|
|
13402
|
-
var boundGetEvents =
|
|
13488
|
+
var boundGetEvents = victory_core__WEBPACK_IMPORTED_MODULE_10__.getEvents.bind(this);
|
|
13403
13489
|
var parentEvents = sharedEvents && boundGetEvents({
|
|
13404
13490
|
sharedEvents: sharedEvents
|
|
13405
13491
|
}, "parent");
|
|
@@ -13408,10 +13494,10 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
13408
13494
|
children: children
|
|
13409
13495
|
});
|
|
13410
13496
|
|
|
13411
|
-
var containerEvents = lodash_defaults__WEBPACK_IMPORTED_MODULE_4___default()({},
|
|
13497
|
+
var containerEvents = lodash_defaults__WEBPACK_IMPORTED_MODULE_4___default()({}, victory_core__WEBPACK_IMPORTED_MODULE_10__.getPartialEvents(parentEvents, "parent", parentProps), containerProps.events);
|
|
13412
13498
|
|
|
13413
|
-
this.globalEvents =
|
|
13414
|
-
var localEvents =
|
|
13499
|
+
this.globalEvents = victory_core__WEBPACK_IMPORTED_MODULE_10__.getGlobalEvents(containerEvents);
|
|
13500
|
+
var localEvents = victory_core__WEBPACK_IMPORTED_MODULE_10__.omitGlobalEvents(containerEvents);
|
|
13415
13501
|
return role === "container" ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().cloneElement(container, lodash_assign__WEBPACK_IMPORTED_MODULE_6___default()({}, parentProps, {
|
|
13416
13502
|
events: localEvents
|
|
13417
13503
|
})) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().cloneElement(container, localEvents, children);
|
|
@@ -13439,23 +13525,23 @@ _defineProperty(VictorySharedEvents, "displayName", "VictorySharedEvents");
|
|
|
13439
13525
|
_defineProperty(VictorySharedEvents, "role", "shared-event-wrapper");
|
|
13440
13526
|
|
|
13441
13527
|
_defineProperty(VictorySharedEvents, "propTypes", {
|
|
13442
|
-
children:
|
|
13443
|
-
container: (
|
|
13444
|
-
eventKey:
|
|
13445
|
-
events:
|
|
13446
|
-
childName:
|
|
13447
|
-
eventHandlers: (
|
|
13448
|
-
eventKey:
|
|
13449
|
-
target: (
|
|
13528
|
+
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)]),
|
|
13529
|
+
container: (prop_types__WEBPACK_IMPORTED_MODULE_12___default().node),
|
|
13530
|
+
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)]),
|
|
13531
|
+
events: prop_types__WEBPACK_IMPORTED_MODULE_12___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_12___default().shape({
|
|
13532
|
+
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)]),
|
|
13533
|
+
eventHandlers: (prop_types__WEBPACK_IMPORTED_MODULE_12___default().object),
|
|
13534
|
+
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)]),
|
|
13535
|
+
target: (prop_types__WEBPACK_IMPORTED_MODULE_12___default().string)
|
|
13450
13536
|
})),
|
|
13451
|
-
externalEventMutations:
|
|
13452
|
-
callback: (
|
|
13453
|
-
childName:
|
|
13454
|
-
eventKey:
|
|
13455
|
-
mutation: (
|
|
13456
|
-
target:
|
|
13537
|
+
externalEventMutations: prop_types__WEBPACK_IMPORTED_MODULE_12___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_12___default().shape({
|
|
13538
|
+
callback: (prop_types__WEBPACK_IMPORTED_MODULE_12___default().func),
|
|
13539
|
+
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)]),
|
|
13540
|
+
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)]),
|
|
13541
|
+
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_12___default().func),
|
|
13542
|
+
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)])
|
|
13457
13543
|
})),
|
|
13458
|
-
groupComponent: (
|
|
13544
|
+
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_12___default().node)
|
|
13459
13545
|
});
|
|
13460
13546
|
|
|
13461
13547
|
_defineProperty(VictorySharedEvents, "defaultProps", {
|
|
@@ -13555,9 +13641,9 @@ function ascending(a, b) {
|
|
|
13555
13641
|
"use strict";
|
|
13556
13642
|
__webpack_require__.r(__webpack_exports__);
|
|
13557
13643
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13558
|
-
/* harmony export */ "bisectRight": () => (/* binding */ bisectRight),
|
|
13559
|
-
/* harmony export */ "bisectLeft": () => (/* binding */ bisectLeft),
|
|
13560
13644
|
/* harmony export */ "bisectCenter": () => (/* binding */ bisectCenter),
|
|
13645
|
+
/* harmony export */ "bisectLeft": () => (/* binding */ bisectLeft),
|
|
13646
|
+
/* harmony export */ "bisectRight": () => (/* binding */ bisectRight),
|
|
13561
13647
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
13562
13648
|
/* harmony export */ });
|
|
13563
13649
|
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ascending.js */ "../../victory-vendor/node_modules/d3-array/src/ascending.js");
|
|
@@ -13943,9 +14029,9 @@ function range(start, stop, step) {
|
|
|
13943
14029
|
"use strict";
|
|
13944
14030
|
__webpack_require__.r(__webpack_exports__);
|
|
13945
14031
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13946
|
-
/* harmony export */ "
|
|
14032
|
+
/* harmony export */ "ascendingDefined": () => (/* binding */ ascendingDefined),
|
|
13947
14033
|
/* harmony export */ "compareDefined": () => (/* binding */ compareDefined),
|
|
13948
|
-
/* harmony export */ "
|
|
14034
|
+
/* harmony export */ "default": () => (/* binding */ sort)
|
|
13949
14035
|
/* harmony export */ });
|
|
13950
14036
|
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ascending.js */ "../../victory-vendor/node_modules/d3-array/src/ascending.js");
|
|
13951
14037
|
/* harmony import */ var _permute_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./permute.js */ "../../victory-vendor/node_modules/d3-array/src/permute.js");
|
|
@@ -14073,14 +14159,14 @@ function tickStep(start, stop, count) {
|
|
|
14073
14159
|
__webpack_require__.r(__webpack_exports__);
|
|
14074
14160
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14075
14161
|
/* harmony export */ "Color": () => (/* binding */ Color),
|
|
14076
|
-
/* harmony export */ "
|
|
14162
|
+
/* harmony export */ "Rgb": () => (/* binding */ Rgb),
|
|
14077
14163
|
/* harmony export */ "brighter": () => (/* binding */ brighter),
|
|
14164
|
+
/* harmony export */ "darker": () => (/* binding */ darker),
|
|
14078
14165
|
/* harmony export */ "default": () => (/* binding */ color),
|
|
14079
|
-
/* harmony export */ "
|
|
14080
|
-
/* harmony export */ "rgb": () => (/* binding */ rgb),
|
|
14081
|
-
/* harmony export */ "Rgb": () => (/* binding */ Rgb),
|
|
14166
|
+
/* harmony export */ "hsl": () => (/* binding */ hsl),
|
|
14082
14167
|
/* harmony export */ "hslConvert": () => (/* binding */ hslConvert),
|
|
14083
|
-
/* harmony export */ "
|
|
14168
|
+
/* harmony export */ "rgb": () => (/* binding */ rgb),
|
|
14169
|
+
/* harmony export */ "rgbConvert": () => (/* binding */ rgbConvert)
|
|
14084
14170
|
/* harmony export */ });
|
|
14085
14171
|
/* harmony import */ var _define_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./define.js */ "../../victory-vendor/node_modules/d3-color/src/define.js");
|
|
14086
14172
|
|
|
@@ -14518,9 +14604,9 @@ function extend(parent, definition) {
|
|
|
14518
14604
|
"use strict";
|
|
14519
14605
|
__webpack_require__.r(__webpack_exports__);
|
|
14520
14606
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14607
|
+
/* harmony export */ "default": () => (/* binding */ defaultLocale),
|
|
14521
14608
|
/* harmony export */ "format": () => (/* binding */ format),
|
|
14522
|
-
/* harmony export */ "formatPrefix": () => (/* binding */ formatPrefix)
|
|
14523
|
-
/* harmony export */ "default": () => (/* binding */ defaultLocale)
|
|
14609
|
+
/* harmony export */ "formatPrefix": () => (/* binding */ formatPrefix)
|
|
14524
14610
|
/* harmony export */ });
|
|
14525
14611
|
/* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./locale.js */ "../../victory-vendor/node_modules/d3-format/src/locale.js");
|
|
14526
14612
|
|
|
@@ -14666,8 +14752,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14666
14752
|
"use strict";
|
|
14667
14753
|
__webpack_require__.r(__webpack_exports__);
|
|
14668
14754
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14669
|
-
/* harmony export */ "
|
|
14670
|
-
/* harmony export */ "
|
|
14755
|
+
/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__),
|
|
14756
|
+
/* harmony export */ "prefixExponent": () => (/* binding */ prefixExponent)
|
|
14671
14757
|
/* harmony export */ });
|
|
14672
14758
|
/* harmony import */ var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatDecimal.js */ "../../victory-vendor/node_modules/d3-format/src/formatDecimal.js");
|
|
14673
14759
|
|
|
@@ -14726,8 +14812,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14726
14812
|
"use strict";
|
|
14727
14813
|
__webpack_require__.r(__webpack_exports__);
|
|
14728
14814
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14729
|
-
/* harmony export */ "
|
|
14730
|
-
/* harmony export */ "
|
|
14815
|
+
/* harmony export */ "FormatSpecifier": () => (/* binding */ FormatSpecifier),
|
|
14816
|
+
/* harmony export */ "default": () => (/* binding */ formatSpecifier)
|
|
14731
14817
|
/* harmony export */ });
|
|
14732
14818
|
// [[fill]align][sign][symbol][0][width][,][.precision][~][type]
|
|
14733
14819
|
var re = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
|
|
@@ -15209,9 +15295,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15209
15295
|
"use strict";
|
|
15210
15296
|
__webpack_require__.r(__webpack_exports__);
|
|
15211
15297
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15212
|
-
/* harmony export */ "
|
|
15298
|
+
/* harmony export */ "default": () => (/* binding */ nogamma),
|
|
15213
15299
|
/* harmony export */ "gamma": () => (/* binding */ gamma),
|
|
15214
|
-
/* harmony export */ "
|
|
15300
|
+
/* harmony export */ "hue": () => (/* binding */ hue)
|
|
15215
15301
|
/* harmony export */ });
|
|
15216
15302
|
/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "../../victory-vendor/node_modules/d3-interpolate/src/constant.js");
|
|
15217
15303
|
|
|
@@ -15771,10 +15857,10 @@ function constants(x) {
|
|
|
15771
15857
|
"use strict";
|
|
15772
15858
|
__webpack_require__.r(__webpack_exports__);
|
|
15773
15859
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15774
|
-
/* harmony export */ "identity": () => (/* binding */ identity),
|
|
15775
15860
|
/* harmony export */ "copy": () => (/* binding */ copy),
|
|
15776
|
-
/* harmony export */ "
|
|
15777
|
-
/* harmony export */ "
|
|
15861
|
+
/* harmony export */ "default": () => (/* binding */ continuous),
|
|
15862
|
+
/* harmony export */ "identity": () => (/* binding */ identity),
|
|
15863
|
+
/* harmony export */ "transformer": () => (/* binding */ transformer)
|
|
15778
15864
|
/* harmony export */ });
|
|
15779
15865
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/bisect.js");
|
|
15780
15866
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
@@ -15922,9 +16008,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15922
16008
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15923
16009
|
/* harmony export */ "default": () => (/* binding */ diverging),
|
|
15924
16010
|
/* harmony export */ "divergingLog": () => (/* binding */ divergingLog),
|
|
15925
|
-
/* harmony export */ "divergingSymlog": () => (/* binding */ divergingSymlog),
|
|
15926
16011
|
/* harmony export */ "divergingPow": () => (/* binding */ divergingPow),
|
|
15927
|
-
/* harmony export */ "divergingSqrt": () => (/* binding */ divergingSqrt)
|
|
16012
|
+
/* harmony export */ "divergingSqrt": () => (/* binding */ divergingSqrt),
|
|
16013
|
+
/* harmony export */ "divergingSymlog": () => (/* binding */ divergingSymlog)
|
|
15928
16014
|
/* harmony export */ });
|
|
15929
16015
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/piecewise.js");
|
|
15930
16016
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
@@ -16099,32 +16185,32 @@ function identity(domain) {
|
|
|
16099
16185
|
__webpack_require__.r(__webpack_exports__);
|
|
16100
16186
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16101
16187
|
/* harmony export */ "scaleBand": () => (/* reexport safe */ _band_js__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
16102
|
-
/* harmony export */ "
|
|
16188
|
+
/* harmony export */ "scaleDiverging": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__["default"]),
|
|
16189
|
+
/* harmony export */ "scaleDivergingLog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingLog),
|
|
16190
|
+
/* harmony export */ "scaleDivergingPow": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingPow),
|
|
16191
|
+
/* harmony export */ "scaleDivergingSqrt": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSqrt),
|
|
16192
|
+
/* harmony export */ "scaleDivergingSymlog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSymlog),
|
|
16103
16193
|
/* harmony export */ "scaleIdentity": () => (/* reexport safe */ _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
16194
|
+
/* harmony export */ "scaleImplicit": () => (/* reexport safe */ _ordinal_js__WEBPACK_IMPORTED_MODULE_5__.implicit),
|
|
16104
16195
|
/* harmony export */ "scaleLinear": () => (/* reexport safe */ _linear_js__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
16105
16196
|
/* harmony export */ "scaleLog": () => (/* reexport safe */ _log_js__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
16106
|
-
/* harmony export */ "scaleSymlog": () => (/* reexport safe */ _symlog_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
16107
16197
|
/* harmony export */ "scaleOrdinal": () => (/* reexport safe */ _ordinal_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
16108
|
-
/* harmony export */ "
|
|
16198
|
+
/* harmony export */ "scalePoint": () => (/* reexport safe */ _band_js__WEBPACK_IMPORTED_MODULE_0__.point),
|
|
16109
16199
|
/* harmony export */ "scalePow": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
16110
|
-
/* harmony export */ "scaleSqrt": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__.sqrt),
|
|
16111
|
-
/* harmony export */ "scaleRadial": () => (/* reexport safe */ _radial_js__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
16112
16200
|
/* harmony export */ "scaleQuantile": () => (/* reexport safe */ _quantile_js__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
|
16113
16201
|
/* harmony export */ "scaleQuantize": () => (/* reexport safe */ _quantize_js__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
|
16114
|
-
/* harmony export */ "
|
|
16115
|
-
/* harmony export */ "scaleTime": () => (/* reexport safe */ _time_js__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
16116
|
-
/* harmony export */ "scaleUtc": () => (/* reexport safe */ _utcTime_js__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
16202
|
+
/* harmony export */ "scaleRadial": () => (/* reexport safe */ _radial_js__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
16117
16203
|
/* harmony export */ "scaleSequential": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
|
16118
16204
|
/* harmony export */ "scaleSequentialLog": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialLog),
|
|
16119
16205
|
/* harmony export */ "scaleSequentialPow": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialPow),
|
|
16206
|
+
/* harmony export */ "scaleSequentialQuantile": () => (/* reexport safe */ _sequentialQuantile_js__WEBPACK_IMPORTED_MODULE_14__["default"]),
|
|
16120
16207
|
/* harmony export */ "scaleSequentialSqrt": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialSqrt),
|
|
16121
16208
|
/* harmony export */ "scaleSequentialSymlog": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialSymlog),
|
|
16122
|
-
/* harmony export */ "
|
|
16123
|
-
/* harmony export */ "
|
|
16124
|
-
/* harmony export */ "
|
|
16125
|
-
/* harmony export */ "
|
|
16126
|
-
/* harmony export */ "
|
|
16127
|
-
/* harmony export */ "scaleDivergingSymlog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSymlog),
|
|
16209
|
+
/* harmony export */ "scaleSqrt": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__.sqrt),
|
|
16210
|
+
/* harmony export */ "scaleSymlog": () => (/* reexport safe */ _symlog_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
16211
|
+
/* harmony export */ "scaleThreshold": () => (/* reexport safe */ _threshold_js__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
|
16212
|
+
/* harmony export */ "scaleTime": () => (/* reexport safe */ _time_js__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
16213
|
+
/* harmony export */ "scaleUtc": () => (/* reexport safe */ _utcTime_js__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
16128
16214
|
/* harmony export */ "tickFormat": () => (/* reexport safe */ _tickFormat_js__WEBPACK_IMPORTED_MODULE_16__["default"])
|
|
16129
16215
|
/* harmony export */ });
|
|
16130
16216
|
/* harmony import */ var _band_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./band.js */ "../../victory-vendor/node_modules/d3-scale/src/band.js");
|
|
@@ -16190,8 +16276,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16190
16276
|
"use strict";
|
|
16191
16277
|
__webpack_require__.r(__webpack_exports__);
|
|
16192
16278
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16193
|
-
/* harmony export */ "
|
|
16194
|
-
/* harmony export */ "
|
|
16279
|
+
/* harmony export */ "initInterpolator": () => (/* binding */ initInterpolator),
|
|
16280
|
+
/* harmony export */ "initRange": () => (/* binding */ initRange)
|
|
16195
16281
|
/* harmony export */ });
|
|
16196
16282
|
function initRange(domain, range) {
|
|
16197
16283
|
switch (arguments.length) {
|
|
@@ -16232,8 +16318,8 @@ function initInterpolator(domain, interpolator) {
|
|
|
16232
16318
|
"use strict";
|
|
16233
16319
|
__webpack_require__.r(__webpack_exports__);
|
|
16234
16320
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16235
|
-
/* harmony export */ "
|
|
16236
|
-
/* harmony export */ "
|
|
16321
|
+
/* harmony export */ "default": () => (/* binding */ linear),
|
|
16322
|
+
/* harmony export */ "linearish": () => (/* binding */ linearish)
|
|
16237
16323
|
/* harmony export */ });
|
|
16238
16324
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
16239
16325
|
/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./continuous.js */ "../../victory-vendor/node_modules/d3-scale/src/continuous.js");
|
|
@@ -16322,8 +16408,8 @@ function linear() {
|
|
|
16322
16408
|
"use strict";
|
|
16323
16409
|
__webpack_require__.r(__webpack_exports__);
|
|
16324
16410
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16325
|
-
/* harmony export */ "
|
|
16326
|
-
/* harmony export */ "
|
|
16411
|
+
/* harmony export */ "default": () => (/* binding */ log),
|
|
16412
|
+
/* harmony export */ "loggish": () => (/* binding */ loggish)
|
|
16327
16413
|
/* harmony export */ });
|
|
16328
16414
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
16329
16415
|
/* harmony import */ var d3_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-format */ "../../victory-vendor/node_modules/d3-format/src/formatSpecifier.js");
|
|
@@ -16535,8 +16621,8 @@ function number(x) {
|
|
|
16535
16621
|
"use strict";
|
|
16536
16622
|
__webpack_require__.r(__webpack_exports__);
|
|
16537
16623
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16538
|
-
/* harmony export */ "
|
|
16539
|
-
/* harmony export */ "
|
|
16624
|
+
/* harmony export */ "default": () => (/* binding */ ordinal),
|
|
16625
|
+
/* harmony export */ "implicit": () => (/* binding */ implicit)
|
|
16540
16626
|
/* harmony export */ });
|
|
16541
16627
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/internmap/src/index.js");
|
|
16542
16628
|
/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./init.js */ "../../victory-vendor/node_modules/d3-scale/src/init.js");
|
|
@@ -16599,8 +16685,8 @@ function ordinal() {
|
|
|
16599
16685
|
"use strict";
|
|
16600
16686
|
__webpack_require__.r(__webpack_exports__);
|
|
16601
16687
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16602
|
-
/* harmony export */ "powish": () => (/* binding */ powish),
|
|
16603
16688
|
/* harmony export */ "default": () => (/* binding */ pow),
|
|
16689
|
+
/* harmony export */ "powish": () => (/* binding */ powish),
|
|
16604
16690
|
/* harmony export */ "sqrt": () => (/* binding */ sqrt)
|
|
16605
16691
|
/* harmony export */ });
|
|
16606
16692
|
/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./linear.js */ "../../victory-vendor/node_modules/d3-scale/src/linear.js");
|
|
@@ -16904,9 +16990,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16904
16990
|
/* harmony export */ "copy": () => (/* binding */ copy),
|
|
16905
16991
|
/* harmony export */ "default": () => (/* binding */ sequential),
|
|
16906
16992
|
/* harmony export */ "sequentialLog": () => (/* binding */ sequentialLog),
|
|
16907
|
-
/* harmony export */ "sequentialSymlog": () => (/* binding */ sequentialSymlog),
|
|
16908
16993
|
/* harmony export */ "sequentialPow": () => (/* binding */ sequentialPow),
|
|
16909
|
-
/* harmony export */ "sequentialSqrt": () => (/* binding */ sequentialSqrt)
|
|
16994
|
+
/* harmony export */ "sequentialSqrt": () => (/* binding */ sequentialSqrt),
|
|
16995
|
+
/* harmony export */ "sequentialSymlog": () => (/* binding */ sequentialSymlog)
|
|
16910
16996
|
/* harmony export */ });
|
|
16911
16997
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
16912
16998
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/round.js");
|
|
@@ -17094,8 +17180,8 @@ function sequentialQuantile() {
|
|
|
17094
17180
|
"use strict";
|
|
17095
17181
|
__webpack_require__.r(__webpack_exports__);
|
|
17096
17182
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17097
|
-
/* harmony export */ "
|
|
17098
|
-
/* harmony export */ "
|
|
17183
|
+
/* harmony export */ "default": () => (/* binding */ symlog),
|
|
17184
|
+
/* harmony export */ "symlogish": () => (/* binding */ symlogish)
|
|
17099
17185
|
/* harmony export */ });
|
|
17100
17186
|
/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./linear.js */ "../../victory-vendor/node_modules/d3-scale/src/linear.js");
|
|
17101
17187
|
/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./continuous.js */ "../../victory-vendor/node_modules/d3-scale/src/continuous.js");
|
|
@@ -17387,11 +17473,11 @@ function utcTime() {
|
|
|
17387
17473
|
"use strict";
|
|
17388
17474
|
__webpack_require__.r(__webpack_exports__);
|
|
17389
17475
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17476
|
+
/* harmony export */ "default": () => (/* binding */ defaultLocale),
|
|
17390
17477
|
/* harmony export */ "timeFormat": () => (/* binding */ timeFormat),
|
|
17391
17478
|
/* harmony export */ "timeParse": () => (/* binding */ timeParse),
|
|
17392
17479
|
/* harmony export */ "utcFormat": () => (/* binding */ utcFormat),
|
|
17393
|
-
/* harmony export */ "utcParse": () => (/* binding */ utcParse)
|
|
17394
|
-
/* harmony export */ "default": () => (/* binding */ defaultLocale)
|
|
17480
|
+
/* harmony export */ "utcParse": () => (/* binding */ utcParse)
|
|
17395
17481
|
/* harmony export */ });
|
|
17396
17482
|
/* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./locale.js */ "../../victory-vendor/node_modules/d3-time-format/src/locale.js");
|
|
17397
17483
|
|
|
@@ -18141,8 +18227,8 @@ function formatUnixTimestampSeconds(d) {
|
|
|
18141
18227
|
"use strict";
|
|
18142
18228
|
__webpack_require__.r(__webpack_exports__);
|
|
18143
18229
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18144
|
-
/* harmony export */ "
|
|
18145
|
-
/* harmony export */ "
|
|
18230
|
+
/* harmony export */ "days": () => (/* binding */ days),
|
|
18231
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
18146
18232
|
/* harmony export */ });
|
|
18147
18233
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
18148
18234
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -18171,12 +18257,12 @@ var days = day.range;
|
|
|
18171
18257
|
"use strict";
|
|
18172
18258
|
__webpack_require__.r(__webpack_exports__);
|
|
18173
18259
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18174
|
-
/* harmony export */ "durationSecond": () => (/* binding */ durationSecond),
|
|
18175
|
-
/* harmony export */ "durationMinute": () => (/* binding */ durationMinute),
|
|
18176
|
-
/* harmony export */ "durationHour": () => (/* binding */ durationHour),
|
|
18177
18260
|
/* harmony export */ "durationDay": () => (/* binding */ durationDay),
|
|
18178
|
-
/* harmony export */ "
|
|
18261
|
+
/* harmony export */ "durationHour": () => (/* binding */ durationHour),
|
|
18262
|
+
/* harmony export */ "durationMinute": () => (/* binding */ durationMinute),
|
|
18179
18263
|
/* harmony export */ "durationMonth": () => (/* binding */ durationMonth),
|
|
18264
|
+
/* harmony export */ "durationSecond": () => (/* binding */ durationSecond),
|
|
18265
|
+
/* harmony export */ "durationWeek": () => (/* binding */ durationWeek),
|
|
18180
18266
|
/* harmony export */ "durationYear": () => (/* binding */ durationYear)
|
|
18181
18267
|
/* harmony export */ });
|
|
18182
18268
|
const durationSecond = 1000;
|
|
@@ -18458,10 +18544,10 @@ var seconds = second.range;
|
|
|
18458
18544
|
"use strict";
|
|
18459
18545
|
__webpack_require__.r(__webpack_exports__);
|
|
18460
18546
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18461
|
-
/* harmony export */ "
|
|
18462
|
-
/* harmony export */ "utcTickInterval": () => (/* binding */ utcTickInterval),
|
|
18547
|
+
/* harmony export */ "timeTickInterval": () => (/* binding */ timeTickInterval),
|
|
18463
18548
|
/* harmony export */ "timeTicks": () => (/* binding */ timeTicks),
|
|
18464
|
-
/* harmony export */ "
|
|
18549
|
+
/* harmony export */ "utcTickInterval": () => (/* binding */ utcTickInterval),
|
|
18550
|
+
/* harmony export */ "utcTicks": () => (/* binding */ utcTicks)
|
|
18465
18551
|
/* harmony export */ });
|
|
18466
18552
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/bisector.js");
|
|
18467
18553
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
@@ -18688,20 +18774,20 @@ var utcMonths = utcMonth.range;
|
|
|
18688
18774
|
"use strict";
|
|
18689
18775
|
__webpack_require__.r(__webpack_exports__);
|
|
18690
18776
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18691
|
-
/* harmony export */ "utcSunday": () => (/* binding */ utcSunday),
|
|
18692
|
-
/* harmony export */ "utcMonday": () => (/* binding */ utcMonday),
|
|
18693
|
-
/* harmony export */ "utcTuesday": () => (/* binding */ utcTuesday),
|
|
18694
|
-
/* harmony export */ "utcWednesday": () => (/* binding */ utcWednesday),
|
|
18695
|
-
/* harmony export */ "utcThursday": () => (/* binding */ utcThursday),
|
|
18696
18777
|
/* harmony export */ "utcFriday": () => (/* binding */ utcFriday),
|
|
18778
|
+
/* harmony export */ "utcFridays": () => (/* binding */ utcFridays),
|
|
18779
|
+
/* harmony export */ "utcMonday": () => (/* binding */ utcMonday),
|
|
18780
|
+
/* harmony export */ "utcMondays": () => (/* binding */ utcMondays),
|
|
18697
18781
|
/* harmony export */ "utcSaturday": () => (/* binding */ utcSaturday),
|
|
18782
|
+
/* harmony export */ "utcSaturdays": () => (/* binding */ utcSaturdays),
|
|
18783
|
+
/* harmony export */ "utcSunday": () => (/* binding */ utcSunday),
|
|
18698
18784
|
/* harmony export */ "utcSundays": () => (/* binding */ utcSundays),
|
|
18699
|
-
/* harmony export */ "
|
|
18700
|
-
/* harmony export */ "utcTuesdays": () => (/* binding */ utcTuesdays),
|
|
18701
|
-
/* harmony export */ "utcWednesdays": () => (/* binding */ utcWednesdays),
|
|
18785
|
+
/* harmony export */ "utcThursday": () => (/* binding */ utcThursday),
|
|
18702
18786
|
/* harmony export */ "utcThursdays": () => (/* binding */ utcThursdays),
|
|
18703
|
-
/* harmony export */ "
|
|
18704
|
-
/* harmony export */ "
|
|
18787
|
+
/* harmony export */ "utcTuesday": () => (/* binding */ utcTuesday),
|
|
18788
|
+
/* harmony export */ "utcTuesdays": () => (/* binding */ utcTuesdays),
|
|
18789
|
+
/* harmony export */ "utcWednesday": () => (/* binding */ utcWednesday),
|
|
18790
|
+
/* harmony export */ "utcWednesdays": () => (/* binding */ utcWednesdays)
|
|
18705
18791
|
/* harmony export */ });
|
|
18706
18792
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
18707
18793
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -18790,20 +18876,20 @@ var utcYears = utcYear.range;
|
|
|
18790
18876
|
"use strict";
|
|
18791
18877
|
__webpack_require__.r(__webpack_exports__);
|
|
18792
18878
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18793
|
-
/* harmony export */ "sunday": () => (/* binding */ sunday),
|
|
18794
|
-
/* harmony export */ "monday": () => (/* binding */ monday),
|
|
18795
|
-
/* harmony export */ "tuesday": () => (/* binding */ tuesday),
|
|
18796
|
-
/* harmony export */ "wednesday": () => (/* binding */ wednesday),
|
|
18797
|
-
/* harmony export */ "thursday": () => (/* binding */ thursday),
|
|
18798
18879
|
/* harmony export */ "friday": () => (/* binding */ friday),
|
|
18880
|
+
/* harmony export */ "fridays": () => (/* binding */ fridays),
|
|
18881
|
+
/* harmony export */ "monday": () => (/* binding */ monday),
|
|
18882
|
+
/* harmony export */ "mondays": () => (/* binding */ mondays),
|
|
18799
18883
|
/* harmony export */ "saturday": () => (/* binding */ saturday),
|
|
18884
|
+
/* harmony export */ "saturdays": () => (/* binding */ saturdays),
|
|
18885
|
+
/* harmony export */ "sunday": () => (/* binding */ sunday),
|
|
18800
18886
|
/* harmony export */ "sundays": () => (/* binding */ sundays),
|
|
18801
|
-
/* harmony export */ "
|
|
18802
|
-
/* harmony export */ "tuesdays": () => (/* binding */ tuesdays),
|
|
18803
|
-
/* harmony export */ "wednesdays": () => (/* binding */ wednesdays),
|
|
18887
|
+
/* harmony export */ "thursday": () => (/* binding */ thursday),
|
|
18804
18888
|
/* harmony export */ "thursdays": () => (/* binding */ thursdays),
|
|
18805
|
-
/* harmony export */ "
|
|
18806
|
-
/* harmony export */ "
|
|
18889
|
+
/* harmony export */ "tuesday": () => (/* binding */ tuesday),
|
|
18890
|
+
/* harmony export */ "tuesdays": () => (/* binding */ tuesdays),
|
|
18891
|
+
/* harmony export */ "wednesday": () => (/* binding */ wednesday),
|
|
18892
|
+
/* harmony export */ "wednesdays": () => (/* binding */ wednesdays)
|
|
18807
18893
|
/* harmony export */ });
|
|
18808
18894
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
18809
18895
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -18892,8 +18978,8 @@ var years = year.range;
|
|
|
18892
18978
|
"use strict";
|
|
18893
18979
|
__webpack_require__.r(__webpack_exports__);
|
|
18894
18980
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18895
|
-
/* harmony export */ "now": () => (/* binding */ now),
|
|
18896
18981
|
/* harmony export */ "Timer": () => (/* binding */ Timer),
|
|
18982
|
+
/* harmony export */ "now": () => (/* binding */ now),
|
|
18897
18983
|
/* harmony export */ "timer": () => (/* binding */ timer),
|
|
18898
18984
|
/* harmony export */ "timerFlush": () => (/* binding */ timerFlush)
|
|
18899
18985
|
/* harmony export */ });
|