victory-errorbar 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-errorbar.js +539 -454
- package/dist/victory-errorbar.min.js +1 -1
- package/es/victory-errorbar.js +2 -2
- package/lib/victory-errorbar.js +2 -4
- package/package.json +4 -4
- package/src/victory-errorbar.js +5 -6
package/dist/victory-errorbar.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
exports["VictoryErrorbar"] = factory(require("react"));
|
|
8
8
|
else
|
|
9
9
|
root["VictoryErrorbar"] = factory(root["React"]);
|
|
10
|
-
})(self,
|
|
10
|
+
})(self, (__WEBPACK_EXTERNAL_MODULE_react__) => {
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
@@ -26,10 +26,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26
26
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__);
|
|
27
27
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
28
28
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
29
|
-
/* harmony import */ var
|
|
30
|
-
/* harmony import */ var
|
|
31
|
-
/* harmony import */ var
|
|
32
|
-
/* harmony import */ var
|
|
29
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
30
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
31
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/helpers.js");
|
|
32
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/common-props.js");
|
|
33
33
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-primitives/line.js");
|
|
34
34
|
|
|
35
35
|
|
|
@@ -120,12 +120,12 @@ var evaluateProps = function (props) {
|
|
|
120
120
|
* `style`
|
|
121
121
|
* `tabIndex`
|
|
122
122
|
*/
|
|
123
|
-
var ariaLabel =
|
|
124
|
-
var id =
|
|
125
|
-
var style =
|
|
123
|
+
var ariaLabel = victory_core__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.ariaLabel, props);
|
|
124
|
+
var id = victory_core__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.id, props);
|
|
125
|
+
var style = victory_core__WEBPACK_IMPORTED_MODULE_2__.evaluateStyle(lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({
|
|
126
126
|
stroke: "black"
|
|
127
127
|
}, props.style), props);
|
|
128
|
-
var tabIndex =
|
|
128
|
+
var tabIndex = victory_core__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.tabIndex, props);
|
|
129
129
|
return lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, {
|
|
130
130
|
ariaLabel: ariaLabel,
|
|
131
131
|
id: id,
|
|
@@ -147,15 +147,15 @@ var ErrorBar = function (props) {
|
|
|
147
147
|
}, children);
|
|
148
148
|
};
|
|
149
149
|
|
|
150
|
-
ErrorBar.propTypes = _objectSpread(_objectSpread({},
|
|
151
|
-
borderWidth: (
|
|
152
|
-
datum: (
|
|
153
|
-
errorX:
|
|
154
|
-
errorY:
|
|
155
|
-
groupComponent: (
|
|
156
|
-
lineComponent: (
|
|
157
|
-
x: (
|
|
158
|
-
y: (
|
|
150
|
+
ErrorBar.propTypes = _objectSpread(_objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_3__.primitiveProps), {}, {
|
|
151
|
+
borderWidth: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
152
|
+
datum: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().object),
|
|
153
|
+
errorX: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_4___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_4___default().array), (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool)]),
|
|
154
|
+
errorY: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_4___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_4___default().array), (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool)]),
|
|
155
|
+
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().element),
|
|
156
|
+
lineComponent: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().element),
|
|
157
|
+
x: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
158
|
+
y: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number)
|
|
159
159
|
});
|
|
160
160
|
ErrorBar.defaultProps = {
|
|
161
161
|
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("g", null),
|
|
@@ -176,9 +176,9 @@ ErrorBar.defaultProps = {
|
|
|
176
176
|
"use strict";
|
|
177
177
|
__webpack_require__.r(__webpack_exports__);
|
|
178
178
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
179
|
+
/* harmony export */ "getBaseProps": () => (/* binding */ getBaseProps),
|
|
179
180
|
/* harmony export */ "getData": () => (/* binding */ getData),
|
|
180
|
-
/* harmony export */ "getDomain": () => (/* binding */ getDomain)
|
|
181
|
-
/* harmony export */ "getBaseProps": () => (/* binding */ getBaseProps)
|
|
181
|
+
/* harmony export */ "getDomain": () => (/* binding */ getDomain)
|
|
182
182
|
/* harmony export */ });
|
|
183
183
|
/* harmony import */ var lodash_isNil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isNil */ "../../../node_modules/lodash/isNil.js");
|
|
184
184
|
/* harmony import */ var lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isNil__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -443,14 +443,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
443
443
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
444
444
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
445
445
|
/* harmony export */ });
|
|
446
|
-
/* harmony import */ var
|
|
447
|
-
/* harmony import */ var
|
|
448
|
-
/* harmony import */ var
|
|
449
|
-
/* harmony import */ var
|
|
450
|
-
/* harmony import */ var
|
|
451
|
-
/* harmony import */ var
|
|
452
|
-
/* harmony import */ var
|
|
453
|
-
/* harmony import */ var
|
|
446
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
447
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
|
|
448
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
449
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
450
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/helpers.js");
|
|
451
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/user-props.js");
|
|
452
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/default-transitions.js");
|
|
453
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/common-props.js");
|
|
454
454
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/prop-types.js");
|
|
455
455
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-container/victory-container.js");
|
|
456
456
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-label/victory-label.js");
|
|
@@ -538,20 +538,20 @@ var VictoryErrorBar = /*#__PURE__*/function (_React$Component) {
|
|
|
538
538
|
value: function render() {
|
|
539
539
|
var animationWhitelist = VictoryErrorBar.animationWhitelist,
|
|
540
540
|
role = VictoryErrorBar.role;
|
|
541
|
-
var props =
|
|
541
|
+
var props = victory_core__WEBPACK_IMPORTED_MODULE_1__.modifyProps(this.props, fallbackProps, role);
|
|
542
542
|
|
|
543
543
|
if (this.shouldAnimate()) {
|
|
544
544
|
return this.animateComponent(props, animationWhitelist);
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
var children = this.renderData(props);
|
|
548
|
-
var
|
|
549
|
-
return
|
|
548
|
+
var component = props.standalone ? this.renderContainer(props.containerComponent, children) : children;
|
|
549
|
+
return victory_core__WEBPACK_IMPORTED_MODULE_2__.withSafeUserProps(component, props);
|
|
550
550
|
}
|
|
551
551
|
}]);
|
|
552
552
|
|
|
553
553
|
return VictoryErrorBar;
|
|
554
|
-
}((
|
|
554
|
+
}((react__WEBPACK_IMPORTED_MODULE_0___default().Component));
|
|
555
555
|
|
|
556
556
|
_defineProperty(VictoryErrorBar, "animationWhitelist", ["data", "domain", "height", "padding", "samples", "style", "width", "errorX", "errorY", "borderWidth"]);
|
|
557
557
|
|
|
@@ -559,21 +559,21 @@ _defineProperty(VictoryErrorBar, "displayName", "VictoryErrorBar");
|
|
|
559
559
|
|
|
560
560
|
_defineProperty(VictoryErrorBar, "role", "errorbar");
|
|
561
561
|
|
|
562
|
-
_defineProperty(VictoryErrorBar, "defaultTransitions",
|
|
562
|
+
_defineProperty(VictoryErrorBar, "defaultTransitions", victory_core__WEBPACK_IMPORTED_MODULE_3__.discreteTransitions());
|
|
563
563
|
|
|
564
|
-
_defineProperty(VictoryErrorBar, "propTypes", _objectSpread(_objectSpread(_objectSpread({},
|
|
565
|
-
borderWidth: (
|
|
566
|
-
errorX:
|
|
567
|
-
errorY:
|
|
568
|
-
horizontal: (
|
|
564
|
+
_defineProperty(VictoryErrorBar, "propTypes", _objectSpread(_objectSpread(_objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_4__.baseProps), victory_core__WEBPACK_IMPORTED_MODULE_4__.dataProps), {}, {
|
|
565
|
+
borderWidth: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().number),
|
|
566
|
+
errorX: prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_5___default().func), victory_core__WEBPACK_IMPORTED_MODULE_6__.allOfType([victory_core__WEBPACK_IMPORTED_MODULE_6__.integer, victory_core__WEBPACK_IMPORTED_MODULE_6__.nonNegative]), (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string), prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_5___default().string))]),
|
|
567
|
+
errorY: prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_5___default().func), victory_core__WEBPACK_IMPORTED_MODULE_6__.allOfType([victory_core__WEBPACK_IMPORTED_MODULE_6__.integer, victory_core__WEBPACK_IMPORTED_MODULE_6__.nonNegative]), (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string), prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_5___default().string))]),
|
|
568
|
+
horizontal: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool)
|
|
569
569
|
}));
|
|
570
570
|
|
|
571
571
|
_defineProperty(VictoryErrorBar, "defaultProps", {
|
|
572
|
-
containerComponent: /*#__PURE__*/
|
|
572
|
+
containerComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_7__["default"], null),
|
|
573
573
|
data: defaultData,
|
|
574
|
-
dataComponent: /*#__PURE__*/
|
|
575
|
-
labelComponent: /*#__PURE__*/
|
|
576
|
-
groupComponent: /*#__PURE__*/
|
|
574
|
+
dataComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_error_bar__WEBPACK_IMPORTED_MODULE_8__["default"], null),
|
|
575
|
+
labelComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_9__["default"], null),
|
|
576
|
+
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("g", {
|
|
577
577
|
role: "presentation"
|
|
578
578
|
}),
|
|
579
579
|
samples: 50,
|
|
@@ -5976,7 +5976,7 @@ var printWarning = function() {};
|
|
|
5976
5976
|
if (true) {
|
|
5977
5977
|
var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../../node_modules/prop-types/lib/ReactPropTypesSecret.js");
|
|
5978
5978
|
var loggedTypeFailures = {};
|
|
5979
|
-
var has =
|
|
5979
|
+
var has = __webpack_require__(/*! ./lib/has */ "../../../node_modules/prop-types/lib/has.js");
|
|
5980
5980
|
|
|
5981
5981
|
printWarning = function(text) {
|
|
5982
5982
|
var message = 'Warning: ' + text;
|
|
@@ -5988,7 +5988,7 @@ if (true) {
|
|
|
5988
5988
|
// This error was thrown as a convenience so that you can use this stack
|
|
5989
5989
|
// to find the callsite that caused this warning to fire.
|
|
5990
5990
|
throw new Error(message);
|
|
5991
|
-
} catch (x) {}
|
|
5991
|
+
} catch (x) { /**/ }
|
|
5992
5992
|
};
|
|
5993
5993
|
}
|
|
5994
5994
|
|
|
@@ -6017,7 +6017,8 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
|
6017
6017
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
6018
6018
|
var err = Error(
|
|
6019
6019
|
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
6020
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
6020
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
6021
|
+
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
6021
6022
|
);
|
|
6022
6023
|
err.name = 'Invariant Violation';
|
|
6023
6024
|
throw err;
|
|
@@ -6088,9 +6089,9 @@ var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/react-i
|
|
|
6088
6089
|
var assign = __webpack_require__(/*! object-assign */ "../../../node_modules/object-assign/index.js");
|
|
6089
6090
|
|
|
6090
6091
|
var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../../node_modules/prop-types/lib/ReactPropTypesSecret.js");
|
|
6092
|
+
var has = __webpack_require__(/*! ./lib/has */ "../../../node_modules/prop-types/lib/has.js");
|
|
6091
6093
|
var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "../../../node_modules/prop-types/checkPropTypes.js");
|
|
6092
6094
|
|
|
6093
|
-
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
6094
6095
|
var printWarning = function() {};
|
|
6095
6096
|
|
|
6096
6097
|
if (true) {
|
|
@@ -6191,6 +6192,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6191
6192
|
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
6192
6193
|
var ReactPropTypes = {
|
|
6193
6194
|
array: createPrimitiveTypeChecker('array'),
|
|
6195
|
+
bigint: createPrimitiveTypeChecker('bigint'),
|
|
6194
6196
|
bool: createPrimitiveTypeChecker('boolean'),
|
|
6195
6197
|
func: createPrimitiveTypeChecker('function'),
|
|
6196
6198
|
number: createPrimitiveTypeChecker('number'),
|
|
@@ -6236,8 +6238,9 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6236
6238
|
* is prohibitively expensive if they are created too often, such as what
|
|
6237
6239
|
* happens in oneOfType() for any type before the one that matched.
|
|
6238
6240
|
*/
|
|
6239
|
-
function PropTypeError(message) {
|
|
6241
|
+
function PropTypeError(message, data) {
|
|
6240
6242
|
this.message = message;
|
|
6243
|
+
this.data = data && typeof data === 'object' ? data: {};
|
|
6241
6244
|
this.stack = '';
|
|
6242
6245
|
}
|
|
6243
6246
|
// Make `instanceof Error` still work for returned errors.
|
|
@@ -6272,7 +6275,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6272
6275
|
) {
|
|
6273
6276
|
printWarning(
|
|
6274
6277
|
'You are manually calling a React.PropTypes validation ' +
|
|
6275
|
-
'function for the `' + propFullName + '` prop on `' + componentName
|
|
6278
|
+
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
6276
6279
|
'and will throw in the standalone `prop-types` package. ' +
|
|
6277
6280
|
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
6278
6281
|
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
@@ -6311,7 +6314,10 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6311
6314
|
// 'of type `object`'.
|
|
6312
6315
|
var preciseType = getPreciseType(propValue);
|
|
6313
6316
|
|
|
6314
|
-
return new PropTypeError(
|
|
6317
|
+
return new PropTypeError(
|
|
6318
|
+
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
6319
|
+
{expectedType: expectedType}
|
|
6320
|
+
);
|
|
6315
6321
|
}
|
|
6316
6322
|
return null;
|
|
6317
6323
|
}
|
|
@@ -6455,14 +6461,19 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6455
6461
|
}
|
|
6456
6462
|
|
|
6457
6463
|
function validate(props, propName, componentName, location, propFullName) {
|
|
6464
|
+
var expectedTypes = [];
|
|
6458
6465
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
6459
6466
|
var checker = arrayOfTypeCheckers[i];
|
|
6460
|
-
|
|
6467
|
+
var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
|
6468
|
+
if (checkerResult == null) {
|
|
6461
6469
|
return null;
|
|
6462
6470
|
}
|
|
6471
|
+
if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
|
|
6472
|
+
expectedTypes.push(checkerResult.data.expectedType);
|
|
6473
|
+
}
|
|
6463
6474
|
}
|
|
6464
|
-
|
|
6465
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '
|
|
6475
|
+
var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
|
|
6476
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
|
|
6466
6477
|
}
|
|
6467
6478
|
return createChainableTypeChecker(validate);
|
|
6468
6479
|
}
|
|
@@ -6477,6 +6488,13 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6477
6488
|
return createChainableTypeChecker(validate);
|
|
6478
6489
|
}
|
|
6479
6490
|
|
|
6491
|
+
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
6492
|
+
return new PropTypeError(
|
|
6493
|
+
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
6494
|
+
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
6495
|
+
);
|
|
6496
|
+
}
|
|
6497
|
+
|
|
6480
6498
|
function createShapeTypeChecker(shapeTypes) {
|
|
6481
6499
|
function validate(props, propName, componentName, location, propFullName) {
|
|
6482
6500
|
var propValue = props[propName];
|
|
@@ -6486,8 +6504,8 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6486
6504
|
}
|
|
6487
6505
|
for (var key in shapeTypes) {
|
|
6488
6506
|
var checker = shapeTypes[key];
|
|
6489
|
-
if (
|
|
6490
|
-
|
|
6507
|
+
if (typeof checker !== 'function') {
|
|
6508
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
6491
6509
|
}
|
|
6492
6510
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
6493
6511
|
if (error) {
|
|
@@ -6506,16 +6524,18 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6506
6524
|
if (propType !== 'object') {
|
|
6507
6525
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
6508
6526
|
}
|
|
6509
|
-
// We need to check all keys in case some are required but missing from
|
|
6510
|
-
// props.
|
|
6527
|
+
// We need to check all keys in case some are required but missing from props.
|
|
6511
6528
|
var allKeys = assign({}, props[propName], shapeTypes);
|
|
6512
6529
|
for (var key in allKeys) {
|
|
6513
6530
|
var checker = shapeTypes[key];
|
|
6531
|
+
if (has(shapeTypes, key) && typeof checker !== 'function') {
|
|
6532
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
6533
|
+
}
|
|
6514
6534
|
if (!checker) {
|
|
6515
6535
|
return new PropTypeError(
|
|
6516
6536
|
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
6517
6537
|
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
6518
|
-
'\nValid keys: ' +
|
|
6538
|
+
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
6519
6539
|
);
|
|
6520
6540
|
}
|
|
6521
6541
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
@@ -6716,6 +6736,17 @@ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
|
6716
6736
|
module.exports = ReactPropTypesSecret;
|
|
6717
6737
|
|
|
6718
6738
|
|
|
6739
|
+
/***/ }),
|
|
6740
|
+
|
|
6741
|
+
/***/ "../../../node_modules/prop-types/lib/has.js":
|
|
6742
|
+
/*!***************************************************!*\
|
|
6743
|
+
!*** ../../../node_modules/prop-types/lib/has.js ***!
|
|
6744
|
+
\***************************************************/
|
|
6745
|
+
/***/ ((module) => {
|
|
6746
|
+
|
|
6747
|
+
module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
6748
|
+
|
|
6749
|
+
|
|
6719
6750
|
/***/ }),
|
|
6720
6751
|
|
|
6721
6752
|
/***/ "../../../node_modules/react-fast-compare/index.js":
|
|
@@ -6724,26 +6755,24 @@ module.exports = ReactPropTypesSecret;
|
|
|
6724
6755
|
\*********************************************************/
|
|
6725
6756
|
/***/ ((module) => {
|
|
6726
6757
|
|
|
6727
|
-
|
|
6728
|
-
|
|
6758
|
+
/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */
|
|
6729
6759
|
|
|
6730
|
-
var isArray = Array.isArray;
|
|
6731
|
-
var keyList = Object.keys;
|
|
6732
|
-
var hasProp = Object.prototype.hasOwnProperty;
|
|
6733
6760
|
var hasElementType = typeof Element !== 'undefined';
|
|
6761
|
+
var hasMap = typeof Map === 'function';
|
|
6762
|
+
var hasSet = typeof Set === 'function';
|
|
6763
|
+
var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;
|
|
6764
|
+
|
|
6765
|
+
// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js
|
|
6734
6766
|
|
|
6735
6767
|
function equal(a, b) {
|
|
6736
|
-
// fast-deep-equal index.js
|
|
6768
|
+
// START: fast-deep-equal es6/index.js 3.1.1
|
|
6737
6769
|
if (a === b) return true;
|
|
6738
6770
|
|
|
6739
6771
|
if (a && b && typeof a == 'object' && typeof b == 'object') {
|
|
6740
|
-
|
|
6741
|
-
, arrB = isArray(b)
|
|
6742
|
-
, i
|
|
6743
|
-
, length
|
|
6744
|
-
, key;
|
|
6772
|
+
if (a.constructor !== b.constructor) return false;
|
|
6745
6773
|
|
|
6746
|
-
|
|
6774
|
+
var length, i, keys;
|
|
6775
|
+
if (Array.isArray(a)) {
|
|
6747
6776
|
length = a.length;
|
|
6748
6777
|
if (length != b.length) return false;
|
|
6749
6778
|
for (i = length; i-- !== 0;)
|
|
@@ -6751,50 +6780,91 @@ function equal(a, b) {
|
|
|
6751
6780
|
return true;
|
|
6752
6781
|
}
|
|
6753
6782
|
|
|
6754
|
-
|
|
6783
|
+
// START: Modifications:
|
|
6784
|
+
// 1. Extra `has<Type> &&` helpers in initial condition allow es6 code
|
|
6785
|
+
// to co-exist with es5.
|
|
6786
|
+
// 2. Replace `for of` with es5 compliant iteration using `for`.
|
|
6787
|
+
// Basically, take:
|
|
6788
|
+
//
|
|
6789
|
+
// ```js
|
|
6790
|
+
// for (i of a.entries())
|
|
6791
|
+
// if (!b.has(i[0])) return false;
|
|
6792
|
+
// ```
|
|
6793
|
+
//
|
|
6794
|
+
// ... and convert to:
|
|
6795
|
+
//
|
|
6796
|
+
// ```js
|
|
6797
|
+
// it = a.entries();
|
|
6798
|
+
// while (!(i = it.next()).done)
|
|
6799
|
+
// if (!b.has(i.value[0])) return false;
|
|
6800
|
+
// ```
|
|
6801
|
+
//
|
|
6802
|
+
// **Note**: `i` access switches to `i.value`.
|
|
6803
|
+
var it;
|
|
6804
|
+
if (hasMap && (a instanceof Map) && (b instanceof Map)) {
|
|
6805
|
+
if (a.size !== b.size) return false;
|
|
6806
|
+
it = a.entries();
|
|
6807
|
+
while (!(i = it.next()).done)
|
|
6808
|
+
if (!b.has(i.value[0])) return false;
|
|
6809
|
+
it = a.entries();
|
|
6810
|
+
while (!(i = it.next()).done)
|
|
6811
|
+
if (!equal(i.value[1], b.get(i.value[0]))) return false;
|
|
6812
|
+
return true;
|
|
6813
|
+
}
|
|
6755
6814
|
|
|
6756
|
-
|
|
6757
|
-
|
|
6758
|
-
|
|
6759
|
-
|
|
6815
|
+
if (hasSet && (a instanceof Set) && (b instanceof Set)) {
|
|
6816
|
+
if (a.size !== b.size) return false;
|
|
6817
|
+
it = a.entries();
|
|
6818
|
+
while (!(i = it.next()).done)
|
|
6819
|
+
if (!b.has(i.value[0])) return false;
|
|
6820
|
+
return true;
|
|
6821
|
+
}
|
|
6822
|
+
// END: Modifications
|
|
6823
|
+
|
|
6824
|
+
if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
|
|
6825
|
+
length = a.length;
|
|
6826
|
+
if (length != b.length) return false;
|
|
6827
|
+
for (i = length; i-- !== 0;)
|
|
6828
|
+
if (a[i] !== b[i]) return false;
|
|
6829
|
+
return true;
|
|
6830
|
+
}
|
|
6760
6831
|
|
|
6761
|
-
|
|
6762
|
-
|
|
6763
|
-
if (
|
|
6764
|
-
if (regexpA && regexpB) return a.toString() == b.toString();
|
|
6832
|
+
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
|
|
6833
|
+
if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
|
|
6834
|
+
if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
|
|
6765
6835
|
|
|
6766
|
-
|
|
6836
|
+
keys = Object.keys(a);
|
|
6767
6837
|
length = keys.length;
|
|
6768
|
-
|
|
6769
|
-
if (length !== keyList(b).length)
|
|
6770
|
-
return false;
|
|
6838
|
+
if (length !== Object.keys(b).length) return false;
|
|
6771
6839
|
|
|
6772
6840
|
for (i = length; i-- !== 0;)
|
|
6773
|
-
if (!
|
|
6774
|
-
//
|
|
6841
|
+
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
6842
|
+
// END: fast-deep-equal
|
|
6775
6843
|
|
|
6776
|
-
//
|
|
6844
|
+
// START: react-fast-compare
|
|
6777
6845
|
// custom handling for DOM elements
|
|
6778
|
-
if (hasElementType && a instanceof Element
|
|
6779
|
-
return a === b;
|
|
6846
|
+
if (hasElementType && a instanceof Element) return false;
|
|
6780
6847
|
|
|
6781
|
-
// custom handling for React
|
|
6848
|
+
// custom handling for React/Preact
|
|
6782
6849
|
for (i = length; i-- !== 0;) {
|
|
6783
|
-
|
|
6784
|
-
|
|
6785
|
-
//
|
|
6786
|
-
//
|
|
6787
|
-
//
|
|
6788
|
-
//
|
|
6850
|
+
if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {
|
|
6851
|
+
// React-specific: avoid traversing React elements' _owner
|
|
6852
|
+
// Preact-specific: avoid traversing Preact elements' __v and __o
|
|
6853
|
+
// __v = $_original / $_vnode
|
|
6854
|
+
// __o = $_owner
|
|
6855
|
+
// These properties contain circular references and are not needed when
|
|
6856
|
+
// comparing the actual elements (and not their owners)
|
|
6857
|
+
// .$$typeof and ._store on just reasonable markers of elements
|
|
6858
|
+
|
|
6789
6859
|
continue;
|
|
6790
|
-
} else {
|
|
6791
|
-
// all other properties should be traversed as usual
|
|
6792
|
-
if (!equal(a[key], b[key])) return false;
|
|
6793
6860
|
}
|
|
6861
|
+
|
|
6862
|
+
// all other properties should be traversed as usual
|
|
6863
|
+
if (!equal(a[keys[i]], b[keys[i]])) return false;
|
|
6794
6864
|
}
|
|
6795
|
-
//
|
|
6865
|
+
// END: react-fast-compare
|
|
6796
6866
|
|
|
6797
|
-
// fast-deep-equal
|
|
6867
|
+
// START: fast-deep-equal
|
|
6798
6868
|
return true;
|
|
6799
6869
|
}
|
|
6800
6870
|
|
|
@@ -6802,17 +6872,17 @@ function equal(a, b) {
|
|
|
6802
6872
|
}
|
|
6803
6873
|
// end fast-deep-equal
|
|
6804
6874
|
|
|
6805
|
-
module.exports = function
|
|
6875
|
+
module.exports = function isEqual(a, b) {
|
|
6806
6876
|
try {
|
|
6807
6877
|
return equal(a, b);
|
|
6808
6878
|
} catch (error) {
|
|
6809
|
-
if ((error.message
|
|
6879
|
+
if (((error.message || '').match(/stack|recursion/i))) {
|
|
6810
6880
|
// warn on circular references, don't crash
|
|
6811
6881
|
// browsers give this different errors name and messages:
|
|
6812
6882
|
// chrome/safari: "RangeError", "Maximum call stack size exceeded"
|
|
6813
6883
|
// firefox: "InternalError", too much recursion"
|
|
6814
6884
|
// edge: "Error", "Out of stack space"
|
|
6815
|
-
console.warn('
|
|
6885
|
+
console.warn('react-fast-compare cannot handle circular refs');
|
|
6816
6886
|
return false;
|
|
6817
6887
|
}
|
|
6818
6888
|
// some other error. we should definitely know about these
|
|
@@ -7040,11 +7110,11 @@ if (false) {} else {
|
|
|
7040
7110
|
"use strict";
|
|
7041
7111
|
__webpack_require__.r(__webpack_exports__);
|
|
7042
7112
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7043
|
-
/* harmony export */ "isInterpolatable": () => (/* binding */ isInterpolatable),
|
|
7044
|
-
/* harmony export */ "interpolateImmediate": () => (/* binding */ interpolateImmediate),
|
|
7045
7113
|
/* harmony export */ "interpolateFunction": () => (/* binding */ interpolateFunction),
|
|
7114
|
+
/* harmony export */ "interpolateImmediate": () => (/* binding */ interpolateImmediate),
|
|
7046
7115
|
/* harmony export */ "interpolateObject": () => (/* binding */ interpolateObject),
|
|
7047
7116
|
/* harmony export */ "interpolateString": () => (/* binding */ interpolateString),
|
|
7117
|
+
/* harmony export */ "isInterpolatable": () => (/* binding */ isInterpolatable),
|
|
7048
7118
|
/* harmony export */ "victoryInterpolator": () => (/* binding */ victoryInterpolator)
|
|
7049
7119
|
/* harmony export */ });
|
|
7050
7120
|
/* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/orderBy */ "../../../node_modules/lodash/orderBy.js");
|
|
@@ -7279,13 +7349,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7279
7349
|
/* harmony export */ });
|
|
7280
7350
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
7281
7351
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
7282
|
-
/* harmony import */ var
|
|
7283
|
-
/* harmony import */ var
|
|
7284
|
-
/* harmony import */ var
|
|
7285
|
-
/* harmony import */ var
|
|
7352
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
7353
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
7354
|
+
/* harmony import */ var victory_vendor_d3_ease__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! victory-vendor/d3-ease */ "../../victory-vendor/es/d3-ease.js");
|
|
7355
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util */ "../../victory-core/es/victory-animation/util.js");
|
|
7286
7356
|
/* harmony import */ var _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../victory-util/timer-context */ "../../victory-core/es/victory-util/timer-context.js");
|
|
7287
|
-
/* harmony import */ var
|
|
7288
|
-
/* harmony import */ var
|
|
7357
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/react-fast-compare/index.js");
|
|
7358
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_1__);
|
|
7289
7359
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
7290
7360
|
|
|
7291
7361
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -7352,7 +7422,7 @@ var VictoryAnimation = /*#__PURE__*/function (_React$Component) {
|
|
|
7352
7422
|
_this.queue = Array.isArray(_this.props.data) ? _this.props.data.slice(1) : [];
|
|
7353
7423
|
/* build easing function */
|
|
7354
7424
|
|
|
7355
|
-
_this.ease =
|
|
7425
|
+
_this.ease = victory_vendor_d3_ease__WEBPACK_IMPORTED_MODULE_2__[_this.toNewName(_this.props.easing)];
|
|
7356
7426
|
/*
|
|
7357
7427
|
There is no autobinding of this in ES6 classes
|
|
7358
7428
|
so we bind functionToBeRunEachFrame to current instance of victory animation class
|
|
@@ -7374,7 +7444,7 @@ var VictoryAnimation = /*#__PURE__*/function (_React$Component) {
|
|
|
7374
7444
|
}, {
|
|
7375
7445
|
key: "componentDidUpdate",
|
|
7376
7446
|
value: function componentDidUpdate(prevProps) {
|
|
7377
|
-
var equalProps =
|
|
7447
|
+
var equalProps = react_fast_compare__WEBPACK_IMPORTED_MODULE_1___default()(this.props, prevProps);
|
|
7378
7448
|
|
|
7379
7449
|
if (!equalProps) {
|
|
7380
7450
|
/* If the previous animation didn't finish, force it to complete before starting a new one */
|
|
@@ -7443,7 +7513,7 @@ var VictoryAnimation = /*#__PURE__*/function (_React$Component) {
|
|
|
7443
7513
|
var data = this.queue[0];
|
|
7444
7514
|
/* compare cached version to next props */
|
|
7445
7515
|
|
|
7446
|
-
this.interpolator = (0,
|
|
7516
|
+
this.interpolator = (0,_util__WEBPACK_IMPORTED_MODULE_3__.victoryInterpolator)(this.state.data, data);
|
|
7447
7517
|
/* reset step to zero */
|
|
7448
7518
|
|
|
7449
7519
|
if (this.props.delay) {
|
|
@@ -7515,12 +7585,12 @@ var VictoryAnimation = /*#__PURE__*/function (_React$Component) {
|
|
|
7515
7585
|
_defineProperty(VictoryAnimation, "displayName", "VictoryAnimation");
|
|
7516
7586
|
|
|
7517
7587
|
_defineProperty(VictoryAnimation, "propTypes", {
|
|
7518
|
-
children: (
|
|
7519
|
-
data:
|
|
7520
|
-
delay: (
|
|
7521
|
-
duration: (
|
|
7522
|
-
easing:
|
|
7523
|
-
onEnd: (
|
|
7588
|
+
children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
|
|
7589
|
+
data: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_4___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_4___default().array)]),
|
|
7590
|
+
delay: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
7591
|
+
duration: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
7592
|
+
easing: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(["back", "backIn", "backOut", "backInOut", "bounce", "bounceIn", "bounceOut", "bounceInOut", "circle", "circleIn", "circleOut", "circleInOut", "linear", "linearIn", "linearOut", "linearInOut", "cubic", "cubicIn", "cubicOut", "cubicInOut", "elastic", "elasticIn", "elasticOut", "elasticInOut", "exp", "expIn", "expOut", "expInOut", "poly", "polyIn", "polyOut", "polyInOut", "quad", "quadIn", "quadOut", "quadInOut", "sin", "sinIn", "sinOut", "sinInOut"]),
|
|
7593
|
+
onEnd: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
|
|
7524
7594
|
});
|
|
7525
7595
|
|
|
7526
7596
|
_defineProperty(VictoryAnimation, "defaultProps", {
|
|
@@ -7559,14 +7629,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7559
7629
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_4__);
|
|
7560
7630
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "react");
|
|
7561
7631
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
|
|
7562
|
-
/* harmony import */ var
|
|
7563
|
-
/* harmony import */ var
|
|
7632
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
7633
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_9__);
|
|
7564
7634
|
/* 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");
|
|
7565
7635
|
/* harmony import */ var _victory_portal_portal__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../victory-portal/portal */ "../../victory-core/es/victory-portal/portal.js");
|
|
7566
|
-
/* harmony import */ var
|
|
7636
|
+
/* 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");
|
|
7567
7637
|
/* 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");
|
|
7568
|
-
/* harmony import */ var
|
|
7569
|
-
/* harmony import */ var
|
|
7638
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
7639
|
+
/* 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");
|
|
7570
7640
|
|
|
7571
7641
|
|
|
7572
7642
|
|
|
@@ -7744,7 +7814,7 @@ var VictoryContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
7744
7814
|
preserveAspectRatio: svgProps.preserveAspectRatio,
|
|
7745
7815
|
style: portalSvgStyle
|
|
7746
7816
|
};
|
|
7747
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(
|
|
7817
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_6__["default"].Provider, {
|
|
7748
7818
|
value: {
|
|
7749
7819
|
portalUpdate: this.portalUpdate,
|
|
7750
7820
|
portalRegister: this.portalRegister,
|
|
@@ -7779,8 +7849,8 @@ var VictoryContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
7779
7849
|
tabIndex = _this$props.tabIndex,
|
|
7780
7850
|
preserveAspectRatio = _this$props.preserveAspectRatio,
|
|
7781
7851
|
role = _this$props.role;
|
|
7782
|
-
var style = responsive ? this.props.style :
|
|
7783
|
-
var userProps =
|
|
7852
|
+
var style = responsive ? this.props.style : _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__.omit(this.props.style, ["height", "width"]);
|
|
7853
|
+
var userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_8__.getSafeUserProps(this.props);
|
|
7784
7854
|
|
|
7785
7855
|
var svgProps = lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()(_objectSpread({
|
|
7786
7856
|
width: width,
|
|
@@ -7805,33 +7875,33 @@ _defineProperty(VictoryContainer, "displayName", "VictoryContainer");
|
|
|
7805
7875
|
_defineProperty(VictoryContainer, "role", "container");
|
|
7806
7876
|
|
|
7807
7877
|
_defineProperty(VictoryContainer, "propTypes", {
|
|
7808
|
-
"aria-describedby": (
|
|
7809
|
-
"aria-labelledby": (
|
|
7810
|
-
children:
|
|
7811
|
-
className: (
|
|
7812
|
-
containerId:
|
|
7813
|
-
containerRef: (
|
|
7814
|
-
desc: (
|
|
7815
|
-
events: (
|
|
7878
|
+
"aria-describedby": (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7879
|
+
"aria-labelledby": (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7880
|
+
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)]),
|
|
7881
|
+
className: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7882
|
+
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)]),
|
|
7883
|
+
containerRef: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().func),
|
|
7884
|
+
desc: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7885
|
+
events: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object),
|
|
7816
7886
|
height: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative,
|
|
7817
|
-
name: (
|
|
7818
|
-
origin:
|
|
7887
|
+
name: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7888
|
+
origin: prop_types__WEBPACK_IMPORTED_MODULE_9___default().shape({
|
|
7819
7889
|
x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative,
|
|
7820
7890
|
y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative
|
|
7821
7891
|
}),
|
|
7822
|
-
ouiaId:
|
|
7823
|
-
ouiaSafe: (
|
|
7824
|
-
ouiaType: (
|
|
7825
|
-
polar: (
|
|
7826
|
-
portalComponent: (
|
|
7892
|
+
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)]),
|
|
7893
|
+
ouiaSafe: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
|
|
7894
|
+
ouiaType: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7895
|
+
polar: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
|
|
7896
|
+
portalComponent: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().element),
|
|
7827
7897
|
portalZIndex: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.integer,
|
|
7828
|
-
preserveAspectRatio: (
|
|
7829
|
-
responsive: (
|
|
7830
|
-
role: (
|
|
7831
|
-
style: (
|
|
7832
|
-
tabIndex: (
|
|
7833
|
-
theme: (
|
|
7834
|
-
title: (
|
|
7898
|
+
preserveAspectRatio: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7899
|
+
responsive: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
|
|
7900
|
+
role: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7901
|
+
style: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object),
|
|
7902
|
+
tabIndex: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().number),
|
|
7903
|
+
theme: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object),
|
|
7904
|
+
title: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7835
7905
|
width: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative
|
|
7836
7906
|
});
|
|
7837
7907
|
|
|
@@ -7866,20 +7936,21 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7866
7936
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
|
|
7867
7937
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/assign */ "../../../node_modules/lodash/assign.js");
|
|
7868
7938
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_2__);
|
|
7869
|
-
/* harmony import */ var
|
|
7870
|
-
/* harmony import */ var
|
|
7871
|
-
/* harmony import */ var
|
|
7872
|
-
/* harmony import */ var
|
|
7939
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
7940
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_11__);
|
|
7941
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
|
|
7942
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
|
|
7873
7943
|
/* harmony import */ var _victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../victory-portal/victory-portal */ "../../victory-core/es/victory-portal/victory-portal.js");
|
|
7874
|
-
/* harmony import */ var
|
|
7875
|
-
/* harmony import */ var
|
|
7876
|
-
/* harmony import */ var
|
|
7877
|
-
/* harmony import */ var
|
|
7878
|
-
/* harmony import */ var
|
|
7879
|
-
/* harmony import */ var
|
|
7880
|
-
/* harmony import */ var
|
|
7881
|
-
/* harmony import */ var
|
|
7944
|
+
/* harmony import */ var _victory_primitives_rect__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../victory-primitives/rect */ "../../victory-core/es/victory-primitives/rect.js");
|
|
7945
|
+
/* harmony import */ var _victory_primitives_text__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../victory-primitives/text */ "../../victory-core/es/victory-primitives/text.js");
|
|
7946
|
+
/* harmony import */ var _victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../victory-primitives/tspan */ "../../victory-core/es/victory-primitives/tspan.js");
|
|
7947
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
7948
|
+
/* harmony import */ var _victory_util_label_helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../victory-util/label-helpers */ "../../victory-core/es/victory-util/label-helpers.js");
|
|
7949
|
+
/* harmony import */ var _victory_util_log__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../victory-util/log */ "../../victory-core/es/victory-util/log.js");
|
|
7950
|
+
/* harmony import */ var _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../victory-util/prop-types */ "../../victory-core/es/victory-util/prop-types.js");
|
|
7951
|
+
/* harmony import */ var _victory_util_style__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/style */ "../../victory-core/es/victory-util/style.js");
|
|
7882
7952
|
/* harmony import */ var _victory_util_textsize__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../victory-util/textsize */ "../../victory-core/es/victory-util/textsize.js");
|
|
7953
|
+
/* 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");
|
|
7883
7954
|
|
|
7884
7955
|
|
|
7885
7956
|
|
|
@@ -7914,6 +7985,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
7914
7985
|
|
|
7915
7986
|
|
|
7916
7987
|
|
|
7988
|
+
|
|
7917
7989
|
var defaultStyles = {
|
|
7918
7990
|
fill: "#252525",
|
|
7919
7991
|
fontSize: 14,
|
|
@@ -7926,7 +7998,7 @@ var getPosition = function (props, dimension) {
|
|
|
7926
7998
|
return 0;
|
|
7927
7999
|
}
|
|
7928
8000
|
|
|
7929
|
-
var scaledPoint =
|
|
8001
|
+
var scaledPoint = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.scalePoint(props, props.datum);
|
|
7930
8002
|
return scaledPoint[dimension];
|
|
7931
8003
|
};
|
|
7932
8004
|
|
|
@@ -7943,7 +8015,7 @@ var getFontSize = function (style) {
|
|
|
7943
8015
|
if (!isNaN(fontSize)) {
|
|
7944
8016
|
return fontSize;
|
|
7945
8017
|
} else {
|
|
7946
|
-
|
|
8018
|
+
_victory_util_log__WEBPACK_IMPORTED_MODULE_5__.warn("fontSize should be expressed as a number of pixels");
|
|
7947
8019
|
return defaultStyles.fontSize;
|
|
7948
8020
|
}
|
|
7949
8021
|
}
|
|
@@ -7964,7 +8036,7 @@ var shouldUseMultilineBackgrounds = function (props) {
|
|
|
7964
8036
|
|
|
7965
8037
|
var getStyles = function (style, props) {
|
|
7966
8038
|
if (props.disableInlineStyles) {
|
|
7967
|
-
var baseStyles =
|
|
8039
|
+
var baseStyles = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateStyle(style, props);
|
|
7968
8040
|
return {
|
|
7969
8041
|
// Font size is necessary to calculate the y position of the label
|
|
7970
8042
|
fontSize: getFontSize(baseStyles)
|
|
@@ -7973,7 +8045,7 @@ var getStyles = function (style, props) {
|
|
|
7973
8045
|
|
|
7974
8046
|
var getSingleStyle = function (s) {
|
|
7975
8047
|
s = s ? lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, s, defaultStyles) : defaultStyles;
|
|
7976
|
-
var baseStyles =
|
|
8048
|
+
var baseStyles = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateStyle(s, props);
|
|
7977
8049
|
return lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, baseStyles, {
|
|
7978
8050
|
fontSize: getFontSize(baseStyles)
|
|
7979
8051
|
});
|
|
@@ -7990,28 +8062,28 @@ var getBackgroundStyles = function (style, props) {
|
|
|
7990
8062
|
}
|
|
7991
8063
|
|
|
7992
8064
|
return Array.isArray(style) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(style) ? style.map(function (s) {
|
|
7993
|
-
return
|
|
7994
|
-
}) :
|
|
8065
|
+
return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateStyle(s, props);
|
|
8066
|
+
}) : _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateStyle(style, props);
|
|
7995
8067
|
};
|
|
7996
8068
|
|
|
7997
8069
|
var getBackgroundPadding = function (props) {
|
|
7998
8070
|
if (props.backgroundPadding && Array.isArray(props.backgroundPadding)) {
|
|
7999
8071
|
return props.backgroundPadding.map(function (backgroundPadding) {
|
|
8000
|
-
var padding =
|
|
8001
|
-
return
|
|
8072
|
+
var padding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(backgroundPadding, props);
|
|
8073
|
+
return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.getPadding({
|
|
8002
8074
|
padding: padding
|
|
8003
8075
|
});
|
|
8004
8076
|
});
|
|
8005
8077
|
} else {
|
|
8006
|
-
var padding =
|
|
8007
|
-
return
|
|
8078
|
+
var padding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.backgroundPadding, props);
|
|
8079
|
+
return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.getPadding({
|
|
8008
8080
|
padding: padding
|
|
8009
8081
|
});
|
|
8010
8082
|
}
|
|
8011
8083
|
};
|
|
8012
8084
|
|
|
8013
8085
|
var getLineHeight = function (props) {
|
|
8014
|
-
var lineHeight =
|
|
8086
|
+
var lineHeight = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.lineHeight, props);
|
|
8015
8087
|
|
|
8016
8088
|
if (Array.isArray(lineHeight)) {
|
|
8017
8089
|
return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(lineHeight) ? [1] : lineHeight;
|
|
@@ -8027,11 +8099,11 @@ var getContent = function (text, props) {
|
|
|
8027
8099
|
|
|
8028
8100
|
if (Array.isArray(text)) {
|
|
8029
8101
|
return text.map(function (line) {
|
|
8030
|
-
return
|
|
8102
|
+
return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(line, props);
|
|
8031
8103
|
});
|
|
8032
8104
|
}
|
|
8033
8105
|
|
|
8034
|
-
var child =
|
|
8106
|
+
var child = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(text, props);
|
|
8035
8107
|
|
|
8036
8108
|
if (child === undefined || child === null) {
|
|
8037
8109
|
return undefined;
|
|
@@ -8041,10 +8113,10 @@ var getContent = function (text, props) {
|
|
|
8041
8113
|
};
|
|
8042
8114
|
|
|
8043
8115
|
var getDy = function (props, verticalAnchor, lineHeight) {
|
|
8044
|
-
var dy = props.dy ?
|
|
8116
|
+
var dy = props.dy ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.dy, props) : 0;
|
|
8045
8117
|
var length = props.inline ? 1 : props.text.length;
|
|
8046
|
-
var capHeight =
|
|
8047
|
-
var anchor = verticalAnchor ?
|
|
8118
|
+
var capHeight = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.capHeight, props);
|
|
8119
|
+
var anchor = verticalAnchor ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(verticalAnchor, props) : "middle";
|
|
8048
8120
|
|
|
8049
8121
|
var fontSizes = _toConsumableArray(Array(length).keys()).map(function (i) {
|
|
8050
8122
|
return getSingleValue(props.style, i).fontSize;
|
|
@@ -8072,15 +8144,15 @@ var getDy = function (props, verticalAnchor, lineHeight) {
|
|
|
8072
8144
|
var getTransform = function (props, x, y) {
|
|
8073
8145
|
var polar = props.polar;
|
|
8074
8146
|
var style = getSingleValue(props.style);
|
|
8075
|
-
var defaultAngle = polar ?
|
|
8076
|
-
var baseAngle = style.angle === undefined ?
|
|
8147
|
+
var defaultAngle = polar ? _victory_util_label_helpers__WEBPACK_IMPORTED_MODULE_6__.getPolarAngle(props) : 0;
|
|
8148
|
+
var baseAngle = style.angle === undefined ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.angle, props) : style.angle;
|
|
8077
8149
|
var angle = baseAngle === undefined ? defaultAngle : baseAngle;
|
|
8078
8150
|
var transform = props.transform || style.transform;
|
|
8079
|
-
var transformPart = transform &&
|
|
8151
|
+
var transformPart = transform && _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(transform, props);
|
|
8080
8152
|
var rotatePart = angle && {
|
|
8081
8153
|
rotate: [angle, x, y]
|
|
8082
8154
|
};
|
|
8083
|
-
return transformPart || angle ?
|
|
8155
|
+
return transformPart || angle ? _victory_util_style__WEBPACK_IMPORTED_MODULE_7__.toTransformString(transformPart, rotatePart) : undefined;
|
|
8084
8156
|
};
|
|
8085
8157
|
|
|
8086
8158
|
var getXCoordinate = function (calculatedProps, labelSizeWidth) {
|
|
@@ -8161,7 +8233,7 @@ var getFullBackground = function (calculatedProps, tspanValues) {
|
|
|
8161
8233
|
x: inline ? xCoordinate - backgroundPadding.left : xCoordinate + dx - backgroundPadding.left,
|
|
8162
8234
|
y: yCoordinate
|
|
8163
8235
|
};
|
|
8164
|
-
return /*#__PURE__*/
|
|
8236
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
|
|
8165
8237
|
};
|
|
8166
8238
|
|
|
8167
8239
|
var getInlineXOffset = function (calculatedProps, textElements, index) {
|
|
@@ -8243,7 +8315,7 @@ var getChildBackgrounds = function (calculatedProps, tspanValues) {
|
|
|
8243
8315
|
x: xCoord - padding.left,
|
|
8244
8316
|
y: yCoord
|
|
8245
8317
|
};
|
|
8246
|
-
return /*#__PURE__*/
|
|
8318
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
|
|
8247
8319
|
});
|
|
8248
8320
|
};
|
|
8249
8321
|
|
|
@@ -8294,7 +8366,7 @@ var evaluateProps = function (props) {
|
|
|
8294
8366
|
style: style,
|
|
8295
8367
|
backgroundStyle: backgroundStyle
|
|
8296
8368
|
}));
|
|
8297
|
-
var id =
|
|
8369
|
+
var id = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.id, props);
|
|
8298
8370
|
return lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, {
|
|
8299
8371
|
backgroundStyle: backgroundStyle,
|
|
8300
8372
|
backgroundPadding: backgroundPadding,
|
|
@@ -8305,13 +8377,13 @@ var evaluateProps = function (props) {
|
|
|
8305
8377
|
};
|
|
8306
8378
|
|
|
8307
8379
|
var getCalculatedProps = function (props) {
|
|
8308
|
-
var ariaLabel =
|
|
8380
|
+
var ariaLabel = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.ariaLabel, props);
|
|
8309
8381
|
var style = getSingleValue(props.style);
|
|
8310
8382
|
var lineHeight = getLineHeight(props);
|
|
8311
|
-
var direction = props.direction ?
|
|
8312
|
-
var textAnchor = props.textAnchor ?
|
|
8313
|
-
var verticalAnchor = props.verticalAnchor ?
|
|
8314
|
-
var dx = props.dx ?
|
|
8383
|
+
var direction = props.direction ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.direction, props) : "inherit";
|
|
8384
|
+
var textAnchor = props.textAnchor ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.textAnchor, props) : style.textAnchor || "start";
|
|
8385
|
+
var verticalAnchor = props.verticalAnchor ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.verticalAnchor, props) : style.verticalAnchor || "middle";
|
|
8386
|
+
var dx = props.dx ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.dx, props) : 0;
|
|
8315
8387
|
var dy = getDy(props, verticalAnchor, lineHeight);
|
|
8316
8388
|
var x = props.x !== undefined ? props.x : getPosition(props, "x");
|
|
8317
8389
|
var y = props.y !== undefined ? props.y : getPosition(props, "y");
|
|
@@ -8350,6 +8422,7 @@ var renderLabel = function (calculatedProps, tspanValues) {
|
|
|
8350
8422
|
tabIndex = calculatedProps.tabIndex,
|
|
8351
8423
|
tspanComponent = calculatedProps.tspanComponent,
|
|
8352
8424
|
textComponent = calculatedProps.textComponent;
|
|
8425
|
+
var userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_8__.getSafeUserProps(calculatedProps);
|
|
8353
8426
|
|
|
8354
8427
|
var textProps = _objectSpread(_objectSpread({
|
|
8355
8428
|
"aria-label": ariaLabel,
|
|
@@ -8362,10 +8435,10 @@ var renderLabel = function (calculatedProps, tspanValues) {
|
|
|
8362
8435
|
transform: transform,
|
|
8363
8436
|
className: className,
|
|
8364
8437
|
title: title,
|
|
8365
|
-
desc:
|
|
8366
|
-
tabIndex:
|
|
8438
|
+
desc: _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(desc, calculatedProps),
|
|
8439
|
+
tabIndex: _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(tabIndex, calculatedProps),
|
|
8367
8440
|
id: id
|
|
8368
|
-
});
|
|
8441
|
+
}, userProps);
|
|
8369
8442
|
|
|
8370
8443
|
var tspans = text.map(function (line, i) {
|
|
8371
8444
|
var currentStyle = tspanValues[i].style;
|
|
@@ -8378,9 +8451,9 @@ var renderLabel = function (calculatedProps, tspanValues) {
|
|
|
8378
8451
|
style: currentStyle,
|
|
8379
8452
|
children: line
|
|
8380
8453
|
};
|
|
8381
|
-
return /*#__PURE__*/
|
|
8454
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(tspanComponent, tspanProps);
|
|
8382
8455
|
});
|
|
8383
|
-
return /*#__PURE__*/
|
|
8456
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(textComponent, textProps, tspans);
|
|
8384
8457
|
};
|
|
8385
8458
|
|
|
8386
8459
|
var VictoryLabel = function (props) {
|
|
@@ -8415,66 +8488,66 @@ var VictoryLabel = function (props) {
|
|
|
8415
8488
|
if (props.backgroundStyle) {
|
|
8416
8489
|
var backgroundElement = getBackgroundElement(calculatedProps, tspanValues);
|
|
8417
8490
|
var children = [backgroundElement, label];
|
|
8418
|
-
var backgroundWithLabel = /*#__PURE__*/
|
|
8419
|
-
return props.renderInPortal ? /*#__PURE__*/
|
|
8491
|
+
var backgroundWithLabel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(props.groupComponent, {}, children);
|
|
8492
|
+
return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_10__["default"], null, backgroundWithLabel) : backgroundWithLabel;
|
|
8420
8493
|
}
|
|
8421
8494
|
|
|
8422
|
-
return props.renderInPortal ? /*#__PURE__*/
|
|
8495
|
+
return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_10__["default"], null, label) : label;
|
|
8423
8496
|
};
|
|
8424
8497
|
|
|
8425
8498
|
VictoryLabel.displayName = "VictoryLabel";
|
|
8426
8499
|
VictoryLabel.role = "label";
|
|
8427
8500
|
VictoryLabel.defaultStyles = defaultStyles;
|
|
8428
8501
|
VictoryLabel.propTypes = {
|
|
8429
|
-
active: (
|
|
8430
|
-
angle:
|
|
8431
|
-
ariaLabel:
|
|
8432
|
-
backgroundComponent: (
|
|
8433
|
-
backgroundPadding:
|
|
8434
|
-
backgroundStyle:
|
|
8435
|
-
capHeight:
|
|
8436
|
-
className: (
|
|
8437
|
-
data: (
|
|
8438
|
-
datum: (
|
|
8439
|
-
desc:
|
|
8440
|
-
direction:
|
|
8441
|
-
dx:
|
|
8442
|
-
dy:
|
|
8443
|
-
events: (
|
|
8444
|
-
groupComponent: (
|
|
8445
|
-
id:
|
|
8446
|
-
index:
|
|
8447
|
-
inline: (
|
|
8448
|
-
labelPlacement:
|
|
8449
|
-
lineHeight:
|
|
8450
|
-
origin:
|
|
8451
|
-
x:
|
|
8452
|
-
y:
|
|
8502
|
+
active: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().bool),
|
|
8503
|
+
angle: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_11___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func)]),
|
|
8504
|
+
ariaLabel: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_11___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func)]),
|
|
8505
|
+
backgroundComponent: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().element),
|
|
8506
|
+
backgroundPadding: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_11___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().array)]),
|
|
8507
|
+
backgroundStyle: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_11___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().array)]),
|
|
8508
|
+
capHeight: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_11___default().string), _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_12__.nonNegative, (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func)]),
|
|
8509
|
+
className: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().string),
|
|
8510
|
+
data: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().array),
|
|
8511
|
+
datum: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().any),
|
|
8512
|
+
desc: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_11___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func)]),
|
|
8513
|
+
direction: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOf(["rtl", "ltr", "inherit"]),
|
|
8514
|
+
dx: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_11___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func)]),
|
|
8515
|
+
dy: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_11___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func)]),
|
|
8516
|
+
events: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().object),
|
|
8517
|
+
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().element),
|
|
8518
|
+
id: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_11___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func)]),
|
|
8519
|
+
index: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_11___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().string)]),
|
|
8520
|
+
inline: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().bool),
|
|
8521
|
+
labelPlacement: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOf(["parallel", "perpendicular", "vertical"]),
|
|
8522
|
+
lineHeight: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_11___default().string), _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_12__.nonNegative, (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().array)]),
|
|
8523
|
+
origin: prop_types__WEBPACK_IMPORTED_MODULE_11___default().shape({
|
|
8524
|
+
x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_12__.nonNegative,
|
|
8525
|
+
y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_12__.nonNegative
|
|
8453
8526
|
}),
|
|
8454
|
-
polar: (
|
|
8455
|
-
renderInPortal: (
|
|
8456
|
-
scale:
|
|
8457
|
-
x:
|
|
8458
|
-
y:
|
|
8527
|
+
polar: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().bool),
|
|
8528
|
+
renderInPortal: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().bool),
|
|
8529
|
+
scale: prop_types__WEBPACK_IMPORTED_MODULE_11___default().shape({
|
|
8530
|
+
x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_12__.scale,
|
|
8531
|
+
y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_12__.scale
|
|
8459
8532
|
}),
|
|
8460
|
-
style:
|
|
8461
|
-
tabIndex:
|
|
8462
|
-
text:
|
|
8463
|
-
textAnchor:
|
|
8464
|
-
textComponent: (
|
|
8465
|
-
title: (
|
|
8466
|
-
transform:
|
|
8467
|
-
tspanComponent: (
|
|
8468
|
-
verticalAnchor:
|
|
8469
|
-
x:
|
|
8470
|
-
y:
|
|
8533
|
+
style: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_11___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().array)]),
|
|
8534
|
+
tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_11___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func)]),
|
|
8535
|
+
text: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_11___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().array)]),
|
|
8536
|
+
textAnchor: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOf(["start", "middle", "end", "inherit"]), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func)]),
|
|
8537
|
+
textComponent: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().element),
|
|
8538
|
+
title: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().string),
|
|
8539
|
+
transform: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_11___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func)]),
|
|
8540
|
+
tspanComponent: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().element),
|
|
8541
|
+
verticalAnchor: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOf(["start", "middle", "end"]), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func)]),
|
|
8542
|
+
x: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_11___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().string)]),
|
|
8543
|
+
y: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_11___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_11___default().string)])
|
|
8471
8544
|
};
|
|
8472
8545
|
VictoryLabel.defaultProps = {
|
|
8473
|
-
backgroundComponent: /*#__PURE__*/
|
|
8474
|
-
groupComponent: /*#__PURE__*/
|
|
8546
|
+
backgroundComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_rect__WEBPACK_IMPORTED_MODULE_13__["default"], null),
|
|
8547
|
+
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("g", null),
|
|
8475
8548
|
direction: "inherit",
|
|
8476
|
-
textComponent: /*#__PURE__*/
|
|
8477
|
-
tspanComponent: /*#__PURE__*/
|
|
8549
|
+
textComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_text__WEBPACK_IMPORTED_MODULE_14__["default"], null),
|
|
8550
|
+
tspanComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_15__["default"], null),
|
|
8478
8551
|
capHeight: 0.71,
|
|
8479
8552
|
// Magic number from d3.
|
|
8480
8553
|
lineHeight: 1
|
|
@@ -8642,10 +8715,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8642
8715
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
|
|
8643
8716
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
8644
8717
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
8645
|
-
/* harmony import */ var
|
|
8646
|
-
/* harmony import */ var
|
|
8647
|
-
/* harmony import */ var
|
|
8648
|
-
/* harmony import */ var
|
|
8718
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
8719
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
8720
|
+
/* harmony import */ var _victory_util_log__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../victory-util/log */ "../../victory-core/es/victory-util/log.js");
|
|
8721
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
8649
8722
|
/* harmony import */ var _portal_context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./portal-context */ "../../victory-core/es/victory-portal/portal-context.js");
|
|
8650
8723
|
|
|
8651
8724
|
|
|
@@ -8694,7 +8767,7 @@ var VictoryPortal = /*#__PURE__*/function (_React$Component) {
|
|
|
8694
8767
|
if (!this.checkedContext) {
|
|
8695
8768
|
if (typeof this.context.portalUpdate !== "function") {
|
|
8696
8769
|
var msg = "`renderInPortal` is not supported outside of `VictoryContainer`. " + "Component will be rendered in place";
|
|
8697
|
-
|
|
8770
|
+
_victory_util_log__WEBPACK_IMPORTED_MODULE_2__.warn(msg);
|
|
8698
8771
|
this.renderInPlace = true;
|
|
8699
8772
|
}
|
|
8700
8773
|
|
|
@@ -8740,7 +8813,7 @@ var VictoryPortal = /*#__PURE__*/function (_React$Component) {
|
|
|
8740
8813
|
standalone: false
|
|
8741
8814
|
} : {};
|
|
8742
8815
|
|
|
8743
|
-
var newProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()(standardProps, childProps,
|
|
8816
|
+
var newProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()(standardProps, childProps, _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.omit(this.props, ["children", "groupComponent"]));
|
|
8744
8817
|
|
|
8745
8818
|
var child = children && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(children, newProps);
|
|
8746
8819
|
return this.renderPortal(child);
|
|
@@ -8755,8 +8828,8 @@ _defineProperty(VictoryPortal, "displayName", "VictoryPortal");
|
|
|
8755
8828
|
_defineProperty(VictoryPortal, "role", "portal");
|
|
8756
8829
|
|
|
8757
8830
|
_defineProperty(VictoryPortal, "propTypes", {
|
|
8758
|
-
children: (
|
|
8759
|
-
groupComponent: (
|
|
8831
|
+
children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),
|
|
8832
|
+
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().element)
|
|
8760
8833
|
});
|
|
8761
8834
|
|
|
8762
8835
|
_defineProperty(VictoryPortal, "defaultProps", {
|
|
@@ -9532,15 +9605,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9532
9605
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_3__);
|
|
9533
9606
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "react");
|
|
9534
9607
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
|
|
9535
|
-
/* harmony import */ var
|
|
9536
|
-
/* harmony import */ var
|
|
9537
|
-
/* harmony import */ var
|
|
9538
|
-
/* harmony import */ var
|
|
9539
|
-
/* harmony import */ var
|
|
9608
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
9609
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_10__);
|
|
9610
|
+
/* harmony import */ var _victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../victory-animation/victory-animation */ "../../victory-core/es/victory-animation/victory-animation.js");
|
|
9611
|
+
/* harmony import */ var _victory_util_collection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/collection */ "../../victory-core/es/victory-util/collection.js");
|
|
9612
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
9540
9613
|
/* harmony import */ var _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../victory-util/timer-context */ "../../victory-core/es/victory-util/timer-context.js");
|
|
9541
|
-
/* harmony import */ var
|
|
9542
|
-
/* harmony import */ var
|
|
9543
|
-
/* harmony import */ var
|
|
9614
|
+
/* harmony import */ var _victory_util_transitions__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../victory-util/transitions */ "../../victory-core/es/victory-util/transitions.js");
|
|
9615
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/react-fast-compare/index.js");
|
|
9616
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_5__);
|
|
9544
9617
|
|
|
9545
9618
|
|
|
9546
9619
|
|
|
@@ -9614,7 +9687,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9614
9687
|
value: function shouldComponentUpdate(nextProps) {
|
|
9615
9688
|
var _this2 = this;
|
|
9616
9689
|
|
|
9617
|
-
if (!
|
|
9690
|
+
if (!react_fast_compare__WEBPACK_IMPORTED_MODULE_5___default()(this.props, nextProps)) {
|
|
9618
9691
|
this.timer.bypassAnimation();
|
|
9619
9692
|
this.setState(this.getTransitionState(this.props, nextProps), function () {
|
|
9620
9693
|
return _this2.timer.resumeAnimation();
|
|
@@ -9646,7 +9719,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9646
9719
|
var oldChildren = react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(props.children);
|
|
9647
9720
|
var nextChildren = react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(nextProps.children);
|
|
9648
9721
|
|
|
9649
|
-
var _Transitions$getIniti =
|
|
9722
|
+
var _Transitions$getIniti = _victory_util_transitions__WEBPACK_IMPORTED_MODULE_6__.getInitialTransitionState(oldChildren, nextChildren),
|
|
9650
9723
|
nodesWillExit = _Transitions$getIniti.nodesWillExit,
|
|
9651
9724
|
nodesWillEnter = _Transitions$getIniti.nodesWillEnter,
|
|
9652
9725
|
childrenTransitions = _Transitions$getIniti.childrenTransitions,
|
|
@@ -9686,7 +9759,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9686
9759
|
return domain;
|
|
9687
9760
|
} else {
|
|
9688
9761
|
var childDomains = getChildDomains([child]);
|
|
9689
|
-
return childDomains.length === 0 ? [0, 1] : [
|
|
9762
|
+
return childDomains.length === 0 ? [0, 1] : [_victory_util_collection__WEBPACK_IMPORTED_MODULE_7__.getMinValue(childDomains), _victory_util_collection__WEBPACK_IMPORTED_MODULE_7__.getMaxValue(childDomains)];
|
|
9690
9763
|
}
|
|
9691
9764
|
}
|
|
9692
9765
|
}, {
|
|
@@ -9713,7 +9786,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9713
9786
|
key: "getClipWidth",
|
|
9714
9787
|
value: function getClipWidth(props, child) {
|
|
9715
9788
|
var getDefaultClipWidth = function () {
|
|
9716
|
-
var range =
|
|
9789
|
+
var range = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.getRange(child.props, "x");
|
|
9717
9790
|
return range ? Math.abs(range[1] - range[0]) : props.width;
|
|
9718
9791
|
};
|
|
9719
9792
|
|
|
@@ -9726,7 +9799,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9726
9799
|
var _this3 = this;
|
|
9727
9800
|
|
|
9728
9801
|
var props = this.pickProps();
|
|
9729
|
-
var getTransitionProps = lodash_isObject__WEBPACK_IMPORTED_MODULE_0___default()(this.props.animate) && this.props.animate.getTransitions ? this.props.animate.getTransitions :
|
|
9802
|
+
var getTransitionProps = lodash_isObject__WEBPACK_IMPORTED_MODULE_0___default()(this.props.animate) && this.props.animate.getTransitions ? this.props.animate.getTransitions : _victory_util_transitions__WEBPACK_IMPORTED_MODULE_6__.getTransitionPropsFactory(props, this.state, function (newState) {
|
|
9730
9803
|
return _this3.setState(newState);
|
|
9731
9804
|
});
|
|
9732
9805
|
var child = react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(props.children)[0];
|
|
@@ -9746,7 +9819,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9746
9819
|
var animationWhitelist = props.animationWhitelist || [];
|
|
9747
9820
|
var whitelist = animationWhitelist.concat(["clipWidth"]);
|
|
9748
9821
|
var propsToAnimate = whitelist.length ? lodash_pick__WEBPACK_IMPORTED_MODULE_1___default()(combinedProps, whitelist) : combinedProps;
|
|
9749
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(
|
|
9822
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_9__["default"], _extends({}, combinedProps.animate, {
|
|
9750
9823
|
data: propsToAnimate
|
|
9751
9824
|
}), function (newProps) {
|
|
9752
9825
|
if (child.props.groupComponent) {
|
|
@@ -9774,9 +9847,9 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9774
9847
|
_defineProperty(VictoryTransition, "displayName", "VictoryTransition");
|
|
9775
9848
|
|
|
9776
9849
|
_defineProperty(VictoryTransition, "propTypes", {
|
|
9777
|
-
animate:
|
|
9778
|
-
animationWhitelist: (
|
|
9779
|
-
children: (
|
|
9850
|
+
animate: prop_types__WEBPACK_IMPORTED_MODULE_10___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_10___default().bool), (prop_types__WEBPACK_IMPORTED_MODULE_10___default().object)]),
|
|
9851
|
+
animationWhitelist: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().array),
|
|
9852
|
+
children: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().node)
|
|
9780
9853
|
});
|
|
9781
9854
|
|
|
9782
9855
|
_defineProperty(VictoryTransition, "contextType", _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_11__["default"]);
|
|
@@ -9820,7 +9893,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9820
9893
|
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/react-fast-compare/index.js");
|
|
9821
9894
|
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_10__);
|
|
9822
9895
|
/* harmony import */ var _victory_transition_victory_transition__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../victory-transition/victory-transition */ "../../victory-core/es/victory-transition/victory-transition.js");
|
|
9823
|
-
/* harmony import */ var _victory_util_user_props__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../victory-util/user-props */ "../../victory-core/es/victory-util/user-props.js");
|
|
9824
9896
|
|
|
9825
9897
|
|
|
9826
9898
|
|
|
@@ -9869,7 +9941,6 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
9869
9941
|
|
|
9870
9942
|
|
|
9871
9943
|
|
|
9872
|
-
|
|
9873
9944
|
var datumHasXandY = function (datum) {
|
|
9874
9945
|
return !lodash_isNil__WEBPACK_IMPORTED_MODULE_1___default()(datum._x) && !lodash_isNil__WEBPACK_IMPORTED_MODULE_1___default()(datum._y);
|
|
9875
9946
|
}; // used for checking state changes. Expected components can be passed in via options
|
|
@@ -10215,7 +10286,6 @@ var defaultComponents = [{
|
|
|
10215
10286
|
var dataComponent = props.dataComponent,
|
|
10216
10287
|
labelComponent = props.labelComponent,
|
|
10217
10288
|
groupComponent = props.groupComponent;
|
|
10218
|
-
var userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_13__.getSafeUserProps(props);
|
|
10219
10289
|
var dataComponents = this.dataKeys.reduce(function (validDataComponents, _dataKey, index) {
|
|
10220
10290
|
var dataProps = _this9.getComponentProps(dataComponent, "data", index);
|
|
10221
10291
|
|
|
@@ -10235,8 +10305,7 @@ var defaultComponents = [{
|
|
|
10235
10305
|
return undefined;
|
|
10236
10306
|
}).filter(Boolean);
|
|
10237
10307
|
var children = [].concat(_toConsumableArray(dataComponents), _toConsumableArray(labelComponents));
|
|
10238
|
-
|
|
10239
|
-
return this.renderContainer(group, children);
|
|
10308
|
+
return this.renderContainer(groupComponent, children);
|
|
10240
10309
|
}
|
|
10241
10310
|
}]);
|
|
10242
10311
|
|
|
@@ -10255,14 +10324,14 @@ var defaultComponents = [{
|
|
|
10255
10324
|
"use strict";
|
|
10256
10325
|
__webpack_require__.r(__webpack_exports__);
|
|
10257
10326
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10258
|
-
/* harmony export */ "containsStrings": () => (/* binding */ containsStrings),
|
|
10259
10327
|
/* harmony export */ "containsDates": () => (/* binding */ containsDates),
|
|
10260
10328
|
/* harmony export */ "containsNumbers": () => (/* binding */ containsNumbers),
|
|
10261
10329
|
/* harmony export */ "containsOnlyStrings": () => (/* binding */ containsOnlyStrings),
|
|
10262
|
-
/* harmony export */ "
|
|
10263
|
-
/* harmony export */ "removeUndefined": () => (/* binding */ removeUndefined),
|
|
10330
|
+
/* harmony export */ "containsStrings": () => (/* binding */ containsStrings),
|
|
10264
10331
|
/* harmony export */ "getMaxValue": () => (/* binding */ getMaxValue),
|
|
10265
|
-
/* harmony export */ "getMinValue": () => (/* binding */ getMinValue)
|
|
10332
|
+
/* harmony export */ "getMinValue": () => (/* binding */ getMinValue),
|
|
10333
|
+
/* harmony export */ "isArrayOfArrays": () => (/* binding */ isArrayOfArrays),
|
|
10334
|
+
/* harmony export */ "removeUndefined": () => (/* binding */ removeUndefined)
|
|
10266
10335
|
/* harmony export */ });
|
|
10267
10336
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
10268
10337
|
|
|
@@ -10339,8 +10408,8 @@ function getMinValue(arr) {
|
|
|
10339
10408
|
"use strict";
|
|
10340
10409
|
__webpack_require__.r(__webpack_exports__);
|
|
10341
10410
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10342
|
-
/* harmony export */ "dataProps": () => (/* binding */ dataProps),
|
|
10343
10411
|
/* harmony export */ "baseProps": () => (/* binding */ baseProps),
|
|
10412
|
+
/* harmony export */ "dataProps": () => (/* binding */ dataProps),
|
|
10344
10413
|
/* harmony export */ "primitiveProps": () => (/* binding */ primitiveProps)
|
|
10345
10414
|
/* harmony export */ });
|
|
10346
10415
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
@@ -10396,10 +10465,10 @@ var baseProps = {
|
|
|
10396
10465
|
eventHandlers: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)
|
|
10397
10466
|
})),
|
|
10398
10467
|
externalEventMutations: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
10399
|
-
callback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()
|
|
10468
|
+
callback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
|
10400
10469
|
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)]),
|
|
10401
10470
|
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)]),
|
|
10402
|
-
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()
|
|
10471
|
+
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
|
10403
10472
|
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)])
|
|
10404
10473
|
})),
|
|
10405
10474
|
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),
|
|
@@ -10474,10 +10543,10 @@ var primitiveProps = {
|
|
|
10474
10543
|
"use strict";
|
|
10475
10544
|
__webpack_require__.r(__webpack_exports__);
|
|
10476
10545
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10477
|
-
/* harmony export */ "formatDataFromDomain": () => (/* binding */ formatDataFromDomain),
|
|
10478
10546
|
/* harmony export */ "createStringMap": () => (/* binding */ createStringMap),
|
|
10479
10547
|
/* harmony export */ "downsample": () => (/* binding */ downsample),
|
|
10480
10548
|
/* harmony export */ "formatData": () => (/* binding */ formatData),
|
|
10549
|
+
/* harmony export */ "formatDataFromDomain": () => (/* binding */ formatDataFromDomain),
|
|
10481
10550
|
/* harmony export */ "generateData": () => (/* binding */ generateData),
|
|
10482
10551
|
/* harmony export */ "getCategories": () => (/* binding */ getCategories),
|
|
10483
10552
|
/* harmony export */ "getData": () => (/* binding */ getData),
|
|
@@ -10989,8 +11058,8 @@ function isDataComponent(component) {
|
|
|
10989
11058
|
"use strict";
|
|
10990
11059
|
__webpack_require__.r(__webpack_exports__);
|
|
10991
11060
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10992
|
-
/* harmony export */ "continuousTransitions": () => (/* binding */ continuousTransitions),
|
|
10993
11061
|
/* harmony export */ "continuousPolarTransitions": () => (/* binding */ continuousPolarTransitions),
|
|
11062
|
+
/* harmony export */ "continuousTransitions": () => (/* binding */ continuousTransitions),
|
|
10994
11063
|
/* harmony export */ "discreteTransitions": () => (/* binding */ discreteTransitions)
|
|
10995
11064
|
/* harmony export */ });
|
|
10996
11065
|
/* eslint-disable func-style */
|
|
@@ -11566,18 +11635,18 @@ function isDomainComponent(component) {
|
|
|
11566
11635
|
"use strict";
|
|
11567
11636
|
__webpack_require__.r(__webpack_exports__);
|
|
11568
11637
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11569
|
-
/* harmony export */ "
|
|
11570
|
-
/* harmony export */ "
|
|
11571
|
-
/* harmony export */ "getPartialEvents": () => (/* binding */ getPartialEvents),
|
|
11638
|
+
/* harmony export */ "emulateReactEvent": () => (/* binding */ emulateReactEvent),
|
|
11639
|
+
/* harmony export */ "getComponentEvents": () => (/* binding */ getComponentEvents),
|
|
11572
11640
|
/* harmony export */ "getEventState": () => (/* binding */ getEventState),
|
|
11573
|
-
/* harmony export */ "
|
|
11574
|
-
/* harmony export */ "getExternalMutations": () => (/* binding */ getExternalMutations),
|
|
11641
|
+
/* harmony export */ "getEvents": () => (/* binding */ getEvents),
|
|
11575
11642
|
/* harmony export */ "getExternalMutation": () => (/* binding */ getExternalMutation),
|
|
11576
|
-
/* harmony export */ "
|
|
11643
|
+
/* harmony export */ "getExternalMutations": () => (/* binding */ getExternalMutations),
|
|
11644
|
+
/* harmony export */ "getExternalMutationsWithChildren": () => (/* binding */ getExternalMutationsWithChildren),
|
|
11577
11645
|
/* harmony export */ "getGlobalEventNameFromKey": () => (/* binding */ getGlobalEventNameFromKey),
|
|
11578
11646
|
/* harmony export */ "getGlobalEvents": () => (/* binding */ getGlobalEvents),
|
|
11579
|
-
/* harmony export */ "
|
|
11580
|
-
/* harmony export */ "
|
|
11647
|
+
/* harmony export */ "getPartialEvents": () => (/* binding */ getPartialEvents),
|
|
11648
|
+
/* harmony export */ "getScopedEvents": () => (/* binding */ getScopedEvents),
|
|
11649
|
+
/* harmony export */ "omitGlobalEvents": () => (/* binding */ omitGlobalEvents)
|
|
11581
11650
|
/* harmony export */ });
|
|
11582
11651
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/keys */ "../../../node_modules/lodash/keys.js");
|
|
11583
11652
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -12067,25 +12136,25 @@ var emulateReactEvent = function (event) {
|
|
|
12067
12136
|
"use strict";
|
|
12068
12137
|
__webpack_require__.r(__webpack_exports__);
|
|
12069
12138
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12070
|
-
/* harmony export */ "
|
|
12071
|
-
/* harmony export */ "
|
|
12072
|
-
/* harmony export */ "scalePoint": () => (/* binding */ scalePoint),
|
|
12073
|
-
/* harmony export */ "getPadding": () => (/* binding */ getPadding),
|
|
12074
|
-
/* harmony export */ "isTooltip": () => (/* binding */ isTooltip),
|
|
12075
|
-
/* harmony export */ "getDefaultStyles": () => (/* binding */ getDefaultStyles),
|
|
12076
|
-
/* harmony export */ "getStyles": () => (/* binding */ getStyles),
|
|
12139
|
+
/* harmony export */ "createAccessor": () => (/* binding */ createAccessor),
|
|
12140
|
+
/* harmony export */ "degreesToRadians": () => (/* binding */ degreesToRadians),
|
|
12077
12141
|
/* harmony export */ "evaluateProp": () => (/* binding */ evaluateProp),
|
|
12078
12142
|
/* harmony export */ "evaluateStyle": () => (/* binding */ evaluateStyle),
|
|
12079
|
-
/* harmony export */ "
|
|
12080
|
-
/* harmony export */ "
|
|
12081
|
-
/* harmony export */ "
|
|
12143
|
+
/* harmony export */ "getCurrentAxis": () => (/* binding */ getCurrentAxis),
|
|
12144
|
+
/* harmony export */ "getDefaultStyles": () => (/* binding */ getDefaultStyles),
|
|
12145
|
+
/* harmony export */ "getPadding": () => (/* binding */ getPadding),
|
|
12146
|
+
/* harmony export */ "getPoint": () => (/* binding */ getPoint),
|
|
12082
12147
|
/* harmony export */ "getPolarOrigin": () => (/* binding */ getPolarOrigin),
|
|
12148
|
+
/* harmony export */ "getRadius": () => (/* binding */ getRadius),
|
|
12083
12149
|
/* harmony export */ "getRange": () => (/* binding */ getRange),
|
|
12084
|
-
/* harmony export */ "
|
|
12150
|
+
/* harmony export */ "getStyles": () => (/* binding */ getStyles),
|
|
12151
|
+
/* harmony export */ "isHorizontal": () => (/* binding */ isHorizontal),
|
|
12152
|
+
/* harmony export */ "isTooltip": () => (/* binding */ isTooltip),
|
|
12085
12153
|
/* harmony export */ "modifyProps": () => (/* binding */ modifyProps),
|
|
12086
|
-
/* harmony export */ "
|
|
12154
|
+
/* harmony export */ "omit": () => (/* binding */ omit),
|
|
12155
|
+
/* harmony export */ "radiansToDegrees": () => (/* binding */ radiansToDegrees),
|
|
12087
12156
|
/* harmony export */ "reduceChildren": () => (/* binding */ reduceChildren),
|
|
12088
|
-
/* harmony export */ "
|
|
12157
|
+
/* harmony export */ "scalePoint": () => (/* binding */ scalePoint)
|
|
12089
12158
|
/* harmony export */ });
|
|
12090
12159
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/keys */ "../../../node_modules/lodash/keys.js");
|
|
12091
12160
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -12463,14 +12532,14 @@ function isHorizontal(props) {
|
|
|
12463
12532
|
__webpack_require__.r(__webpack_exports__);
|
|
12464
12533
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12465
12534
|
/* harmony export */ "IMMUTABLE_ITERABLE": () => (/* binding */ IMMUTABLE_ITERABLE),
|
|
12466
|
-
/* harmony export */ "IMMUTABLE_RECORD": () => (/* binding */ IMMUTABLE_RECORD),
|
|
12467
12535
|
/* harmony export */ "IMMUTABLE_LIST": () => (/* binding */ IMMUTABLE_LIST),
|
|
12468
12536
|
/* harmony export */ "IMMUTABLE_MAP": () => (/* binding */ IMMUTABLE_MAP),
|
|
12469
|
-
/* harmony export */ "
|
|
12470
|
-
/* harmony export */ "isRecord": () => (/* binding */ isRecord),
|
|
12537
|
+
/* harmony export */ "IMMUTABLE_RECORD": () => (/* binding */ IMMUTABLE_RECORD),
|
|
12471
12538
|
/* harmony export */ "isImmutable": () => (/* binding */ isImmutable),
|
|
12539
|
+
/* harmony export */ "isIterable": () => (/* binding */ isIterable),
|
|
12472
12540
|
/* harmony export */ "isList": () => (/* binding */ isList),
|
|
12473
12541
|
/* harmony export */ "isMap": () => (/* binding */ isMap),
|
|
12542
|
+
/* harmony export */ "isRecord": () => (/* binding */ isRecord),
|
|
12474
12543
|
/* harmony export */ "shallowToJS": () => (/* binding */ shallowToJS)
|
|
12475
12544
|
/* harmony export */ });
|
|
12476
12545
|
/* eslint-disable func-style */
|
|
@@ -12515,12 +12584,12 @@ function shallowToJS(x, whitelist) {
|
|
|
12515
12584
|
"use strict";
|
|
12516
12585
|
__webpack_require__.r(__webpack_exports__);
|
|
12517
12586
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12518
|
-
/* harmony export */ "
|
|
12587
|
+
/* harmony export */ "getDegrees": () => (/* binding */ getDegrees),
|
|
12588
|
+
/* harmony export */ "getPolarAngle": () => (/* binding */ getPolarAngle),
|
|
12519
12589
|
/* harmony export */ "getPolarTextAnchor": () => (/* binding */ getPolarTextAnchor),
|
|
12520
12590
|
/* harmony export */ "getPolarVerticalAnchor": () => (/* binding */ getPolarVerticalAnchor),
|
|
12521
|
-
/* harmony export */ "
|
|
12522
|
-
/* harmony export */ "
|
|
12523
|
-
/* harmony export */ "getProps": () => (/* binding */ getProps)
|
|
12591
|
+
/* harmony export */ "getProps": () => (/* binding */ getProps),
|
|
12592
|
+
/* harmony export */ "getText": () => (/* binding */ getText)
|
|
12524
12593
|
/* harmony export */ });
|
|
12525
12594
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/lodash/defaults.js");
|
|
12526
12595
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -12800,16 +12869,16 @@ function warn(message) {
|
|
|
12800
12869
|
"use strict";
|
|
12801
12870
|
__webpack_require__.r(__webpack_exports__);
|
|
12802
12871
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12803
|
-
/* harmony export */ "deprecated": () => (/* binding */ deprecated),
|
|
12804
12872
|
/* harmony export */ "allOfType": () => (/* binding */ allOfType),
|
|
12805
|
-
/* harmony export */ "
|
|
12806
|
-
/* harmony export */ "integer": () => (/* binding */ integer),
|
|
12807
|
-
/* harmony export */ "greaterThanZero": () => (/* binding */ greaterThanZero),
|
|
12873
|
+
/* harmony export */ "deprecated": () => (/* binding */ deprecated),
|
|
12808
12874
|
/* harmony export */ "domain": () => (/* binding */ domain),
|
|
12809
|
-
/* harmony export */ "
|
|
12875
|
+
/* harmony export */ "greaterThanZero": () => (/* binding */ greaterThanZero),
|
|
12810
12876
|
/* harmony export */ "homogeneousArray": () => (/* binding */ homogeneousArray),
|
|
12877
|
+
/* harmony export */ "integer": () => (/* binding */ integer),
|
|
12811
12878
|
/* harmony export */ "matchDataLength": () => (/* binding */ matchDataLength),
|
|
12812
|
-
/* harmony export */ "
|
|
12879
|
+
/* harmony export */ "nonNegative": () => (/* binding */ nonNegative),
|
|
12880
|
+
/* harmony export */ "regExp": () => (/* binding */ regExp),
|
|
12881
|
+
/* harmony export */ "scale": () => (/* binding */ scale)
|
|
12813
12882
|
/* harmony export */ });
|
|
12814
12883
|
/* harmony import */ var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isRegExp */ "../../../node_modules/lodash/isRegExp.js");
|
|
12815
12884
|
/* harmony import */ var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -12817,9 +12886,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12817
12886
|
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_find__WEBPACK_IMPORTED_MODULE_1__);
|
|
12818
12887
|
/* harmony import */ var lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isFunction */ "../../../node_modules/lodash/isFunction.js");
|
|
12819
12888
|
/* harmony import */ var lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__);
|
|
12820
|
-
/* harmony import */ var
|
|
12821
|
-
/* harmony import */ var
|
|
12822
|
-
/* harmony import */ var
|
|
12889
|
+
/* harmony import */ var _log__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./log */ "../../victory-core/es/victory-util/log.js");
|
|
12890
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
12891
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
12823
12892
|
|
|
12824
12893
|
|
|
12825
12894
|
|
|
@@ -12918,10 +12987,10 @@ function deprecated(propType, explanation) {
|
|
|
12918
12987
|
var value = props[propName];
|
|
12919
12988
|
|
|
12920
12989
|
if (value !== null && value !== undefined) {
|
|
12921
|
-
|
|
12990
|
+
_log__WEBPACK_IMPORTED_MODULE_3__.warn("\"".concat(propName, "\" property of \"").concat(componentName, "\" has been deprecated ").concat(explanation));
|
|
12922
12991
|
}
|
|
12923
12992
|
|
|
12924
|
-
return
|
|
12993
|
+
return prop_types__WEBPACK_IMPORTED_MODULE_4___default().checkPropTypes(_defineProperty({}, propName, propType), props, propName, componentName);
|
|
12925
12994
|
};
|
|
12926
12995
|
}
|
|
12927
12996
|
/**
|
|
@@ -13083,9 +13152,9 @@ var regExp = makeChainable(function (props, propName, componentName) {
|
|
|
13083
13152
|
"use strict";
|
|
13084
13153
|
__webpack_require__.r(__webpack_exports__);
|
|
13085
13154
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13086
|
-
/* harmony export */ "getScaleFromName": () => (/* binding */ getScaleFromName),
|
|
13087
13155
|
/* harmony export */ "getBaseScale": () => (/* binding */ getBaseScale),
|
|
13088
13156
|
/* harmony export */ "getDefaultScale": () => (/* binding */ getDefaultScale),
|
|
13157
|
+
/* harmony export */ "getScaleFromName": () => (/* binding */ getScaleFromName),
|
|
13089
13158
|
/* harmony export */ "getScaleFromProps": () => (/* binding */ getScaleFromProps),
|
|
13090
13159
|
/* harmony export */ "getScaleType": () => (/* binding */ getScaleType),
|
|
13091
13160
|
/* harmony export */ "getType": () => (/* binding */ getType)
|
|
@@ -13247,8 +13316,8 @@ function getType(scale) {
|
|
|
13247
13316
|
"use strict";
|
|
13248
13317
|
__webpack_require__.r(__webpack_exports__);
|
|
13249
13318
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13250
|
-
/* harmony export */ "
|
|
13251
|
-
/* harmony export */ "
|
|
13319
|
+
/* harmony export */ "getColorScale": () => (/* binding */ getColorScale),
|
|
13320
|
+
/* harmony export */ "toTransformString": () => (/* binding */ toTransformString)
|
|
13252
13321
|
/* harmony export */ });
|
|
13253
13322
|
/* eslint-disable func-style */
|
|
13254
13323
|
|
|
@@ -13320,9 +13389,9 @@ function getColorScale(name) {
|
|
|
13320
13389
|
"use strict";
|
|
13321
13390
|
__webpack_require__.r(__webpack_exports__);
|
|
13322
13391
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13323
|
-
/* harmony export */ "convertLengthToPixels": () => (/* binding */ convertLengthToPixels),
|
|
13324
13392
|
/* harmony export */ "_approximateTextSizeInternal": () => (/* binding */ _approximateTextSizeInternal),
|
|
13325
|
-
/* harmony export */ "approximateTextSize": () => (/* binding */ approximateTextSize)
|
|
13393
|
+
/* harmony export */ "approximateTextSize": () => (/* binding */ approximateTextSize),
|
|
13394
|
+
/* harmony export */ "convertLengthToPixels": () => (/* binding */ convertLengthToPixels)
|
|
13326
13395
|
/* harmony export */ });
|
|
13327
13396
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/lodash/defaults.js");
|
|
13328
13397
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -14186,8 +14255,11 @@ function getTransitionPropsFactory(props, state, setState) {
|
|
|
14186
14255
|
"use strict";
|
|
14187
14256
|
__webpack_require__.r(__webpack_exports__);
|
|
14188
14257
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14189
|
-
/* harmony export */ "getSafeUserProps": () => (/* binding */ getSafeUserProps)
|
|
14258
|
+
/* harmony export */ "getSafeUserProps": () => (/* binding */ getSafeUserProps),
|
|
14259
|
+
/* harmony export */ "withSafeUserProps": () => (/* binding */ withSafeUserProps)
|
|
14190
14260
|
/* harmony export */ });
|
|
14261
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
14262
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
14191
14263
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
14192
14264
|
|
|
14193
14265
|
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."); }
|
|
@@ -14206,12 +14278,14 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
14206
14278
|
|
|
14207
14279
|
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; }
|
|
14208
14280
|
|
|
14281
|
+
|
|
14209
14282
|
/*
|
|
14210
14283
|
USER_PROPS_SAFELIST is to contain any string deemed safe for user props.
|
|
14211
14284
|
The startsWidth array will contain the start of any accepted user-prop that
|
|
14212
14285
|
starts with these characters.
|
|
14213
14286
|
The exactMatch will contain a list of exact prop names that are accepted.
|
|
14214
14287
|
*/
|
|
14288
|
+
|
|
14215
14289
|
var USER_PROPS_SAFELIST = {
|
|
14216
14290
|
startsWith: ["data-", "aria-"],
|
|
14217
14291
|
exactMatch: []
|
|
@@ -14298,6 +14372,17 @@ var getSafeUserProps = function (props) {
|
|
|
14298
14372
|
return [key, getValue(value, props)];
|
|
14299
14373
|
}));
|
|
14300
14374
|
};
|
|
14375
|
+
/**
|
|
14376
|
+
* Wraps a component and adds safe user props
|
|
14377
|
+
*
|
|
14378
|
+
* @param {ReactNode} component: parent component
|
|
14379
|
+
* @param {Object} props: props to be filtered
|
|
14380
|
+
* @returns {ReactNode} modified component
|
|
14381
|
+
*/
|
|
14382
|
+
|
|
14383
|
+
var withSafeUserProps = function (component, props) {
|
|
14384
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(component, getSafeUserProps(props));
|
|
14385
|
+
};
|
|
14301
14386
|
|
|
14302
14387
|
/***/ }),
|
|
14303
14388
|
|
|
@@ -14446,9 +14531,9 @@ function ascending(a, b) {
|
|
|
14446
14531
|
"use strict";
|
|
14447
14532
|
__webpack_require__.r(__webpack_exports__);
|
|
14448
14533
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14449
|
-
/* harmony export */ "bisectRight": () => (/* binding */ bisectRight),
|
|
14450
|
-
/* harmony export */ "bisectLeft": () => (/* binding */ bisectLeft),
|
|
14451
14534
|
/* harmony export */ "bisectCenter": () => (/* binding */ bisectCenter),
|
|
14535
|
+
/* harmony export */ "bisectLeft": () => (/* binding */ bisectLeft),
|
|
14536
|
+
/* harmony export */ "bisectRight": () => (/* binding */ bisectRight),
|
|
14452
14537
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
14453
14538
|
/* harmony export */ });
|
|
14454
14539
|
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ascending.js */ "../../victory-vendor/node_modules/d3-array/src/ascending.js");
|
|
@@ -14834,9 +14919,9 @@ function range(start, stop, step) {
|
|
|
14834
14919
|
"use strict";
|
|
14835
14920
|
__webpack_require__.r(__webpack_exports__);
|
|
14836
14921
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14837
|
-
/* harmony export */ "
|
|
14922
|
+
/* harmony export */ "ascendingDefined": () => (/* binding */ ascendingDefined),
|
|
14838
14923
|
/* harmony export */ "compareDefined": () => (/* binding */ compareDefined),
|
|
14839
|
-
/* harmony export */ "
|
|
14924
|
+
/* harmony export */ "default": () => (/* binding */ sort)
|
|
14840
14925
|
/* harmony export */ });
|
|
14841
14926
|
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ascending.js */ "../../victory-vendor/node_modules/d3-array/src/ascending.js");
|
|
14842
14927
|
/* harmony import */ var _permute_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./permute.js */ "../../victory-vendor/node_modules/d3-array/src/permute.js");
|
|
@@ -14964,14 +15049,14 @@ function tickStep(start, stop, count) {
|
|
|
14964
15049
|
__webpack_require__.r(__webpack_exports__);
|
|
14965
15050
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14966
15051
|
/* harmony export */ "Color": () => (/* binding */ Color),
|
|
14967
|
-
/* harmony export */ "
|
|
15052
|
+
/* harmony export */ "Rgb": () => (/* binding */ Rgb),
|
|
14968
15053
|
/* harmony export */ "brighter": () => (/* binding */ brighter),
|
|
15054
|
+
/* harmony export */ "darker": () => (/* binding */ darker),
|
|
14969
15055
|
/* harmony export */ "default": () => (/* binding */ color),
|
|
14970
|
-
/* harmony export */ "
|
|
14971
|
-
/* harmony export */ "rgb": () => (/* binding */ rgb),
|
|
14972
|
-
/* harmony export */ "Rgb": () => (/* binding */ Rgb),
|
|
15056
|
+
/* harmony export */ "hsl": () => (/* binding */ hsl),
|
|
14973
15057
|
/* harmony export */ "hslConvert": () => (/* binding */ hslConvert),
|
|
14974
|
-
/* harmony export */ "
|
|
15058
|
+
/* harmony export */ "rgb": () => (/* binding */ rgb),
|
|
15059
|
+
/* harmony export */ "rgbConvert": () => (/* binding */ rgbConvert)
|
|
14975
15060
|
/* harmony export */ });
|
|
14976
15061
|
/* harmony import */ var _define_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./define.js */ "../../victory-vendor/node_modules/d3-color/src/define.js");
|
|
14977
15062
|
|
|
@@ -15410,8 +15495,8 @@ function extend(parent, definition) {
|
|
|
15410
15495
|
__webpack_require__.r(__webpack_exports__);
|
|
15411
15496
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15412
15497
|
/* harmony export */ "backIn": () => (/* binding */ backIn),
|
|
15413
|
-
/* harmony export */ "
|
|
15414
|
-
/* harmony export */ "
|
|
15498
|
+
/* harmony export */ "backInOut": () => (/* binding */ backInOut),
|
|
15499
|
+
/* harmony export */ "backOut": () => (/* binding */ backOut)
|
|
15415
15500
|
/* harmony export */ });
|
|
15416
15501
|
var overshoot = 1.70158;
|
|
15417
15502
|
|
|
@@ -15464,8 +15549,8 @@ var backInOut = (function custom(s) {
|
|
|
15464
15549
|
__webpack_require__.r(__webpack_exports__);
|
|
15465
15550
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15466
15551
|
/* harmony export */ "bounceIn": () => (/* binding */ bounceIn),
|
|
15467
|
-
/* harmony export */ "
|
|
15468
|
-
/* harmony export */ "
|
|
15552
|
+
/* harmony export */ "bounceInOut": () => (/* binding */ bounceInOut),
|
|
15553
|
+
/* harmony export */ "bounceOut": () => (/* binding */ bounceOut)
|
|
15469
15554
|
/* harmony export */ });
|
|
15470
15555
|
var b1 = 4 / 11,
|
|
15471
15556
|
b2 = 6 / 11,
|
|
@@ -15503,8 +15588,8 @@ function bounceInOut(t) {
|
|
|
15503
15588
|
__webpack_require__.r(__webpack_exports__);
|
|
15504
15589
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15505
15590
|
/* harmony export */ "circleIn": () => (/* binding */ circleIn),
|
|
15506
|
-
/* harmony export */ "
|
|
15507
|
-
/* harmony export */ "
|
|
15591
|
+
/* harmony export */ "circleInOut": () => (/* binding */ circleInOut),
|
|
15592
|
+
/* harmony export */ "circleOut": () => (/* binding */ circleOut)
|
|
15508
15593
|
/* harmony export */ });
|
|
15509
15594
|
function circleIn(t) {
|
|
15510
15595
|
return 1 - Math.sqrt(1 - t * t);
|
|
@@ -15531,8 +15616,8 @@ function circleInOut(t) {
|
|
|
15531
15616
|
__webpack_require__.r(__webpack_exports__);
|
|
15532
15617
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15533
15618
|
/* harmony export */ "cubicIn": () => (/* binding */ cubicIn),
|
|
15534
|
-
/* harmony export */ "
|
|
15535
|
-
/* harmony export */ "
|
|
15619
|
+
/* harmony export */ "cubicInOut": () => (/* binding */ cubicInOut),
|
|
15620
|
+
/* harmony export */ "cubicOut": () => (/* binding */ cubicOut)
|
|
15536
15621
|
/* harmony export */ });
|
|
15537
15622
|
function cubicIn(t) {
|
|
15538
15623
|
return t * t * t;
|
|
@@ -15559,8 +15644,8 @@ function cubicInOut(t) {
|
|
|
15559
15644
|
__webpack_require__.r(__webpack_exports__);
|
|
15560
15645
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15561
15646
|
/* harmony export */ "elasticIn": () => (/* binding */ elasticIn),
|
|
15562
|
-
/* harmony export */ "
|
|
15563
|
-
/* harmony export */ "
|
|
15647
|
+
/* harmony export */ "elasticInOut": () => (/* binding */ elasticInOut),
|
|
15648
|
+
/* harmony export */ "elasticOut": () => (/* binding */ elasticOut)
|
|
15564
15649
|
/* harmony export */ });
|
|
15565
15650
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "../../victory-vendor/node_modules/d3-ease/src/math.js");
|
|
15566
15651
|
|
|
@@ -15623,8 +15708,8 @@ var elasticInOut = (function custom(a, p) {
|
|
|
15623
15708
|
__webpack_require__.r(__webpack_exports__);
|
|
15624
15709
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15625
15710
|
/* harmony export */ "expIn": () => (/* binding */ expIn),
|
|
15626
|
-
/* harmony export */ "
|
|
15627
|
-
/* harmony export */ "
|
|
15711
|
+
/* harmony export */ "expInOut": () => (/* binding */ expInOut),
|
|
15712
|
+
/* harmony export */ "expOut": () => (/* binding */ expOut)
|
|
15628
15713
|
/* harmony export */ });
|
|
15629
15714
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "../../victory-vendor/node_modules/d3-ease/src/math.js");
|
|
15630
15715
|
|
|
@@ -15653,43 +15738,43 @@ function expInOut(t) {
|
|
|
15653
15738
|
"use strict";
|
|
15654
15739
|
__webpack_require__.r(__webpack_exports__);
|
|
15655
15740
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15656
|
-
/* harmony export */ "
|
|
15657
|
-
/* harmony export */ "
|
|
15658
|
-
/* harmony export */ "
|
|
15659
|
-
/* harmony export */ "
|
|
15660
|
-
/* harmony export */ "
|
|
15741
|
+
/* harmony export */ "easeBack": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut),
|
|
15742
|
+
/* harmony export */ "easeBackIn": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backIn),
|
|
15743
|
+
/* harmony export */ "easeBackInOut": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut),
|
|
15744
|
+
/* harmony export */ "easeBackOut": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backOut),
|
|
15745
|
+
/* harmony export */ "easeBounce": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut),
|
|
15746
|
+
/* harmony export */ "easeBounceIn": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceIn),
|
|
15747
|
+
/* harmony export */ "easeBounceInOut": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceInOut),
|
|
15748
|
+
/* harmony export */ "easeBounceOut": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut),
|
|
15749
|
+
/* harmony export */ "easeCircle": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut),
|
|
15750
|
+
/* harmony export */ "easeCircleIn": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleIn),
|
|
15751
|
+
/* harmony export */ "easeCircleInOut": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut),
|
|
15752
|
+
/* harmony export */ "easeCircleOut": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleOut),
|
|
15661
15753
|
/* harmony export */ "easeCubic": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicInOut),
|
|
15662
15754
|
/* harmony export */ "easeCubicIn": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicIn),
|
|
15663
|
-
/* harmony export */ "easeCubicOut": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicOut),
|
|
15664
15755
|
/* harmony export */ "easeCubicInOut": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicInOut),
|
|
15756
|
+
/* harmony export */ "easeCubicOut": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicOut),
|
|
15757
|
+
/* harmony export */ "easeElastic": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut),
|
|
15758
|
+
/* harmony export */ "easeElasticIn": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticIn),
|
|
15759
|
+
/* harmony export */ "easeElasticInOut": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticInOut),
|
|
15760
|
+
/* harmony export */ "easeElasticOut": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut),
|
|
15761
|
+
/* harmony export */ "easeExp": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expInOut),
|
|
15762
|
+
/* harmony export */ "easeExpIn": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expIn),
|
|
15763
|
+
/* harmony export */ "easeExpInOut": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expInOut),
|
|
15764
|
+
/* harmony export */ "easeExpOut": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expOut),
|
|
15765
|
+
/* harmony export */ "easeLinear": () => (/* reexport safe */ _linear_js__WEBPACK_IMPORTED_MODULE_0__.linear),
|
|
15665
15766
|
/* harmony export */ "easePoly": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyInOut),
|
|
15666
15767
|
/* harmony export */ "easePolyIn": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyIn),
|
|
15667
|
-
/* harmony export */ "easePolyOut": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyOut),
|
|
15668
15768
|
/* harmony export */ "easePolyInOut": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyInOut),
|
|
15769
|
+
/* harmony export */ "easePolyOut": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyOut),
|
|
15770
|
+
/* harmony export */ "easeQuad": () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadInOut),
|
|
15771
|
+
/* harmony export */ "easeQuadIn": () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadIn),
|
|
15772
|
+
/* harmony export */ "easeQuadInOut": () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadInOut),
|
|
15773
|
+
/* harmony export */ "easeQuadOut": () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadOut),
|
|
15669
15774
|
/* harmony export */ "easeSin": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinInOut),
|
|
15670
15775
|
/* harmony export */ "easeSinIn": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinIn),
|
|
15671
|
-
/* harmony export */ "easeSinOut": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinOut),
|
|
15672
15776
|
/* harmony export */ "easeSinInOut": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinInOut),
|
|
15673
|
-
/* harmony export */ "
|
|
15674
|
-
/* harmony export */ "easeExpIn": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expIn),
|
|
15675
|
-
/* harmony export */ "easeExpOut": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expOut),
|
|
15676
|
-
/* harmony export */ "easeExpInOut": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expInOut),
|
|
15677
|
-
/* harmony export */ "easeCircle": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut),
|
|
15678
|
-
/* harmony export */ "easeCircleIn": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleIn),
|
|
15679
|
-
/* harmony export */ "easeCircleOut": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleOut),
|
|
15680
|
-
/* harmony export */ "easeCircleInOut": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut),
|
|
15681
|
-
/* harmony export */ "easeBounce": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut),
|
|
15682
|
-
/* harmony export */ "easeBounceIn": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceIn),
|
|
15683
|
-
/* harmony export */ "easeBounceOut": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut),
|
|
15684
|
-
/* harmony export */ "easeBounceInOut": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceInOut),
|
|
15685
|
-
/* harmony export */ "easeBack": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut),
|
|
15686
|
-
/* harmony export */ "easeBackIn": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backIn),
|
|
15687
|
-
/* harmony export */ "easeBackOut": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backOut),
|
|
15688
|
-
/* harmony export */ "easeBackInOut": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut),
|
|
15689
|
-
/* harmony export */ "easeElastic": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut),
|
|
15690
|
-
/* harmony export */ "easeElasticIn": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticIn),
|
|
15691
|
-
/* harmony export */ "easeElasticOut": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut),
|
|
15692
|
-
/* harmony export */ "easeElasticInOut": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticInOut)
|
|
15777
|
+
/* harmony export */ "easeSinOut": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinOut)
|
|
15693
15778
|
/* harmony export */ });
|
|
15694
15779
|
/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./linear.js */ "../../victory-vendor/node_modules/d3-ease/src/linear.js");
|
|
15695
15780
|
/* harmony import */ var _quad_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./quad.js */ "../../victory-vendor/node_modules/d3-ease/src/quad.js");
|
|
@@ -15769,8 +15854,8 @@ function tpmt(x) {
|
|
|
15769
15854
|
__webpack_require__.r(__webpack_exports__);
|
|
15770
15855
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15771
15856
|
/* harmony export */ "polyIn": () => (/* binding */ polyIn),
|
|
15772
|
-
/* harmony export */ "
|
|
15773
|
-
/* harmony export */ "
|
|
15857
|
+
/* harmony export */ "polyInOut": () => (/* binding */ polyInOut),
|
|
15858
|
+
/* harmony export */ "polyOut": () => (/* binding */ polyOut)
|
|
15774
15859
|
/* harmony export */ });
|
|
15775
15860
|
var exponent = 3;
|
|
15776
15861
|
|
|
@@ -15823,8 +15908,8 @@ var polyInOut = (function custom(e) {
|
|
|
15823
15908
|
__webpack_require__.r(__webpack_exports__);
|
|
15824
15909
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15825
15910
|
/* harmony export */ "quadIn": () => (/* binding */ quadIn),
|
|
15826
|
-
/* harmony export */ "
|
|
15827
|
-
/* harmony export */ "
|
|
15911
|
+
/* harmony export */ "quadInOut": () => (/* binding */ quadInOut),
|
|
15912
|
+
/* harmony export */ "quadOut": () => (/* binding */ quadOut)
|
|
15828
15913
|
/* harmony export */ });
|
|
15829
15914
|
function quadIn(t) {
|
|
15830
15915
|
return t * t;
|
|
@@ -15851,8 +15936,8 @@ function quadInOut(t) {
|
|
|
15851
15936
|
__webpack_require__.r(__webpack_exports__);
|
|
15852
15937
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15853
15938
|
/* harmony export */ "sinIn": () => (/* binding */ sinIn),
|
|
15854
|
-
/* harmony export */ "
|
|
15855
|
-
/* harmony export */ "
|
|
15939
|
+
/* harmony export */ "sinInOut": () => (/* binding */ sinInOut),
|
|
15940
|
+
/* harmony export */ "sinOut": () => (/* binding */ sinOut)
|
|
15856
15941
|
/* harmony export */ });
|
|
15857
15942
|
var pi = Math.PI,
|
|
15858
15943
|
halfPi = pi / 2;
|
|
@@ -15881,9 +15966,9 @@ function sinInOut(t) {
|
|
|
15881
15966
|
"use strict";
|
|
15882
15967
|
__webpack_require__.r(__webpack_exports__);
|
|
15883
15968
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15969
|
+
/* harmony export */ "default": () => (/* binding */ defaultLocale),
|
|
15884
15970
|
/* harmony export */ "format": () => (/* binding */ format),
|
|
15885
|
-
/* harmony export */ "formatPrefix": () => (/* binding */ formatPrefix)
|
|
15886
|
-
/* harmony export */ "default": () => (/* binding */ defaultLocale)
|
|
15971
|
+
/* harmony export */ "formatPrefix": () => (/* binding */ formatPrefix)
|
|
15887
15972
|
/* harmony export */ });
|
|
15888
15973
|
/* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./locale.js */ "../../victory-vendor/node_modules/d3-format/src/locale.js");
|
|
15889
15974
|
|
|
@@ -16029,8 +16114,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16029
16114
|
"use strict";
|
|
16030
16115
|
__webpack_require__.r(__webpack_exports__);
|
|
16031
16116
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16032
|
-
/* harmony export */ "
|
|
16033
|
-
/* harmony export */ "
|
|
16117
|
+
/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__),
|
|
16118
|
+
/* harmony export */ "prefixExponent": () => (/* binding */ prefixExponent)
|
|
16034
16119
|
/* harmony export */ });
|
|
16035
16120
|
/* harmony import */ var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatDecimal.js */ "../../victory-vendor/node_modules/d3-format/src/formatDecimal.js");
|
|
16036
16121
|
|
|
@@ -16089,8 +16174,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16089
16174
|
"use strict";
|
|
16090
16175
|
__webpack_require__.r(__webpack_exports__);
|
|
16091
16176
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16092
|
-
/* harmony export */ "
|
|
16093
|
-
/* harmony export */ "
|
|
16177
|
+
/* harmony export */ "FormatSpecifier": () => (/* binding */ FormatSpecifier),
|
|
16178
|
+
/* harmony export */ "default": () => (/* binding */ formatSpecifier)
|
|
16094
16179
|
/* harmony export */ });
|
|
16095
16180
|
// [[fill]align][sign][symbol][0][width][,][.precision][~][type]
|
|
16096
16181
|
var re = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
|
|
@@ -16572,9 +16657,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16572
16657
|
"use strict";
|
|
16573
16658
|
__webpack_require__.r(__webpack_exports__);
|
|
16574
16659
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16575
|
-
/* harmony export */ "
|
|
16660
|
+
/* harmony export */ "default": () => (/* binding */ nogamma),
|
|
16576
16661
|
/* harmony export */ "gamma": () => (/* binding */ gamma),
|
|
16577
|
-
/* harmony export */ "
|
|
16662
|
+
/* harmony export */ "hue": () => (/* binding */ hue)
|
|
16578
16663
|
/* harmony export */ });
|
|
16579
16664
|
/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "../../victory-vendor/node_modules/d3-interpolate/src/constant.js");
|
|
16580
16665
|
|
|
@@ -17134,10 +17219,10 @@ function constants(x) {
|
|
|
17134
17219
|
"use strict";
|
|
17135
17220
|
__webpack_require__.r(__webpack_exports__);
|
|
17136
17221
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17137
|
-
/* harmony export */ "identity": () => (/* binding */ identity),
|
|
17138
17222
|
/* harmony export */ "copy": () => (/* binding */ copy),
|
|
17139
|
-
/* harmony export */ "
|
|
17140
|
-
/* harmony export */ "
|
|
17223
|
+
/* harmony export */ "default": () => (/* binding */ continuous),
|
|
17224
|
+
/* harmony export */ "identity": () => (/* binding */ identity),
|
|
17225
|
+
/* harmony export */ "transformer": () => (/* binding */ transformer)
|
|
17141
17226
|
/* harmony export */ });
|
|
17142
17227
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/bisect.js");
|
|
17143
17228
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
@@ -17285,9 +17370,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17285
17370
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17286
17371
|
/* harmony export */ "default": () => (/* binding */ diverging),
|
|
17287
17372
|
/* harmony export */ "divergingLog": () => (/* binding */ divergingLog),
|
|
17288
|
-
/* harmony export */ "divergingSymlog": () => (/* binding */ divergingSymlog),
|
|
17289
17373
|
/* harmony export */ "divergingPow": () => (/* binding */ divergingPow),
|
|
17290
|
-
/* harmony export */ "divergingSqrt": () => (/* binding */ divergingSqrt)
|
|
17374
|
+
/* harmony export */ "divergingSqrt": () => (/* binding */ divergingSqrt),
|
|
17375
|
+
/* harmony export */ "divergingSymlog": () => (/* binding */ divergingSymlog)
|
|
17291
17376
|
/* harmony export */ });
|
|
17292
17377
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/piecewise.js");
|
|
17293
17378
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
@@ -17462,32 +17547,32 @@ function identity(domain) {
|
|
|
17462
17547
|
__webpack_require__.r(__webpack_exports__);
|
|
17463
17548
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17464
17549
|
/* harmony export */ "scaleBand": () => (/* reexport safe */ _band_js__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
17465
|
-
/* harmony export */ "
|
|
17550
|
+
/* harmony export */ "scaleDiverging": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__["default"]),
|
|
17551
|
+
/* harmony export */ "scaleDivergingLog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingLog),
|
|
17552
|
+
/* harmony export */ "scaleDivergingPow": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingPow),
|
|
17553
|
+
/* harmony export */ "scaleDivergingSqrt": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSqrt),
|
|
17554
|
+
/* harmony export */ "scaleDivergingSymlog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSymlog),
|
|
17466
17555
|
/* harmony export */ "scaleIdentity": () => (/* reexport safe */ _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
17556
|
+
/* harmony export */ "scaleImplicit": () => (/* reexport safe */ _ordinal_js__WEBPACK_IMPORTED_MODULE_5__.implicit),
|
|
17467
17557
|
/* harmony export */ "scaleLinear": () => (/* reexport safe */ _linear_js__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
17468
17558
|
/* harmony export */ "scaleLog": () => (/* reexport safe */ _log_js__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
17469
|
-
/* harmony export */ "scaleSymlog": () => (/* reexport safe */ _symlog_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
17470
17559
|
/* harmony export */ "scaleOrdinal": () => (/* reexport safe */ _ordinal_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
17471
|
-
/* harmony export */ "
|
|
17560
|
+
/* harmony export */ "scalePoint": () => (/* reexport safe */ _band_js__WEBPACK_IMPORTED_MODULE_0__.point),
|
|
17472
17561
|
/* harmony export */ "scalePow": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
17473
|
-
/* harmony export */ "scaleSqrt": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__.sqrt),
|
|
17474
|
-
/* harmony export */ "scaleRadial": () => (/* reexport safe */ _radial_js__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
17475
17562
|
/* harmony export */ "scaleQuantile": () => (/* reexport safe */ _quantile_js__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
|
17476
17563
|
/* harmony export */ "scaleQuantize": () => (/* reexport safe */ _quantize_js__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
|
17477
|
-
/* harmony export */ "
|
|
17478
|
-
/* harmony export */ "scaleTime": () => (/* reexport safe */ _time_js__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
17479
|
-
/* harmony export */ "scaleUtc": () => (/* reexport safe */ _utcTime_js__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
17564
|
+
/* harmony export */ "scaleRadial": () => (/* reexport safe */ _radial_js__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
17480
17565
|
/* harmony export */ "scaleSequential": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
|
17481
17566
|
/* harmony export */ "scaleSequentialLog": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialLog),
|
|
17482
17567
|
/* harmony export */ "scaleSequentialPow": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialPow),
|
|
17568
|
+
/* harmony export */ "scaleSequentialQuantile": () => (/* reexport safe */ _sequentialQuantile_js__WEBPACK_IMPORTED_MODULE_14__["default"]),
|
|
17483
17569
|
/* harmony export */ "scaleSequentialSqrt": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialSqrt),
|
|
17484
17570
|
/* harmony export */ "scaleSequentialSymlog": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialSymlog),
|
|
17485
|
-
/* harmony export */ "
|
|
17486
|
-
/* harmony export */ "
|
|
17487
|
-
/* harmony export */ "
|
|
17488
|
-
/* harmony export */ "
|
|
17489
|
-
/* harmony export */ "
|
|
17490
|
-
/* harmony export */ "scaleDivergingSymlog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSymlog),
|
|
17571
|
+
/* harmony export */ "scaleSqrt": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__.sqrt),
|
|
17572
|
+
/* harmony export */ "scaleSymlog": () => (/* reexport safe */ _symlog_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
17573
|
+
/* harmony export */ "scaleThreshold": () => (/* reexport safe */ _threshold_js__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
|
17574
|
+
/* harmony export */ "scaleTime": () => (/* reexport safe */ _time_js__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
17575
|
+
/* harmony export */ "scaleUtc": () => (/* reexport safe */ _utcTime_js__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
17491
17576
|
/* harmony export */ "tickFormat": () => (/* reexport safe */ _tickFormat_js__WEBPACK_IMPORTED_MODULE_16__["default"])
|
|
17492
17577
|
/* harmony export */ });
|
|
17493
17578
|
/* harmony import */ var _band_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./band.js */ "../../victory-vendor/node_modules/d3-scale/src/band.js");
|
|
@@ -17553,8 +17638,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17553
17638
|
"use strict";
|
|
17554
17639
|
__webpack_require__.r(__webpack_exports__);
|
|
17555
17640
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17556
|
-
/* harmony export */ "
|
|
17557
|
-
/* harmony export */ "
|
|
17641
|
+
/* harmony export */ "initInterpolator": () => (/* binding */ initInterpolator),
|
|
17642
|
+
/* harmony export */ "initRange": () => (/* binding */ initRange)
|
|
17558
17643
|
/* harmony export */ });
|
|
17559
17644
|
function initRange(domain, range) {
|
|
17560
17645
|
switch (arguments.length) {
|
|
@@ -17595,8 +17680,8 @@ function initInterpolator(domain, interpolator) {
|
|
|
17595
17680
|
"use strict";
|
|
17596
17681
|
__webpack_require__.r(__webpack_exports__);
|
|
17597
17682
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17598
|
-
/* harmony export */ "
|
|
17599
|
-
/* harmony export */ "
|
|
17683
|
+
/* harmony export */ "default": () => (/* binding */ linear),
|
|
17684
|
+
/* harmony export */ "linearish": () => (/* binding */ linearish)
|
|
17600
17685
|
/* harmony export */ });
|
|
17601
17686
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
17602
17687
|
/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./continuous.js */ "../../victory-vendor/node_modules/d3-scale/src/continuous.js");
|
|
@@ -17685,8 +17770,8 @@ function linear() {
|
|
|
17685
17770
|
"use strict";
|
|
17686
17771
|
__webpack_require__.r(__webpack_exports__);
|
|
17687
17772
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17688
|
-
/* harmony export */ "
|
|
17689
|
-
/* harmony export */ "
|
|
17773
|
+
/* harmony export */ "default": () => (/* binding */ log),
|
|
17774
|
+
/* harmony export */ "loggish": () => (/* binding */ loggish)
|
|
17690
17775
|
/* harmony export */ });
|
|
17691
17776
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
17692
17777
|
/* harmony import */ var d3_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-format */ "../../victory-vendor/node_modules/d3-format/src/formatSpecifier.js");
|
|
@@ -17898,8 +17983,8 @@ function number(x) {
|
|
|
17898
17983
|
"use strict";
|
|
17899
17984
|
__webpack_require__.r(__webpack_exports__);
|
|
17900
17985
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17901
|
-
/* harmony export */ "
|
|
17902
|
-
/* harmony export */ "
|
|
17986
|
+
/* harmony export */ "default": () => (/* binding */ ordinal),
|
|
17987
|
+
/* harmony export */ "implicit": () => (/* binding */ implicit)
|
|
17903
17988
|
/* harmony export */ });
|
|
17904
17989
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/internmap/src/index.js");
|
|
17905
17990
|
/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./init.js */ "../../victory-vendor/node_modules/d3-scale/src/init.js");
|
|
@@ -17962,8 +18047,8 @@ function ordinal() {
|
|
|
17962
18047
|
"use strict";
|
|
17963
18048
|
__webpack_require__.r(__webpack_exports__);
|
|
17964
18049
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17965
|
-
/* harmony export */ "powish": () => (/* binding */ powish),
|
|
17966
18050
|
/* harmony export */ "default": () => (/* binding */ pow),
|
|
18051
|
+
/* harmony export */ "powish": () => (/* binding */ powish),
|
|
17967
18052
|
/* harmony export */ "sqrt": () => (/* binding */ sqrt)
|
|
17968
18053
|
/* harmony export */ });
|
|
17969
18054
|
/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./linear.js */ "../../victory-vendor/node_modules/d3-scale/src/linear.js");
|
|
@@ -18267,9 +18352,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18267
18352
|
/* harmony export */ "copy": () => (/* binding */ copy),
|
|
18268
18353
|
/* harmony export */ "default": () => (/* binding */ sequential),
|
|
18269
18354
|
/* harmony export */ "sequentialLog": () => (/* binding */ sequentialLog),
|
|
18270
|
-
/* harmony export */ "sequentialSymlog": () => (/* binding */ sequentialSymlog),
|
|
18271
18355
|
/* harmony export */ "sequentialPow": () => (/* binding */ sequentialPow),
|
|
18272
|
-
/* harmony export */ "sequentialSqrt": () => (/* binding */ sequentialSqrt)
|
|
18356
|
+
/* harmony export */ "sequentialSqrt": () => (/* binding */ sequentialSqrt),
|
|
18357
|
+
/* harmony export */ "sequentialSymlog": () => (/* binding */ sequentialSymlog)
|
|
18273
18358
|
/* harmony export */ });
|
|
18274
18359
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
18275
18360
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/round.js");
|
|
@@ -18457,8 +18542,8 @@ function sequentialQuantile() {
|
|
|
18457
18542
|
"use strict";
|
|
18458
18543
|
__webpack_require__.r(__webpack_exports__);
|
|
18459
18544
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18460
|
-
/* harmony export */ "
|
|
18461
|
-
/* harmony export */ "
|
|
18545
|
+
/* harmony export */ "default": () => (/* binding */ symlog),
|
|
18546
|
+
/* harmony export */ "symlogish": () => (/* binding */ symlogish)
|
|
18462
18547
|
/* harmony export */ });
|
|
18463
18548
|
/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./linear.js */ "../../victory-vendor/node_modules/d3-scale/src/linear.js");
|
|
18464
18549
|
/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./continuous.js */ "../../victory-vendor/node_modules/d3-scale/src/continuous.js");
|
|
@@ -18750,11 +18835,11 @@ function utcTime() {
|
|
|
18750
18835
|
"use strict";
|
|
18751
18836
|
__webpack_require__.r(__webpack_exports__);
|
|
18752
18837
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18838
|
+
/* harmony export */ "default": () => (/* binding */ defaultLocale),
|
|
18753
18839
|
/* harmony export */ "timeFormat": () => (/* binding */ timeFormat),
|
|
18754
18840
|
/* harmony export */ "timeParse": () => (/* binding */ timeParse),
|
|
18755
18841
|
/* harmony export */ "utcFormat": () => (/* binding */ utcFormat),
|
|
18756
|
-
/* harmony export */ "utcParse": () => (/* binding */ utcParse)
|
|
18757
|
-
/* harmony export */ "default": () => (/* binding */ defaultLocale)
|
|
18842
|
+
/* harmony export */ "utcParse": () => (/* binding */ utcParse)
|
|
18758
18843
|
/* harmony export */ });
|
|
18759
18844
|
/* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./locale.js */ "../../victory-vendor/node_modules/d3-time-format/src/locale.js");
|
|
18760
18845
|
|
|
@@ -19504,8 +19589,8 @@ function formatUnixTimestampSeconds(d) {
|
|
|
19504
19589
|
"use strict";
|
|
19505
19590
|
__webpack_require__.r(__webpack_exports__);
|
|
19506
19591
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19507
|
-
/* harmony export */ "
|
|
19508
|
-
/* harmony export */ "
|
|
19592
|
+
/* harmony export */ "days": () => (/* binding */ days),
|
|
19593
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
19509
19594
|
/* harmony export */ });
|
|
19510
19595
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
19511
19596
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -19534,12 +19619,12 @@ var days = day.range;
|
|
|
19534
19619
|
"use strict";
|
|
19535
19620
|
__webpack_require__.r(__webpack_exports__);
|
|
19536
19621
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19537
|
-
/* harmony export */ "durationSecond": () => (/* binding */ durationSecond),
|
|
19538
|
-
/* harmony export */ "durationMinute": () => (/* binding */ durationMinute),
|
|
19539
|
-
/* harmony export */ "durationHour": () => (/* binding */ durationHour),
|
|
19540
19622
|
/* harmony export */ "durationDay": () => (/* binding */ durationDay),
|
|
19541
|
-
/* harmony export */ "
|
|
19623
|
+
/* harmony export */ "durationHour": () => (/* binding */ durationHour),
|
|
19624
|
+
/* harmony export */ "durationMinute": () => (/* binding */ durationMinute),
|
|
19542
19625
|
/* harmony export */ "durationMonth": () => (/* binding */ durationMonth),
|
|
19626
|
+
/* harmony export */ "durationSecond": () => (/* binding */ durationSecond),
|
|
19627
|
+
/* harmony export */ "durationWeek": () => (/* binding */ durationWeek),
|
|
19543
19628
|
/* harmony export */ "durationYear": () => (/* binding */ durationYear)
|
|
19544
19629
|
/* harmony export */ });
|
|
19545
19630
|
const durationSecond = 1000;
|
|
@@ -19821,10 +19906,10 @@ var seconds = second.range;
|
|
|
19821
19906
|
"use strict";
|
|
19822
19907
|
__webpack_require__.r(__webpack_exports__);
|
|
19823
19908
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19824
|
-
/* harmony export */ "
|
|
19825
|
-
/* harmony export */ "utcTickInterval": () => (/* binding */ utcTickInterval),
|
|
19909
|
+
/* harmony export */ "timeTickInterval": () => (/* binding */ timeTickInterval),
|
|
19826
19910
|
/* harmony export */ "timeTicks": () => (/* binding */ timeTicks),
|
|
19827
|
-
/* harmony export */ "
|
|
19911
|
+
/* harmony export */ "utcTickInterval": () => (/* binding */ utcTickInterval),
|
|
19912
|
+
/* harmony export */ "utcTicks": () => (/* binding */ utcTicks)
|
|
19828
19913
|
/* harmony export */ });
|
|
19829
19914
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/bisector.js");
|
|
19830
19915
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
@@ -20051,20 +20136,20 @@ var utcMonths = utcMonth.range;
|
|
|
20051
20136
|
"use strict";
|
|
20052
20137
|
__webpack_require__.r(__webpack_exports__);
|
|
20053
20138
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20054
|
-
/* harmony export */ "utcSunday": () => (/* binding */ utcSunday),
|
|
20055
|
-
/* harmony export */ "utcMonday": () => (/* binding */ utcMonday),
|
|
20056
|
-
/* harmony export */ "utcTuesday": () => (/* binding */ utcTuesday),
|
|
20057
|
-
/* harmony export */ "utcWednesday": () => (/* binding */ utcWednesday),
|
|
20058
|
-
/* harmony export */ "utcThursday": () => (/* binding */ utcThursday),
|
|
20059
20139
|
/* harmony export */ "utcFriday": () => (/* binding */ utcFriday),
|
|
20140
|
+
/* harmony export */ "utcFridays": () => (/* binding */ utcFridays),
|
|
20141
|
+
/* harmony export */ "utcMonday": () => (/* binding */ utcMonday),
|
|
20142
|
+
/* harmony export */ "utcMondays": () => (/* binding */ utcMondays),
|
|
20060
20143
|
/* harmony export */ "utcSaturday": () => (/* binding */ utcSaturday),
|
|
20144
|
+
/* harmony export */ "utcSaturdays": () => (/* binding */ utcSaturdays),
|
|
20145
|
+
/* harmony export */ "utcSunday": () => (/* binding */ utcSunday),
|
|
20061
20146
|
/* harmony export */ "utcSundays": () => (/* binding */ utcSundays),
|
|
20062
|
-
/* harmony export */ "
|
|
20063
|
-
/* harmony export */ "utcTuesdays": () => (/* binding */ utcTuesdays),
|
|
20064
|
-
/* harmony export */ "utcWednesdays": () => (/* binding */ utcWednesdays),
|
|
20147
|
+
/* harmony export */ "utcThursday": () => (/* binding */ utcThursday),
|
|
20065
20148
|
/* harmony export */ "utcThursdays": () => (/* binding */ utcThursdays),
|
|
20066
|
-
/* harmony export */ "
|
|
20067
|
-
/* harmony export */ "
|
|
20149
|
+
/* harmony export */ "utcTuesday": () => (/* binding */ utcTuesday),
|
|
20150
|
+
/* harmony export */ "utcTuesdays": () => (/* binding */ utcTuesdays),
|
|
20151
|
+
/* harmony export */ "utcWednesday": () => (/* binding */ utcWednesday),
|
|
20152
|
+
/* harmony export */ "utcWednesdays": () => (/* binding */ utcWednesdays)
|
|
20068
20153
|
/* harmony export */ });
|
|
20069
20154
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
20070
20155
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -20153,20 +20238,20 @@ var utcYears = utcYear.range;
|
|
|
20153
20238
|
"use strict";
|
|
20154
20239
|
__webpack_require__.r(__webpack_exports__);
|
|
20155
20240
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20156
|
-
/* harmony export */ "sunday": () => (/* binding */ sunday),
|
|
20157
|
-
/* harmony export */ "monday": () => (/* binding */ monday),
|
|
20158
|
-
/* harmony export */ "tuesday": () => (/* binding */ tuesday),
|
|
20159
|
-
/* harmony export */ "wednesday": () => (/* binding */ wednesday),
|
|
20160
|
-
/* harmony export */ "thursday": () => (/* binding */ thursday),
|
|
20161
20241
|
/* harmony export */ "friday": () => (/* binding */ friday),
|
|
20242
|
+
/* harmony export */ "fridays": () => (/* binding */ fridays),
|
|
20243
|
+
/* harmony export */ "monday": () => (/* binding */ monday),
|
|
20244
|
+
/* harmony export */ "mondays": () => (/* binding */ mondays),
|
|
20162
20245
|
/* harmony export */ "saturday": () => (/* binding */ saturday),
|
|
20246
|
+
/* harmony export */ "saturdays": () => (/* binding */ saturdays),
|
|
20247
|
+
/* harmony export */ "sunday": () => (/* binding */ sunday),
|
|
20163
20248
|
/* harmony export */ "sundays": () => (/* binding */ sundays),
|
|
20164
|
-
/* harmony export */ "
|
|
20165
|
-
/* harmony export */ "tuesdays": () => (/* binding */ tuesdays),
|
|
20166
|
-
/* harmony export */ "wednesdays": () => (/* binding */ wednesdays),
|
|
20249
|
+
/* harmony export */ "thursday": () => (/* binding */ thursday),
|
|
20167
20250
|
/* harmony export */ "thursdays": () => (/* binding */ thursdays),
|
|
20168
|
-
/* harmony export */ "
|
|
20169
|
-
/* harmony export */ "
|
|
20251
|
+
/* harmony export */ "tuesday": () => (/* binding */ tuesday),
|
|
20252
|
+
/* harmony export */ "tuesdays": () => (/* binding */ tuesdays),
|
|
20253
|
+
/* harmony export */ "wednesday": () => (/* binding */ wednesday),
|
|
20254
|
+
/* harmony export */ "wednesdays": () => (/* binding */ wednesdays)
|
|
20170
20255
|
/* harmony export */ });
|
|
20171
20256
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
20172
20257
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -20255,8 +20340,8 @@ var years = year.range;
|
|
|
20255
20340
|
"use strict";
|
|
20256
20341
|
__webpack_require__.r(__webpack_exports__);
|
|
20257
20342
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20258
|
-
/* harmony export */ "now": () => (/* binding */ now),
|
|
20259
20343
|
/* harmony export */ "Timer": () => (/* binding */ Timer),
|
|
20344
|
+
/* harmony export */ "now": () => (/* binding */ now),
|
|
20260
20345
|
/* harmony export */ "timer": () => (/* binding */ timer),
|
|
20261
20346
|
/* harmony export */ "timerFlush": () => (/* binding */ timerFlush)
|
|
20262
20347
|
/* harmony export */ });
|
|
@@ -20552,8 +20637,8 @@ var __webpack_exports__ = {};
|
|
|
20552
20637
|
\******************/
|
|
20553
20638
|
__webpack_require__.r(__webpack_exports__);
|
|
20554
20639
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20555
|
-
/* harmony export */ "
|
|
20556
|
-
/* harmony export */ "
|
|
20640
|
+
/* harmony export */ "ErrorBar": () => (/* reexport safe */ _error_bar__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
20641
|
+
/* harmony export */ "VictoryErrorBar": () => (/* reexport safe */ _victory_errorbar__WEBPACK_IMPORTED_MODULE_0__["default"])
|
|
20557
20642
|
/* harmony export */ });
|
|
20558
20643
|
/* harmony import */ var _victory_errorbar__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./victory-errorbar */ "./victory-errorbar.js");
|
|
20559
20644
|
/* harmony import */ var _error_bar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./error-bar */ "./error-bar.js");
|