victory-area 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-area.js +643 -556
- package/dist/victory-area.min.js +1 -1
- package/es/victory-area.js +2 -2
- package/lib/victory-area.js +2 -4
- package/package.json +4 -4
- package/src/victory-area.js +4 -6
package/dist/victory-area.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
exports["VictoryArea"] = factory(require("react"));
|
|
8
8
|
else
|
|
9
9
|
root["VictoryArea"] = factory(root["React"]);
|
|
10
|
-
})(self,
|
|
10
|
+
})(self, (__WEBPACK_EXTERNAL_MODULE_react__) => {
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
@@ -26,16 +26,16 @@ __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
|
|
33
|
-
/* harmony import */ var
|
|
34
|
-
/* harmony import */ var
|
|
35
|
-
/* harmony import */ var
|
|
36
|
-
/* harmony import */ var
|
|
37
|
-
/* harmony import */ var
|
|
38
|
-
/* harmony import */ var
|
|
29
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
30
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_10__);
|
|
31
|
+
/* harmony import */ var victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! victory-vendor/d3-shape */ "../../victory-vendor/node_modules/d3-shape/src/lineRadial.js");
|
|
32
|
+
/* harmony import */ var victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! victory-vendor/d3-shape */ "../../victory-vendor/es/d3-shape.js");
|
|
33
|
+
/* harmony import */ var victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! victory-vendor/d3-shape */ "../../victory-vendor/node_modules/d3-shape/src/line.js");
|
|
34
|
+
/* harmony import */ var victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! victory-vendor/d3-shape */ "../../victory-vendor/node_modules/d3-shape/src/area.js");
|
|
35
|
+
/* harmony import */ var victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! victory-vendor/d3-shape */ "../../victory-vendor/node_modules/d3-shape/src/areaRadial.js");
|
|
36
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/helpers.js");
|
|
37
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/user-props.js");
|
|
38
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/common-props.js");
|
|
39
39
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-primitives/path.js");
|
|
40
40
|
|
|
41
41
|
|
|
@@ -96,7 +96,7 @@ var getLineFunction = function (props) {
|
|
|
96
96
|
horizontal = props.horizontal;
|
|
97
97
|
var interpolationFunction = typeof props.interpolation === "function" && props.interpolation;
|
|
98
98
|
var interpolationName = typeof props.interpolation === "string" && toNewName(props.interpolation);
|
|
99
|
-
return polar ?
|
|
99
|
+
return polar ? victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_2__["default"]().defined(defined).curve(interpolationFunction || victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_3__["".concat(interpolationName, "Closed")]).angle(getAngleAccessor(scale)).radius(getYAccessor(scale)) : victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_4__["default"]().defined(defined).curve(interpolationFunction || victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_3__[interpolationName]).x(horizontal ? getYAccessor(scale) : getXAccessor(scale)).y(horizontal ? getXAccessor(scale) : getYAccessor(scale));
|
|
100
100
|
};
|
|
101
101
|
|
|
102
102
|
var getCartesianArea = function (props, interpolation) {
|
|
@@ -104,7 +104,7 @@ var getCartesianArea = function (props, interpolation) {
|
|
|
104
104
|
scale = props.scale;
|
|
105
105
|
var interpolationFunction = typeof interpolation === "function" && interpolation;
|
|
106
106
|
var interpolationName = typeof interpolation === "string" && interpolation;
|
|
107
|
-
return horizontal ?
|
|
107
|
+
return horizontal ? victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_5__["default"]().defined(defined).curve(interpolationFunction || victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_3__[interpolationName]).x0(getY0Accessor(scale)).x1(getYAccessor(scale)).y(getXAccessor(scale)) : victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_5__["default"]().defined(defined).curve(interpolationFunction || victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_3__[interpolationName]).x(getXAccessor(scale)).y1(getYAccessor(scale)).y0(getY0Accessor(scale));
|
|
108
108
|
};
|
|
109
109
|
|
|
110
110
|
var getAreaFunction = function (props) {
|
|
@@ -113,7 +113,7 @@ var getAreaFunction = function (props) {
|
|
|
113
113
|
var interpolationFunction = typeof props.interpolation === "function" && props.interpolation;
|
|
114
114
|
var interpolationName = typeof props.interpolation === "string" && toNewName(props.interpolation);
|
|
115
115
|
var interpolation = interpolationFunction || interpolationName;
|
|
116
|
-
return polar ?
|
|
116
|
+
return polar ? victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_6__["default"]().defined(defined).curve(interpolationFunction || victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_3__["".concat(interpolationName, "Closed")]).angle(getAngleAccessor(scale)).outerRadius(getYAccessor(scale)).innerRadius(getY0Accessor(scale)) : getCartesianArea(props, interpolation);
|
|
117
117
|
};
|
|
118
118
|
|
|
119
119
|
var evaluateProps = function (props) {
|
|
@@ -125,13 +125,13 @@ var evaluateProps = function (props) {
|
|
|
125
125
|
* `style`
|
|
126
126
|
* `tabIndex`
|
|
127
127
|
*/
|
|
128
|
-
var ariaLabel =
|
|
129
|
-
var desc =
|
|
130
|
-
var id =
|
|
131
|
-
var style =
|
|
128
|
+
var ariaLabel = victory_core__WEBPACK_IMPORTED_MODULE_7__.evaluateProp(props.ariaLabel, props);
|
|
129
|
+
var desc = victory_core__WEBPACK_IMPORTED_MODULE_7__.evaluateProp(props.desc, props);
|
|
130
|
+
var id = victory_core__WEBPACK_IMPORTED_MODULE_7__.evaluateProp(props.id, props);
|
|
131
|
+
var style = victory_core__WEBPACK_IMPORTED_MODULE_7__.evaluateStyle(lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({
|
|
132
132
|
fill: "black"
|
|
133
133
|
}, props.style), props);
|
|
134
|
-
var tabIndex =
|
|
134
|
+
var tabIndex = victory_core__WEBPACK_IMPORTED_MODULE_7__.evaluateProp(props.tabIndex, props);
|
|
135
135
|
return lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, {
|
|
136
136
|
ariaLabel: ariaLabel,
|
|
137
137
|
desc: desc,
|
|
@@ -159,7 +159,7 @@ var Area = function (props) {
|
|
|
159
159
|
style = _props.style,
|
|
160
160
|
desc = _props.desc,
|
|
161
161
|
tabIndex = _props.tabIndex;
|
|
162
|
-
var userProps =
|
|
162
|
+
var userProps = victory_core__WEBPACK_IMPORTED_MODULE_8__.getSafeUserProps(props);
|
|
163
163
|
var defaultTransform = polar && origin ? "translate(".concat(origin.x, ", ").concat(origin.y, ")") : undefined;
|
|
164
164
|
var transform = props.transform || defaultTransform;
|
|
165
165
|
var renderLine = style.stroke && style.stroke !== "none" && style.stroke !== "transparent";
|
|
@@ -197,10 +197,10 @@ var Area = function (props) {
|
|
|
197
197
|
return renderLine ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(groupComponent, userProps, [area, line]) : area;
|
|
198
198
|
};
|
|
199
199
|
|
|
200
|
-
Area.propTypes = _objectSpread(_objectSpread({},
|
|
201
|
-
groupComponent: (
|
|
202
|
-
interpolation:
|
|
203
|
-
pathComponent: (
|
|
200
|
+
Area.propTypes = _objectSpread(_objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_9__.primitiveProps), {}, {
|
|
201
|
+
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().element),
|
|
202
|
+
interpolation: prop_types__WEBPACK_IMPORTED_MODULE_10___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_10___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_10___default().func)]),
|
|
203
|
+
pathComponent: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().element)
|
|
204
204
|
});
|
|
205
205
|
Area.defaultProps = {
|
|
206
206
|
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("g", null),
|
|
@@ -221,8 +221,8 @@ Area.defaultProps = {
|
|
|
221
221
|
"use strict";
|
|
222
222
|
__webpack_require__.r(__webpack_exports__);
|
|
223
223
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
224
|
-
/* harmony export */ "
|
|
225
|
-
/* harmony export */ "
|
|
224
|
+
/* harmony export */ "getBaseProps": () => (/* binding */ getBaseProps),
|
|
225
|
+
/* harmony export */ "getDataWithBaseline": () => (/* binding */ getDataWithBaseline)
|
|
226
226
|
/* harmony export */ });
|
|
227
227
|
/* harmony import */ var lodash_isNil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isNil */ "../../../node_modules/lodash/isNil.js");
|
|
228
228
|
/* harmony import */ var lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isNil__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -385,15 +385,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
385
385
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
386
386
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
387
387
|
/* harmony export */ });
|
|
388
|
-
/* harmony import */ var
|
|
389
|
-
/* harmony import */ var
|
|
390
|
-
/* harmony import */ var
|
|
391
|
-
/* harmony import */ var
|
|
388
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
389
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
390
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
391
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
392
392
|
/* harmony import */ var _helper_methods__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./helper-methods */ "./helper-methods.js");
|
|
393
393
|
/* harmony import */ var _area__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./area */ "./area.js");
|
|
394
|
-
/* harmony import */ var
|
|
395
|
-
/* harmony import */ var
|
|
396
|
-
/* harmony import */ var
|
|
394
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/helpers.js");
|
|
395
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/user-props.js");
|
|
396
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/common-props.js");
|
|
397
397
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/prop-types.js");
|
|
398
398
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-container/victory-container.js");
|
|
399
399
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-clip-container/victory-clip-container.js");
|
|
@@ -474,33 +474,33 @@ var VictoryArea = /*#__PURE__*/function (_React$Component) {
|
|
|
474
474
|
value: function render() {
|
|
475
475
|
var animationWhitelist = VictoryArea.animationWhitelist,
|
|
476
476
|
role = VictoryArea.role;
|
|
477
|
-
var props =
|
|
477
|
+
var props = victory_core__WEBPACK_IMPORTED_MODULE_1__.modifyProps(this.props, fallbackProps, role);
|
|
478
478
|
|
|
479
479
|
if (this.shouldAnimate()) {
|
|
480
480
|
return this.animateComponent(props, animationWhitelist);
|
|
481
481
|
}
|
|
482
482
|
|
|
483
483
|
var children = this.renderContinuousData(props);
|
|
484
|
-
var
|
|
485
|
-
return
|
|
484
|
+
var component = props.standalone ? this.renderContainer(props.containerComponent, children) : children;
|
|
485
|
+
return victory_core__WEBPACK_IMPORTED_MODULE_2__.withSafeUserProps(component, props);
|
|
486
486
|
}
|
|
487
487
|
}]);
|
|
488
488
|
|
|
489
489
|
return VictoryArea;
|
|
490
|
-
}((
|
|
490
|
+
}((react__WEBPACK_IMPORTED_MODULE_0___default().Component));
|
|
491
491
|
|
|
492
492
|
_defineProperty(VictoryArea, "animationWhitelist", ["data", "domain", "height", "padding", "style", "width"]);
|
|
493
493
|
|
|
494
|
-
_defineProperty(VictoryArea, "propTypes", _objectSpread(_objectSpread(_objectSpread({},
|
|
495
|
-
interpolation:
|
|
496
|
-
label: victory_core__WEBPACK_IMPORTED_MODULE_5__.deprecated((
|
|
494
|
+
_defineProperty(VictoryArea, "propTypes", _objectSpread(_objectSpread(_objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_3__.baseProps), victory_core__WEBPACK_IMPORTED_MODULE_3__.dataProps), {}, {
|
|
495
|
+
interpolation: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(["basis", "cardinal", "catmullRom", "linear", "monotoneX", "monotoneY", "natural", "step", "stepAfter", "stepBefore"]), (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)]),
|
|
496
|
+
label: victory_core__WEBPACK_IMPORTED_MODULE_5__.deprecated((prop_types__WEBPACK_IMPORTED_MODULE_4___default().string), "Use `labels` instead for individual data labels")
|
|
497
497
|
}));
|
|
498
498
|
|
|
499
499
|
_defineProperty(VictoryArea, "defaultProps", {
|
|
500
|
-
containerComponent: /*#__PURE__*/
|
|
501
|
-
dataComponent: /*#__PURE__*/
|
|
502
|
-
groupComponent: /*#__PURE__*/
|
|
503
|
-
labelComponent: /*#__PURE__*/
|
|
500
|
+
containerComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_6__["default"], null),
|
|
501
|
+
dataComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_area__WEBPACK_IMPORTED_MODULE_7__["default"], null),
|
|
502
|
+
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_8__["default"], null),
|
|
503
|
+
labelComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_9__["default"], {
|
|
504
504
|
renderInPortal: true
|
|
505
505
|
}),
|
|
506
506
|
samples: 50,
|
|
@@ -5914,7 +5914,7 @@ var printWarning = function() {};
|
|
|
5914
5914
|
if (true) {
|
|
5915
5915
|
var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../../node_modules/prop-types/lib/ReactPropTypesSecret.js");
|
|
5916
5916
|
var loggedTypeFailures = {};
|
|
5917
|
-
var has =
|
|
5917
|
+
var has = __webpack_require__(/*! ./lib/has */ "../../../node_modules/prop-types/lib/has.js");
|
|
5918
5918
|
|
|
5919
5919
|
printWarning = function(text) {
|
|
5920
5920
|
var message = 'Warning: ' + text;
|
|
@@ -5926,7 +5926,7 @@ if (true) {
|
|
|
5926
5926
|
// This error was thrown as a convenience so that you can use this stack
|
|
5927
5927
|
// to find the callsite that caused this warning to fire.
|
|
5928
5928
|
throw new Error(message);
|
|
5929
|
-
} catch (x) {}
|
|
5929
|
+
} catch (x) { /**/ }
|
|
5930
5930
|
};
|
|
5931
5931
|
}
|
|
5932
5932
|
|
|
@@ -5955,7 +5955,8 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
|
5955
5955
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
5956
5956
|
var err = Error(
|
|
5957
5957
|
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
5958
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
5958
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
5959
|
+
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
5959
5960
|
);
|
|
5960
5961
|
err.name = 'Invariant Violation';
|
|
5961
5962
|
throw err;
|
|
@@ -6026,9 +6027,9 @@ var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/react-i
|
|
|
6026
6027
|
var assign = __webpack_require__(/*! object-assign */ "../../../node_modules/object-assign/index.js");
|
|
6027
6028
|
|
|
6028
6029
|
var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../../node_modules/prop-types/lib/ReactPropTypesSecret.js");
|
|
6030
|
+
var has = __webpack_require__(/*! ./lib/has */ "../../../node_modules/prop-types/lib/has.js");
|
|
6029
6031
|
var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "../../../node_modules/prop-types/checkPropTypes.js");
|
|
6030
6032
|
|
|
6031
|
-
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
6032
6033
|
var printWarning = function() {};
|
|
6033
6034
|
|
|
6034
6035
|
if (true) {
|
|
@@ -6129,6 +6130,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6129
6130
|
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
6130
6131
|
var ReactPropTypes = {
|
|
6131
6132
|
array: createPrimitiveTypeChecker('array'),
|
|
6133
|
+
bigint: createPrimitiveTypeChecker('bigint'),
|
|
6132
6134
|
bool: createPrimitiveTypeChecker('boolean'),
|
|
6133
6135
|
func: createPrimitiveTypeChecker('function'),
|
|
6134
6136
|
number: createPrimitiveTypeChecker('number'),
|
|
@@ -6174,8 +6176,9 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6174
6176
|
* is prohibitively expensive if they are created too often, such as what
|
|
6175
6177
|
* happens in oneOfType() for any type before the one that matched.
|
|
6176
6178
|
*/
|
|
6177
|
-
function PropTypeError(message) {
|
|
6179
|
+
function PropTypeError(message, data) {
|
|
6178
6180
|
this.message = message;
|
|
6181
|
+
this.data = data && typeof data === 'object' ? data: {};
|
|
6179
6182
|
this.stack = '';
|
|
6180
6183
|
}
|
|
6181
6184
|
// Make `instanceof Error` still work for returned errors.
|
|
@@ -6210,7 +6213,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6210
6213
|
) {
|
|
6211
6214
|
printWarning(
|
|
6212
6215
|
'You are manually calling a React.PropTypes validation ' +
|
|
6213
|
-
'function for the `' + propFullName + '` prop on `' + componentName
|
|
6216
|
+
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
6214
6217
|
'and will throw in the standalone `prop-types` package. ' +
|
|
6215
6218
|
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
6216
6219
|
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
@@ -6249,7 +6252,10 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6249
6252
|
// 'of type `object`'.
|
|
6250
6253
|
var preciseType = getPreciseType(propValue);
|
|
6251
6254
|
|
|
6252
|
-
return new PropTypeError(
|
|
6255
|
+
return new PropTypeError(
|
|
6256
|
+
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
6257
|
+
{expectedType: expectedType}
|
|
6258
|
+
);
|
|
6253
6259
|
}
|
|
6254
6260
|
return null;
|
|
6255
6261
|
}
|
|
@@ -6393,14 +6399,19 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6393
6399
|
}
|
|
6394
6400
|
|
|
6395
6401
|
function validate(props, propName, componentName, location, propFullName) {
|
|
6402
|
+
var expectedTypes = [];
|
|
6396
6403
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
6397
6404
|
var checker = arrayOfTypeCheckers[i];
|
|
6398
|
-
|
|
6405
|
+
var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
|
6406
|
+
if (checkerResult == null) {
|
|
6399
6407
|
return null;
|
|
6400
6408
|
}
|
|
6409
|
+
if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
|
|
6410
|
+
expectedTypes.push(checkerResult.data.expectedType);
|
|
6411
|
+
}
|
|
6401
6412
|
}
|
|
6402
|
-
|
|
6403
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '
|
|
6413
|
+
var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
|
|
6414
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
|
|
6404
6415
|
}
|
|
6405
6416
|
return createChainableTypeChecker(validate);
|
|
6406
6417
|
}
|
|
@@ -6415,6 +6426,13 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6415
6426
|
return createChainableTypeChecker(validate);
|
|
6416
6427
|
}
|
|
6417
6428
|
|
|
6429
|
+
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
6430
|
+
return new PropTypeError(
|
|
6431
|
+
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
6432
|
+
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
6433
|
+
);
|
|
6434
|
+
}
|
|
6435
|
+
|
|
6418
6436
|
function createShapeTypeChecker(shapeTypes) {
|
|
6419
6437
|
function validate(props, propName, componentName, location, propFullName) {
|
|
6420
6438
|
var propValue = props[propName];
|
|
@@ -6424,8 +6442,8 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6424
6442
|
}
|
|
6425
6443
|
for (var key in shapeTypes) {
|
|
6426
6444
|
var checker = shapeTypes[key];
|
|
6427
|
-
if (
|
|
6428
|
-
|
|
6445
|
+
if (typeof checker !== 'function') {
|
|
6446
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
6429
6447
|
}
|
|
6430
6448
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
6431
6449
|
if (error) {
|
|
@@ -6444,16 +6462,18 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6444
6462
|
if (propType !== 'object') {
|
|
6445
6463
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
6446
6464
|
}
|
|
6447
|
-
// We need to check all keys in case some are required but missing from
|
|
6448
|
-
// props.
|
|
6465
|
+
// We need to check all keys in case some are required but missing from props.
|
|
6449
6466
|
var allKeys = assign({}, props[propName], shapeTypes);
|
|
6450
6467
|
for (var key in allKeys) {
|
|
6451
6468
|
var checker = shapeTypes[key];
|
|
6469
|
+
if (has(shapeTypes, key) && typeof checker !== 'function') {
|
|
6470
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
6471
|
+
}
|
|
6452
6472
|
if (!checker) {
|
|
6453
6473
|
return new PropTypeError(
|
|
6454
6474
|
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
6455
6475
|
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
6456
|
-
'\nValid keys: ' +
|
|
6476
|
+
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
6457
6477
|
);
|
|
6458
6478
|
}
|
|
6459
6479
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
@@ -6654,6 +6674,17 @@ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
|
6654
6674
|
module.exports = ReactPropTypesSecret;
|
|
6655
6675
|
|
|
6656
6676
|
|
|
6677
|
+
/***/ }),
|
|
6678
|
+
|
|
6679
|
+
/***/ "../../../node_modules/prop-types/lib/has.js":
|
|
6680
|
+
/*!***************************************************!*\
|
|
6681
|
+
!*** ../../../node_modules/prop-types/lib/has.js ***!
|
|
6682
|
+
\***************************************************/
|
|
6683
|
+
/***/ ((module) => {
|
|
6684
|
+
|
|
6685
|
+
module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
6686
|
+
|
|
6687
|
+
|
|
6657
6688
|
/***/ }),
|
|
6658
6689
|
|
|
6659
6690
|
/***/ "../../../node_modules/react-fast-compare/index.js":
|
|
@@ -6662,26 +6693,24 @@ module.exports = ReactPropTypesSecret;
|
|
|
6662
6693
|
\*********************************************************/
|
|
6663
6694
|
/***/ ((module) => {
|
|
6664
6695
|
|
|
6665
|
-
|
|
6666
|
-
|
|
6696
|
+
/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */
|
|
6667
6697
|
|
|
6668
|
-
var isArray = Array.isArray;
|
|
6669
|
-
var keyList = Object.keys;
|
|
6670
|
-
var hasProp = Object.prototype.hasOwnProperty;
|
|
6671
6698
|
var hasElementType = typeof Element !== 'undefined';
|
|
6699
|
+
var hasMap = typeof Map === 'function';
|
|
6700
|
+
var hasSet = typeof Set === 'function';
|
|
6701
|
+
var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;
|
|
6702
|
+
|
|
6703
|
+
// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js
|
|
6672
6704
|
|
|
6673
6705
|
function equal(a, b) {
|
|
6674
|
-
// fast-deep-equal index.js
|
|
6706
|
+
// START: fast-deep-equal es6/index.js 3.1.1
|
|
6675
6707
|
if (a === b) return true;
|
|
6676
6708
|
|
|
6677
6709
|
if (a && b && typeof a == 'object' && typeof b == 'object') {
|
|
6678
|
-
|
|
6679
|
-
, arrB = isArray(b)
|
|
6680
|
-
, i
|
|
6681
|
-
, length
|
|
6682
|
-
, key;
|
|
6710
|
+
if (a.constructor !== b.constructor) return false;
|
|
6683
6711
|
|
|
6684
|
-
|
|
6712
|
+
var length, i, keys;
|
|
6713
|
+
if (Array.isArray(a)) {
|
|
6685
6714
|
length = a.length;
|
|
6686
6715
|
if (length != b.length) return false;
|
|
6687
6716
|
for (i = length; i-- !== 0;)
|
|
@@ -6689,50 +6718,91 @@ function equal(a, b) {
|
|
|
6689
6718
|
return true;
|
|
6690
6719
|
}
|
|
6691
6720
|
|
|
6692
|
-
|
|
6721
|
+
// START: Modifications:
|
|
6722
|
+
// 1. Extra `has<Type> &&` helpers in initial condition allow es6 code
|
|
6723
|
+
// to co-exist with es5.
|
|
6724
|
+
// 2. Replace `for of` with es5 compliant iteration using `for`.
|
|
6725
|
+
// Basically, take:
|
|
6726
|
+
//
|
|
6727
|
+
// ```js
|
|
6728
|
+
// for (i of a.entries())
|
|
6729
|
+
// if (!b.has(i[0])) return false;
|
|
6730
|
+
// ```
|
|
6731
|
+
//
|
|
6732
|
+
// ... and convert to:
|
|
6733
|
+
//
|
|
6734
|
+
// ```js
|
|
6735
|
+
// it = a.entries();
|
|
6736
|
+
// while (!(i = it.next()).done)
|
|
6737
|
+
// if (!b.has(i.value[0])) return false;
|
|
6738
|
+
// ```
|
|
6739
|
+
//
|
|
6740
|
+
// **Note**: `i` access switches to `i.value`.
|
|
6741
|
+
var it;
|
|
6742
|
+
if (hasMap && (a instanceof Map) && (b instanceof Map)) {
|
|
6743
|
+
if (a.size !== b.size) return false;
|
|
6744
|
+
it = a.entries();
|
|
6745
|
+
while (!(i = it.next()).done)
|
|
6746
|
+
if (!b.has(i.value[0])) return false;
|
|
6747
|
+
it = a.entries();
|
|
6748
|
+
while (!(i = it.next()).done)
|
|
6749
|
+
if (!equal(i.value[1], b.get(i.value[0]))) return false;
|
|
6750
|
+
return true;
|
|
6751
|
+
}
|
|
6693
6752
|
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6753
|
+
if (hasSet && (a instanceof Set) && (b instanceof Set)) {
|
|
6754
|
+
if (a.size !== b.size) return false;
|
|
6755
|
+
it = a.entries();
|
|
6756
|
+
while (!(i = it.next()).done)
|
|
6757
|
+
if (!b.has(i.value[0])) return false;
|
|
6758
|
+
return true;
|
|
6759
|
+
}
|
|
6760
|
+
// END: Modifications
|
|
6698
6761
|
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6702
|
-
|
|
6762
|
+
if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
|
|
6763
|
+
length = a.length;
|
|
6764
|
+
if (length != b.length) return false;
|
|
6765
|
+
for (i = length; i-- !== 0;)
|
|
6766
|
+
if (a[i] !== b[i]) return false;
|
|
6767
|
+
return true;
|
|
6768
|
+
}
|
|
6703
6769
|
|
|
6704
|
-
|
|
6705
|
-
|
|
6770
|
+
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
|
|
6771
|
+
if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
|
|
6772
|
+
if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
|
|
6706
6773
|
|
|
6707
|
-
|
|
6708
|
-
|
|
6774
|
+
keys = Object.keys(a);
|
|
6775
|
+
length = keys.length;
|
|
6776
|
+
if (length !== Object.keys(b).length) return false;
|
|
6709
6777
|
|
|
6710
6778
|
for (i = length; i-- !== 0;)
|
|
6711
|
-
if (!
|
|
6712
|
-
//
|
|
6779
|
+
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
6780
|
+
// END: fast-deep-equal
|
|
6713
6781
|
|
|
6714
|
-
//
|
|
6782
|
+
// START: react-fast-compare
|
|
6715
6783
|
// custom handling for DOM elements
|
|
6716
|
-
if (hasElementType && a instanceof Element
|
|
6717
|
-
return a === b;
|
|
6784
|
+
if (hasElementType && a instanceof Element) return false;
|
|
6718
6785
|
|
|
6719
|
-
// custom handling for React
|
|
6786
|
+
// custom handling for React/Preact
|
|
6720
6787
|
for (i = length; i-- !== 0;) {
|
|
6721
|
-
|
|
6722
|
-
|
|
6723
|
-
//
|
|
6724
|
-
//
|
|
6725
|
-
//
|
|
6726
|
-
//
|
|
6788
|
+
if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {
|
|
6789
|
+
// React-specific: avoid traversing React elements' _owner
|
|
6790
|
+
// Preact-specific: avoid traversing Preact elements' __v and __o
|
|
6791
|
+
// __v = $_original / $_vnode
|
|
6792
|
+
// __o = $_owner
|
|
6793
|
+
// These properties contain circular references and are not needed when
|
|
6794
|
+
// comparing the actual elements (and not their owners)
|
|
6795
|
+
// .$$typeof and ._store on just reasonable markers of elements
|
|
6796
|
+
|
|
6727
6797
|
continue;
|
|
6728
|
-
} else {
|
|
6729
|
-
// all other properties should be traversed as usual
|
|
6730
|
-
if (!equal(a[key], b[key])) return false;
|
|
6731
6798
|
}
|
|
6799
|
+
|
|
6800
|
+
// all other properties should be traversed as usual
|
|
6801
|
+
if (!equal(a[keys[i]], b[keys[i]])) return false;
|
|
6732
6802
|
}
|
|
6733
|
-
//
|
|
6803
|
+
// END: react-fast-compare
|
|
6734
6804
|
|
|
6735
|
-
// fast-deep-equal
|
|
6805
|
+
// START: fast-deep-equal
|
|
6736
6806
|
return true;
|
|
6737
6807
|
}
|
|
6738
6808
|
|
|
@@ -6740,17 +6810,17 @@ function equal(a, b) {
|
|
|
6740
6810
|
}
|
|
6741
6811
|
// end fast-deep-equal
|
|
6742
6812
|
|
|
6743
|
-
module.exports = function
|
|
6813
|
+
module.exports = function isEqual(a, b) {
|
|
6744
6814
|
try {
|
|
6745
6815
|
return equal(a, b);
|
|
6746
6816
|
} catch (error) {
|
|
6747
|
-
if ((error.message
|
|
6817
|
+
if (((error.message || '').match(/stack|recursion/i))) {
|
|
6748
6818
|
// warn on circular references, don't crash
|
|
6749
6819
|
// browsers give this different errors name and messages:
|
|
6750
6820
|
// chrome/safari: "RangeError", "Maximum call stack size exceeded"
|
|
6751
6821
|
// firefox: "InternalError", too much recursion"
|
|
6752
6822
|
// edge: "Error", "Out of stack space"
|
|
6753
|
-
console.warn('
|
|
6823
|
+
console.warn('react-fast-compare cannot handle circular refs');
|
|
6754
6824
|
return false;
|
|
6755
6825
|
}
|
|
6756
6826
|
// some other error. we should definitely know about these
|
|
@@ -6978,11 +7048,11 @@ if (false) {} else {
|
|
|
6978
7048
|
"use strict";
|
|
6979
7049
|
__webpack_require__.r(__webpack_exports__);
|
|
6980
7050
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6981
|
-
/* harmony export */ "isInterpolatable": () => (/* binding */ isInterpolatable),
|
|
6982
|
-
/* harmony export */ "interpolateImmediate": () => (/* binding */ interpolateImmediate),
|
|
6983
7051
|
/* harmony export */ "interpolateFunction": () => (/* binding */ interpolateFunction),
|
|
7052
|
+
/* harmony export */ "interpolateImmediate": () => (/* binding */ interpolateImmediate),
|
|
6984
7053
|
/* harmony export */ "interpolateObject": () => (/* binding */ interpolateObject),
|
|
6985
7054
|
/* harmony export */ "interpolateString": () => (/* binding */ interpolateString),
|
|
7055
|
+
/* harmony export */ "isInterpolatable": () => (/* binding */ isInterpolatable),
|
|
6986
7056
|
/* harmony export */ "victoryInterpolator": () => (/* binding */ victoryInterpolator)
|
|
6987
7057
|
/* harmony export */ });
|
|
6988
7058
|
/* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/orderBy */ "../../../node_modules/lodash/orderBy.js");
|
|
@@ -7217,13 +7287,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7217
7287
|
/* harmony export */ });
|
|
7218
7288
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
7219
7289
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
7220
|
-
/* harmony import */ var
|
|
7221
|
-
/* harmony import */ var
|
|
7222
|
-
/* harmony import */ var
|
|
7223
|
-
/* harmony import */ var
|
|
7290
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
7291
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
7292
|
+
/* harmony import */ var victory_vendor_d3_ease__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! victory-vendor/d3-ease */ "../../victory-vendor/es/d3-ease.js");
|
|
7293
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util */ "../../victory-core/es/victory-animation/util.js");
|
|
7224
7294
|
/* 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");
|
|
7225
|
-
/* harmony import */ var
|
|
7226
|
-
/* harmony import */ var
|
|
7295
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/react-fast-compare/index.js");
|
|
7296
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_1__);
|
|
7227
7297
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
7228
7298
|
|
|
7229
7299
|
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."); }
|
|
@@ -7290,7 +7360,7 @@ var VictoryAnimation = /*#__PURE__*/function (_React$Component) {
|
|
|
7290
7360
|
_this.queue = Array.isArray(_this.props.data) ? _this.props.data.slice(1) : [];
|
|
7291
7361
|
/* build easing function */
|
|
7292
7362
|
|
|
7293
|
-
_this.ease =
|
|
7363
|
+
_this.ease = victory_vendor_d3_ease__WEBPACK_IMPORTED_MODULE_2__[_this.toNewName(_this.props.easing)];
|
|
7294
7364
|
/*
|
|
7295
7365
|
There is no autobinding of this in ES6 classes
|
|
7296
7366
|
so we bind functionToBeRunEachFrame to current instance of victory animation class
|
|
@@ -7312,7 +7382,7 @@ var VictoryAnimation = /*#__PURE__*/function (_React$Component) {
|
|
|
7312
7382
|
}, {
|
|
7313
7383
|
key: "componentDidUpdate",
|
|
7314
7384
|
value: function componentDidUpdate(prevProps) {
|
|
7315
|
-
var equalProps =
|
|
7385
|
+
var equalProps = react_fast_compare__WEBPACK_IMPORTED_MODULE_1___default()(this.props, prevProps);
|
|
7316
7386
|
|
|
7317
7387
|
if (!equalProps) {
|
|
7318
7388
|
/* If the previous animation didn't finish, force it to complete before starting a new one */
|
|
@@ -7381,7 +7451,7 @@ var VictoryAnimation = /*#__PURE__*/function (_React$Component) {
|
|
|
7381
7451
|
var data = this.queue[0];
|
|
7382
7452
|
/* compare cached version to next props */
|
|
7383
7453
|
|
|
7384
|
-
this.interpolator = (0,
|
|
7454
|
+
this.interpolator = (0,_util__WEBPACK_IMPORTED_MODULE_3__.victoryInterpolator)(this.state.data, data);
|
|
7385
7455
|
/* reset step to zero */
|
|
7386
7456
|
|
|
7387
7457
|
if (this.props.delay) {
|
|
@@ -7453,12 +7523,12 @@ var VictoryAnimation = /*#__PURE__*/function (_React$Component) {
|
|
|
7453
7523
|
_defineProperty(VictoryAnimation, "displayName", "VictoryAnimation");
|
|
7454
7524
|
|
|
7455
7525
|
_defineProperty(VictoryAnimation, "propTypes", {
|
|
7456
|
-
children: (
|
|
7457
|
-
data:
|
|
7458
|
-
delay: (
|
|
7459
|
-
duration: (
|
|
7460
|
-
easing:
|
|
7461
|
-
onEnd: (
|
|
7526
|
+
children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
|
|
7527
|
+
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)]),
|
|
7528
|
+
delay: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
7529
|
+
duration: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
7530
|
+
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"]),
|
|
7531
|
+
onEnd: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
|
|
7462
7532
|
});
|
|
7463
7533
|
|
|
7464
7534
|
_defineProperty(VictoryAnimation, "defaultProps", {
|
|
@@ -7495,13 +7565,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7495
7565
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_3__);
|
|
7496
7566
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "react");
|
|
7497
7567
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
|
|
7498
|
-
/* harmony import */ var
|
|
7499
|
-
/* harmony import */ var
|
|
7500
|
-
/* harmony import */ var
|
|
7501
|
-
/* harmony import */ var
|
|
7502
|
-
/* harmony import */ var
|
|
7503
|
-
/* harmony import */ var
|
|
7504
|
-
/* harmony import */ var
|
|
7568
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
7569
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_7__);
|
|
7570
|
+
/* harmony import */ var _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../victory-util/prop-types */ "../../victory-core/es/victory-util/prop-types.js");
|
|
7571
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
7572
|
+
/* harmony import */ var _victory_util_user_props__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../victory-util/user-props */ "../../victory-core/es/victory-util/user-props.js");
|
|
7573
|
+
/* harmony import */ var _victory_primitives_clip_path__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../victory-primitives/clip-path */ "../../victory-core/es/victory-primitives/clip-path.js");
|
|
7574
|
+
/* harmony import */ var _victory_primitives_circle__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../victory-primitives/circle */ "../../victory-core/es/victory-primitives/circle.js");
|
|
7575
|
+
/* harmony import */ var _victory_primitives_rect__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../victory-primitives/rect */ "../../victory-core/es/victory-primitives/rect.js");
|
|
7505
7576
|
|
|
7506
7577
|
|
|
7507
7578
|
|
|
@@ -7553,6 +7624,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
7553
7624
|
|
|
7554
7625
|
|
|
7555
7626
|
|
|
7627
|
+
|
|
7556
7628
|
var VictoryClipContainer = /*#__PURE__*/function (_React$Component) {
|
|
7557
7629
|
_inherits(VictoryClipContainer, _React$Component);
|
|
7558
7630
|
|
|
@@ -7581,10 +7653,10 @@ var VictoryClipContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
7581
7653
|
translateX = _props$translateX === void 0 ? 0 : _props$translateX,
|
|
7582
7654
|
_props$translateY = props.translateY,
|
|
7583
7655
|
translateY = _props$translateY === void 0 ? 0 : _props$translateY;
|
|
7584
|
-
var clipPadding =
|
|
7656
|
+
var clipPadding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_5__.getPadding({
|
|
7585
7657
|
padding: props.clipPadding
|
|
7586
7658
|
});
|
|
7587
|
-
var radius = props.radius ||
|
|
7659
|
+
var radius = props.radius || _victory_util_helpers__WEBPACK_IMPORTED_MODULE_5__.getRadius(props);
|
|
7588
7660
|
return {
|
|
7589
7661
|
x: (polar ? origin.x : translateX) - clipPadding.left,
|
|
7590
7662
|
y: (polar ? origin.y : translateY) - clipPadding.top,
|
|
@@ -7595,6 +7667,7 @@ var VictoryClipContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
7595
7667
|
}, {
|
|
7596
7668
|
key: "renderClippedGroup",
|
|
7597
7669
|
value: function renderClippedGroup(props, clipId) {
|
|
7670
|
+
var userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_6__.getSafeUserProps(props);
|
|
7598
7671
|
var style = props.style,
|
|
7599
7672
|
events = props.events,
|
|
7600
7673
|
transform = props.transform,
|
|
@@ -7613,9 +7686,8 @@ var VictoryClipContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
7613
7686
|
}, events);
|
|
7614
7687
|
|
|
7615
7688
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().cloneElement(groupComponent, _objectSpread(_objectSpread({}, groupProps), {}, {
|
|
7616
|
-
"aria-label": props["aria-label"],
|
|
7617
7689
|
tabIndex: tabIndex
|
|
7618
|
-
}), [clipComponent].concat(_toConsumableArray(react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(children))));
|
|
7690
|
+
}, userProps), [clipComponent].concat(_toConsumableArray(react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(children))));
|
|
7619
7691
|
}
|
|
7620
7692
|
}, {
|
|
7621
7693
|
key: "renderGroup",
|
|
@@ -7652,7 +7724,7 @@ var VictoryClipContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
7652
7724
|
rectComponent = props.rectComponent,
|
|
7653
7725
|
clipPathComponent = props.clipPathComponent;
|
|
7654
7726
|
|
|
7655
|
-
var _Helpers$getPadding =
|
|
7727
|
+
var _Helpers$getPadding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_5__.getPadding({
|
|
7656
7728
|
padding: props.clipPadding
|
|
7657
7729
|
}),
|
|
7658
7730
|
top = _Helpers$getPadding.top,
|
|
@@ -7663,7 +7735,7 @@ var VictoryClipContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
7663
7735
|
var child;
|
|
7664
7736
|
|
|
7665
7737
|
if (polar) {
|
|
7666
|
-
var radius = props.radius ||
|
|
7738
|
+
var radius = props.radius || _victory_util_helpers__WEBPACK_IMPORTED_MODULE_5__.getRadius(props);
|
|
7667
7739
|
var circleProps = {
|
|
7668
7740
|
r: Math.max(radius + left + right, radius + top + bottom, 0),
|
|
7669
7741
|
cx: origin.x - left,
|
|
@@ -7698,7 +7770,7 @@ var VictoryClipContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
7698
7770
|
return clipValues[axis];
|
|
7699
7771
|
}
|
|
7700
7772
|
|
|
7701
|
-
var range =
|
|
7773
|
+
var range = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_5__.getRange(props, axis);
|
|
7702
7774
|
return range ? Math.abs(range[0] - range[1]) || undefined : undefined;
|
|
7703
7775
|
}
|
|
7704
7776
|
}, {
|
|
@@ -7713,7 +7785,7 @@ var VictoryClipContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
7713
7785
|
return translateValues[axis];
|
|
7714
7786
|
}
|
|
7715
7787
|
|
|
7716
|
-
var range =
|
|
7788
|
+
var range = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_5__.getRange(props, axis);
|
|
7717
7789
|
return range ? Math.min.apply(Math, _toConsumableArray(range)) : undefined;
|
|
7718
7790
|
}
|
|
7719
7791
|
}, {
|
|
@@ -7748,39 +7820,39 @@ _defineProperty(VictoryClipContainer, "displayName", "VictoryClipContainer");
|
|
|
7748
7820
|
_defineProperty(VictoryClipContainer, "role", "container");
|
|
7749
7821
|
|
|
7750
7822
|
_defineProperty(VictoryClipContainer, "propTypes", {
|
|
7751
|
-
"aria-label": (
|
|
7752
|
-
children:
|
|
7753
|
-
circleComponent: (
|
|
7754
|
-
className: (
|
|
7755
|
-
clipHeight:
|
|
7756
|
-
clipId:
|
|
7757
|
-
clipPadding:
|
|
7758
|
-
top: (
|
|
7759
|
-
bottom: (
|
|
7760
|
-
left: (
|
|
7761
|
-
right: (
|
|
7823
|
+
"aria-label": (prop_types__WEBPACK_IMPORTED_MODULE_7___default().string),
|
|
7824
|
+
children: prop_types__WEBPACK_IMPORTED_MODULE_7___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_7___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_7___default().node)), (prop_types__WEBPACK_IMPORTED_MODULE_7___default().node)]),
|
|
7825
|
+
circleComponent: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().element),
|
|
7826
|
+
className: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().string),
|
|
7827
|
+
clipHeight: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_8__.nonNegative,
|
|
7828
|
+
clipId: prop_types__WEBPACK_IMPORTED_MODULE_7___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_7___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_7___default().string)]),
|
|
7829
|
+
clipPadding: prop_types__WEBPACK_IMPORTED_MODULE_7___default().shape({
|
|
7830
|
+
top: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().number),
|
|
7831
|
+
bottom: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().number),
|
|
7832
|
+
left: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().number),
|
|
7833
|
+
right: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().number)
|
|
7762
7834
|
}),
|
|
7763
|
-
clipPathComponent: (
|
|
7764
|
-
clipWidth:
|
|
7765
|
-
events: (
|
|
7766
|
-
groupComponent: (
|
|
7767
|
-
origin:
|
|
7768
|
-
x:
|
|
7769
|
-
y:
|
|
7835
|
+
clipPathComponent: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().element),
|
|
7836
|
+
clipWidth: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_8__.nonNegative,
|
|
7837
|
+
events: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().object),
|
|
7838
|
+
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().element),
|
|
7839
|
+
origin: prop_types__WEBPACK_IMPORTED_MODULE_7___default().shape({
|
|
7840
|
+
x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_8__.nonNegative,
|
|
7841
|
+
y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_8__.nonNegative
|
|
7770
7842
|
}),
|
|
7771
|
-
polar: (
|
|
7772
|
-
radius:
|
|
7773
|
-
style: (
|
|
7774
|
-
tabIndex: (
|
|
7775
|
-
transform: (
|
|
7776
|
-
translateX: (
|
|
7777
|
-
translateY: (
|
|
7843
|
+
polar: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().bool),
|
|
7844
|
+
radius: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_8__.nonNegative,
|
|
7845
|
+
style: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().object),
|
|
7846
|
+
tabIndex: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().number),
|
|
7847
|
+
transform: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().string),
|
|
7848
|
+
translateX: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().number),
|
|
7849
|
+
translateY: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().number)
|
|
7778
7850
|
});
|
|
7779
7851
|
|
|
7780
7852
|
_defineProperty(VictoryClipContainer, "defaultProps", {
|
|
7781
|
-
circleComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(
|
|
7782
|
-
rectComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(
|
|
7783
|
-
clipPathComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(
|
|
7853
|
+
circleComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_victory_primitives_circle__WEBPACK_IMPORTED_MODULE_9__["default"], null),
|
|
7854
|
+
rectComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_victory_primitives_rect__WEBPACK_IMPORTED_MODULE_10__["default"], null),
|
|
7855
|
+
clipPathComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_victory_primitives_clip_path__WEBPACK_IMPORTED_MODULE_11__["default"], null),
|
|
7784
7856
|
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("g", null)
|
|
7785
7857
|
});
|
|
7786
7858
|
|
|
@@ -7811,14 +7883,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7811
7883
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_4__);
|
|
7812
7884
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "react");
|
|
7813
7885
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
|
|
7814
|
-
/* harmony import */ var
|
|
7815
|
-
/* harmony import */ var
|
|
7886
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
7887
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_9__);
|
|
7816
7888
|
/* 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");
|
|
7817
7889
|
/* harmony import */ var _victory_portal_portal__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../victory-portal/portal */ "../../victory-core/es/victory-portal/portal.js");
|
|
7818
|
-
/* harmony import */ var
|
|
7890
|
+
/* 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");
|
|
7819
7891
|
/* 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");
|
|
7820
|
-
/* harmony import */ var
|
|
7821
|
-
/* harmony import */ var
|
|
7892
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
7893
|
+
/* 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");
|
|
7822
7894
|
|
|
7823
7895
|
|
|
7824
7896
|
|
|
@@ -7996,7 +8068,7 @@ var VictoryContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
7996
8068
|
preserveAspectRatio: svgProps.preserveAspectRatio,
|
|
7997
8069
|
style: portalSvgStyle
|
|
7998
8070
|
};
|
|
7999
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(
|
|
8071
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_6__["default"].Provider, {
|
|
8000
8072
|
value: {
|
|
8001
8073
|
portalUpdate: this.portalUpdate,
|
|
8002
8074
|
portalRegister: this.portalRegister,
|
|
@@ -8031,8 +8103,8 @@ var VictoryContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
8031
8103
|
tabIndex = _this$props.tabIndex,
|
|
8032
8104
|
preserveAspectRatio = _this$props.preserveAspectRatio,
|
|
8033
8105
|
role = _this$props.role;
|
|
8034
|
-
var style = responsive ? this.props.style :
|
|
8035
|
-
var userProps =
|
|
8106
|
+
var style = responsive ? this.props.style : _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__.omit(this.props.style, ["height", "width"]);
|
|
8107
|
+
var userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_8__.getSafeUserProps(this.props);
|
|
8036
8108
|
|
|
8037
8109
|
var svgProps = lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()(_objectSpread({
|
|
8038
8110
|
width: width,
|
|
@@ -8057,33 +8129,33 @@ _defineProperty(VictoryContainer, "displayName", "VictoryContainer");
|
|
|
8057
8129
|
_defineProperty(VictoryContainer, "role", "container");
|
|
8058
8130
|
|
|
8059
8131
|
_defineProperty(VictoryContainer, "propTypes", {
|
|
8060
|
-
"aria-describedby": (
|
|
8061
|
-
"aria-labelledby": (
|
|
8062
|
-
children:
|
|
8063
|
-
className: (
|
|
8064
|
-
containerId:
|
|
8065
|
-
containerRef: (
|
|
8066
|
-
desc: (
|
|
8067
|
-
events: (
|
|
8132
|
+
"aria-describedby": (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
8133
|
+
"aria-labelledby": (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
8134
|
+
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)]),
|
|
8135
|
+
className: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
8136
|
+
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)]),
|
|
8137
|
+
containerRef: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().func),
|
|
8138
|
+
desc: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
8139
|
+
events: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object),
|
|
8068
8140
|
height: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative,
|
|
8069
|
-
name: (
|
|
8070
|
-
origin:
|
|
8141
|
+
name: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
8142
|
+
origin: prop_types__WEBPACK_IMPORTED_MODULE_9___default().shape({
|
|
8071
8143
|
x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative,
|
|
8072
8144
|
y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative
|
|
8073
8145
|
}),
|
|
8074
|
-
ouiaId:
|
|
8075
|
-
ouiaSafe: (
|
|
8076
|
-
ouiaType: (
|
|
8077
|
-
polar: (
|
|
8078
|
-
portalComponent: (
|
|
8146
|
+
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)]),
|
|
8147
|
+
ouiaSafe: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
|
|
8148
|
+
ouiaType: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
8149
|
+
polar: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
|
|
8150
|
+
portalComponent: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().element),
|
|
8079
8151
|
portalZIndex: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.integer,
|
|
8080
|
-
preserveAspectRatio: (
|
|
8081
|
-
responsive: (
|
|
8082
|
-
role: (
|
|
8083
|
-
style: (
|
|
8084
|
-
tabIndex: (
|
|
8085
|
-
theme: (
|
|
8086
|
-
title: (
|
|
8152
|
+
preserveAspectRatio: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
8153
|
+
responsive: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
|
|
8154
|
+
role: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
8155
|
+
style: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object),
|
|
8156
|
+
tabIndex: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().number),
|
|
8157
|
+
theme: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object),
|
|
8158
|
+
title: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
8087
8159
|
width: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative
|
|
8088
8160
|
});
|
|
8089
8161
|
|
|
@@ -8118,20 +8190,21 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8118
8190
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
|
|
8119
8191
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/assign */ "../../../node_modules/lodash/assign.js");
|
|
8120
8192
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_2__);
|
|
8121
|
-
/* harmony import */ var
|
|
8122
|
-
/* harmony import */ var
|
|
8123
|
-
/* harmony import */ var
|
|
8124
|
-
/* harmony import */ var
|
|
8193
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
8194
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_11__);
|
|
8195
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
|
|
8196
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
|
|
8125
8197
|
/* 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");
|
|
8126
|
-
/* harmony import */ var
|
|
8127
|
-
/* harmony import */ var
|
|
8128
|
-
/* harmony import */ var
|
|
8129
|
-
/* harmony import */ var
|
|
8130
|
-
/* harmony import */ var
|
|
8131
|
-
/* harmony import */ var
|
|
8132
|
-
/* harmony import */ var
|
|
8133
|
-
/* harmony import */ var
|
|
8198
|
+
/* harmony import */ var _victory_primitives_rect__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../victory-primitives/rect */ "../../victory-core/es/victory-primitives/rect.js");
|
|
8199
|
+
/* harmony import */ var _victory_primitives_text__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../victory-primitives/text */ "../../victory-core/es/victory-primitives/text.js");
|
|
8200
|
+
/* harmony import */ var _victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../victory-primitives/tspan */ "../../victory-core/es/victory-primitives/tspan.js");
|
|
8201
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
8202
|
+
/* 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");
|
|
8203
|
+
/* harmony import */ var _victory_util_log__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../victory-util/log */ "../../victory-core/es/victory-util/log.js");
|
|
8204
|
+
/* 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");
|
|
8205
|
+
/* harmony import */ var _victory_util_style__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/style */ "../../victory-core/es/victory-util/style.js");
|
|
8134
8206
|
/* harmony import */ var _victory_util_textsize__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../victory-util/textsize */ "../../victory-core/es/victory-util/textsize.js");
|
|
8207
|
+
/* 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");
|
|
8135
8208
|
|
|
8136
8209
|
|
|
8137
8210
|
|
|
@@ -8166,6 +8239,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
8166
8239
|
|
|
8167
8240
|
|
|
8168
8241
|
|
|
8242
|
+
|
|
8169
8243
|
var defaultStyles = {
|
|
8170
8244
|
fill: "#252525",
|
|
8171
8245
|
fontSize: 14,
|
|
@@ -8178,7 +8252,7 @@ var getPosition = function (props, dimension) {
|
|
|
8178
8252
|
return 0;
|
|
8179
8253
|
}
|
|
8180
8254
|
|
|
8181
|
-
var scaledPoint =
|
|
8255
|
+
var scaledPoint = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.scalePoint(props, props.datum);
|
|
8182
8256
|
return scaledPoint[dimension];
|
|
8183
8257
|
};
|
|
8184
8258
|
|
|
@@ -8195,7 +8269,7 @@ var getFontSize = function (style) {
|
|
|
8195
8269
|
if (!isNaN(fontSize)) {
|
|
8196
8270
|
return fontSize;
|
|
8197
8271
|
} else {
|
|
8198
|
-
|
|
8272
|
+
_victory_util_log__WEBPACK_IMPORTED_MODULE_5__.warn("fontSize should be expressed as a number of pixels");
|
|
8199
8273
|
return defaultStyles.fontSize;
|
|
8200
8274
|
}
|
|
8201
8275
|
}
|
|
@@ -8216,7 +8290,7 @@ var shouldUseMultilineBackgrounds = function (props) {
|
|
|
8216
8290
|
|
|
8217
8291
|
var getStyles = function (style, props) {
|
|
8218
8292
|
if (props.disableInlineStyles) {
|
|
8219
|
-
var baseStyles =
|
|
8293
|
+
var baseStyles = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateStyle(style, props);
|
|
8220
8294
|
return {
|
|
8221
8295
|
// Font size is necessary to calculate the y position of the label
|
|
8222
8296
|
fontSize: getFontSize(baseStyles)
|
|
@@ -8225,7 +8299,7 @@ var getStyles = function (style, props) {
|
|
|
8225
8299
|
|
|
8226
8300
|
var getSingleStyle = function (s) {
|
|
8227
8301
|
s = s ? lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, s, defaultStyles) : defaultStyles;
|
|
8228
|
-
var baseStyles =
|
|
8302
|
+
var baseStyles = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateStyle(s, props);
|
|
8229
8303
|
return lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, baseStyles, {
|
|
8230
8304
|
fontSize: getFontSize(baseStyles)
|
|
8231
8305
|
});
|
|
@@ -8242,28 +8316,28 @@ var getBackgroundStyles = function (style, props) {
|
|
|
8242
8316
|
}
|
|
8243
8317
|
|
|
8244
8318
|
return Array.isArray(style) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(style) ? style.map(function (s) {
|
|
8245
|
-
return
|
|
8246
|
-
}) :
|
|
8319
|
+
return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateStyle(s, props);
|
|
8320
|
+
}) : _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateStyle(style, props);
|
|
8247
8321
|
};
|
|
8248
8322
|
|
|
8249
8323
|
var getBackgroundPadding = function (props) {
|
|
8250
8324
|
if (props.backgroundPadding && Array.isArray(props.backgroundPadding)) {
|
|
8251
8325
|
return props.backgroundPadding.map(function (backgroundPadding) {
|
|
8252
|
-
var padding =
|
|
8253
|
-
return
|
|
8326
|
+
var padding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(backgroundPadding, props);
|
|
8327
|
+
return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.getPadding({
|
|
8254
8328
|
padding: padding
|
|
8255
8329
|
});
|
|
8256
8330
|
});
|
|
8257
8331
|
} else {
|
|
8258
|
-
var padding =
|
|
8259
|
-
return
|
|
8332
|
+
var padding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.backgroundPadding, props);
|
|
8333
|
+
return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.getPadding({
|
|
8260
8334
|
padding: padding
|
|
8261
8335
|
});
|
|
8262
8336
|
}
|
|
8263
8337
|
};
|
|
8264
8338
|
|
|
8265
8339
|
var getLineHeight = function (props) {
|
|
8266
|
-
var lineHeight =
|
|
8340
|
+
var lineHeight = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.lineHeight, props);
|
|
8267
8341
|
|
|
8268
8342
|
if (Array.isArray(lineHeight)) {
|
|
8269
8343
|
return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(lineHeight) ? [1] : lineHeight;
|
|
@@ -8279,11 +8353,11 @@ var getContent = function (text, props) {
|
|
|
8279
8353
|
|
|
8280
8354
|
if (Array.isArray(text)) {
|
|
8281
8355
|
return text.map(function (line) {
|
|
8282
|
-
return
|
|
8356
|
+
return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(line, props);
|
|
8283
8357
|
});
|
|
8284
8358
|
}
|
|
8285
8359
|
|
|
8286
|
-
var child =
|
|
8360
|
+
var child = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(text, props);
|
|
8287
8361
|
|
|
8288
8362
|
if (child === undefined || child === null) {
|
|
8289
8363
|
return undefined;
|
|
@@ -8293,10 +8367,10 @@ var getContent = function (text, props) {
|
|
|
8293
8367
|
};
|
|
8294
8368
|
|
|
8295
8369
|
var getDy = function (props, verticalAnchor, lineHeight) {
|
|
8296
|
-
var dy = props.dy ?
|
|
8370
|
+
var dy = props.dy ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.dy, props) : 0;
|
|
8297
8371
|
var length = props.inline ? 1 : props.text.length;
|
|
8298
|
-
var capHeight =
|
|
8299
|
-
var anchor = verticalAnchor ?
|
|
8372
|
+
var capHeight = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.capHeight, props);
|
|
8373
|
+
var anchor = verticalAnchor ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(verticalAnchor, props) : "middle";
|
|
8300
8374
|
|
|
8301
8375
|
var fontSizes = _toConsumableArray(Array(length).keys()).map(function (i) {
|
|
8302
8376
|
return getSingleValue(props.style, i).fontSize;
|
|
@@ -8324,15 +8398,15 @@ var getDy = function (props, verticalAnchor, lineHeight) {
|
|
|
8324
8398
|
var getTransform = function (props, x, y) {
|
|
8325
8399
|
var polar = props.polar;
|
|
8326
8400
|
var style = getSingleValue(props.style);
|
|
8327
|
-
var defaultAngle = polar ?
|
|
8328
|
-
var baseAngle = style.angle === undefined ?
|
|
8401
|
+
var defaultAngle = polar ? _victory_util_label_helpers__WEBPACK_IMPORTED_MODULE_6__.getPolarAngle(props) : 0;
|
|
8402
|
+
var baseAngle = style.angle === undefined ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.angle, props) : style.angle;
|
|
8329
8403
|
var angle = baseAngle === undefined ? defaultAngle : baseAngle;
|
|
8330
8404
|
var transform = props.transform || style.transform;
|
|
8331
|
-
var transformPart = transform &&
|
|
8405
|
+
var transformPart = transform && _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(transform, props);
|
|
8332
8406
|
var rotatePart = angle && {
|
|
8333
8407
|
rotate: [angle, x, y]
|
|
8334
8408
|
};
|
|
8335
|
-
return transformPart || angle ?
|
|
8409
|
+
return transformPart || angle ? _victory_util_style__WEBPACK_IMPORTED_MODULE_7__.toTransformString(transformPart, rotatePart) : undefined;
|
|
8336
8410
|
};
|
|
8337
8411
|
|
|
8338
8412
|
var getXCoordinate = function (calculatedProps, labelSizeWidth) {
|
|
@@ -8413,7 +8487,7 @@ var getFullBackground = function (calculatedProps, tspanValues) {
|
|
|
8413
8487
|
x: inline ? xCoordinate - backgroundPadding.left : xCoordinate + dx - backgroundPadding.left,
|
|
8414
8488
|
y: yCoordinate
|
|
8415
8489
|
};
|
|
8416
|
-
return /*#__PURE__*/
|
|
8490
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
|
|
8417
8491
|
};
|
|
8418
8492
|
|
|
8419
8493
|
var getInlineXOffset = function (calculatedProps, textElements, index) {
|
|
@@ -8495,7 +8569,7 @@ var getChildBackgrounds = function (calculatedProps, tspanValues) {
|
|
|
8495
8569
|
x: xCoord - padding.left,
|
|
8496
8570
|
y: yCoord
|
|
8497
8571
|
};
|
|
8498
|
-
return /*#__PURE__*/
|
|
8572
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
|
|
8499
8573
|
});
|
|
8500
8574
|
};
|
|
8501
8575
|
|
|
@@ -8546,7 +8620,7 @@ var evaluateProps = function (props) {
|
|
|
8546
8620
|
style: style,
|
|
8547
8621
|
backgroundStyle: backgroundStyle
|
|
8548
8622
|
}));
|
|
8549
|
-
var id =
|
|
8623
|
+
var id = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.id, props);
|
|
8550
8624
|
return lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, {
|
|
8551
8625
|
backgroundStyle: backgroundStyle,
|
|
8552
8626
|
backgroundPadding: backgroundPadding,
|
|
@@ -8557,13 +8631,13 @@ var evaluateProps = function (props) {
|
|
|
8557
8631
|
};
|
|
8558
8632
|
|
|
8559
8633
|
var getCalculatedProps = function (props) {
|
|
8560
|
-
var ariaLabel =
|
|
8634
|
+
var ariaLabel = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.ariaLabel, props);
|
|
8561
8635
|
var style = getSingleValue(props.style);
|
|
8562
8636
|
var lineHeight = getLineHeight(props);
|
|
8563
|
-
var direction = props.direction ?
|
|
8564
|
-
var textAnchor = props.textAnchor ?
|
|
8565
|
-
var verticalAnchor = props.verticalAnchor ?
|
|
8566
|
-
var dx = props.dx ?
|
|
8637
|
+
var direction = props.direction ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.direction, props) : "inherit";
|
|
8638
|
+
var textAnchor = props.textAnchor ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.textAnchor, props) : style.textAnchor || "start";
|
|
8639
|
+
var verticalAnchor = props.verticalAnchor ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.verticalAnchor, props) : style.verticalAnchor || "middle";
|
|
8640
|
+
var dx = props.dx ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.dx, props) : 0;
|
|
8567
8641
|
var dy = getDy(props, verticalAnchor, lineHeight);
|
|
8568
8642
|
var x = props.x !== undefined ? props.x : getPosition(props, "x");
|
|
8569
8643
|
var y = props.y !== undefined ? props.y : getPosition(props, "y");
|
|
@@ -8602,6 +8676,7 @@ var renderLabel = function (calculatedProps, tspanValues) {
|
|
|
8602
8676
|
tabIndex = calculatedProps.tabIndex,
|
|
8603
8677
|
tspanComponent = calculatedProps.tspanComponent,
|
|
8604
8678
|
textComponent = calculatedProps.textComponent;
|
|
8679
|
+
var userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_8__.getSafeUserProps(calculatedProps);
|
|
8605
8680
|
|
|
8606
8681
|
var textProps = _objectSpread(_objectSpread({
|
|
8607
8682
|
"aria-label": ariaLabel,
|
|
@@ -8614,10 +8689,10 @@ var renderLabel = function (calculatedProps, tspanValues) {
|
|
|
8614
8689
|
transform: transform,
|
|
8615
8690
|
className: className,
|
|
8616
8691
|
title: title,
|
|
8617
|
-
desc:
|
|
8618
|
-
tabIndex:
|
|
8692
|
+
desc: _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(desc, calculatedProps),
|
|
8693
|
+
tabIndex: _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(tabIndex, calculatedProps),
|
|
8619
8694
|
id: id
|
|
8620
|
-
});
|
|
8695
|
+
}, userProps);
|
|
8621
8696
|
|
|
8622
8697
|
var tspans = text.map(function (line, i) {
|
|
8623
8698
|
var currentStyle = tspanValues[i].style;
|
|
@@ -8630,9 +8705,9 @@ var renderLabel = function (calculatedProps, tspanValues) {
|
|
|
8630
8705
|
style: currentStyle,
|
|
8631
8706
|
children: line
|
|
8632
8707
|
};
|
|
8633
|
-
return /*#__PURE__*/
|
|
8708
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(tspanComponent, tspanProps);
|
|
8634
8709
|
});
|
|
8635
|
-
return /*#__PURE__*/
|
|
8710
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(textComponent, textProps, tspans);
|
|
8636
8711
|
};
|
|
8637
8712
|
|
|
8638
8713
|
var VictoryLabel = function (props) {
|
|
@@ -8667,66 +8742,66 @@ var VictoryLabel = function (props) {
|
|
|
8667
8742
|
if (props.backgroundStyle) {
|
|
8668
8743
|
var backgroundElement = getBackgroundElement(calculatedProps, tspanValues);
|
|
8669
8744
|
var children = [backgroundElement, label];
|
|
8670
|
-
var backgroundWithLabel = /*#__PURE__*/
|
|
8671
|
-
return props.renderInPortal ? /*#__PURE__*/
|
|
8745
|
+
var backgroundWithLabel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(props.groupComponent, {}, children);
|
|
8746
|
+
return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_10__["default"], null, backgroundWithLabel) : backgroundWithLabel;
|
|
8672
8747
|
}
|
|
8673
8748
|
|
|
8674
|
-
return props.renderInPortal ? /*#__PURE__*/
|
|
8749
|
+
return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_10__["default"], null, label) : label;
|
|
8675
8750
|
};
|
|
8676
8751
|
|
|
8677
8752
|
VictoryLabel.displayName = "VictoryLabel";
|
|
8678
8753
|
VictoryLabel.role = "label";
|
|
8679
8754
|
VictoryLabel.defaultStyles = defaultStyles;
|
|
8680
8755
|
VictoryLabel.propTypes = {
|
|
8681
|
-
active: (
|
|
8682
|
-
angle:
|
|
8683
|
-
ariaLabel:
|
|
8684
|
-
backgroundComponent: (
|
|
8685
|
-
backgroundPadding:
|
|
8686
|
-
backgroundStyle:
|
|
8687
|
-
capHeight:
|
|
8688
|
-
className: (
|
|
8689
|
-
data: (
|
|
8690
|
-
datum: (
|
|
8691
|
-
desc:
|
|
8692
|
-
direction:
|
|
8693
|
-
dx:
|
|
8694
|
-
dy:
|
|
8695
|
-
events: (
|
|
8696
|
-
groupComponent: (
|
|
8697
|
-
id:
|
|
8698
|
-
index:
|
|
8699
|
-
inline: (
|
|
8700
|
-
labelPlacement:
|
|
8701
|
-
lineHeight:
|
|
8702
|
-
origin:
|
|
8703
|
-
x:
|
|
8704
|
-
y:
|
|
8756
|
+
active: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().bool),
|
|
8757
|
+
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)]),
|
|
8758
|
+
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)]),
|
|
8759
|
+
backgroundComponent: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().element),
|
|
8760
|
+
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)]),
|
|
8761
|
+
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)]),
|
|
8762
|
+
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)]),
|
|
8763
|
+
className: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().string),
|
|
8764
|
+
data: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().array),
|
|
8765
|
+
datum: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().any),
|
|
8766
|
+
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)]),
|
|
8767
|
+
direction: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOf(["rtl", "ltr", "inherit"]),
|
|
8768
|
+
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)]),
|
|
8769
|
+
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)]),
|
|
8770
|
+
events: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().object),
|
|
8771
|
+
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().element),
|
|
8772
|
+
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)]),
|
|
8773
|
+
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)]),
|
|
8774
|
+
inline: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().bool),
|
|
8775
|
+
labelPlacement: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOf(["parallel", "perpendicular", "vertical"]),
|
|
8776
|
+
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)]),
|
|
8777
|
+
origin: prop_types__WEBPACK_IMPORTED_MODULE_11___default().shape({
|
|
8778
|
+
x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_12__.nonNegative,
|
|
8779
|
+
y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_12__.nonNegative
|
|
8705
8780
|
}),
|
|
8706
|
-
polar: (
|
|
8707
|
-
renderInPortal: (
|
|
8708
|
-
scale:
|
|
8709
|
-
x:
|
|
8710
|
-
y:
|
|
8781
|
+
polar: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().bool),
|
|
8782
|
+
renderInPortal: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().bool),
|
|
8783
|
+
scale: prop_types__WEBPACK_IMPORTED_MODULE_11___default().shape({
|
|
8784
|
+
x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_12__.scale,
|
|
8785
|
+
y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_12__.scale
|
|
8711
8786
|
}),
|
|
8712
|
-
style:
|
|
8713
|
-
tabIndex:
|
|
8714
|
-
text:
|
|
8715
|
-
textAnchor:
|
|
8716
|
-
textComponent: (
|
|
8717
|
-
title: (
|
|
8718
|
-
transform:
|
|
8719
|
-
tspanComponent: (
|
|
8720
|
-
verticalAnchor:
|
|
8721
|
-
x:
|
|
8722
|
-
y:
|
|
8787
|
+
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)]),
|
|
8788
|
+
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)]),
|
|
8789
|
+
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)]),
|
|
8790
|
+
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)]),
|
|
8791
|
+
textComponent: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().element),
|
|
8792
|
+
title: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().string),
|
|
8793
|
+
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)]),
|
|
8794
|
+
tspanComponent: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().element),
|
|
8795
|
+
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)]),
|
|
8796
|
+
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)]),
|
|
8797
|
+
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)])
|
|
8723
8798
|
};
|
|
8724
8799
|
VictoryLabel.defaultProps = {
|
|
8725
|
-
backgroundComponent: /*#__PURE__*/
|
|
8726
|
-
groupComponent: /*#__PURE__*/
|
|
8800
|
+
backgroundComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_rect__WEBPACK_IMPORTED_MODULE_13__["default"], null),
|
|
8801
|
+
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("g", null),
|
|
8727
8802
|
direction: "inherit",
|
|
8728
|
-
textComponent: /*#__PURE__*/
|
|
8729
|
-
tspanComponent: /*#__PURE__*/
|
|
8803
|
+
textComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_text__WEBPACK_IMPORTED_MODULE_14__["default"], null),
|
|
8804
|
+
tspanComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_15__["default"], null),
|
|
8730
8805
|
capHeight: 0.71,
|
|
8731
8806
|
// Magic number from d3.
|
|
8732
8807
|
lineHeight: 1
|
|
@@ -8894,10 +8969,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8894
8969
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
|
|
8895
8970
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
8896
8971
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
8897
|
-
/* harmony import */ var
|
|
8898
|
-
/* harmony import */ var
|
|
8899
|
-
/* harmony import */ var
|
|
8900
|
-
/* harmony import */ var
|
|
8972
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
8973
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
8974
|
+
/* harmony import */ var _victory_util_log__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../victory-util/log */ "../../victory-core/es/victory-util/log.js");
|
|
8975
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
8901
8976
|
/* harmony import */ var _portal_context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./portal-context */ "../../victory-core/es/victory-portal/portal-context.js");
|
|
8902
8977
|
|
|
8903
8978
|
|
|
@@ -8946,7 +9021,7 @@ var VictoryPortal = /*#__PURE__*/function (_React$Component) {
|
|
|
8946
9021
|
if (!this.checkedContext) {
|
|
8947
9022
|
if (typeof this.context.portalUpdate !== "function") {
|
|
8948
9023
|
var msg = "`renderInPortal` is not supported outside of `VictoryContainer`. " + "Component will be rendered in place";
|
|
8949
|
-
|
|
9024
|
+
_victory_util_log__WEBPACK_IMPORTED_MODULE_2__.warn(msg);
|
|
8950
9025
|
this.renderInPlace = true;
|
|
8951
9026
|
}
|
|
8952
9027
|
|
|
@@ -8992,7 +9067,7 @@ var VictoryPortal = /*#__PURE__*/function (_React$Component) {
|
|
|
8992
9067
|
standalone: false
|
|
8993
9068
|
} : {};
|
|
8994
9069
|
|
|
8995
|
-
var newProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()(standardProps, childProps,
|
|
9070
|
+
var newProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()(standardProps, childProps, _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.omit(this.props, ["children", "groupComponent"]));
|
|
8996
9071
|
|
|
8997
9072
|
var child = children && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(children, newProps);
|
|
8998
9073
|
return this.renderPortal(child);
|
|
@@ -9007,8 +9082,8 @@ _defineProperty(VictoryPortal, "displayName", "VictoryPortal");
|
|
|
9007
9082
|
_defineProperty(VictoryPortal, "role", "portal");
|
|
9008
9083
|
|
|
9009
9084
|
_defineProperty(VictoryPortal, "propTypes", {
|
|
9010
|
-
children: (
|
|
9011
|
-
groupComponent: (
|
|
9085
|
+
children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),
|
|
9086
|
+
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().element)
|
|
9012
9087
|
});
|
|
9013
9088
|
|
|
9014
9089
|
_defineProperty(VictoryPortal, "defaultProps", {
|
|
@@ -9849,15 +9924,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9849
9924
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_3__);
|
|
9850
9925
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "react");
|
|
9851
9926
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
|
|
9852
|
-
/* harmony import */ var
|
|
9853
|
-
/* harmony import */ var
|
|
9854
|
-
/* harmony import */ var
|
|
9855
|
-
/* harmony import */ var
|
|
9856
|
-
/* harmony import */ var
|
|
9927
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
9928
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_10__);
|
|
9929
|
+
/* 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");
|
|
9930
|
+
/* harmony import */ var _victory_util_collection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/collection */ "../../victory-core/es/victory-util/collection.js");
|
|
9931
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
9857
9932
|
/* 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");
|
|
9858
|
-
/* harmony import */ var
|
|
9859
|
-
/* harmony import */ var
|
|
9860
|
-
/* harmony import */ var
|
|
9933
|
+
/* harmony import */ var _victory_util_transitions__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../victory-util/transitions */ "../../victory-core/es/victory-util/transitions.js");
|
|
9934
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/react-fast-compare/index.js");
|
|
9935
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_5__);
|
|
9861
9936
|
|
|
9862
9937
|
|
|
9863
9938
|
|
|
@@ -9931,7 +10006,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9931
10006
|
value: function shouldComponentUpdate(nextProps) {
|
|
9932
10007
|
var _this2 = this;
|
|
9933
10008
|
|
|
9934
|
-
if (!
|
|
10009
|
+
if (!react_fast_compare__WEBPACK_IMPORTED_MODULE_5___default()(this.props, nextProps)) {
|
|
9935
10010
|
this.timer.bypassAnimation();
|
|
9936
10011
|
this.setState(this.getTransitionState(this.props, nextProps), function () {
|
|
9937
10012
|
return _this2.timer.resumeAnimation();
|
|
@@ -9963,7 +10038,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9963
10038
|
var oldChildren = react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(props.children);
|
|
9964
10039
|
var nextChildren = react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(nextProps.children);
|
|
9965
10040
|
|
|
9966
|
-
var _Transitions$getIniti =
|
|
10041
|
+
var _Transitions$getIniti = _victory_util_transitions__WEBPACK_IMPORTED_MODULE_6__.getInitialTransitionState(oldChildren, nextChildren),
|
|
9967
10042
|
nodesWillExit = _Transitions$getIniti.nodesWillExit,
|
|
9968
10043
|
nodesWillEnter = _Transitions$getIniti.nodesWillEnter,
|
|
9969
10044
|
childrenTransitions = _Transitions$getIniti.childrenTransitions,
|
|
@@ -10003,7 +10078,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
10003
10078
|
return domain;
|
|
10004
10079
|
} else {
|
|
10005
10080
|
var childDomains = getChildDomains([child]);
|
|
10006
|
-
return childDomains.length === 0 ? [0, 1] : [
|
|
10081
|
+
return childDomains.length === 0 ? [0, 1] : [_victory_util_collection__WEBPACK_IMPORTED_MODULE_7__.getMinValue(childDomains), _victory_util_collection__WEBPACK_IMPORTED_MODULE_7__.getMaxValue(childDomains)];
|
|
10007
10082
|
}
|
|
10008
10083
|
}
|
|
10009
10084
|
}, {
|
|
@@ -10030,7 +10105,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
10030
10105
|
key: "getClipWidth",
|
|
10031
10106
|
value: function getClipWidth(props, child) {
|
|
10032
10107
|
var getDefaultClipWidth = function () {
|
|
10033
|
-
var range =
|
|
10108
|
+
var range = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.getRange(child.props, "x");
|
|
10034
10109
|
return range ? Math.abs(range[1] - range[0]) : props.width;
|
|
10035
10110
|
};
|
|
10036
10111
|
|
|
@@ -10043,7 +10118,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
10043
10118
|
var _this3 = this;
|
|
10044
10119
|
|
|
10045
10120
|
var props = this.pickProps();
|
|
10046
|
-
var getTransitionProps = lodash_isObject__WEBPACK_IMPORTED_MODULE_0___default()(this.props.animate) && this.props.animate.getTransitions ? this.props.animate.getTransitions :
|
|
10121
|
+
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) {
|
|
10047
10122
|
return _this3.setState(newState);
|
|
10048
10123
|
});
|
|
10049
10124
|
var child = react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(props.children)[0];
|
|
@@ -10063,7 +10138,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
10063
10138
|
var animationWhitelist = props.animationWhitelist || [];
|
|
10064
10139
|
var whitelist = animationWhitelist.concat(["clipWidth"]);
|
|
10065
10140
|
var propsToAnimate = whitelist.length ? lodash_pick__WEBPACK_IMPORTED_MODULE_1___default()(combinedProps, whitelist) : combinedProps;
|
|
10066
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(
|
|
10141
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_9__["default"], _extends({}, combinedProps.animate, {
|
|
10067
10142
|
data: propsToAnimate
|
|
10068
10143
|
}), function (newProps) {
|
|
10069
10144
|
if (child.props.groupComponent) {
|
|
@@ -10091,9 +10166,9 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
10091
10166
|
_defineProperty(VictoryTransition, "displayName", "VictoryTransition");
|
|
10092
10167
|
|
|
10093
10168
|
_defineProperty(VictoryTransition, "propTypes", {
|
|
10094
|
-
animate:
|
|
10095
|
-
animationWhitelist: (
|
|
10096
|
-
children: (
|
|
10169
|
+
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)]),
|
|
10170
|
+
animationWhitelist: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().array),
|
|
10171
|
+
children: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().node)
|
|
10097
10172
|
});
|
|
10098
10173
|
|
|
10099
10174
|
_defineProperty(VictoryTransition, "contextType", _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_11__["default"]);
|
|
@@ -10137,7 +10212,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10137
10212
|
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/react-fast-compare/index.js");
|
|
10138
10213
|
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_10__);
|
|
10139
10214
|
/* 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");
|
|
10140
|
-
/* 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");
|
|
10141
10215
|
|
|
10142
10216
|
|
|
10143
10217
|
|
|
@@ -10186,7 +10260,6 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
10186
10260
|
|
|
10187
10261
|
|
|
10188
10262
|
|
|
10189
|
-
|
|
10190
10263
|
var datumHasXandY = function (datum) {
|
|
10191
10264
|
return !lodash_isNil__WEBPACK_IMPORTED_MODULE_1___default()(datum._x) && !lodash_isNil__WEBPACK_IMPORTED_MODULE_1___default()(datum._y);
|
|
10192
10265
|
}; // used for checking state changes. Expected components can be passed in via options
|
|
@@ -10532,7 +10605,6 @@ var defaultComponents = [{
|
|
|
10532
10605
|
var dataComponent = props.dataComponent,
|
|
10533
10606
|
labelComponent = props.labelComponent,
|
|
10534
10607
|
groupComponent = props.groupComponent;
|
|
10535
|
-
var userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_13__.getSafeUserProps(props);
|
|
10536
10608
|
var dataComponents = this.dataKeys.reduce(function (validDataComponents, _dataKey, index) {
|
|
10537
10609
|
var dataProps = _this9.getComponentProps(dataComponent, "data", index);
|
|
10538
10610
|
|
|
@@ -10552,8 +10624,7 @@ var defaultComponents = [{
|
|
|
10552
10624
|
return undefined;
|
|
10553
10625
|
}).filter(Boolean);
|
|
10554
10626
|
var children = [].concat(_toConsumableArray(dataComponents), _toConsumableArray(labelComponents));
|
|
10555
|
-
|
|
10556
|
-
return this.renderContainer(group, children);
|
|
10627
|
+
return this.renderContainer(groupComponent, children);
|
|
10557
10628
|
}
|
|
10558
10629
|
}]);
|
|
10559
10630
|
|
|
@@ -10572,14 +10643,14 @@ var defaultComponents = [{
|
|
|
10572
10643
|
"use strict";
|
|
10573
10644
|
__webpack_require__.r(__webpack_exports__);
|
|
10574
10645
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10575
|
-
/* harmony export */ "containsStrings": () => (/* binding */ containsStrings),
|
|
10576
10646
|
/* harmony export */ "containsDates": () => (/* binding */ containsDates),
|
|
10577
10647
|
/* harmony export */ "containsNumbers": () => (/* binding */ containsNumbers),
|
|
10578
10648
|
/* harmony export */ "containsOnlyStrings": () => (/* binding */ containsOnlyStrings),
|
|
10579
|
-
/* harmony export */ "
|
|
10580
|
-
/* harmony export */ "removeUndefined": () => (/* binding */ removeUndefined),
|
|
10649
|
+
/* harmony export */ "containsStrings": () => (/* binding */ containsStrings),
|
|
10581
10650
|
/* harmony export */ "getMaxValue": () => (/* binding */ getMaxValue),
|
|
10582
|
-
/* harmony export */ "getMinValue": () => (/* binding */ getMinValue)
|
|
10651
|
+
/* harmony export */ "getMinValue": () => (/* binding */ getMinValue),
|
|
10652
|
+
/* harmony export */ "isArrayOfArrays": () => (/* binding */ isArrayOfArrays),
|
|
10653
|
+
/* harmony export */ "removeUndefined": () => (/* binding */ removeUndefined)
|
|
10583
10654
|
/* harmony export */ });
|
|
10584
10655
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
10585
10656
|
|
|
@@ -10656,8 +10727,8 @@ function getMinValue(arr) {
|
|
|
10656
10727
|
"use strict";
|
|
10657
10728
|
__webpack_require__.r(__webpack_exports__);
|
|
10658
10729
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10659
|
-
/* harmony export */ "dataProps": () => (/* binding */ dataProps),
|
|
10660
10730
|
/* harmony export */ "baseProps": () => (/* binding */ baseProps),
|
|
10731
|
+
/* harmony export */ "dataProps": () => (/* binding */ dataProps),
|
|
10661
10732
|
/* harmony export */ "primitiveProps": () => (/* binding */ primitiveProps)
|
|
10662
10733
|
/* harmony export */ });
|
|
10663
10734
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
@@ -10713,10 +10784,10 @@ var baseProps = {
|
|
|
10713
10784
|
eventHandlers: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)
|
|
10714
10785
|
})),
|
|
10715
10786
|
externalEventMutations: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
10716
|
-
callback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()
|
|
10787
|
+
callback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
|
10717
10788
|
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)]),
|
|
10718
10789
|
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)]),
|
|
10719
|
-
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()
|
|
10790
|
+
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
|
10720
10791
|
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)])
|
|
10721
10792
|
})),
|
|
10722
10793
|
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),
|
|
@@ -10791,10 +10862,10 @@ var primitiveProps = {
|
|
|
10791
10862
|
"use strict";
|
|
10792
10863
|
__webpack_require__.r(__webpack_exports__);
|
|
10793
10864
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10794
|
-
/* harmony export */ "formatDataFromDomain": () => (/* binding */ formatDataFromDomain),
|
|
10795
10865
|
/* harmony export */ "createStringMap": () => (/* binding */ createStringMap),
|
|
10796
10866
|
/* harmony export */ "downsample": () => (/* binding */ downsample),
|
|
10797
10867
|
/* harmony export */ "formatData": () => (/* binding */ formatData),
|
|
10868
|
+
/* harmony export */ "formatDataFromDomain": () => (/* binding */ formatDataFromDomain),
|
|
10798
10869
|
/* harmony export */ "generateData": () => (/* binding */ generateData),
|
|
10799
10870
|
/* harmony export */ "getCategories": () => (/* binding */ getCategories),
|
|
10800
10871
|
/* harmony export */ "getData": () => (/* binding */ getData),
|
|
@@ -11306,8 +11377,8 @@ function isDataComponent(component) {
|
|
|
11306
11377
|
"use strict";
|
|
11307
11378
|
__webpack_require__.r(__webpack_exports__);
|
|
11308
11379
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11309
|
-
/* harmony export */ "continuousTransitions": () => (/* binding */ continuousTransitions),
|
|
11310
11380
|
/* harmony export */ "continuousPolarTransitions": () => (/* binding */ continuousPolarTransitions),
|
|
11381
|
+
/* harmony export */ "continuousTransitions": () => (/* binding */ continuousTransitions),
|
|
11311
11382
|
/* harmony export */ "discreteTransitions": () => (/* binding */ discreteTransitions)
|
|
11312
11383
|
/* harmony export */ });
|
|
11313
11384
|
/* eslint-disable func-style */
|
|
@@ -11883,18 +11954,18 @@ function isDomainComponent(component) {
|
|
|
11883
11954
|
"use strict";
|
|
11884
11955
|
__webpack_require__.r(__webpack_exports__);
|
|
11885
11956
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11886
|
-
/* harmony export */ "
|
|
11887
|
-
/* harmony export */ "
|
|
11888
|
-
/* harmony export */ "getPartialEvents": () => (/* binding */ getPartialEvents),
|
|
11957
|
+
/* harmony export */ "emulateReactEvent": () => (/* binding */ emulateReactEvent),
|
|
11958
|
+
/* harmony export */ "getComponentEvents": () => (/* binding */ getComponentEvents),
|
|
11889
11959
|
/* harmony export */ "getEventState": () => (/* binding */ getEventState),
|
|
11890
|
-
/* harmony export */ "
|
|
11891
|
-
/* harmony export */ "getExternalMutations": () => (/* binding */ getExternalMutations),
|
|
11960
|
+
/* harmony export */ "getEvents": () => (/* binding */ getEvents),
|
|
11892
11961
|
/* harmony export */ "getExternalMutation": () => (/* binding */ getExternalMutation),
|
|
11893
|
-
/* harmony export */ "
|
|
11962
|
+
/* harmony export */ "getExternalMutations": () => (/* binding */ getExternalMutations),
|
|
11963
|
+
/* harmony export */ "getExternalMutationsWithChildren": () => (/* binding */ getExternalMutationsWithChildren),
|
|
11894
11964
|
/* harmony export */ "getGlobalEventNameFromKey": () => (/* binding */ getGlobalEventNameFromKey),
|
|
11895
11965
|
/* harmony export */ "getGlobalEvents": () => (/* binding */ getGlobalEvents),
|
|
11896
|
-
/* harmony export */ "
|
|
11897
|
-
/* harmony export */ "
|
|
11966
|
+
/* harmony export */ "getPartialEvents": () => (/* binding */ getPartialEvents),
|
|
11967
|
+
/* harmony export */ "getScopedEvents": () => (/* binding */ getScopedEvents),
|
|
11968
|
+
/* harmony export */ "omitGlobalEvents": () => (/* binding */ omitGlobalEvents)
|
|
11898
11969
|
/* harmony export */ });
|
|
11899
11970
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/keys */ "../../../node_modules/lodash/keys.js");
|
|
11900
11971
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -12384,25 +12455,25 @@ var emulateReactEvent = function (event) {
|
|
|
12384
12455
|
"use strict";
|
|
12385
12456
|
__webpack_require__.r(__webpack_exports__);
|
|
12386
12457
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12387
|
-
/* harmony export */ "
|
|
12388
|
-
/* harmony export */ "
|
|
12389
|
-
/* harmony export */ "scalePoint": () => (/* binding */ scalePoint),
|
|
12390
|
-
/* harmony export */ "getPadding": () => (/* binding */ getPadding),
|
|
12391
|
-
/* harmony export */ "isTooltip": () => (/* binding */ isTooltip),
|
|
12392
|
-
/* harmony export */ "getDefaultStyles": () => (/* binding */ getDefaultStyles),
|
|
12393
|
-
/* harmony export */ "getStyles": () => (/* binding */ getStyles),
|
|
12458
|
+
/* harmony export */ "createAccessor": () => (/* binding */ createAccessor),
|
|
12459
|
+
/* harmony export */ "degreesToRadians": () => (/* binding */ degreesToRadians),
|
|
12394
12460
|
/* harmony export */ "evaluateProp": () => (/* binding */ evaluateProp),
|
|
12395
12461
|
/* harmony export */ "evaluateStyle": () => (/* binding */ evaluateStyle),
|
|
12396
|
-
/* harmony export */ "
|
|
12397
|
-
/* harmony export */ "
|
|
12398
|
-
/* harmony export */ "
|
|
12462
|
+
/* harmony export */ "getCurrentAxis": () => (/* binding */ getCurrentAxis),
|
|
12463
|
+
/* harmony export */ "getDefaultStyles": () => (/* binding */ getDefaultStyles),
|
|
12464
|
+
/* harmony export */ "getPadding": () => (/* binding */ getPadding),
|
|
12465
|
+
/* harmony export */ "getPoint": () => (/* binding */ getPoint),
|
|
12399
12466
|
/* harmony export */ "getPolarOrigin": () => (/* binding */ getPolarOrigin),
|
|
12467
|
+
/* harmony export */ "getRadius": () => (/* binding */ getRadius),
|
|
12400
12468
|
/* harmony export */ "getRange": () => (/* binding */ getRange),
|
|
12401
|
-
/* harmony export */ "
|
|
12469
|
+
/* harmony export */ "getStyles": () => (/* binding */ getStyles),
|
|
12470
|
+
/* harmony export */ "isHorizontal": () => (/* binding */ isHorizontal),
|
|
12471
|
+
/* harmony export */ "isTooltip": () => (/* binding */ isTooltip),
|
|
12402
12472
|
/* harmony export */ "modifyProps": () => (/* binding */ modifyProps),
|
|
12403
|
-
/* harmony export */ "
|
|
12473
|
+
/* harmony export */ "omit": () => (/* binding */ omit),
|
|
12474
|
+
/* harmony export */ "radiansToDegrees": () => (/* binding */ radiansToDegrees),
|
|
12404
12475
|
/* harmony export */ "reduceChildren": () => (/* binding */ reduceChildren),
|
|
12405
|
-
/* harmony export */ "
|
|
12476
|
+
/* harmony export */ "scalePoint": () => (/* binding */ scalePoint)
|
|
12406
12477
|
/* harmony export */ });
|
|
12407
12478
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/keys */ "../../../node_modules/lodash/keys.js");
|
|
12408
12479
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -12780,14 +12851,14 @@ function isHorizontal(props) {
|
|
|
12780
12851
|
__webpack_require__.r(__webpack_exports__);
|
|
12781
12852
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12782
12853
|
/* harmony export */ "IMMUTABLE_ITERABLE": () => (/* binding */ IMMUTABLE_ITERABLE),
|
|
12783
|
-
/* harmony export */ "IMMUTABLE_RECORD": () => (/* binding */ IMMUTABLE_RECORD),
|
|
12784
12854
|
/* harmony export */ "IMMUTABLE_LIST": () => (/* binding */ IMMUTABLE_LIST),
|
|
12785
12855
|
/* harmony export */ "IMMUTABLE_MAP": () => (/* binding */ IMMUTABLE_MAP),
|
|
12786
|
-
/* harmony export */ "
|
|
12787
|
-
/* harmony export */ "isRecord": () => (/* binding */ isRecord),
|
|
12856
|
+
/* harmony export */ "IMMUTABLE_RECORD": () => (/* binding */ IMMUTABLE_RECORD),
|
|
12788
12857
|
/* harmony export */ "isImmutable": () => (/* binding */ isImmutable),
|
|
12858
|
+
/* harmony export */ "isIterable": () => (/* binding */ isIterable),
|
|
12789
12859
|
/* harmony export */ "isList": () => (/* binding */ isList),
|
|
12790
12860
|
/* harmony export */ "isMap": () => (/* binding */ isMap),
|
|
12861
|
+
/* harmony export */ "isRecord": () => (/* binding */ isRecord),
|
|
12791
12862
|
/* harmony export */ "shallowToJS": () => (/* binding */ shallowToJS)
|
|
12792
12863
|
/* harmony export */ });
|
|
12793
12864
|
/* eslint-disable func-style */
|
|
@@ -12832,12 +12903,12 @@ function shallowToJS(x, whitelist) {
|
|
|
12832
12903
|
"use strict";
|
|
12833
12904
|
__webpack_require__.r(__webpack_exports__);
|
|
12834
12905
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12835
|
-
/* harmony export */ "
|
|
12906
|
+
/* harmony export */ "getDegrees": () => (/* binding */ getDegrees),
|
|
12907
|
+
/* harmony export */ "getPolarAngle": () => (/* binding */ getPolarAngle),
|
|
12836
12908
|
/* harmony export */ "getPolarTextAnchor": () => (/* binding */ getPolarTextAnchor),
|
|
12837
12909
|
/* harmony export */ "getPolarVerticalAnchor": () => (/* binding */ getPolarVerticalAnchor),
|
|
12838
|
-
/* harmony export */ "
|
|
12839
|
-
/* harmony export */ "
|
|
12840
|
-
/* harmony export */ "getProps": () => (/* binding */ getProps)
|
|
12910
|
+
/* harmony export */ "getProps": () => (/* binding */ getProps),
|
|
12911
|
+
/* harmony export */ "getText": () => (/* binding */ getText)
|
|
12841
12912
|
/* harmony export */ });
|
|
12842
12913
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/lodash/defaults.js");
|
|
12843
12914
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -13117,16 +13188,16 @@ function warn(message) {
|
|
|
13117
13188
|
"use strict";
|
|
13118
13189
|
__webpack_require__.r(__webpack_exports__);
|
|
13119
13190
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13120
|
-
/* harmony export */ "deprecated": () => (/* binding */ deprecated),
|
|
13121
13191
|
/* harmony export */ "allOfType": () => (/* binding */ allOfType),
|
|
13122
|
-
/* harmony export */ "
|
|
13123
|
-
/* harmony export */ "integer": () => (/* binding */ integer),
|
|
13124
|
-
/* harmony export */ "greaterThanZero": () => (/* binding */ greaterThanZero),
|
|
13192
|
+
/* harmony export */ "deprecated": () => (/* binding */ deprecated),
|
|
13125
13193
|
/* harmony export */ "domain": () => (/* binding */ domain),
|
|
13126
|
-
/* harmony export */ "
|
|
13194
|
+
/* harmony export */ "greaterThanZero": () => (/* binding */ greaterThanZero),
|
|
13127
13195
|
/* harmony export */ "homogeneousArray": () => (/* binding */ homogeneousArray),
|
|
13196
|
+
/* harmony export */ "integer": () => (/* binding */ integer),
|
|
13128
13197
|
/* harmony export */ "matchDataLength": () => (/* binding */ matchDataLength),
|
|
13129
|
-
/* harmony export */ "
|
|
13198
|
+
/* harmony export */ "nonNegative": () => (/* binding */ nonNegative),
|
|
13199
|
+
/* harmony export */ "regExp": () => (/* binding */ regExp),
|
|
13200
|
+
/* harmony export */ "scale": () => (/* binding */ scale)
|
|
13130
13201
|
/* harmony export */ });
|
|
13131
13202
|
/* harmony import */ var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isRegExp */ "../../../node_modules/lodash/isRegExp.js");
|
|
13132
13203
|
/* harmony import */ var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -13134,9 +13205,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13134
13205
|
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_find__WEBPACK_IMPORTED_MODULE_1__);
|
|
13135
13206
|
/* harmony import */ var lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isFunction */ "../../../node_modules/lodash/isFunction.js");
|
|
13136
13207
|
/* harmony import */ var lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__);
|
|
13137
|
-
/* harmony import */ var
|
|
13138
|
-
/* harmony import */ var
|
|
13139
|
-
/* harmony import */ var
|
|
13208
|
+
/* harmony import */ var _log__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./log */ "../../victory-core/es/victory-util/log.js");
|
|
13209
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
13210
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
13140
13211
|
|
|
13141
13212
|
|
|
13142
13213
|
|
|
@@ -13235,10 +13306,10 @@ function deprecated(propType, explanation) {
|
|
|
13235
13306
|
var value = props[propName];
|
|
13236
13307
|
|
|
13237
13308
|
if (value !== null && value !== undefined) {
|
|
13238
|
-
|
|
13309
|
+
_log__WEBPACK_IMPORTED_MODULE_3__.warn("\"".concat(propName, "\" property of \"").concat(componentName, "\" has been deprecated ").concat(explanation));
|
|
13239
13310
|
}
|
|
13240
13311
|
|
|
13241
|
-
return
|
|
13312
|
+
return prop_types__WEBPACK_IMPORTED_MODULE_4___default().checkPropTypes(_defineProperty({}, propName, propType), props, propName, componentName);
|
|
13242
13313
|
};
|
|
13243
13314
|
}
|
|
13244
13315
|
/**
|
|
@@ -13400,9 +13471,9 @@ var regExp = makeChainable(function (props, propName, componentName) {
|
|
|
13400
13471
|
"use strict";
|
|
13401
13472
|
__webpack_require__.r(__webpack_exports__);
|
|
13402
13473
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13403
|
-
/* harmony export */ "getScaleFromName": () => (/* binding */ getScaleFromName),
|
|
13404
13474
|
/* harmony export */ "getBaseScale": () => (/* binding */ getBaseScale),
|
|
13405
13475
|
/* harmony export */ "getDefaultScale": () => (/* binding */ getDefaultScale),
|
|
13476
|
+
/* harmony export */ "getScaleFromName": () => (/* binding */ getScaleFromName),
|
|
13406
13477
|
/* harmony export */ "getScaleFromProps": () => (/* binding */ getScaleFromProps),
|
|
13407
13478
|
/* harmony export */ "getScaleType": () => (/* binding */ getScaleType),
|
|
13408
13479
|
/* harmony export */ "getType": () => (/* binding */ getType)
|
|
@@ -13564,8 +13635,8 @@ function getType(scale) {
|
|
|
13564
13635
|
"use strict";
|
|
13565
13636
|
__webpack_require__.r(__webpack_exports__);
|
|
13566
13637
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13567
|
-
/* harmony export */ "
|
|
13568
|
-
/* harmony export */ "
|
|
13638
|
+
/* harmony export */ "getColorScale": () => (/* binding */ getColorScale),
|
|
13639
|
+
/* harmony export */ "toTransformString": () => (/* binding */ toTransformString)
|
|
13569
13640
|
/* harmony export */ });
|
|
13570
13641
|
/* eslint-disable func-style */
|
|
13571
13642
|
|
|
@@ -13637,9 +13708,9 @@ function getColorScale(name) {
|
|
|
13637
13708
|
"use strict";
|
|
13638
13709
|
__webpack_require__.r(__webpack_exports__);
|
|
13639
13710
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13640
|
-
/* harmony export */ "convertLengthToPixels": () => (/* binding */ convertLengthToPixels),
|
|
13641
13711
|
/* harmony export */ "_approximateTextSizeInternal": () => (/* binding */ _approximateTextSizeInternal),
|
|
13642
|
-
/* harmony export */ "approximateTextSize": () => (/* binding */ approximateTextSize)
|
|
13712
|
+
/* harmony export */ "approximateTextSize": () => (/* binding */ approximateTextSize),
|
|
13713
|
+
/* harmony export */ "convertLengthToPixels": () => (/* binding */ convertLengthToPixels)
|
|
13643
13714
|
/* harmony export */ });
|
|
13644
13715
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/lodash/defaults.js");
|
|
13645
13716
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -14503,8 +14574,11 @@ function getTransitionPropsFactory(props, state, setState) {
|
|
|
14503
14574
|
"use strict";
|
|
14504
14575
|
__webpack_require__.r(__webpack_exports__);
|
|
14505
14576
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14506
|
-
/* harmony export */ "getSafeUserProps": () => (/* binding */ getSafeUserProps)
|
|
14577
|
+
/* harmony export */ "getSafeUserProps": () => (/* binding */ getSafeUserProps),
|
|
14578
|
+
/* harmony export */ "withSafeUserProps": () => (/* binding */ withSafeUserProps)
|
|
14507
14579
|
/* harmony export */ });
|
|
14580
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
14581
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
14508
14582
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
14509
14583
|
|
|
14510
14584
|
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."); }
|
|
@@ -14523,12 +14597,14 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
14523
14597
|
|
|
14524
14598
|
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; }
|
|
14525
14599
|
|
|
14600
|
+
|
|
14526
14601
|
/*
|
|
14527
14602
|
USER_PROPS_SAFELIST is to contain any string deemed safe for user props.
|
|
14528
14603
|
The startsWidth array will contain the start of any accepted user-prop that
|
|
14529
14604
|
starts with these characters.
|
|
14530
14605
|
The exactMatch will contain a list of exact prop names that are accepted.
|
|
14531
14606
|
*/
|
|
14607
|
+
|
|
14532
14608
|
var USER_PROPS_SAFELIST = {
|
|
14533
14609
|
startsWith: ["data-", "aria-"],
|
|
14534
14610
|
exactMatch: []
|
|
@@ -14615,6 +14691,17 @@ var getSafeUserProps = function (props) {
|
|
|
14615
14691
|
return [key, getValue(value, props)];
|
|
14616
14692
|
}));
|
|
14617
14693
|
};
|
|
14694
|
+
/**
|
|
14695
|
+
* Wraps a component and adds safe user props
|
|
14696
|
+
*
|
|
14697
|
+
* @param {ReactNode} component: parent component
|
|
14698
|
+
* @param {Object} props: props to be filtered
|
|
14699
|
+
* @returns {ReactNode} modified component
|
|
14700
|
+
*/
|
|
14701
|
+
|
|
14702
|
+
var withSafeUserProps = function (component, props) {
|
|
14703
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(component, getSafeUserProps(props));
|
|
14704
|
+
};
|
|
14618
14705
|
|
|
14619
14706
|
/***/ }),
|
|
14620
14707
|
|
|
@@ -14846,9 +14933,9 @@ function ascending(a, b) {
|
|
|
14846
14933
|
"use strict";
|
|
14847
14934
|
__webpack_require__.r(__webpack_exports__);
|
|
14848
14935
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14849
|
-
/* harmony export */ "bisectRight": () => (/* binding */ bisectRight),
|
|
14850
|
-
/* harmony export */ "bisectLeft": () => (/* binding */ bisectLeft),
|
|
14851
14936
|
/* harmony export */ "bisectCenter": () => (/* binding */ bisectCenter),
|
|
14937
|
+
/* harmony export */ "bisectLeft": () => (/* binding */ bisectLeft),
|
|
14938
|
+
/* harmony export */ "bisectRight": () => (/* binding */ bisectRight),
|
|
14852
14939
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
14853
14940
|
/* harmony export */ });
|
|
14854
14941
|
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ascending.js */ "../../victory-vendor/node_modules/d3-array/src/ascending.js");
|
|
@@ -15234,9 +15321,9 @@ function range(start, stop, step) {
|
|
|
15234
15321
|
"use strict";
|
|
15235
15322
|
__webpack_require__.r(__webpack_exports__);
|
|
15236
15323
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15237
|
-
/* harmony export */ "
|
|
15324
|
+
/* harmony export */ "ascendingDefined": () => (/* binding */ ascendingDefined),
|
|
15238
15325
|
/* harmony export */ "compareDefined": () => (/* binding */ compareDefined),
|
|
15239
|
-
/* harmony export */ "
|
|
15326
|
+
/* harmony export */ "default": () => (/* binding */ sort)
|
|
15240
15327
|
/* harmony export */ });
|
|
15241
15328
|
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ascending.js */ "../../victory-vendor/node_modules/d3-array/src/ascending.js");
|
|
15242
15329
|
/* harmony import */ var _permute_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./permute.js */ "../../victory-vendor/node_modules/d3-array/src/permute.js");
|
|
@@ -15364,14 +15451,14 @@ function tickStep(start, stop, count) {
|
|
|
15364
15451
|
__webpack_require__.r(__webpack_exports__);
|
|
15365
15452
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15366
15453
|
/* harmony export */ "Color": () => (/* binding */ Color),
|
|
15367
|
-
/* harmony export */ "
|
|
15454
|
+
/* harmony export */ "Rgb": () => (/* binding */ Rgb),
|
|
15368
15455
|
/* harmony export */ "brighter": () => (/* binding */ brighter),
|
|
15456
|
+
/* harmony export */ "darker": () => (/* binding */ darker),
|
|
15369
15457
|
/* harmony export */ "default": () => (/* binding */ color),
|
|
15370
|
-
/* harmony export */ "
|
|
15371
|
-
/* harmony export */ "rgb": () => (/* binding */ rgb),
|
|
15372
|
-
/* harmony export */ "Rgb": () => (/* binding */ Rgb),
|
|
15458
|
+
/* harmony export */ "hsl": () => (/* binding */ hsl),
|
|
15373
15459
|
/* harmony export */ "hslConvert": () => (/* binding */ hslConvert),
|
|
15374
|
-
/* harmony export */ "
|
|
15460
|
+
/* harmony export */ "rgb": () => (/* binding */ rgb),
|
|
15461
|
+
/* harmony export */ "rgbConvert": () => (/* binding */ rgbConvert)
|
|
15375
15462
|
/* harmony export */ });
|
|
15376
15463
|
/* harmony import */ var _define_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./define.js */ "../../victory-vendor/node_modules/d3-color/src/define.js");
|
|
15377
15464
|
|
|
@@ -15810,8 +15897,8 @@ function extend(parent, definition) {
|
|
|
15810
15897
|
__webpack_require__.r(__webpack_exports__);
|
|
15811
15898
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15812
15899
|
/* harmony export */ "backIn": () => (/* binding */ backIn),
|
|
15813
|
-
/* harmony export */ "
|
|
15814
|
-
/* harmony export */ "
|
|
15900
|
+
/* harmony export */ "backInOut": () => (/* binding */ backInOut),
|
|
15901
|
+
/* harmony export */ "backOut": () => (/* binding */ backOut)
|
|
15815
15902
|
/* harmony export */ });
|
|
15816
15903
|
var overshoot = 1.70158;
|
|
15817
15904
|
|
|
@@ -15864,8 +15951,8 @@ var backInOut = (function custom(s) {
|
|
|
15864
15951
|
__webpack_require__.r(__webpack_exports__);
|
|
15865
15952
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15866
15953
|
/* harmony export */ "bounceIn": () => (/* binding */ bounceIn),
|
|
15867
|
-
/* harmony export */ "
|
|
15868
|
-
/* harmony export */ "
|
|
15954
|
+
/* harmony export */ "bounceInOut": () => (/* binding */ bounceInOut),
|
|
15955
|
+
/* harmony export */ "bounceOut": () => (/* binding */ bounceOut)
|
|
15869
15956
|
/* harmony export */ });
|
|
15870
15957
|
var b1 = 4 / 11,
|
|
15871
15958
|
b2 = 6 / 11,
|
|
@@ -15903,8 +15990,8 @@ function bounceInOut(t) {
|
|
|
15903
15990
|
__webpack_require__.r(__webpack_exports__);
|
|
15904
15991
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15905
15992
|
/* harmony export */ "circleIn": () => (/* binding */ circleIn),
|
|
15906
|
-
/* harmony export */ "
|
|
15907
|
-
/* harmony export */ "
|
|
15993
|
+
/* harmony export */ "circleInOut": () => (/* binding */ circleInOut),
|
|
15994
|
+
/* harmony export */ "circleOut": () => (/* binding */ circleOut)
|
|
15908
15995
|
/* harmony export */ });
|
|
15909
15996
|
function circleIn(t) {
|
|
15910
15997
|
return 1 - Math.sqrt(1 - t * t);
|
|
@@ -15931,8 +16018,8 @@ function circleInOut(t) {
|
|
|
15931
16018
|
__webpack_require__.r(__webpack_exports__);
|
|
15932
16019
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15933
16020
|
/* harmony export */ "cubicIn": () => (/* binding */ cubicIn),
|
|
15934
|
-
/* harmony export */ "
|
|
15935
|
-
/* harmony export */ "
|
|
16021
|
+
/* harmony export */ "cubicInOut": () => (/* binding */ cubicInOut),
|
|
16022
|
+
/* harmony export */ "cubicOut": () => (/* binding */ cubicOut)
|
|
15936
16023
|
/* harmony export */ });
|
|
15937
16024
|
function cubicIn(t) {
|
|
15938
16025
|
return t * t * t;
|
|
@@ -15959,8 +16046,8 @@ function cubicInOut(t) {
|
|
|
15959
16046
|
__webpack_require__.r(__webpack_exports__);
|
|
15960
16047
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15961
16048
|
/* harmony export */ "elasticIn": () => (/* binding */ elasticIn),
|
|
15962
|
-
/* harmony export */ "
|
|
15963
|
-
/* harmony export */ "
|
|
16049
|
+
/* harmony export */ "elasticInOut": () => (/* binding */ elasticInOut),
|
|
16050
|
+
/* harmony export */ "elasticOut": () => (/* binding */ elasticOut)
|
|
15964
16051
|
/* harmony export */ });
|
|
15965
16052
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "../../victory-vendor/node_modules/d3-ease/src/math.js");
|
|
15966
16053
|
|
|
@@ -16023,8 +16110,8 @@ var elasticInOut = (function custom(a, p) {
|
|
|
16023
16110
|
__webpack_require__.r(__webpack_exports__);
|
|
16024
16111
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16025
16112
|
/* harmony export */ "expIn": () => (/* binding */ expIn),
|
|
16026
|
-
/* harmony export */ "
|
|
16027
|
-
/* harmony export */ "
|
|
16113
|
+
/* harmony export */ "expInOut": () => (/* binding */ expInOut),
|
|
16114
|
+
/* harmony export */ "expOut": () => (/* binding */ expOut)
|
|
16028
16115
|
/* harmony export */ });
|
|
16029
16116
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "../../victory-vendor/node_modules/d3-ease/src/math.js");
|
|
16030
16117
|
|
|
@@ -16053,43 +16140,43 @@ function expInOut(t) {
|
|
|
16053
16140
|
"use strict";
|
|
16054
16141
|
__webpack_require__.r(__webpack_exports__);
|
|
16055
16142
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16056
|
-
/* harmony export */ "
|
|
16057
|
-
/* harmony export */ "
|
|
16058
|
-
/* harmony export */ "
|
|
16059
|
-
/* harmony export */ "
|
|
16060
|
-
/* harmony export */ "
|
|
16143
|
+
/* harmony export */ "easeBack": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut),
|
|
16144
|
+
/* harmony export */ "easeBackIn": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backIn),
|
|
16145
|
+
/* harmony export */ "easeBackInOut": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut),
|
|
16146
|
+
/* harmony export */ "easeBackOut": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backOut),
|
|
16147
|
+
/* harmony export */ "easeBounce": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut),
|
|
16148
|
+
/* harmony export */ "easeBounceIn": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceIn),
|
|
16149
|
+
/* harmony export */ "easeBounceInOut": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceInOut),
|
|
16150
|
+
/* harmony export */ "easeBounceOut": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut),
|
|
16151
|
+
/* harmony export */ "easeCircle": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut),
|
|
16152
|
+
/* harmony export */ "easeCircleIn": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleIn),
|
|
16153
|
+
/* harmony export */ "easeCircleInOut": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut),
|
|
16154
|
+
/* harmony export */ "easeCircleOut": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleOut),
|
|
16061
16155
|
/* harmony export */ "easeCubic": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicInOut),
|
|
16062
16156
|
/* harmony export */ "easeCubicIn": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicIn),
|
|
16063
|
-
/* harmony export */ "easeCubicOut": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicOut),
|
|
16064
16157
|
/* harmony export */ "easeCubicInOut": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicInOut),
|
|
16158
|
+
/* harmony export */ "easeCubicOut": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicOut),
|
|
16159
|
+
/* harmony export */ "easeElastic": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut),
|
|
16160
|
+
/* harmony export */ "easeElasticIn": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticIn),
|
|
16161
|
+
/* harmony export */ "easeElasticInOut": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticInOut),
|
|
16162
|
+
/* harmony export */ "easeElasticOut": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut),
|
|
16163
|
+
/* harmony export */ "easeExp": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expInOut),
|
|
16164
|
+
/* harmony export */ "easeExpIn": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expIn),
|
|
16165
|
+
/* harmony export */ "easeExpInOut": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expInOut),
|
|
16166
|
+
/* harmony export */ "easeExpOut": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expOut),
|
|
16167
|
+
/* harmony export */ "easeLinear": () => (/* reexport safe */ _linear_js__WEBPACK_IMPORTED_MODULE_0__.linear),
|
|
16065
16168
|
/* harmony export */ "easePoly": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyInOut),
|
|
16066
16169
|
/* harmony export */ "easePolyIn": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyIn),
|
|
16067
|
-
/* harmony export */ "easePolyOut": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyOut),
|
|
16068
16170
|
/* harmony export */ "easePolyInOut": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyInOut),
|
|
16171
|
+
/* harmony export */ "easePolyOut": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyOut),
|
|
16172
|
+
/* harmony export */ "easeQuad": () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadInOut),
|
|
16173
|
+
/* harmony export */ "easeQuadIn": () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadIn),
|
|
16174
|
+
/* harmony export */ "easeQuadInOut": () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadInOut),
|
|
16175
|
+
/* harmony export */ "easeQuadOut": () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadOut),
|
|
16069
16176
|
/* harmony export */ "easeSin": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinInOut),
|
|
16070
16177
|
/* harmony export */ "easeSinIn": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinIn),
|
|
16071
|
-
/* harmony export */ "easeSinOut": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinOut),
|
|
16072
16178
|
/* harmony export */ "easeSinInOut": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinInOut),
|
|
16073
|
-
/* harmony export */ "
|
|
16074
|
-
/* harmony export */ "easeExpIn": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expIn),
|
|
16075
|
-
/* harmony export */ "easeExpOut": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expOut),
|
|
16076
|
-
/* harmony export */ "easeExpInOut": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expInOut),
|
|
16077
|
-
/* harmony export */ "easeCircle": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut),
|
|
16078
|
-
/* harmony export */ "easeCircleIn": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleIn),
|
|
16079
|
-
/* harmony export */ "easeCircleOut": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleOut),
|
|
16080
|
-
/* harmony export */ "easeCircleInOut": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut),
|
|
16081
|
-
/* harmony export */ "easeBounce": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut),
|
|
16082
|
-
/* harmony export */ "easeBounceIn": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceIn),
|
|
16083
|
-
/* harmony export */ "easeBounceOut": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut),
|
|
16084
|
-
/* harmony export */ "easeBounceInOut": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceInOut),
|
|
16085
|
-
/* harmony export */ "easeBack": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut),
|
|
16086
|
-
/* harmony export */ "easeBackIn": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backIn),
|
|
16087
|
-
/* harmony export */ "easeBackOut": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backOut),
|
|
16088
|
-
/* harmony export */ "easeBackInOut": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut),
|
|
16089
|
-
/* harmony export */ "easeElastic": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut),
|
|
16090
|
-
/* harmony export */ "easeElasticIn": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticIn),
|
|
16091
|
-
/* harmony export */ "easeElasticOut": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut),
|
|
16092
|
-
/* harmony export */ "easeElasticInOut": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticInOut)
|
|
16179
|
+
/* harmony export */ "easeSinOut": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinOut)
|
|
16093
16180
|
/* harmony export */ });
|
|
16094
16181
|
/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./linear.js */ "../../victory-vendor/node_modules/d3-ease/src/linear.js");
|
|
16095
16182
|
/* harmony import */ var _quad_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./quad.js */ "../../victory-vendor/node_modules/d3-ease/src/quad.js");
|
|
@@ -16169,8 +16256,8 @@ function tpmt(x) {
|
|
|
16169
16256
|
__webpack_require__.r(__webpack_exports__);
|
|
16170
16257
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16171
16258
|
/* harmony export */ "polyIn": () => (/* binding */ polyIn),
|
|
16172
|
-
/* harmony export */ "
|
|
16173
|
-
/* harmony export */ "
|
|
16259
|
+
/* harmony export */ "polyInOut": () => (/* binding */ polyInOut),
|
|
16260
|
+
/* harmony export */ "polyOut": () => (/* binding */ polyOut)
|
|
16174
16261
|
/* harmony export */ });
|
|
16175
16262
|
var exponent = 3;
|
|
16176
16263
|
|
|
@@ -16223,8 +16310,8 @@ var polyInOut = (function custom(e) {
|
|
|
16223
16310
|
__webpack_require__.r(__webpack_exports__);
|
|
16224
16311
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16225
16312
|
/* harmony export */ "quadIn": () => (/* binding */ quadIn),
|
|
16226
|
-
/* harmony export */ "
|
|
16227
|
-
/* harmony export */ "
|
|
16313
|
+
/* harmony export */ "quadInOut": () => (/* binding */ quadInOut),
|
|
16314
|
+
/* harmony export */ "quadOut": () => (/* binding */ quadOut)
|
|
16228
16315
|
/* harmony export */ });
|
|
16229
16316
|
function quadIn(t) {
|
|
16230
16317
|
return t * t;
|
|
@@ -16251,8 +16338,8 @@ function quadInOut(t) {
|
|
|
16251
16338
|
__webpack_require__.r(__webpack_exports__);
|
|
16252
16339
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16253
16340
|
/* harmony export */ "sinIn": () => (/* binding */ sinIn),
|
|
16254
|
-
/* harmony export */ "
|
|
16255
|
-
/* harmony export */ "
|
|
16341
|
+
/* harmony export */ "sinInOut": () => (/* binding */ sinInOut),
|
|
16342
|
+
/* harmony export */ "sinOut": () => (/* binding */ sinOut)
|
|
16256
16343
|
/* harmony export */ });
|
|
16257
16344
|
var pi = Math.PI,
|
|
16258
16345
|
halfPi = pi / 2;
|
|
@@ -16281,9 +16368,9 @@ function sinInOut(t) {
|
|
|
16281
16368
|
"use strict";
|
|
16282
16369
|
__webpack_require__.r(__webpack_exports__);
|
|
16283
16370
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16371
|
+
/* harmony export */ "default": () => (/* binding */ defaultLocale),
|
|
16284
16372
|
/* harmony export */ "format": () => (/* binding */ format),
|
|
16285
|
-
/* harmony export */ "formatPrefix": () => (/* binding */ formatPrefix)
|
|
16286
|
-
/* harmony export */ "default": () => (/* binding */ defaultLocale)
|
|
16373
|
+
/* harmony export */ "formatPrefix": () => (/* binding */ formatPrefix)
|
|
16287
16374
|
/* harmony export */ });
|
|
16288
16375
|
/* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./locale.js */ "../../victory-vendor/node_modules/d3-format/src/locale.js");
|
|
16289
16376
|
|
|
@@ -16429,8 +16516,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16429
16516
|
"use strict";
|
|
16430
16517
|
__webpack_require__.r(__webpack_exports__);
|
|
16431
16518
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16432
|
-
/* harmony export */ "
|
|
16433
|
-
/* harmony export */ "
|
|
16519
|
+
/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__),
|
|
16520
|
+
/* harmony export */ "prefixExponent": () => (/* binding */ prefixExponent)
|
|
16434
16521
|
/* harmony export */ });
|
|
16435
16522
|
/* harmony import */ var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatDecimal.js */ "../../victory-vendor/node_modules/d3-format/src/formatDecimal.js");
|
|
16436
16523
|
|
|
@@ -16489,8 +16576,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16489
16576
|
"use strict";
|
|
16490
16577
|
__webpack_require__.r(__webpack_exports__);
|
|
16491
16578
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16492
|
-
/* harmony export */ "
|
|
16493
|
-
/* harmony export */ "
|
|
16579
|
+
/* harmony export */ "FormatSpecifier": () => (/* binding */ FormatSpecifier),
|
|
16580
|
+
/* harmony export */ "default": () => (/* binding */ formatSpecifier)
|
|
16494
16581
|
/* harmony export */ });
|
|
16495
16582
|
// [[fill]align][sign][symbol][0][width][,][.precision][~][type]
|
|
16496
16583
|
var re = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
|
|
@@ -16972,9 +17059,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16972
17059
|
"use strict";
|
|
16973
17060
|
__webpack_require__.r(__webpack_exports__);
|
|
16974
17061
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16975
|
-
/* harmony export */ "
|
|
17062
|
+
/* harmony export */ "default": () => (/* binding */ nogamma),
|
|
16976
17063
|
/* harmony export */ "gamma": () => (/* binding */ gamma),
|
|
16977
|
-
/* harmony export */ "
|
|
17064
|
+
/* harmony export */ "hue": () => (/* binding */ hue)
|
|
16978
17065
|
/* harmony export */ });
|
|
16979
17066
|
/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "../../victory-vendor/node_modules/d3-interpolate/src/constant.js");
|
|
16980
17067
|
|
|
@@ -17679,10 +17766,10 @@ function constants(x) {
|
|
|
17679
17766
|
"use strict";
|
|
17680
17767
|
__webpack_require__.r(__webpack_exports__);
|
|
17681
17768
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17682
|
-
/* harmony export */ "identity": () => (/* binding */ identity),
|
|
17683
17769
|
/* harmony export */ "copy": () => (/* binding */ copy),
|
|
17684
|
-
/* harmony export */ "
|
|
17685
|
-
/* harmony export */ "
|
|
17770
|
+
/* harmony export */ "default": () => (/* binding */ continuous),
|
|
17771
|
+
/* harmony export */ "identity": () => (/* binding */ identity),
|
|
17772
|
+
/* harmony export */ "transformer": () => (/* binding */ transformer)
|
|
17686
17773
|
/* harmony export */ });
|
|
17687
17774
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/bisect.js");
|
|
17688
17775
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
@@ -17830,9 +17917,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17830
17917
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17831
17918
|
/* harmony export */ "default": () => (/* binding */ diverging),
|
|
17832
17919
|
/* harmony export */ "divergingLog": () => (/* binding */ divergingLog),
|
|
17833
|
-
/* harmony export */ "divergingSymlog": () => (/* binding */ divergingSymlog),
|
|
17834
17920
|
/* harmony export */ "divergingPow": () => (/* binding */ divergingPow),
|
|
17835
|
-
/* harmony export */ "divergingSqrt": () => (/* binding */ divergingSqrt)
|
|
17921
|
+
/* harmony export */ "divergingSqrt": () => (/* binding */ divergingSqrt),
|
|
17922
|
+
/* harmony export */ "divergingSymlog": () => (/* binding */ divergingSymlog)
|
|
17836
17923
|
/* harmony export */ });
|
|
17837
17924
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/piecewise.js");
|
|
17838
17925
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
@@ -18007,32 +18094,32 @@ function identity(domain) {
|
|
|
18007
18094
|
__webpack_require__.r(__webpack_exports__);
|
|
18008
18095
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18009
18096
|
/* harmony export */ "scaleBand": () => (/* reexport safe */ _band_js__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
18010
|
-
/* harmony export */ "
|
|
18097
|
+
/* harmony export */ "scaleDiverging": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__["default"]),
|
|
18098
|
+
/* harmony export */ "scaleDivergingLog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingLog),
|
|
18099
|
+
/* harmony export */ "scaleDivergingPow": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingPow),
|
|
18100
|
+
/* harmony export */ "scaleDivergingSqrt": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSqrt),
|
|
18101
|
+
/* harmony export */ "scaleDivergingSymlog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSymlog),
|
|
18011
18102
|
/* harmony export */ "scaleIdentity": () => (/* reexport safe */ _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
18103
|
+
/* harmony export */ "scaleImplicit": () => (/* reexport safe */ _ordinal_js__WEBPACK_IMPORTED_MODULE_5__.implicit),
|
|
18012
18104
|
/* harmony export */ "scaleLinear": () => (/* reexport safe */ _linear_js__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
18013
18105
|
/* harmony export */ "scaleLog": () => (/* reexport safe */ _log_js__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
18014
|
-
/* harmony export */ "scaleSymlog": () => (/* reexport safe */ _symlog_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
18015
18106
|
/* harmony export */ "scaleOrdinal": () => (/* reexport safe */ _ordinal_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
18016
|
-
/* harmony export */ "
|
|
18107
|
+
/* harmony export */ "scalePoint": () => (/* reexport safe */ _band_js__WEBPACK_IMPORTED_MODULE_0__.point),
|
|
18017
18108
|
/* harmony export */ "scalePow": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
18018
|
-
/* harmony export */ "scaleSqrt": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__.sqrt),
|
|
18019
|
-
/* harmony export */ "scaleRadial": () => (/* reexport safe */ _radial_js__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
18020
18109
|
/* harmony export */ "scaleQuantile": () => (/* reexport safe */ _quantile_js__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
|
18021
18110
|
/* harmony export */ "scaleQuantize": () => (/* reexport safe */ _quantize_js__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
|
18022
|
-
/* harmony export */ "
|
|
18023
|
-
/* harmony export */ "scaleTime": () => (/* reexport safe */ _time_js__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
18024
|
-
/* harmony export */ "scaleUtc": () => (/* reexport safe */ _utcTime_js__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
18111
|
+
/* harmony export */ "scaleRadial": () => (/* reexport safe */ _radial_js__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
18025
18112
|
/* harmony export */ "scaleSequential": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
|
18026
18113
|
/* harmony export */ "scaleSequentialLog": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialLog),
|
|
18027
18114
|
/* harmony export */ "scaleSequentialPow": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialPow),
|
|
18115
|
+
/* harmony export */ "scaleSequentialQuantile": () => (/* reexport safe */ _sequentialQuantile_js__WEBPACK_IMPORTED_MODULE_14__["default"]),
|
|
18028
18116
|
/* harmony export */ "scaleSequentialSqrt": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialSqrt),
|
|
18029
18117
|
/* harmony export */ "scaleSequentialSymlog": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialSymlog),
|
|
18030
|
-
/* harmony export */ "
|
|
18031
|
-
/* harmony export */ "
|
|
18032
|
-
/* harmony export */ "
|
|
18033
|
-
/* harmony export */ "
|
|
18034
|
-
/* harmony export */ "
|
|
18035
|
-
/* harmony export */ "scaleDivergingSymlog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSymlog),
|
|
18118
|
+
/* harmony export */ "scaleSqrt": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__.sqrt),
|
|
18119
|
+
/* harmony export */ "scaleSymlog": () => (/* reexport safe */ _symlog_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
18120
|
+
/* harmony export */ "scaleThreshold": () => (/* reexport safe */ _threshold_js__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
|
18121
|
+
/* harmony export */ "scaleTime": () => (/* reexport safe */ _time_js__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
18122
|
+
/* harmony export */ "scaleUtc": () => (/* reexport safe */ _utcTime_js__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
18036
18123
|
/* harmony export */ "tickFormat": () => (/* reexport safe */ _tickFormat_js__WEBPACK_IMPORTED_MODULE_16__["default"])
|
|
18037
18124
|
/* harmony export */ });
|
|
18038
18125
|
/* harmony import */ var _band_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./band.js */ "../../victory-vendor/node_modules/d3-scale/src/band.js");
|
|
@@ -18098,8 +18185,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18098
18185
|
"use strict";
|
|
18099
18186
|
__webpack_require__.r(__webpack_exports__);
|
|
18100
18187
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18101
|
-
/* harmony export */ "
|
|
18102
|
-
/* harmony export */ "
|
|
18188
|
+
/* harmony export */ "initInterpolator": () => (/* binding */ initInterpolator),
|
|
18189
|
+
/* harmony export */ "initRange": () => (/* binding */ initRange)
|
|
18103
18190
|
/* harmony export */ });
|
|
18104
18191
|
function initRange(domain, range) {
|
|
18105
18192
|
switch (arguments.length) {
|
|
@@ -18140,8 +18227,8 @@ function initInterpolator(domain, interpolator) {
|
|
|
18140
18227
|
"use strict";
|
|
18141
18228
|
__webpack_require__.r(__webpack_exports__);
|
|
18142
18229
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18143
|
-
/* harmony export */ "
|
|
18144
|
-
/* harmony export */ "
|
|
18230
|
+
/* harmony export */ "default": () => (/* binding */ linear),
|
|
18231
|
+
/* harmony export */ "linearish": () => (/* binding */ linearish)
|
|
18145
18232
|
/* harmony export */ });
|
|
18146
18233
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
18147
18234
|
/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./continuous.js */ "../../victory-vendor/node_modules/d3-scale/src/continuous.js");
|
|
@@ -18230,8 +18317,8 @@ function linear() {
|
|
|
18230
18317
|
"use strict";
|
|
18231
18318
|
__webpack_require__.r(__webpack_exports__);
|
|
18232
18319
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18233
|
-
/* harmony export */ "
|
|
18234
|
-
/* harmony export */ "
|
|
18320
|
+
/* harmony export */ "default": () => (/* binding */ log),
|
|
18321
|
+
/* harmony export */ "loggish": () => (/* binding */ loggish)
|
|
18235
18322
|
/* harmony export */ });
|
|
18236
18323
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
18237
18324
|
/* harmony import */ var d3_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-format */ "../../victory-vendor/node_modules/d3-format/src/formatSpecifier.js");
|
|
@@ -18443,8 +18530,8 @@ function number(x) {
|
|
|
18443
18530
|
"use strict";
|
|
18444
18531
|
__webpack_require__.r(__webpack_exports__);
|
|
18445
18532
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18446
|
-
/* harmony export */ "
|
|
18447
|
-
/* harmony export */ "
|
|
18533
|
+
/* harmony export */ "default": () => (/* binding */ ordinal),
|
|
18534
|
+
/* harmony export */ "implicit": () => (/* binding */ implicit)
|
|
18448
18535
|
/* harmony export */ });
|
|
18449
18536
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/internmap/src/index.js");
|
|
18450
18537
|
/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./init.js */ "../../victory-vendor/node_modules/d3-scale/src/init.js");
|
|
@@ -18507,8 +18594,8 @@ function ordinal() {
|
|
|
18507
18594
|
"use strict";
|
|
18508
18595
|
__webpack_require__.r(__webpack_exports__);
|
|
18509
18596
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18510
|
-
/* harmony export */ "powish": () => (/* binding */ powish),
|
|
18511
18597
|
/* harmony export */ "default": () => (/* binding */ pow),
|
|
18598
|
+
/* harmony export */ "powish": () => (/* binding */ powish),
|
|
18512
18599
|
/* harmony export */ "sqrt": () => (/* binding */ sqrt)
|
|
18513
18600
|
/* harmony export */ });
|
|
18514
18601
|
/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./linear.js */ "../../victory-vendor/node_modules/d3-scale/src/linear.js");
|
|
@@ -18812,9 +18899,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18812
18899
|
/* harmony export */ "copy": () => (/* binding */ copy),
|
|
18813
18900
|
/* harmony export */ "default": () => (/* binding */ sequential),
|
|
18814
18901
|
/* harmony export */ "sequentialLog": () => (/* binding */ sequentialLog),
|
|
18815
|
-
/* harmony export */ "sequentialSymlog": () => (/* binding */ sequentialSymlog),
|
|
18816
18902
|
/* harmony export */ "sequentialPow": () => (/* binding */ sequentialPow),
|
|
18817
|
-
/* harmony export */ "sequentialSqrt": () => (/* binding */ sequentialSqrt)
|
|
18903
|
+
/* harmony export */ "sequentialSqrt": () => (/* binding */ sequentialSqrt),
|
|
18904
|
+
/* harmony export */ "sequentialSymlog": () => (/* binding */ sequentialSymlog)
|
|
18818
18905
|
/* harmony export */ });
|
|
18819
18906
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
18820
18907
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/round.js");
|
|
@@ -19002,8 +19089,8 @@ function sequentialQuantile() {
|
|
|
19002
19089
|
"use strict";
|
|
19003
19090
|
__webpack_require__.r(__webpack_exports__);
|
|
19004
19091
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19005
|
-
/* harmony export */ "
|
|
19006
|
-
/* harmony export */ "
|
|
19092
|
+
/* harmony export */ "default": () => (/* binding */ symlog),
|
|
19093
|
+
/* harmony export */ "symlogish": () => (/* binding */ symlogish)
|
|
19007
19094
|
/* harmony export */ });
|
|
19008
19095
|
/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./linear.js */ "../../victory-vendor/node_modules/d3-scale/src/linear.js");
|
|
19009
19096
|
/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./continuous.js */ "../../victory-vendor/node_modules/d3-scale/src/continuous.js");
|
|
@@ -19753,8 +19840,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
19753
19840
|
"use strict";
|
|
19754
19841
|
__webpack_require__.r(__webpack_exports__);
|
|
19755
19842
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19756
|
-
/* harmony export */ "
|
|
19757
|
-
/* harmony export */ "
|
|
19843
|
+
/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__),
|
|
19844
|
+
/* harmony export */ "slice": () => (/* binding */ slice)
|
|
19758
19845
|
/* harmony export */ });
|
|
19759
19846
|
var slice = Array.prototype.slice;
|
|
19760
19847
|
|
|
@@ -19796,9 +19883,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
19796
19883
|
"use strict";
|
|
19797
19884
|
__webpack_require__.r(__webpack_exports__);
|
|
19798
19885
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19799
|
-
/* harmony export */ "point": () => (/* binding */ point),
|
|
19800
19886
|
/* harmony export */ "Basis": () => (/* binding */ Basis),
|
|
19801
|
-
/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)
|
|
19887
|
+
/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__),
|
|
19888
|
+
/* harmony export */ "point": () => (/* binding */ point)
|
|
19802
19889
|
/* harmony export */ });
|
|
19803
19890
|
function point(that, x, y) {
|
|
19804
19891
|
that._context.bezierCurveTo(
|
|
@@ -19988,9 +20075,9 @@ BasisOpen.prototype = {
|
|
|
19988
20075
|
"use strict";
|
|
19989
20076
|
__webpack_require__.r(__webpack_exports__);
|
|
19990
20077
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20078
|
+
/* harmony export */ "bumpRadial": () => (/* binding */ bumpRadial),
|
|
19991
20079
|
/* harmony export */ "bumpX": () => (/* binding */ bumpX),
|
|
19992
|
-
/* harmony export */ "bumpY": () => (/* binding */ bumpY)
|
|
19993
|
-
/* harmony export */ "bumpRadial": () => (/* binding */ bumpRadial)
|
|
20080
|
+
/* harmony export */ "bumpY": () => (/* binding */ bumpY)
|
|
19994
20081
|
/* harmony export */ });
|
|
19995
20082
|
/* harmony import */ var _pointRadial_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../pointRadial.js */ "../../victory-vendor/node_modules/d3-shape/src/pointRadial.js");
|
|
19996
20083
|
|
|
@@ -20152,9 +20239,9 @@ Bundle.prototype = {
|
|
|
20152
20239
|
"use strict";
|
|
20153
20240
|
__webpack_require__.r(__webpack_exports__);
|
|
20154
20241
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20155
|
-
/* harmony export */ "point": () => (/* binding */ point),
|
|
20156
20242
|
/* harmony export */ "Cardinal": () => (/* binding */ Cardinal),
|
|
20157
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
20243
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
20244
|
+
/* harmony export */ "point": () => (/* binding */ point)
|
|
20158
20245
|
/* harmony export */ });
|
|
20159
20246
|
function point(that, x, y) {
|
|
20160
20247
|
that._context.bezierCurveTo(
|
|
@@ -20375,8 +20462,8 @@ CardinalOpen.prototype = {
|
|
|
20375
20462
|
"use strict";
|
|
20376
20463
|
__webpack_require__.r(__webpack_exports__);
|
|
20377
20464
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20378
|
-
/* harmony export */ "
|
|
20379
|
-
/* harmony export */ "
|
|
20465
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
20466
|
+
/* harmony export */ "point": () => (/* binding */ point)
|
|
20380
20467
|
/* harmony export */ });
|
|
20381
20468
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "../../victory-vendor/node_modules/d3-shape/src/math.js");
|
|
20382
20469
|
/* harmony import */ var _cardinal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cardinal.js */ "../../victory-vendor/node_modules/d3-shape/src/curve/cardinal.js");
|
|
@@ -20993,8 +21080,8 @@ function curveRadial(curve) {
|
|
|
20993
21080
|
__webpack_require__.r(__webpack_exports__);
|
|
20994
21081
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20995
21082
|
/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__),
|
|
20996
|
-
/* harmony export */ "
|
|
20997
|
-
/* harmony export */ "
|
|
21083
|
+
/* harmony export */ "stepAfter": () => (/* binding */ stepAfter),
|
|
21084
|
+
/* harmony export */ "stepBefore": () => (/* binding */ stepBefore)
|
|
20998
21085
|
/* harmony export */ });
|
|
20999
21086
|
function Step(context, t) {
|
|
21000
21087
|
this._context = context;
|
|
@@ -21100,57 +21187,40 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21100
21187
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21101
21188
|
/* harmony export */ "arc": () => (/* reexport safe */ _arc_js__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
21102
21189
|
/* harmony export */ "area": () => (/* reexport safe */ _area_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
21103
|
-
/* harmony export */ "line": () => (/* reexport safe */ _line_js__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
21104
|
-
/* harmony export */ "pie": () => (/* reexport safe */ _pie_js__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
21105
21190
|
/* harmony export */ "areaRadial": () => (/* reexport safe */ _areaRadial_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
21106
|
-
/* harmony export */ "
|
|
21107
|
-
/* harmony export */ "lineRadial": () => (/* reexport safe */ _lineRadial_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
21108
|
-
/* harmony export */ "radialLine": () => (/* reexport safe */ _lineRadial_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
21109
|
-
/* harmony export */ "pointRadial": () => (/* reexport safe */ _pointRadial_js__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
21110
|
-
/* harmony export */ "link": () => (/* reexport safe */ _link_js__WEBPACK_IMPORTED_MODULE_7__.link),
|
|
21111
|
-
/* harmony export */ "linkHorizontal": () => (/* reexport safe */ _link_js__WEBPACK_IMPORTED_MODULE_7__.linkHorizontal),
|
|
21112
|
-
/* harmony export */ "linkVertical": () => (/* reexport safe */ _link_js__WEBPACK_IMPORTED_MODULE_7__.linkVertical),
|
|
21113
|
-
/* harmony export */ "linkRadial": () => (/* reexport safe */ _link_js__WEBPACK_IMPORTED_MODULE_7__.linkRadial),
|
|
21114
|
-
/* harmony export */ "symbol": () => (/* reexport safe */ _symbol_js__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
|
21115
|
-
/* harmony export */ "symbolsStroke": () => (/* reexport safe */ _symbol_js__WEBPACK_IMPORTED_MODULE_8__.symbolsStroke),
|
|
21116
|
-
/* harmony export */ "symbolsFill": () => (/* reexport safe */ _symbol_js__WEBPACK_IMPORTED_MODULE_8__.symbolsFill),
|
|
21117
|
-
/* harmony export */ "symbols": () => (/* reexport safe */ _symbol_js__WEBPACK_IMPORTED_MODULE_8__.symbolsFill),
|
|
21118
|
-
/* harmony export */ "symbolAsterisk": () => (/* reexport safe */ _symbol_asterisk_js__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
|
21119
|
-
/* harmony export */ "symbolCircle": () => (/* reexport safe */ _symbol_circle_js__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
|
21120
|
-
/* harmony export */ "symbolCross": () => (/* reexport safe */ _symbol_cross_js__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
21121
|
-
/* harmony export */ "symbolDiamond": () => (/* reexport safe */ _symbol_diamond_js__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
21122
|
-
/* harmony export */ "symbolDiamond2": () => (/* reexport safe */ _symbol_diamond2_js__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
|
21123
|
-
/* harmony export */ "symbolPlus": () => (/* reexport safe */ _symbol_plus_js__WEBPACK_IMPORTED_MODULE_14__["default"]),
|
|
21124
|
-
/* harmony export */ "symbolSquare": () => (/* reexport safe */ _symbol_square_js__WEBPACK_IMPORTED_MODULE_15__["default"]),
|
|
21125
|
-
/* harmony export */ "symbolSquare2": () => (/* reexport safe */ _symbol_square2_js__WEBPACK_IMPORTED_MODULE_16__["default"]),
|
|
21126
|
-
/* harmony export */ "symbolStar": () => (/* reexport safe */ _symbol_star_js__WEBPACK_IMPORTED_MODULE_17__["default"]),
|
|
21127
|
-
/* harmony export */ "symbolTriangle": () => (/* reexport safe */ _symbol_triangle_js__WEBPACK_IMPORTED_MODULE_18__["default"]),
|
|
21128
|
-
/* harmony export */ "symbolTriangle2": () => (/* reexport safe */ _symbol_triangle2_js__WEBPACK_IMPORTED_MODULE_19__["default"]),
|
|
21129
|
-
/* harmony export */ "symbolWye": () => (/* reexport safe */ _symbol_wye_js__WEBPACK_IMPORTED_MODULE_20__["default"]),
|
|
21130
|
-
/* harmony export */ "symbolX": () => (/* reexport safe */ _symbol_x_js__WEBPACK_IMPORTED_MODULE_21__["default"]),
|
|
21191
|
+
/* harmony export */ "curveBasis": () => (/* reexport safe */ _curve_basis_js__WEBPACK_IMPORTED_MODULE_24__["default"]),
|
|
21131
21192
|
/* harmony export */ "curveBasisClosed": () => (/* reexport safe */ _curve_basisClosed_js__WEBPACK_IMPORTED_MODULE_22__["default"]),
|
|
21132
21193
|
/* harmony export */ "curveBasisOpen": () => (/* reexport safe */ _curve_basisOpen_js__WEBPACK_IMPORTED_MODULE_23__["default"]),
|
|
21133
|
-
/* harmony export */ "curveBasis": () => (/* reexport safe */ _curve_basis_js__WEBPACK_IMPORTED_MODULE_24__["default"]),
|
|
21134
21194
|
/* harmony export */ "curveBumpX": () => (/* reexport safe */ _curve_bump_js__WEBPACK_IMPORTED_MODULE_25__.bumpX),
|
|
21135
21195
|
/* harmony export */ "curveBumpY": () => (/* reexport safe */ _curve_bump_js__WEBPACK_IMPORTED_MODULE_25__.bumpY),
|
|
21136
21196
|
/* harmony export */ "curveBundle": () => (/* reexport safe */ _curve_bundle_js__WEBPACK_IMPORTED_MODULE_26__["default"]),
|
|
21197
|
+
/* harmony export */ "curveCardinal": () => (/* reexport safe */ _curve_cardinal_js__WEBPACK_IMPORTED_MODULE_29__["default"]),
|
|
21137
21198
|
/* harmony export */ "curveCardinalClosed": () => (/* reexport safe */ _curve_cardinalClosed_js__WEBPACK_IMPORTED_MODULE_27__["default"]),
|
|
21138
21199
|
/* harmony export */ "curveCardinalOpen": () => (/* reexport safe */ _curve_cardinalOpen_js__WEBPACK_IMPORTED_MODULE_28__["default"]),
|
|
21139
|
-
/* harmony export */ "
|
|
21200
|
+
/* harmony export */ "curveCatmullRom": () => (/* reexport safe */ _curve_catmullRom_js__WEBPACK_IMPORTED_MODULE_32__["default"]),
|
|
21140
21201
|
/* harmony export */ "curveCatmullRomClosed": () => (/* reexport safe */ _curve_catmullRomClosed_js__WEBPACK_IMPORTED_MODULE_30__["default"]),
|
|
21141
21202
|
/* harmony export */ "curveCatmullRomOpen": () => (/* reexport safe */ _curve_catmullRomOpen_js__WEBPACK_IMPORTED_MODULE_31__["default"]),
|
|
21142
|
-
/* harmony export */ "curveCatmullRom": () => (/* reexport safe */ _curve_catmullRom_js__WEBPACK_IMPORTED_MODULE_32__["default"]),
|
|
21143
|
-
/* harmony export */ "curveLinearClosed": () => (/* reexport safe */ _curve_linearClosed_js__WEBPACK_IMPORTED_MODULE_33__["default"]),
|
|
21144
21203
|
/* harmony export */ "curveLinear": () => (/* reexport safe */ _curve_linear_js__WEBPACK_IMPORTED_MODULE_34__["default"]),
|
|
21204
|
+
/* harmony export */ "curveLinearClosed": () => (/* reexport safe */ _curve_linearClosed_js__WEBPACK_IMPORTED_MODULE_33__["default"]),
|
|
21145
21205
|
/* harmony export */ "curveMonotoneX": () => (/* reexport safe */ _curve_monotone_js__WEBPACK_IMPORTED_MODULE_35__.monotoneX),
|
|
21146
21206
|
/* harmony export */ "curveMonotoneY": () => (/* reexport safe */ _curve_monotone_js__WEBPACK_IMPORTED_MODULE_35__.monotoneY),
|
|
21147
21207
|
/* harmony export */ "curveNatural": () => (/* reexport safe */ _curve_natural_js__WEBPACK_IMPORTED_MODULE_36__["default"]),
|
|
21148
21208
|
/* harmony export */ "curveStep": () => (/* reexport safe */ _curve_step_js__WEBPACK_IMPORTED_MODULE_37__["default"]),
|
|
21149
21209
|
/* harmony export */ "curveStepAfter": () => (/* reexport safe */ _curve_step_js__WEBPACK_IMPORTED_MODULE_37__.stepAfter),
|
|
21150
21210
|
/* harmony export */ "curveStepBefore": () => (/* reexport safe */ _curve_step_js__WEBPACK_IMPORTED_MODULE_37__.stepBefore),
|
|
21211
|
+
/* harmony export */ "line": () => (/* reexport safe */ _line_js__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
21212
|
+
/* harmony export */ "lineRadial": () => (/* reexport safe */ _lineRadial_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
21213
|
+
/* harmony export */ "link": () => (/* reexport safe */ _link_js__WEBPACK_IMPORTED_MODULE_7__.link),
|
|
21214
|
+
/* harmony export */ "linkHorizontal": () => (/* reexport safe */ _link_js__WEBPACK_IMPORTED_MODULE_7__.linkHorizontal),
|
|
21215
|
+
/* harmony export */ "linkRadial": () => (/* reexport safe */ _link_js__WEBPACK_IMPORTED_MODULE_7__.linkRadial),
|
|
21216
|
+
/* harmony export */ "linkVertical": () => (/* reexport safe */ _link_js__WEBPACK_IMPORTED_MODULE_7__.linkVertical),
|
|
21217
|
+
/* harmony export */ "pie": () => (/* reexport safe */ _pie_js__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
21218
|
+
/* harmony export */ "pointRadial": () => (/* reexport safe */ _pointRadial_js__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
21219
|
+
/* harmony export */ "radialArea": () => (/* reexport safe */ _areaRadial_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
21220
|
+
/* harmony export */ "radialLine": () => (/* reexport safe */ _lineRadial_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
21151
21221
|
/* harmony export */ "stack": () => (/* reexport safe */ _stack_js__WEBPACK_IMPORTED_MODULE_38__["default"]),
|
|
21152
|
-
/* harmony export */ "stackOffsetExpand": () => (/* reexport safe */ _offset_expand_js__WEBPACK_IMPORTED_MODULE_39__["default"]),
|
|
21153
21222
|
/* harmony export */ "stackOffsetDiverging": () => (/* reexport safe */ _offset_diverging_js__WEBPACK_IMPORTED_MODULE_40__["default"]),
|
|
21223
|
+
/* harmony export */ "stackOffsetExpand": () => (/* reexport safe */ _offset_expand_js__WEBPACK_IMPORTED_MODULE_39__["default"]),
|
|
21154
21224
|
/* harmony export */ "stackOffsetNone": () => (/* reexport safe */ _offset_none_js__WEBPACK_IMPORTED_MODULE_41__["default"]),
|
|
21155
21225
|
/* harmony export */ "stackOffsetSilhouette": () => (/* reexport safe */ _offset_silhouette_js__WEBPACK_IMPORTED_MODULE_42__["default"]),
|
|
21156
21226
|
/* harmony export */ "stackOffsetWiggle": () => (/* reexport safe */ _offset_wiggle_js__WEBPACK_IMPORTED_MODULE_43__["default"]),
|
|
@@ -21159,7 +21229,24 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21159
21229
|
/* harmony export */ "stackOrderDescending": () => (/* reexport safe */ _order_descending_js__WEBPACK_IMPORTED_MODULE_46__["default"]),
|
|
21160
21230
|
/* harmony export */ "stackOrderInsideOut": () => (/* reexport safe */ _order_insideOut_js__WEBPACK_IMPORTED_MODULE_47__["default"]),
|
|
21161
21231
|
/* harmony export */ "stackOrderNone": () => (/* reexport safe */ _order_none_js__WEBPACK_IMPORTED_MODULE_48__["default"]),
|
|
21162
|
-
/* harmony export */ "stackOrderReverse": () => (/* reexport safe */ _order_reverse_js__WEBPACK_IMPORTED_MODULE_49__["default"])
|
|
21232
|
+
/* harmony export */ "stackOrderReverse": () => (/* reexport safe */ _order_reverse_js__WEBPACK_IMPORTED_MODULE_49__["default"]),
|
|
21233
|
+
/* harmony export */ "symbol": () => (/* reexport safe */ _symbol_js__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
|
21234
|
+
/* harmony export */ "symbolAsterisk": () => (/* reexport safe */ _symbol_asterisk_js__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
|
21235
|
+
/* harmony export */ "symbolCircle": () => (/* reexport safe */ _symbol_circle_js__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
|
21236
|
+
/* harmony export */ "symbolCross": () => (/* reexport safe */ _symbol_cross_js__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
21237
|
+
/* harmony export */ "symbolDiamond": () => (/* reexport safe */ _symbol_diamond_js__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
21238
|
+
/* harmony export */ "symbolDiamond2": () => (/* reexport safe */ _symbol_diamond2_js__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
|
21239
|
+
/* harmony export */ "symbolPlus": () => (/* reexport safe */ _symbol_plus_js__WEBPACK_IMPORTED_MODULE_14__["default"]),
|
|
21240
|
+
/* harmony export */ "symbolSquare": () => (/* reexport safe */ _symbol_square_js__WEBPACK_IMPORTED_MODULE_15__["default"]),
|
|
21241
|
+
/* harmony export */ "symbolSquare2": () => (/* reexport safe */ _symbol_square2_js__WEBPACK_IMPORTED_MODULE_16__["default"]),
|
|
21242
|
+
/* harmony export */ "symbolStar": () => (/* reexport safe */ _symbol_star_js__WEBPACK_IMPORTED_MODULE_17__["default"]),
|
|
21243
|
+
/* harmony export */ "symbolTriangle": () => (/* reexport safe */ _symbol_triangle_js__WEBPACK_IMPORTED_MODULE_18__["default"]),
|
|
21244
|
+
/* harmony export */ "symbolTriangle2": () => (/* reexport safe */ _symbol_triangle2_js__WEBPACK_IMPORTED_MODULE_19__["default"]),
|
|
21245
|
+
/* harmony export */ "symbolWye": () => (/* reexport safe */ _symbol_wye_js__WEBPACK_IMPORTED_MODULE_20__["default"]),
|
|
21246
|
+
/* harmony export */ "symbolX": () => (/* reexport safe */ _symbol_x_js__WEBPACK_IMPORTED_MODULE_21__["default"]),
|
|
21247
|
+
/* harmony export */ "symbols": () => (/* reexport safe */ _symbol_js__WEBPACK_IMPORTED_MODULE_8__.symbolsFill),
|
|
21248
|
+
/* harmony export */ "symbolsFill": () => (/* reexport safe */ _symbol_js__WEBPACK_IMPORTED_MODULE_8__.symbolsFill),
|
|
21249
|
+
/* harmony export */ "symbolsStroke": () => (/* reexport safe */ _symbol_js__WEBPACK_IMPORTED_MODULE_8__.symbolsStroke)
|
|
21163
21250
|
/* harmony export */ });
|
|
21164
21251
|
/* harmony import */ var _arc_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arc.js */ "../../victory-vendor/node_modules/d3-shape/src/arc.js");
|
|
21165
21252
|
/* harmony import */ var _area_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./area.js */ "../../victory-vendor/node_modules/d3-shape/src/area.js");
|
|
@@ -21354,8 +21441,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21354
21441
|
"use strict";
|
|
21355
21442
|
__webpack_require__.r(__webpack_exports__);
|
|
21356
21443
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21357
|
-
/* harmony export */ "
|
|
21358
|
-
/* harmony export */ "
|
|
21444
|
+
/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__),
|
|
21445
|
+
/* harmony export */ "lineRadial": () => (/* binding */ lineRadial)
|
|
21359
21446
|
/* harmony export */ });
|
|
21360
21447
|
/* harmony import */ var _curve_radial_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./curve/radial.js */ "../../victory-vendor/node_modules/d3-shape/src/curve/radial.js");
|
|
21361
21448
|
/* harmony import */ var _line_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./line.js */ "../../victory-vendor/node_modules/d3-shape/src/line.js");
|
|
@@ -21393,8 +21480,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21393
21480
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21394
21481
|
/* harmony export */ "link": () => (/* binding */ link),
|
|
21395
21482
|
/* harmony export */ "linkHorizontal": () => (/* binding */ linkHorizontal),
|
|
21396
|
-
/* harmony export */ "
|
|
21397
|
-
/* harmony export */ "
|
|
21483
|
+
/* harmony export */ "linkRadial": () => (/* binding */ linkRadial),
|
|
21484
|
+
/* harmony export */ "linkVertical": () => (/* binding */ linkVertical)
|
|
21398
21485
|
/* harmony export */ });
|
|
21399
21486
|
/* harmony import */ var d3_path__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-path */ "../../victory-vendor/node_modules/d3-path/src/path.js");
|
|
21400
21487
|
/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./array.js */ "../../victory-vendor/node_modules/d3-shape/src/array.js");
|
|
@@ -21487,18 +21574,18 @@ function linkRadial() {
|
|
|
21487
21574
|
__webpack_require__.r(__webpack_exports__);
|
|
21488
21575
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21489
21576
|
/* harmony export */ "abs": () => (/* binding */ abs),
|
|
21577
|
+
/* harmony export */ "acos": () => (/* binding */ acos),
|
|
21578
|
+
/* harmony export */ "asin": () => (/* binding */ asin),
|
|
21490
21579
|
/* harmony export */ "atan2": () => (/* binding */ atan2),
|
|
21491
21580
|
/* harmony export */ "cos": () => (/* binding */ cos),
|
|
21581
|
+
/* harmony export */ "epsilon": () => (/* binding */ epsilon),
|
|
21582
|
+
/* harmony export */ "halfPi": () => (/* binding */ halfPi),
|
|
21492
21583
|
/* harmony export */ "max": () => (/* binding */ max),
|
|
21493
21584
|
/* harmony export */ "min": () => (/* binding */ min),
|
|
21585
|
+
/* harmony export */ "pi": () => (/* binding */ pi),
|
|
21494
21586
|
/* harmony export */ "sin": () => (/* binding */ sin),
|
|
21495
21587
|
/* harmony export */ "sqrt": () => (/* binding */ sqrt),
|
|
21496
|
-
/* harmony export */ "
|
|
21497
|
-
/* harmony export */ "pi": () => (/* binding */ pi),
|
|
21498
|
-
/* harmony export */ "halfPi": () => (/* binding */ halfPi),
|
|
21499
|
-
/* harmony export */ "tau": () => (/* binding */ tau),
|
|
21500
|
-
/* harmony export */ "acos": () => (/* binding */ acos),
|
|
21501
|
-
/* harmony export */ "asin": () => (/* binding */ asin)
|
|
21588
|
+
/* harmony export */ "tau": () => (/* binding */ tau)
|
|
21502
21589
|
/* harmony export */ });
|
|
21503
21590
|
const abs = Math.abs;
|
|
21504
21591
|
const atan2 = Math.atan2;
|
|
@@ -22075,9 +22162,9 @@ function stackSeries(key) {
|
|
|
22075
22162
|
"use strict";
|
|
22076
22163
|
__webpack_require__.r(__webpack_exports__);
|
|
22077
22164
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22165
|
+
/* harmony export */ "default": () => (/* binding */ Symbol),
|
|
22078
22166
|
/* harmony export */ "symbolsFill": () => (/* binding */ symbolsFill),
|
|
22079
|
-
/* harmony export */ "symbolsStroke": () => (/* binding */ symbolsStroke)
|
|
22080
|
-
/* harmony export */ "default": () => (/* binding */ Symbol)
|
|
22167
|
+
/* harmony export */ "symbolsStroke": () => (/* binding */ symbolsStroke)
|
|
22081
22168
|
/* harmony export */ });
|
|
22082
22169
|
/* harmony import */ var d3_path__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! d3-path */ "../../victory-vendor/node_modules/d3-path/src/path.js");
|
|
22083
22170
|
/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./constant.js */ "../../victory-vendor/node_modules/d3-shape/src/constant.js");
|
|
@@ -22574,11 +22661,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
22574
22661
|
"use strict";
|
|
22575
22662
|
__webpack_require__.r(__webpack_exports__);
|
|
22576
22663
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22664
|
+
/* harmony export */ "default": () => (/* binding */ defaultLocale),
|
|
22577
22665
|
/* harmony export */ "timeFormat": () => (/* binding */ timeFormat),
|
|
22578
22666
|
/* harmony export */ "timeParse": () => (/* binding */ timeParse),
|
|
22579
22667
|
/* harmony export */ "utcFormat": () => (/* binding */ utcFormat),
|
|
22580
|
-
/* harmony export */ "utcParse": () => (/* binding */ utcParse)
|
|
22581
|
-
/* harmony export */ "default": () => (/* binding */ defaultLocale)
|
|
22668
|
+
/* harmony export */ "utcParse": () => (/* binding */ utcParse)
|
|
22582
22669
|
/* harmony export */ });
|
|
22583
22670
|
/* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./locale.js */ "../../victory-vendor/node_modules/d3-time-format/src/locale.js");
|
|
22584
22671
|
|
|
@@ -23328,8 +23415,8 @@ function formatUnixTimestampSeconds(d) {
|
|
|
23328
23415
|
"use strict";
|
|
23329
23416
|
__webpack_require__.r(__webpack_exports__);
|
|
23330
23417
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23331
|
-
/* harmony export */ "
|
|
23332
|
-
/* harmony export */ "
|
|
23418
|
+
/* harmony export */ "days": () => (/* binding */ days),
|
|
23419
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
23333
23420
|
/* harmony export */ });
|
|
23334
23421
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
23335
23422
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -23358,12 +23445,12 @@ var days = day.range;
|
|
|
23358
23445
|
"use strict";
|
|
23359
23446
|
__webpack_require__.r(__webpack_exports__);
|
|
23360
23447
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23361
|
-
/* harmony export */ "durationSecond": () => (/* binding */ durationSecond),
|
|
23362
|
-
/* harmony export */ "durationMinute": () => (/* binding */ durationMinute),
|
|
23363
|
-
/* harmony export */ "durationHour": () => (/* binding */ durationHour),
|
|
23364
23448
|
/* harmony export */ "durationDay": () => (/* binding */ durationDay),
|
|
23365
|
-
/* harmony export */ "
|
|
23449
|
+
/* harmony export */ "durationHour": () => (/* binding */ durationHour),
|
|
23450
|
+
/* harmony export */ "durationMinute": () => (/* binding */ durationMinute),
|
|
23366
23451
|
/* harmony export */ "durationMonth": () => (/* binding */ durationMonth),
|
|
23452
|
+
/* harmony export */ "durationSecond": () => (/* binding */ durationSecond),
|
|
23453
|
+
/* harmony export */ "durationWeek": () => (/* binding */ durationWeek),
|
|
23367
23454
|
/* harmony export */ "durationYear": () => (/* binding */ durationYear)
|
|
23368
23455
|
/* harmony export */ });
|
|
23369
23456
|
const durationSecond = 1000;
|
|
@@ -23645,10 +23732,10 @@ var seconds = second.range;
|
|
|
23645
23732
|
"use strict";
|
|
23646
23733
|
__webpack_require__.r(__webpack_exports__);
|
|
23647
23734
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23648
|
-
/* harmony export */ "
|
|
23649
|
-
/* harmony export */ "utcTickInterval": () => (/* binding */ utcTickInterval),
|
|
23735
|
+
/* harmony export */ "timeTickInterval": () => (/* binding */ timeTickInterval),
|
|
23650
23736
|
/* harmony export */ "timeTicks": () => (/* binding */ timeTicks),
|
|
23651
|
-
/* harmony export */ "
|
|
23737
|
+
/* harmony export */ "utcTickInterval": () => (/* binding */ utcTickInterval),
|
|
23738
|
+
/* harmony export */ "utcTicks": () => (/* binding */ utcTicks)
|
|
23652
23739
|
/* harmony export */ });
|
|
23653
23740
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/bisector.js");
|
|
23654
23741
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
@@ -23875,20 +23962,20 @@ var utcMonths = utcMonth.range;
|
|
|
23875
23962
|
"use strict";
|
|
23876
23963
|
__webpack_require__.r(__webpack_exports__);
|
|
23877
23964
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23878
|
-
/* harmony export */ "utcSunday": () => (/* binding */ utcSunday),
|
|
23879
|
-
/* harmony export */ "utcMonday": () => (/* binding */ utcMonday),
|
|
23880
|
-
/* harmony export */ "utcTuesday": () => (/* binding */ utcTuesday),
|
|
23881
|
-
/* harmony export */ "utcWednesday": () => (/* binding */ utcWednesday),
|
|
23882
|
-
/* harmony export */ "utcThursday": () => (/* binding */ utcThursday),
|
|
23883
23965
|
/* harmony export */ "utcFriday": () => (/* binding */ utcFriday),
|
|
23966
|
+
/* harmony export */ "utcFridays": () => (/* binding */ utcFridays),
|
|
23967
|
+
/* harmony export */ "utcMonday": () => (/* binding */ utcMonday),
|
|
23968
|
+
/* harmony export */ "utcMondays": () => (/* binding */ utcMondays),
|
|
23884
23969
|
/* harmony export */ "utcSaturday": () => (/* binding */ utcSaturday),
|
|
23970
|
+
/* harmony export */ "utcSaturdays": () => (/* binding */ utcSaturdays),
|
|
23971
|
+
/* harmony export */ "utcSunday": () => (/* binding */ utcSunday),
|
|
23885
23972
|
/* harmony export */ "utcSundays": () => (/* binding */ utcSundays),
|
|
23886
|
-
/* harmony export */ "
|
|
23887
|
-
/* harmony export */ "utcTuesdays": () => (/* binding */ utcTuesdays),
|
|
23888
|
-
/* harmony export */ "utcWednesdays": () => (/* binding */ utcWednesdays),
|
|
23973
|
+
/* harmony export */ "utcThursday": () => (/* binding */ utcThursday),
|
|
23889
23974
|
/* harmony export */ "utcThursdays": () => (/* binding */ utcThursdays),
|
|
23890
|
-
/* harmony export */ "
|
|
23891
|
-
/* harmony export */ "
|
|
23975
|
+
/* harmony export */ "utcTuesday": () => (/* binding */ utcTuesday),
|
|
23976
|
+
/* harmony export */ "utcTuesdays": () => (/* binding */ utcTuesdays),
|
|
23977
|
+
/* harmony export */ "utcWednesday": () => (/* binding */ utcWednesday),
|
|
23978
|
+
/* harmony export */ "utcWednesdays": () => (/* binding */ utcWednesdays)
|
|
23892
23979
|
/* harmony export */ });
|
|
23893
23980
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
23894
23981
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -23977,20 +24064,20 @@ var utcYears = utcYear.range;
|
|
|
23977
24064
|
"use strict";
|
|
23978
24065
|
__webpack_require__.r(__webpack_exports__);
|
|
23979
24066
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23980
|
-
/* harmony export */ "sunday": () => (/* binding */ sunday),
|
|
23981
|
-
/* harmony export */ "monday": () => (/* binding */ monday),
|
|
23982
|
-
/* harmony export */ "tuesday": () => (/* binding */ tuesday),
|
|
23983
|
-
/* harmony export */ "wednesday": () => (/* binding */ wednesday),
|
|
23984
|
-
/* harmony export */ "thursday": () => (/* binding */ thursday),
|
|
23985
24067
|
/* harmony export */ "friday": () => (/* binding */ friday),
|
|
24068
|
+
/* harmony export */ "fridays": () => (/* binding */ fridays),
|
|
24069
|
+
/* harmony export */ "monday": () => (/* binding */ monday),
|
|
24070
|
+
/* harmony export */ "mondays": () => (/* binding */ mondays),
|
|
23986
24071
|
/* harmony export */ "saturday": () => (/* binding */ saturday),
|
|
24072
|
+
/* harmony export */ "saturdays": () => (/* binding */ saturdays),
|
|
24073
|
+
/* harmony export */ "sunday": () => (/* binding */ sunday),
|
|
23987
24074
|
/* harmony export */ "sundays": () => (/* binding */ sundays),
|
|
23988
|
-
/* harmony export */ "
|
|
23989
|
-
/* harmony export */ "tuesdays": () => (/* binding */ tuesdays),
|
|
23990
|
-
/* harmony export */ "wednesdays": () => (/* binding */ wednesdays),
|
|
24075
|
+
/* harmony export */ "thursday": () => (/* binding */ thursday),
|
|
23991
24076
|
/* harmony export */ "thursdays": () => (/* binding */ thursdays),
|
|
23992
|
-
/* harmony export */ "
|
|
23993
|
-
/* harmony export */ "
|
|
24077
|
+
/* harmony export */ "tuesday": () => (/* binding */ tuesday),
|
|
24078
|
+
/* harmony export */ "tuesdays": () => (/* binding */ tuesdays),
|
|
24079
|
+
/* harmony export */ "wednesday": () => (/* binding */ wednesday),
|
|
24080
|
+
/* harmony export */ "wednesdays": () => (/* binding */ wednesdays)
|
|
23994
24081
|
/* harmony export */ });
|
|
23995
24082
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
23996
24083
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -24079,8 +24166,8 @@ var years = year.range;
|
|
|
24079
24166
|
"use strict";
|
|
24080
24167
|
__webpack_require__.r(__webpack_exports__);
|
|
24081
24168
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24082
|
-
/* harmony export */ "now": () => (/* binding */ now),
|
|
24083
24169
|
/* harmony export */ "Timer": () => (/* binding */ Timer),
|
|
24170
|
+
/* harmony export */ "now": () => (/* binding */ now),
|
|
24084
24171
|
/* harmony export */ "timer": () => (/* binding */ timer),
|
|
24085
24172
|
/* harmony export */ "timerFlush": () => (/* binding */ timerFlush)
|
|
24086
24173
|
/* harmony export */ });
|
|
@@ -24376,8 +24463,8 @@ var __webpack_exports__ = {};
|
|
|
24376
24463
|
\******************/
|
|
24377
24464
|
__webpack_require__.r(__webpack_exports__);
|
|
24378
24465
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24379
|
-
/* harmony export */ "
|
|
24380
|
-
/* harmony export */ "
|
|
24466
|
+
/* harmony export */ "Area": () => (/* reexport safe */ _area__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
24467
|
+
/* harmony export */ "VictoryArea": () => (/* reexport safe */ _victory_area__WEBPACK_IMPORTED_MODULE_0__["default"])
|
|
24381
24468
|
/* harmony export */ });
|
|
24382
24469
|
/* harmony import */ var _victory_area__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./victory-area */ "./victory-area.js");
|
|
24383
24470
|
/* harmony import */ var _area__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./area */ "./area.js");
|