victory-scatter 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-scatter.js +548 -463
- package/dist/victory-scatter.min.js +1 -1
- package/es/victory-scatter.js +2 -2
- package/lib/victory-scatter.js +2 -4
- package/package.json +4 -4
- package/src/victory-scatter.js +5 -6
package/dist/victory-scatter.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
exports["VictoryScatter"] = factory(require("react"));
|
|
8
8
|
else
|
|
9
9
|
root["VictoryScatter"] = factory(root["React"]);
|
|
10
|
-
})(self,
|
|
10
|
+
})(self, (__WEBPACK_EXTERNAL_MODULE_react__) => {
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
@@ -20,10 +20,10 @@ return /******/ (() => { // webpackBootstrap
|
|
|
20
20
|
"use strict";
|
|
21
21
|
__webpack_require__.r(__webpack_exports__);
|
|
22
22
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23
|
-
/* harmony export */ "
|
|
23
|
+
/* harmony export */ "getBaseProps": () => (/* binding */ getBaseProps),
|
|
24
24
|
/* harmony export */ "getBubbleSize": () => (/* binding */ getBubbleSize),
|
|
25
25
|
/* harmony export */ "getSize": () => (/* binding */ getSize),
|
|
26
|
-
/* harmony export */ "
|
|
26
|
+
/* harmony export */ "getSymbol": () => (/* binding */ getSymbol)
|
|
27
27
|
/* harmony export */ });
|
|
28
28
|
/* harmony import */ var lodash_isNil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isNil */ "../../../node_modules/lodash/isNil.js");
|
|
29
29
|
/* harmony import */ var lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isNil__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -220,14 +220,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
220
220
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
221
221
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
222
222
|
/* harmony export */ });
|
|
223
|
-
/* harmony import */ var
|
|
224
|
-
/* harmony import */ var
|
|
225
|
-
/* harmony import */ var
|
|
226
|
-
/* harmony import */ var
|
|
227
|
-
/* harmony import */ var
|
|
228
|
-
/* harmony import */ var
|
|
229
|
-
/* harmony import */ var
|
|
230
|
-
/* harmony import */ var
|
|
223
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
224
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
|
|
225
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
226
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
227
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/helpers.js");
|
|
228
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/user-props.js");
|
|
229
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/default-transitions.js");
|
|
230
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/common-props.js");
|
|
231
231
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/prop-types.js");
|
|
232
232
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-container/victory-container.js");
|
|
233
233
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-primitives/point.js");
|
|
@@ -297,20 +297,20 @@ var VictoryScatter = /*#__PURE__*/function (_React$Component) {
|
|
|
297
297
|
value: function render() {
|
|
298
298
|
var animationWhitelist = VictoryScatter.animationWhitelist,
|
|
299
299
|
role = VictoryScatter.role;
|
|
300
|
-
var props =
|
|
300
|
+
var props = victory_core__WEBPACK_IMPORTED_MODULE_1__.modifyProps(this.props, fallbackProps, role);
|
|
301
301
|
|
|
302
302
|
if (this.shouldAnimate()) {
|
|
303
303
|
return this.animateComponent(props, animationWhitelist);
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
var children = this.renderData(props);
|
|
307
|
-
var
|
|
308
|
-
return
|
|
307
|
+
var component = props.standalone ? this.renderContainer(props.containerComponent, children) : children;
|
|
308
|
+
return victory_core__WEBPACK_IMPORTED_MODULE_2__.withSafeUserProps(component, props);
|
|
309
309
|
}
|
|
310
310
|
}]);
|
|
311
311
|
|
|
312
312
|
return VictoryScatter;
|
|
313
|
-
}((
|
|
313
|
+
}((react__WEBPACK_IMPORTED_MODULE_0___default().Component));
|
|
314
314
|
|
|
315
315
|
_defineProperty(VictoryScatter, "animationWhitelist", ["data", "domain", "height", "maxBubbleSize", "padding", "samples", "size", "style", "width"]);
|
|
316
316
|
|
|
@@ -318,21 +318,21 @@ _defineProperty(VictoryScatter, "displayName", "VictoryScatter");
|
|
|
318
318
|
|
|
319
319
|
_defineProperty(VictoryScatter, "role", "scatter");
|
|
320
320
|
|
|
321
|
-
_defineProperty(VictoryScatter, "defaultTransitions",
|
|
321
|
+
_defineProperty(VictoryScatter, "defaultTransitions", victory_core__WEBPACK_IMPORTED_MODULE_3__.discreteTransitions());
|
|
322
322
|
|
|
323
|
-
_defineProperty(VictoryScatter, "propTypes", _objectSpread(_objectSpread(_objectSpread({},
|
|
324
|
-
bubbleProperty: (
|
|
323
|
+
_defineProperty(VictoryScatter, "propTypes", _objectSpread(_objectSpread(_objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_4__.baseProps), victory_core__WEBPACK_IMPORTED_MODULE_4__.dataProps), {}, {
|
|
324
|
+
bubbleProperty: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
|
|
325
325
|
maxBubbleSize: victory_core__WEBPACK_IMPORTED_MODULE_6__.nonNegative,
|
|
326
326
|
minBubbleSize: victory_core__WEBPACK_IMPORTED_MODULE_6__.nonNegative,
|
|
327
|
-
size:
|
|
328
|
-
symbol:
|
|
327
|
+
size: prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOfType([victory_core__WEBPACK_IMPORTED_MODULE_6__.nonNegative, (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)]),
|
|
328
|
+
symbol: prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOf(["circle", "cross", "diamond", "plus", "minus", "square", "star", "triangleDown", "triangleUp"]), (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)])
|
|
329
329
|
}));
|
|
330
330
|
|
|
331
331
|
_defineProperty(VictoryScatter, "defaultProps", {
|
|
332
|
-
containerComponent: /*#__PURE__*/
|
|
333
|
-
dataComponent: /*#__PURE__*/
|
|
334
|
-
labelComponent: /*#__PURE__*/
|
|
335
|
-
groupComponent: /*#__PURE__*/
|
|
332
|
+
containerComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_7__["default"], null),
|
|
333
|
+
dataComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_8__["default"], null),
|
|
334
|
+
labelComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_9__["default"], null),
|
|
335
|
+
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("g", null),
|
|
336
336
|
samples: 50,
|
|
337
337
|
sortOrder: "ascending",
|
|
338
338
|
standalone: true,
|
|
@@ -5806,7 +5806,7 @@ var printWarning = function() {};
|
|
|
5806
5806
|
if (true) {
|
|
5807
5807
|
var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../../node_modules/prop-types/lib/ReactPropTypesSecret.js");
|
|
5808
5808
|
var loggedTypeFailures = {};
|
|
5809
|
-
var has =
|
|
5809
|
+
var has = __webpack_require__(/*! ./lib/has */ "../../../node_modules/prop-types/lib/has.js");
|
|
5810
5810
|
|
|
5811
5811
|
printWarning = function(text) {
|
|
5812
5812
|
var message = 'Warning: ' + text;
|
|
@@ -5818,7 +5818,7 @@ if (true) {
|
|
|
5818
5818
|
// This error was thrown as a convenience so that you can use this stack
|
|
5819
5819
|
// to find the callsite that caused this warning to fire.
|
|
5820
5820
|
throw new Error(message);
|
|
5821
|
-
} catch (x) {}
|
|
5821
|
+
} catch (x) { /**/ }
|
|
5822
5822
|
};
|
|
5823
5823
|
}
|
|
5824
5824
|
|
|
@@ -5847,7 +5847,8 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
|
5847
5847
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
5848
5848
|
var err = Error(
|
|
5849
5849
|
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
5850
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
5850
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
5851
|
+
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
5851
5852
|
);
|
|
5852
5853
|
err.name = 'Invariant Violation';
|
|
5853
5854
|
throw err;
|
|
@@ -5918,9 +5919,9 @@ var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/react-i
|
|
|
5918
5919
|
var assign = __webpack_require__(/*! object-assign */ "../../../node_modules/object-assign/index.js");
|
|
5919
5920
|
|
|
5920
5921
|
var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../../node_modules/prop-types/lib/ReactPropTypesSecret.js");
|
|
5922
|
+
var has = __webpack_require__(/*! ./lib/has */ "../../../node_modules/prop-types/lib/has.js");
|
|
5921
5923
|
var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "../../../node_modules/prop-types/checkPropTypes.js");
|
|
5922
5924
|
|
|
5923
|
-
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
5924
5925
|
var printWarning = function() {};
|
|
5925
5926
|
|
|
5926
5927
|
if (true) {
|
|
@@ -6021,6 +6022,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6021
6022
|
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
6022
6023
|
var ReactPropTypes = {
|
|
6023
6024
|
array: createPrimitiveTypeChecker('array'),
|
|
6025
|
+
bigint: createPrimitiveTypeChecker('bigint'),
|
|
6024
6026
|
bool: createPrimitiveTypeChecker('boolean'),
|
|
6025
6027
|
func: createPrimitiveTypeChecker('function'),
|
|
6026
6028
|
number: createPrimitiveTypeChecker('number'),
|
|
@@ -6066,8 +6068,9 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6066
6068
|
* is prohibitively expensive if they are created too often, such as what
|
|
6067
6069
|
* happens in oneOfType() for any type before the one that matched.
|
|
6068
6070
|
*/
|
|
6069
|
-
function PropTypeError(message) {
|
|
6071
|
+
function PropTypeError(message, data) {
|
|
6070
6072
|
this.message = message;
|
|
6073
|
+
this.data = data && typeof data === 'object' ? data: {};
|
|
6071
6074
|
this.stack = '';
|
|
6072
6075
|
}
|
|
6073
6076
|
// Make `instanceof Error` still work for returned errors.
|
|
@@ -6102,7 +6105,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6102
6105
|
) {
|
|
6103
6106
|
printWarning(
|
|
6104
6107
|
'You are manually calling a React.PropTypes validation ' +
|
|
6105
|
-
'function for the `' + propFullName + '` prop on `' + componentName
|
|
6108
|
+
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
6106
6109
|
'and will throw in the standalone `prop-types` package. ' +
|
|
6107
6110
|
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
6108
6111
|
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
@@ -6141,7 +6144,10 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6141
6144
|
// 'of type `object`'.
|
|
6142
6145
|
var preciseType = getPreciseType(propValue);
|
|
6143
6146
|
|
|
6144
|
-
return new PropTypeError(
|
|
6147
|
+
return new PropTypeError(
|
|
6148
|
+
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
6149
|
+
{expectedType: expectedType}
|
|
6150
|
+
);
|
|
6145
6151
|
}
|
|
6146
6152
|
return null;
|
|
6147
6153
|
}
|
|
@@ -6285,14 +6291,19 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6285
6291
|
}
|
|
6286
6292
|
|
|
6287
6293
|
function validate(props, propName, componentName, location, propFullName) {
|
|
6294
|
+
var expectedTypes = [];
|
|
6288
6295
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
6289
6296
|
var checker = arrayOfTypeCheckers[i];
|
|
6290
|
-
|
|
6297
|
+
var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
|
6298
|
+
if (checkerResult == null) {
|
|
6291
6299
|
return null;
|
|
6292
6300
|
}
|
|
6301
|
+
if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
|
|
6302
|
+
expectedTypes.push(checkerResult.data.expectedType);
|
|
6303
|
+
}
|
|
6293
6304
|
}
|
|
6294
|
-
|
|
6295
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '
|
|
6305
|
+
var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
|
|
6306
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
|
|
6296
6307
|
}
|
|
6297
6308
|
return createChainableTypeChecker(validate);
|
|
6298
6309
|
}
|
|
@@ -6307,6 +6318,13 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6307
6318
|
return createChainableTypeChecker(validate);
|
|
6308
6319
|
}
|
|
6309
6320
|
|
|
6321
|
+
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
6322
|
+
return new PropTypeError(
|
|
6323
|
+
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
6324
|
+
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
6325
|
+
);
|
|
6326
|
+
}
|
|
6327
|
+
|
|
6310
6328
|
function createShapeTypeChecker(shapeTypes) {
|
|
6311
6329
|
function validate(props, propName, componentName, location, propFullName) {
|
|
6312
6330
|
var propValue = props[propName];
|
|
@@ -6316,8 +6334,8 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6316
6334
|
}
|
|
6317
6335
|
for (var key in shapeTypes) {
|
|
6318
6336
|
var checker = shapeTypes[key];
|
|
6319
|
-
if (
|
|
6320
|
-
|
|
6337
|
+
if (typeof checker !== 'function') {
|
|
6338
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
6321
6339
|
}
|
|
6322
6340
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
6323
6341
|
if (error) {
|
|
@@ -6336,16 +6354,18 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6336
6354
|
if (propType !== 'object') {
|
|
6337
6355
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
6338
6356
|
}
|
|
6339
|
-
// We need to check all keys in case some are required but missing from
|
|
6340
|
-
// props.
|
|
6357
|
+
// We need to check all keys in case some are required but missing from props.
|
|
6341
6358
|
var allKeys = assign({}, props[propName], shapeTypes);
|
|
6342
6359
|
for (var key in allKeys) {
|
|
6343
6360
|
var checker = shapeTypes[key];
|
|
6361
|
+
if (has(shapeTypes, key) && typeof checker !== 'function') {
|
|
6362
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
6363
|
+
}
|
|
6344
6364
|
if (!checker) {
|
|
6345
6365
|
return new PropTypeError(
|
|
6346
6366
|
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
6347
6367
|
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
6348
|
-
'\nValid keys: ' +
|
|
6368
|
+
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
6349
6369
|
);
|
|
6350
6370
|
}
|
|
6351
6371
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
@@ -6546,6 +6566,17 @@ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
|
6546
6566
|
module.exports = ReactPropTypesSecret;
|
|
6547
6567
|
|
|
6548
6568
|
|
|
6569
|
+
/***/ }),
|
|
6570
|
+
|
|
6571
|
+
/***/ "../../../node_modules/prop-types/lib/has.js":
|
|
6572
|
+
/*!***************************************************!*\
|
|
6573
|
+
!*** ../../../node_modules/prop-types/lib/has.js ***!
|
|
6574
|
+
\***************************************************/
|
|
6575
|
+
/***/ ((module) => {
|
|
6576
|
+
|
|
6577
|
+
module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
6578
|
+
|
|
6579
|
+
|
|
6549
6580
|
/***/ }),
|
|
6550
6581
|
|
|
6551
6582
|
/***/ "../../../node_modules/react-fast-compare/index.js":
|
|
@@ -6554,26 +6585,24 @@ module.exports = ReactPropTypesSecret;
|
|
|
6554
6585
|
\*********************************************************/
|
|
6555
6586
|
/***/ ((module) => {
|
|
6556
6587
|
|
|
6557
|
-
|
|
6558
|
-
|
|
6588
|
+
/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */
|
|
6559
6589
|
|
|
6560
|
-
var isArray = Array.isArray;
|
|
6561
|
-
var keyList = Object.keys;
|
|
6562
|
-
var hasProp = Object.prototype.hasOwnProperty;
|
|
6563
6590
|
var hasElementType = typeof Element !== 'undefined';
|
|
6591
|
+
var hasMap = typeof Map === 'function';
|
|
6592
|
+
var hasSet = typeof Set === 'function';
|
|
6593
|
+
var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;
|
|
6594
|
+
|
|
6595
|
+
// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js
|
|
6564
6596
|
|
|
6565
6597
|
function equal(a, b) {
|
|
6566
|
-
// fast-deep-equal index.js
|
|
6598
|
+
// START: fast-deep-equal es6/index.js 3.1.1
|
|
6567
6599
|
if (a === b) return true;
|
|
6568
6600
|
|
|
6569
6601
|
if (a && b && typeof a == 'object' && typeof b == 'object') {
|
|
6570
|
-
|
|
6571
|
-
, arrB = isArray(b)
|
|
6572
|
-
, i
|
|
6573
|
-
, length
|
|
6574
|
-
, key;
|
|
6602
|
+
if (a.constructor !== b.constructor) return false;
|
|
6575
6603
|
|
|
6576
|
-
|
|
6604
|
+
var length, i, keys;
|
|
6605
|
+
if (Array.isArray(a)) {
|
|
6577
6606
|
length = a.length;
|
|
6578
6607
|
if (length != b.length) return false;
|
|
6579
6608
|
for (i = length; i-- !== 0;)
|
|
@@ -6581,50 +6610,91 @@ function equal(a, b) {
|
|
|
6581
6610
|
return true;
|
|
6582
6611
|
}
|
|
6583
6612
|
|
|
6584
|
-
|
|
6613
|
+
// START: Modifications:
|
|
6614
|
+
// 1. Extra `has<Type> &&` helpers in initial condition allow es6 code
|
|
6615
|
+
// to co-exist with es5.
|
|
6616
|
+
// 2. Replace `for of` with es5 compliant iteration using `for`.
|
|
6617
|
+
// Basically, take:
|
|
6618
|
+
//
|
|
6619
|
+
// ```js
|
|
6620
|
+
// for (i of a.entries())
|
|
6621
|
+
// if (!b.has(i[0])) return false;
|
|
6622
|
+
// ```
|
|
6623
|
+
//
|
|
6624
|
+
// ... and convert to:
|
|
6625
|
+
//
|
|
6626
|
+
// ```js
|
|
6627
|
+
// it = a.entries();
|
|
6628
|
+
// while (!(i = it.next()).done)
|
|
6629
|
+
// if (!b.has(i.value[0])) return false;
|
|
6630
|
+
// ```
|
|
6631
|
+
//
|
|
6632
|
+
// **Note**: `i` access switches to `i.value`.
|
|
6633
|
+
var it;
|
|
6634
|
+
if (hasMap && (a instanceof Map) && (b instanceof Map)) {
|
|
6635
|
+
if (a.size !== b.size) return false;
|
|
6636
|
+
it = a.entries();
|
|
6637
|
+
while (!(i = it.next()).done)
|
|
6638
|
+
if (!b.has(i.value[0])) return false;
|
|
6639
|
+
it = a.entries();
|
|
6640
|
+
while (!(i = it.next()).done)
|
|
6641
|
+
if (!equal(i.value[1], b.get(i.value[0]))) return false;
|
|
6642
|
+
return true;
|
|
6643
|
+
}
|
|
6585
6644
|
|
|
6586
|
-
|
|
6587
|
-
|
|
6588
|
-
|
|
6589
|
-
|
|
6645
|
+
if (hasSet && (a instanceof Set) && (b instanceof Set)) {
|
|
6646
|
+
if (a.size !== b.size) return false;
|
|
6647
|
+
it = a.entries();
|
|
6648
|
+
while (!(i = it.next()).done)
|
|
6649
|
+
if (!b.has(i.value[0])) return false;
|
|
6650
|
+
return true;
|
|
6651
|
+
}
|
|
6652
|
+
// END: Modifications
|
|
6590
6653
|
|
|
6591
|
-
|
|
6592
|
-
|
|
6593
|
-
|
|
6594
|
-
|
|
6654
|
+
if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
|
|
6655
|
+
length = a.length;
|
|
6656
|
+
if (length != b.length) return false;
|
|
6657
|
+
for (i = length; i-- !== 0;)
|
|
6658
|
+
if (a[i] !== b[i]) return false;
|
|
6659
|
+
return true;
|
|
6660
|
+
}
|
|
6595
6661
|
|
|
6596
|
-
|
|
6597
|
-
|
|
6662
|
+
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
|
|
6663
|
+
if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
|
|
6664
|
+
if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
|
|
6598
6665
|
|
|
6599
|
-
|
|
6600
|
-
|
|
6666
|
+
keys = Object.keys(a);
|
|
6667
|
+
length = keys.length;
|
|
6668
|
+
if (length !== Object.keys(b).length) return false;
|
|
6601
6669
|
|
|
6602
6670
|
for (i = length; i-- !== 0;)
|
|
6603
|
-
if (!
|
|
6604
|
-
//
|
|
6671
|
+
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
6672
|
+
// END: fast-deep-equal
|
|
6605
6673
|
|
|
6606
|
-
//
|
|
6674
|
+
// START: react-fast-compare
|
|
6607
6675
|
// custom handling for DOM elements
|
|
6608
|
-
if (hasElementType && a instanceof Element
|
|
6609
|
-
return a === b;
|
|
6676
|
+
if (hasElementType && a instanceof Element) return false;
|
|
6610
6677
|
|
|
6611
|
-
// custom handling for React
|
|
6678
|
+
// custom handling for React/Preact
|
|
6612
6679
|
for (i = length; i-- !== 0;) {
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
//
|
|
6616
|
-
//
|
|
6617
|
-
//
|
|
6618
|
-
//
|
|
6680
|
+
if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {
|
|
6681
|
+
// React-specific: avoid traversing React elements' _owner
|
|
6682
|
+
// Preact-specific: avoid traversing Preact elements' __v and __o
|
|
6683
|
+
// __v = $_original / $_vnode
|
|
6684
|
+
// __o = $_owner
|
|
6685
|
+
// These properties contain circular references and are not needed when
|
|
6686
|
+
// comparing the actual elements (and not their owners)
|
|
6687
|
+
// .$$typeof and ._store on just reasonable markers of elements
|
|
6688
|
+
|
|
6619
6689
|
continue;
|
|
6620
|
-
} else {
|
|
6621
|
-
// all other properties should be traversed as usual
|
|
6622
|
-
if (!equal(a[key], b[key])) return false;
|
|
6623
6690
|
}
|
|
6691
|
+
|
|
6692
|
+
// all other properties should be traversed as usual
|
|
6693
|
+
if (!equal(a[keys[i]], b[keys[i]])) return false;
|
|
6624
6694
|
}
|
|
6625
|
-
//
|
|
6695
|
+
// END: react-fast-compare
|
|
6626
6696
|
|
|
6627
|
-
// fast-deep-equal
|
|
6697
|
+
// START: fast-deep-equal
|
|
6628
6698
|
return true;
|
|
6629
6699
|
}
|
|
6630
6700
|
|
|
@@ -6632,17 +6702,17 @@ function equal(a, b) {
|
|
|
6632
6702
|
}
|
|
6633
6703
|
// end fast-deep-equal
|
|
6634
6704
|
|
|
6635
|
-
module.exports = function
|
|
6705
|
+
module.exports = function isEqual(a, b) {
|
|
6636
6706
|
try {
|
|
6637
6707
|
return equal(a, b);
|
|
6638
6708
|
} catch (error) {
|
|
6639
|
-
if ((error.message
|
|
6709
|
+
if (((error.message || '').match(/stack|recursion/i))) {
|
|
6640
6710
|
// warn on circular references, don't crash
|
|
6641
6711
|
// browsers give this different errors name and messages:
|
|
6642
6712
|
// chrome/safari: "RangeError", "Maximum call stack size exceeded"
|
|
6643
6713
|
// firefox: "InternalError", too much recursion"
|
|
6644
6714
|
// edge: "Error", "Out of stack space"
|
|
6645
|
-
console.warn('
|
|
6715
|
+
console.warn('react-fast-compare cannot handle circular refs');
|
|
6646
6716
|
return false;
|
|
6647
6717
|
}
|
|
6648
6718
|
// some other error. we should definitely know about these
|
|
@@ -6870,11 +6940,11 @@ if (false) {} else {
|
|
|
6870
6940
|
"use strict";
|
|
6871
6941
|
__webpack_require__.r(__webpack_exports__);
|
|
6872
6942
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6873
|
-
/* harmony export */ "isInterpolatable": () => (/* binding */ isInterpolatable),
|
|
6874
|
-
/* harmony export */ "interpolateImmediate": () => (/* binding */ interpolateImmediate),
|
|
6875
6943
|
/* harmony export */ "interpolateFunction": () => (/* binding */ interpolateFunction),
|
|
6944
|
+
/* harmony export */ "interpolateImmediate": () => (/* binding */ interpolateImmediate),
|
|
6876
6945
|
/* harmony export */ "interpolateObject": () => (/* binding */ interpolateObject),
|
|
6877
6946
|
/* harmony export */ "interpolateString": () => (/* binding */ interpolateString),
|
|
6947
|
+
/* harmony export */ "isInterpolatable": () => (/* binding */ isInterpolatable),
|
|
6878
6948
|
/* harmony export */ "victoryInterpolator": () => (/* binding */ victoryInterpolator)
|
|
6879
6949
|
/* harmony export */ });
|
|
6880
6950
|
/* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/orderBy */ "../../../node_modules/lodash/orderBy.js");
|
|
@@ -7109,13 +7179,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7109
7179
|
/* harmony export */ });
|
|
7110
7180
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
7111
7181
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
7112
|
-
/* harmony import */ var
|
|
7113
|
-
/* harmony import */ var
|
|
7114
|
-
/* harmony import */ var
|
|
7115
|
-
/* harmony import */ var
|
|
7182
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
7183
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
7184
|
+
/* harmony import */ var victory_vendor_d3_ease__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! victory-vendor/d3-ease */ "../../victory-vendor/es/d3-ease.js");
|
|
7185
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util */ "../../victory-core/es/victory-animation/util.js");
|
|
7116
7186
|
/* 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");
|
|
7117
|
-
/* harmony import */ var
|
|
7118
|
-
/* harmony import */ var
|
|
7187
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/react-fast-compare/index.js");
|
|
7188
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_1__);
|
|
7119
7189
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
7120
7190
|
|
|
7121
7191
|
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."); }
|
|
@@ -7182,7 +7252,7 @@ var VictoryAnimation = /*#__PURE__*/function (_React$Component) {
|
|
|
7182
7252
|
_this.queue = Array.isArray(_this.props.data) ? _this.props.data.slice(1) : [];
|
|
7183
7253
|
/* build easing function */
|
|
7184
7254
|
|
|
7185
|
-
_this.ease =
|
|
7255
|
+
_this.ease = victory_vendor_d3_ease__WEBPACK_IMPORTED_MODULE_2__[_this.toNewName(_this.props.easing)];
|
|
7186
7256
|
/*
|
|
7187
7257
|
There is no autobinding of this in ES6 classes
|
|
7188
7258
|
so we bind functionToBeRunEachFrame to current instance of victory animation class
|
|
@@ -7204,7 +7274,7 @@ var VictoryAnimation = /*#__PURE__*/function (_React$Component) {
|
|
|
7204
7274
|
}, {
|
|
7205
7275
|
key: "componentDidUpdate",
|
|
7206
7276
|
value: function componentDidUpdate(prevProps) {
|
|
7207
|
-
var equalProps =
|
|
7277
|
+
var equalProps = react_fast_compare__WEBPACK_IMPORTED_MODULE_1___default()(this.props, prevProps);
|
|
7208
7278
|
|
|
7209
7279
|
if (!equalProps) {
|
|
7210
7280
|
/* If the previous animation didn't finish, force it to complete before starting a new one */
|
|
@@ -7273,7 +7343,7 @@ var VictoryAnimation = /*#__PURE__*/function (_React$Component) {
|
|
|
7273
7343
|
var data = this.queue[0];
|
|
7274
7344
|
/* compare cached version to next props */
|
|
7275
7345
|
|
|
7276
|
-
this.interpolator = (0,
|
|
7346
|
+
this.interpolator = (0,_util__WEBPACK_IMPORTED_MODULE_3__.victoryInterpolator)(this.state.data, data);
|
|
7277
7347
|
/* reset step to zero */
|
|
7278
7348
|
|
|
7279
7349
|
if (this.props.delay) {
|
|
@@ -7345,12 +7415,12 @@ var VictoryAnimation = /*#__PURE__*/function (_React$Component) {
|
|
|
7345
7415
|
_defineProperty(VictoryAnimation, "displayName", "VictoryAnimation");
|
|
7346
7416
|
|
|
7347
7417
|
_defineProperty(VictoryAnimation, "propTypes", {
|
|
7348
|
-
children: (
|
|
7349
|
-
data:
|
|
7350
|
-
delay: (
|
|
7351
|
-
duration: (
|
|
7352
|
-
easing:
|
|
7353
|
-
onEnd: (
|
|
7418
|
+
children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
|
|
7419
|
+
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)]),
|
|
7420
|
+
delay: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
7421
|
+
duration: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
7422
|
+
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"]),
|
|
7423
|
+
onEnd: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
|
|
7354
7424
|
});
|
|
7355
7425
|
|
|
7356
7426
|
_defineProperty(VictoryAnimation, "defaultProps", {
|
|
@@ -7389,14 +7459,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7389
7459
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_4__);
|
|
7390
7460
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "react");
|
|
7391
7461
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
|
|
7392
|
-
/* harmony import */ var
|
|
7393
|
-
/* harmony import */ var
|
|
7462
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
7463
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_9__);
|
|
7394
7464
|
/* 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");
|
|
7395
7465
|
/* harmony import */ var _victory_portal_portal__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../victory-portal/portal */ "../../victory-core/es/victory-portal/portal.js");
|
|
7396
|
-
/* harmony import */ var
|
|
7466
|
+
/* 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");
|
|
7397
7467
|
/* 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");
|
|
7398
|
-
/* harmony import */ var
|
|
7399
|
-
/* harmony import */ var
|
|
7468
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
7469
|
+
/* 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");
|
|
7400
7470
|
|
|
7401
7471
|
|
|
7402
7472
|
|
|
@@ -7574,7 +7644,7 @@ var VictoryContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
7574
7644
|
preserveAspectRatio: svgProps.preserveAspectRatio,
|
|
7575
7645
|
style: portalSvgStyle
|
|
7576
7646
|
};
|
|
7577
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(
|
|
7647
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_6__["default"].Provider, {
|
|
7578
7648
|
value: {
|
|
7579
7649
|
portalUpdate: this.portalUpdate,
|
|
7580
7650
|
portalRegister: this.portalRegister,
|
|
@@ -7609,8 +7679,8 @@ var VictoryContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
7609
7679
|
tabIndex = _this$props.tabIndex,
|
|
7610
7680
|
preserveAspectRatio = _this$props.preserveAspectRatio,
|
|
7611
7681
|
role = _this$props.role;
|
|
7612
|
-
var style = responsive ? this.props.style :
|
|
7613
|
-
var userProps =
|
|
7682
|
+
var style = responsive ? this.props.style : _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__.omit(this.props.style, ["height", "width"]);
|
|
7683
|
+
var userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_8__.getSafeUserProps(this.props);
|
|
7614
7684
|
|
|
7615
7685
|
var svgProps = lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()(_objectSpread({
|
|
7616
7686
|
width: width,
|
|
@@ -7635,33 +7705,33 @@ _defineProperty(VictoryContainer, "displayName", "VictoryContainer");
|
|
|
7635
7705
|
_defineProperty(VictoryContainer, "role", "container");
|
|
7636
7706
|
|
|
7637
7707
|
_defineProperty(VictoryContainer, "propTypes", {
|
|
7638
|
-
"aria-describedby": (
|
|
7639
|
-
"aria-labelledby": (
|
|
7640
|
-
children:
|
|
7641
|
-
className: (
|
|
7642
|
-
containerId:
|
|
7643
|
-
containerRef: (
|
|
7644
|
-
desc: (
|
|
7645
|
-
events: (
|
|
7708
|
+
"aria-describedby": (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7709
|
+
"aria-labelledby": (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7710
|
+
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)]),
|
|
7711
|
+
className: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7712
|
+
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)]),
|
|
7713
|
+
containerRef: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().func),
|
|
7714
|
+
desc: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7715
|
+
events: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object),
|
|
7646
7716
|
height: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative,
|
|
7647
|
-
name: (
|
|
7648
|
-
origin:
|
|
7717
|
+
name: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7718
|
+
origin: prop_types__WEBPACK_IMPORTED_MODULE_9___default().shape({
|
|
7649
7719
|
x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative,
|
|
7650
7720
|
y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative
|
|
7651
7721
|
}),
|
|
7652
|
-
ouiaId:
|
|
7653
|
-
ouiaSafe: (
|
|
7654
|
-
ouiaType: (
|
|
7655
|
-
polar: (
|
|
7656
|
-
portalComponent: (
|
|
7722
|
+
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)]),
|
|
7723
|
+
ouiaSafe: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
|
|
7724
|
+
ouiaType: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7725
|
+
polar: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
|
|
7726
|
+
portalComponent: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().element),
|
|
7657
7727
|
portalZIndex: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.integer,
|
|
7658
|
-
preserveAspectRatio: (
|
|
7659
|
-
responsive: (
|
|
7660
|
-
role: (
|
|
7661
|
-
style: (
|
|
7662
|
-
tabIndex: (
|
|
7663
|
-
theme: (
|
|
7664
|
-
title: (
|
|
7728
|
+
preserveAspectRatio: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7729
|
+
responsive: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
|
|
7730
|
+
role: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7731
|
+
style: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object),
|
|
7732
|
+
tabIndex: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().number),
|
|
7733
|
+
theme: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object),
|
|
7734
|
+
title: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7665
7735
|
width: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative
|
|
7666
7736
|
});
|
|
7667
7737
|
|
|
@@ -7696,20 +7766,21 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7696
7766
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
|
|
7697
7767
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/assign */ "../../../node_modules/lodash/assign.js");
|
|
7698
7768
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_2__);
|
|
7699
|
-
/* harmony import */ var
|
|
7700
|
-
/* harmony import */ var
|
|
7701
|
-
/* harmony import */ var
|
|
7702
|
-
/* harmony import */ var
|
|
7769
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
7770
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_11__);
|
|
7771
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
|
|
7772
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
|
|
7703
7773
|
/* 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");
|
|
7704
|
-
/* harmony import */ var
|
|
7705
|
-
/* harmony import */ var
|
|
7706
|
-
/* harmony import */ var
|
|
7707
|
-
/* harmony import */ var
|
|
7708
|
-
/* harmony import */ var
|
|
7709
|
-
/* harmony import */ var
|
|
7710
|
-
/* harmony import */ var
|
|
7711
|
-
/* harmony import */ var
|
|
7774
|
+
/* harmony import */ var _victory_primitives_rect__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../victory-primitives/rect */ "../../victory-core/es/victory-primitives/rect.js");
|
|
7775
|
+
/* harmony import */ var _victory_primitives_text__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../victory-primitives/text */ "../../victory-core/es/victory-primitives/text.js");
|
|
7776
|
+
/* harmony import */ var _victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../victory-primitives/tspan */ "../../victory-core/es/victory-primitives/tspan.js");
|
|
7777
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
7778
|
+
/* 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");
|
|
7779
|
+
/* harmony import */ var _victory_util_log__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../victory-util/log */ "../../victory-core/es/victory-util/log.js");
|
|
7780
|
+
/* 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");
|
|
7781
|
+
/* harmony import */ var _victory_util_style__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/style */ "../../victory-core/es/victory-util/style.js");
|
|
7712
7782
|
/* harmony import */ var _victory_util_textsize__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../victory-util/textsize */ "../../victory-core/es/victory-util/textsize.js");
|
|
7783
|
+
/* 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");
|
|
7713
7784
|
|
|
7714
7785
|
|
|
7715
7786
|
|
|
@@ -7744,6 +7815,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
7744
7815
|
|
|
7745
7816
|
|
|
7746
7817
|
|
|
7818
|
+
|
|
7747
7819
|
var defaultStyles = {
|
|
7748
7820
|
fill: "#252525",
|
|
7749
7821
|
fontSize: 14,
|
|
@@ -7756,7 +7828,7 @@ var getPosition = function (props, dimension) {
|
|
|
7756
7828
|
return 0;
|
|
7757
7829
|
}
|
|
7758
7830
|
|
|
7759
|
-
var scaledPoint =
|
|
7831
|
+
var scaledPoint = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.scalePoint(props, props.datum);
|
|
7760
7832
|
return scaledPoint[dimension];
|
|
7761
7833
|
};
|
|
7762
7834
|
|
|
@@ -7773,7 +7845,7 @@ var getFontSize = function (style) {
|
|
|
7773
7845
|
if (!isNaN(fontSize)) {
|
|
7774
7846
|
return fontSize;
|
|
7775
7847
|
} else {
|
|
7776
|
-
|
|
7848
|
+
_victory_util_log__WEBPACK_IMPORTED_MODULE_5__.warn("fontSize should be expressed as a number of pixels");
|
|
7777
7849
|
return defaultStyles.fontSize;
|
|
7778
7850
|
}
|
|
7779
7851
|
}
|
|
@@ -7794,7 +7866,7 @@ var shouldUseMultilineBackgrounds = function (props) {
|
|
|
7794
7866
|
|
|
7795
7867
|
var getStyles = function (style, props) {
|
|
7796
7868
|
if (props.disableInlineStyles) {
|
|
7797
|
-
var baseStyles =
|
|
7869
|
+
var baseStyles = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateStyle(style, props);
|
|
7798
7870
|
return {
|
|
7799
7871
|
// Font size is necessary to calculate the y position of the label
|
|
7800
7872
|
fontSize: getFontSize(baseStyles)
|
|
@@ -7803,7 +7875,7 @@ var getStyles = function (style, props) {
|
|
|
7803
7875
|
|
|
7804
7876
|
var getSingleStyle = function (s) {
|
|
7805
7877
|
s = s ? lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, s, defaultStyles) : defaultStyles;
|
|
7806
|
-
var baseStyles =
|
|
7878
|
+
var baseStyles = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateStyle(s, props);
|
|
7807
7879
|
return lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, baseStyles, {
|
|
7808
7880
|
fontSize: getFontSize(baseStyles)
|
|
7809
7881
|
});
|
|
@@ -7820,28 +7892,28 @@ var getBackgroundStyles = function (style, props) {
|
|
|
7820
7892
|
}
|
|
7821
7893
|
|
|
7822
7894
|
return Array.isArray(style) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(style) ? style.map(function (s) {
|
|
7823
|
-
return
|
|
7824
|
-
}) :
|
|
7895
|
+
return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateStyle(s, props);
|
|
7896
|
+
}) : _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateStyle(style, props);
|
|
7825
7897
|
};
|
|
7826
7898
|
|
|
7827
7899
|
var getBackgroundPadding = function (props) {
|
|
7828
7900
|
if (props.backgroundPadding && Array.isArray(props.backgroundPadding)) {
|
|
7829
7901
|
return props.backgroundPadding.map(function (backgroundPadding) {
|
|
7830
|
-
var padding =
|
|
7831
|
-
return
|
|
7902
|
+
var padding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(backgroundPadding, props);
|
|
7903
|
+
return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.getPadding({
|
|
7832
7904
|
padding: padding
|
|
7833
7905
|
});
|
|
7834
7906
|
});
|
|
7835
7907
|
} else {
|
|
7836
|
-
var padding =
|
|
7837
|
-
return
|
|
7908
|
+
var padding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.backgroundPadding, props);
|
|
7909
|
+
return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.getPadding({
|
|
7838
7910
|
padding: padding
|
|
7839
7911
|
});
|
|
7840
7912
|
}
|
|
7841
7913
|
};
|
|
7842
7914
|
|
|
7843
7915
|
var getLineHeight = function (props) {
|
|
7844
|
-
var lineHeight =
|
|
7916
|
+
var lineHeight = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.lineHeight, props);
|
|
7845
7917
|
|
|
7846
7918
|
if (Array.isArray(lineHeight)) {
|
|
7847
7919
|
return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(lineHeight) ? [1] : lineHeight;
|
|
@@ -7857,11 +7929,11 @@ var getContent = function (text, props) {
|
|
|
7857
7929
|
|
|
7858
7930
|
if (Array.isArray(text)) {
|
|
7859
7931
|
return text.map(function (line) {
|
|
7860
|
-
return
|
|
7932
|
+
return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(line, props);
|
|
7861
7933
|
});
|
|
7862
7934
|
}
|
|
7863
7935
|
|
|
7864
|
-
var child =
|
|
7936
|
+
var child = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(text, props);
|
|
7865
7937
|
|
|
7866
7938
|
if (child === undefined || child === null) {
|
|
7867
7939
|
return undefined;
|
|
@@ -7871,10 +7943,10 @@ var getContent = function (text, props) {
|
|
|
7871
7943
|
};
|
|
7872
7944
|
|
|
7873
7945
|
var getDy = function (props, verticalAnchor, lineHeight) {
|
|
7874
|
-
var dy = props.dy ?
|
|
7946
|
+
var dy = props.dy ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.dy, props) : 0;
|
|
7875
7947
|
var length = props.inline ? 1 : props.text.length;
|
|
7876
|
-
var capHeight =
|
|
7877
|
-
var anchor = verticalAnchor ?
|
|
7948
|
+
var capHeight = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.capHeight, props);
|
|
7949
|
+
var anchor = verticalAnchor ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(verticalAnchor, props) : "middle";
|
|
7878
7950
|
|
|
7879
7951
|
var fontSizes = _toConsumableArray(Array(length).keys()).map(function (i) {
|
|
7880
7952
|
return getSingleValue(props.style, i).fontSize;
|
|
@@ -7902,15 +7974,15 @@ var getDy = function (props, verticalAnchor, lineHeight) {
|
|
|
7902
7974
|
var getTransform = function (props, x, y) {
|
|
7903
7975
|
var polar = props.polar;
|
|
7904
7976
|
var style = getSingleValue(props.style);
|
|
7905
|
-
var defaultAngle = polar ?
|
|
7906
|
-
var baseAngle = style.angle === undefined ?
|
|
7977
|
+
var defaultAngle = polar ? _victory_util_label_helpers__WEBPACK_IMPORTED_MODULE_6__.getPolarAngle(props) : 0;
|
|
7978
|
+
var baseAngle = style.angle === undefined ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.angle, props) : style.angle;
|
|
7907
7979
|
var angle = baseAngle === undefined ? defaultAngle : baseAngle;
|
|
7908
7980
|
var transform = props.transform || style.transform;
|
|
7909
|
-
var transformPart = transform &&
|
|
7981
|
+
var transformPart = transform && _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(transform, props);
|
|
7910
7982
|
var rotatePart = angle && {
|
|
7911
7983
|
rotate: [angle, x, y]
|
|
7912
7984
|
};
|
|
7913
|
-
return transformPart || angle ?
|
|
7985
|
+
return transformPart || angle ? _victory_util_style__WEBPACK_IMPORTED_MODULE_7__.toTransformString(transformPart, rotatePart) : undefined;
|
|
7914
7986
|
};
|
|
7915
7987
|
|
|
7916
7988
|
var getXCoordinate = function (calculatedProps, labelSizeWidth) {
|
|
@@ -7991,7 +8063,7 @@ var getFullBackground = function (calculatedProps, tspanValues) {
|
|
|
7991
8063
|
x: inline ? xCoordinate - backgroundPadding.left : xCoordinate + dx - backgroundPadding.left,
|
|
7992
8064
|
y: yCoordinate
|
|
7993
8065
|
};
|
|
7994
|
-
return /*#__PURE__*/
|
|
8066
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
|
|
7995
8067
|
};
|
|
7996
8068
|
|
|
7997
8069
|
var getInlineXOffset = function (calculatedProps, textElements, index) {
|
|
@@ -8073,7 +8145,7 @@ var getChildBackgrounds = function (calculatedProps, tspanValues) {
|
|
|
8073
8145
|
x: xCoord - padding.left,
|
|
8074
8146
|
y: yCoord
|
|
8075
8147
|
};
|
|
8076
|
-
return /*#__PURE__*/
|
|
8148
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
|
|
8077
8149
|
});
|
|
8078
8150
|
};
|
|
8079
8151
|
|
|
@@ -8124,7 +8196,7 @@ var evaluateProps = function (props) {
|
|
|
8124
8196
|
style: style,
|
|
8125
8197
|
backgroundStyle: backgroundStyle
|
|
8126
8198
|
}));
|
|
8127
|
-
var id =
|
|
8199
|
+
var id = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.id, props);
|
|
8128
8200
|
return lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, {
|
|
8129
8201
|
backgroundStyle: backgroundStyle,
|
|
8130
8202
|
backgroundPadding: backgroundPadding,
|
|
@@ -8135,13 +8207,13 @@ var evaluateProps = function (props) {
|
|
|
8135
8207
|
};
|
|
8136
8208
|
|
|
8137
8209
|
var getCalculatedProps = function (props) {
|
|
8138
|
-
var ariaLabel =
|
|
8210
|
+
var ariaLabel = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.ariaLabel, props);
|
|
8139
8211
|
var style = getSingleValue(props.style);
|
|
8140
8212
|
var lineHeight = getLineHeight(props);
|
|
8141
|
-
var direction = props.direction ?
|
|
8142
|
-
var textAnchor = props.textAnchor ?
|
|
8143
|
-
var verticalAnchor = props.verticalAnchor ?
|
|
8144
|
-
var dx = props.dx ?
|
|
8213
|
+
var direction = props.direction ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.direction, props) : "inherit";
|
|
8214
|
+
var textAnchor = props.textAnchor ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.textAnchor, props) : style.textAnchor || "start";
|
|
8215
|
+
var verticalAnchor = props.verticalAnchor ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.verticalAnchor, props) : style.verticalAnchor || "middle";
|
|
8216
|
+
var dx = props.dx ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.dx, props) : 0;
|
|
8145
8217
|
var dy = getDy(props, verticalAnchor, lineHeight);
|
|
8146
8218
|
var x = props.x !== undefined ? props.x : getPosition(props, "x");
|
|
8147
8219
|
var y = props.y !== undefined ? props.y : getPosition(props, "y");
|
|
@@ -8180,6 +8252,7 @@ var renderLabel = function (calculatedProps, tspanValues) {
|
|
|
8180
8252
|
tabIndex = calculatedProps.tabIndex,
|
|
8181
8253
|
tspanComponent = calculatedProps.tspanComponent,
|
|
8182
8254
|
textComponent = calculatedProps.textComponent;
|
|
8255
|
+
var userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_8__.getSafeUserProps(calculatedProps);
|
|
8183
8256
|
|
|
8184
8257
|
var textProps = _objectSpread(_objectSpread({
|
|
8185
8258
|
"aria-label": ariaLabel,
|
|
@@ -8192,10 +8265,10 @@ var renderLabel = function (calculatedProps, tspanValues) {
|
|
|
8192
8265
|
transform: transform,
|
|
8193
8266
|
className: className,
|
|
8194
8267
|
title: title,
|
|
8195
|
-
desc:
|
|
8196
|
-
tabIndex:
|
|
8268
|
+
desc: _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(desc, calculatedProps),
|
|
8269
|
+
tabIndex: _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(tabIndex, calculatedProps),
|
|
8197
8270
|
id: id
|
|
8198
|
-
});
|
|
8271
|
+
}, userProps);
|
|
8199
8272
|
|
|
8200
8273
|
var tspans = text.map(function (line, i) {
|
|
8201
8274
|
var currentStyle = tspanValues[i].style;
|
|
@@ -8208,9 +8281,9 @@ var renderLabel = function (calculatedProps, tspanValues) {
|
|
|
8208
8281
|
style: currentStyle,
|
|
8209
8282
|
children: line
|
|
8210
8283
|
};
|
|
8211
|
-
return /*#__PURE__*/
|
|
8284
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(tspanComponent, tspanProps);
|
|
8212
8285
|
});
|
|
8213
|
-
return /*#__PURE__*/
|
|
8286
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(textComponent, textProps, tspans);
|
|
8214
8287
|
};
|
|
8215
8288
|
|
|
8216
8289
|
var VictoryLabel = function (props) {
|
|
@@ -8245,66 +8318,66 @@ var VictoryLabel = function (props) {
|
|
|
8245
8318
|
if (props.backgroundStyle) {
|
|
8246
8319
|
var backgroundElement = getBackgroundElement(calculatedProps, tspanValues);
|
|
8247
8320
|
var children = [backgroundElement, label];
|
|
8248
|
-
var backgroundWithLabel = /*#__PURE__*/
|
|
8249
|
-
return props.renderInPortal ? /*#__PURE__*/
|
|
8321
|
+
var backgroundWithLabel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(props.groupComponent, {}, children);
|
|
8322
|
+
return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_10__["default"], null, backgroundWithLabel) : backgroundWithLabel;
|
|
8250
8323
|
}
|
|
8251
8324
|
|
|
8252
|
-
return props.renderInPortal ? /*#__PURE__*/
|
|
8325
|
+
return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_10__["default"], null, label) : label;
|
|
8253
8326
|
};
|
|
8254
8327
|
|
|
8255
8328
|
VictoryLabel.displayName = "VictoryLabel";
|
|
8256
8329
|
VictoryLabel.role = "label";
|
|
8257
8330
|
VictoryLabel.defaultStyles = defaultStyles;
|
|
8258
8331
|
VictoryLabel.propTypes = {
|
|
8259
|
-
active: (
|
|
8260
|
-
angle:
|
|
8261
|
-
ariaLabel:
|
|
8262
|
-
backgroundComponent: (
|
|
8263
|
-
backgroundPadding:
|
|
8264
|
-
backgroundStyle:
|
|
8265
|
-
capHeight:
|
|
8266
|
-
className: (
|
|
8267
|
-
data: (
|
|
8268
|
-
datum: (
|
|
8269
|
-
desc:
|
|
8270
|
-
direction:
|
|
8271
|
-
dx:
|
|
8272
|
-
dy:
|
|
8273
|
-
events: (
|
|
8274
|
-
groupComponent: (
|
|
8275
|
-
id:
|
|
8276
|
-
index:
|
|
8277
|
-
inline: (
|
|
8278
|
-
labelPlacement:
|
|
8279
|
-
lineHeight:
|
|
8280
|
-
origin:
|
|
8281
|
-
x:
|
|
8282
|
-
y:
|
|
8332
|
+
active: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().bool),
|
|
8333
|
+
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)]),
|
|
8334
|
+
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)]),
|
|
8335
|
+
backgroundComponent: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().element),
|
|
8336
|
+
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)]),
|
|
8337
|
+
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)]),
|
|
8338
|
+
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)]),
|
|
8339
|
+
className: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().string),
|
|
8340
|
+
data: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().array),
|
|
8341
|
+
datum: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().any),
|
|
8342
|
+
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)]),
|
|
8343
|
+
direction: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOf(["rtl", "ltr", "inherit"]),
|
|
8344
|
+
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)]),
|
|
8345
|
+
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)]),
|
|
8346
|
+
events: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().object),
|
|
8347
|
+
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().element),
|
|
8348
|
+
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)]),
|
|
8349
|
+
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)]),
|
|
8350
|
+
inline: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().bool),
|
|
8351
|
+
labelPlacement: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOf(["parallel", "perpendicular", "vertical"]),
|
|
8352
|
+
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)]),
|
|
8353
|
+
origin: prop_types__WEBPACK_IMPORTED_MODULE_11___default().shape({
|
|
8354
|
+
x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_12__.nonNegative,
|
|
8355
|
+
y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_12__.nonNegative
|
|
8283
8356
|
}),
|
|
8284
|
-
polar: (
|
|
8285
|
-
renderInPortal: (
|
|
8286
|
-
scale:
|
|
8287
|
-
x:
|
|
8288
|
-
y:
|
|
8357
|
+
polar: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().bool),
|
|
8358
|
+
renderInPortal: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().bool),
|
|
8359
|
+
scale: prop_types__WEBPACK_IMPORTED_MODULE_11___default().shape({
|
|
8360
|
+
x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_12__.scale,
|
|
8361
|
+
y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_12__.scale
|
|
8289
8362
|
}),
|
|
8290
|
-
style:
|
|
8291
|
-
tabIndex:
|
|
8292
|
-
text:
|
|
8293
|
-
textAnchor:
|
|
8294
|
-
textComponent: (
|
|
8295
|
-
title: (
|
|
8296
|
-
transform:
|
|
8297
|
-
tspanComponent: (
|
|
8298
|
-
verticalAnchor:
|
|
8299
|
-
x:
|
|
8300
|
-
y:
|
|
8363
|
+
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)]),
|
|
8364
|
+
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)]),
|
|
8365
|
+
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)]),
|
|
8366
|
+
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)]),
|
|
8367
|
+
textComponent: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().element),
|
|
8368
|
+
title: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().string),
|
|
8369
|
+
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)]),
|
|
8370
|
+
tspanComponent: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().element),
|
|
8371
|
+
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)]),
|
|
8372
|
+
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)]),
|
|
8373
|
+
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)])
|
|
8301
8374
|
};
|
|
8302
8375
|
VictoryLabel.defaultProps = {
|
|
8303
|
-
backgroundComponent: /*#__PURE__*/
|
|
8304
|
-
groupComponent: /*#__PURE__*/
|
|
8376
|
+
backgroundComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_rect__WEBPACK_IMPORTED_MODULE_13__["default"], null),
|
|
8377
|
+
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("g", null),
|
|
8305
8378
|
direction: "inherit",
|
|
8306
|
-
textComponent: /*#__PURE__*/
|
|
8307
|
-
tspanComponent: /*#__PURE__*/
|
|
8379
|
+
textComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_text__WEBPACK_IMPORTED_MODULE_14__["default"], null),
|
|
8380
|
+
tspanComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_15__["default"], null),
|
|
8308
8381
|
capHeight: 0.71,
|
|
8309
8382
|
// Magic number from d3.
|
|
8310
8383
|
lineHeight: 1
|
|
@@ -8472,10 +8545,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8472
8545
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
|
|
8473
8546
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
8474
8547
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
8475
|
-
/* harmony import */ var
|
|
8476
|
-
/* harmony import */ var
|
|
8477
|
-
/* harmony import */ var
|
|
8478
|
-
/* harmony import */ var
|
|
8548
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
8549
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
8550
|
+
/* harmony import */ var _victory_util_log__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../victory-util/log */ "../../victory-core/es/victory-util/log.js");
|
|
8551
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
8479
8552
|
/* harmony import */ var _portal_context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./portal-context */ "../../victory-core/es/victory-portal/portal-context.js");
|
|
8480
8553
|
|
|
8481
8554
|
|
|
@@ -8524,7 +8597,7 @@ var VictoryPortal = /*#__PURE__*/function (_React$Component) {
|
|
|
8524
8597
|
if (!this.checkedContext) {
|
|
8525
8598
|
if (typeof this.context.portalUpdate !== "function") {
|
|
8526
8599
|
var msg = "`renderInPortal` is not supported outside of `VictoryContainer`. " + "Component will be rendered in place";
|
|
8527
|
-
|
|
8600
|
+
_victory_util_log__WEBPACK_IMPORTED_MODULE_2__.warn(msg);
|
|
8528
8601
|
this.renderInPlace = true;
|
|
8529
8602
|
}
|
|
8530
8603
|
|
|
@@ -8570,7 +8643,7 @@ var VictoryPortal = /*#__PURE__*/function (_React$Component) {
|
|
|
8570
8643
|
standalone: false
|
|
8571
8644
|
} : {};
|
|
8572
8645
|
|
|
8573
|
-
var newProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()(standardProps, childProps,
|
|
8646
|
+
var newProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()(standardProps, childProps, _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.omit(this.props, ["children", "groupComponent"]));
|
|
8574
8647
|
|
|
8575
8648
|
var child = children && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(children, newProps);
|
|
8576
8649
|
return this.renderPortal(child);
|
|
@@ -8585,8 +8658,8 @@ _defineProperty(VictoryPortal, "displayName", "VictoryPortal");
|
|
|
8585
8658
|
_defineProperty(VictoryPortal, "role", "portal");
|
|
8586
8659
|
|
|
8587
8660
|
_defineProperty(VictoryPortal, "propTypes", {
|
|
8588
|
-
children: (
|
|
8589
|
-
groupComponent: (
|
|
8661
|
+
children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),
|
|
8662
|
+
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().element)
|
|
8590
8663
|
});
|
|
8591
8664
|
|
|
8592
8665
|
_defineProperty(VictoryPortal, "defaultProps", {
|
|
@@ -8647,11 +8720,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8647
8720
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__);
|
|
8648
8721
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
8649
8722
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
8650
|
-
/* harmony import */ var
|
|
8651
|
-
/* harmony import */ var
|
|
8652
|
-
/* harmony import */ var
|
|
8653
|
-
/* harmony import */ var
|
|
8654
|
-
/* harmony import */ var
|
|
8723
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
8724
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
|
|
8725
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
8726
|
+
/* harmony import */ var _victory_util_point_path_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../victory-util/point-path-helpers */ "../../victory-core/es/victory-util/point-path-helpers.js");
|
|
8727
|
+
/* harmony import */ var _victory_util_common_props__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../victory-util/common-props */ "../../victory-core/es/victory-util/common-props.js");
|
|
8655
8728
|
/* harmony import */ var _path__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./path */ "../../victory-core/es/victory-primitives/path.js");
|
|
8656
8729
|
|
|
8657
8730
|
|
|
@@ -8679,15 +8752,15 @@ var getPath = function (props) {
|
|
|
8679
8752
|
}
|
|
8680
8753
|
|
|
8681
8754
|
var pathFunctions = {
|
|
8682
|
-
circle:
|
|
8683
|
-
square:
|
|
8684
|
-
diamond:
|
|
8685
|
-
triangleDown:
|
|
8686
|
-
triangleUp:
|
|
8687
|
-
plus:
|
|
8688
|
-
minus:
|
|
8689
|
-
star:
|
|
8690
|
-
cross:
|
|
8755
|
+
circle: _victory_util_point_path_helpers__WEBPACK_IMPORTED_MODULE_2__["default"].circle,
|
|
8756
|
+
square: _victory_util_point_path_helpers__WEBPACK_IMPORTED_MODULE_2__["default"].square,
|
|
8757
|
+
diamond: _victory_util_point_path_helpers__WEBPACK_IMPORTED_MODULE_2__["default"].diamond,
|
|
8758
|
+
triangleDown: _victory_util_point_path_helpers__WEBPACK_IMPORTED_MODULE_2__["default"].triangleDown,
|
|
8759
|
+
triangleUp: _victory_util_point_path_helpers__WEBPACK_IMPORTED_MODULE_2__["default"].triangleUp,
|
|
8760
|
+
plus: _victory_util_point_path_helpers__WEBPACK_IMPORTED_MODULE_2__["default"].plus,
|
|
8761
|
+
minus: _victory_util_point_path_helpers__WEBPACK_IMPORTED_MODULE_2__["default"].minus,
|
|
8762
|
+
star: _victory_util_point_path_helpers__WEBPACK_IMPORTED_MODULE_2__["default"].star,
|
|
8763
|
+
cross: _victory_util_point_path_helpers__WEBPACK_IMPORTED_MODULE_2__["default"].cross
|
|
8691
8764
|
};
|
|
8692
8765
|
var symbolFunction = typeof pathFunctions[symbol] === "function" ? pathFunctions[symbol] : pathFunctions.circle;
|
|
8693
8766
|
return symbolFunction(x, y, size);
|
|
@@ -8704,13 +8777,13 @@ var evaluateProps = function (props) {
|
|
|
8704
8777
|
* `symbol`
|
|
8705
8778
|
* `tabIndex`
|
|
8706
8779
|
*/
|
|
8707
|
-
var ariaLabel =
|
|
8708
|
-
var desc =
|
|
8709
|
-
var id =
|
|
8710
|
-
var size =
|
|
8711
|
-
var style =
|
|
8712
|
-
var symbol =
|
|
8713
|
-
var tabIndex =
|
|
8780
|
+
var ariaLabel = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(props.ariaLabel, props);
|
|
8781
|
+
var desc = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(props.desc, props);
|
|
8782
|
+
var id = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(props.id, props);
|
|
8783
|
+
var size = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(props.size, props);
|
|
8784
|
+
var style = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateStyle(props.style, props);
|
|
8785
|
+
var symbol = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(props.symbol, props);
|
|
8786
|
+
var tabIndex = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(props.tabIndex, props);
|
|
8714
8787
|
return lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, {
|
|
8715
8788
|
ariaLabel: ariaLabel,
|
|
8716
8789
|
desc: desc,
|
|
@@ -8738,14 +8811,14 @@ var Point = function (props) {
|
|
|
8738
8811
|
}));
|
|
8739
8812
|
};
|
|
8740
8813
|
|
|
8741
|
-
Point.propTypes = _objectSpread(_objectSpread({},
|
|
8742
|
-
datum: (
|
|
8743
|
-
getPath: (
|
|
8744
|
-
pathComponent: (
|
|
8745
|
-
size:
|
|
8746
|
-
symbol:
|
|
8747
|
-
x: (
|
|
8748
|
-
y: (
|
|
8814
|
+
Point.propTypes = _objectSpread(_objectSpread({}, _victory_util_common_props__WEBPACK_IMPORTED_MODULE_4__.primitiveProps), {}, {
|
|
8815
|
+
datum: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object),
|
|
8816
|
+
getPath: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
|
|
8817
|
+
pathComponent: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().element),
|
|
8818
|
+
size: prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_5___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)]),
|
|
8819
|
+
symbol: prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOf(["circle", "cross", "diamond", "plus", "minus", "square", "star", "triangleDown", "triangleUp"]), (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)]),
|
|
8820
|
+
x: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().number),
|
|
8821
|
+
y: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().number)
|
|
8749
8822
|
});
|
|
8750
8823
|
Point.defaultProps = {
|
|
8751
8824
|
pathComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_path__WEBPACK_IMPORTED_MODULE_6__["default"], null),
|
|
@@ -9480,15 +9553,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9480
9553
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_3__);
|
|
9481
9554
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "react");
|
|
9482
9555
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
|
|
9483
|
-
/* harmony import */ var
|
|
9484
|
-
/* harmony import */ var
|
|
9485
|
-
/* harmony import */ var
|
|
9486
|
-
/* harmony import */ var
|
|
9487
|
-
/* harmony import */ var
|
|
9556
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
9557
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_10__);
|
|
9558
|
+
/* 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");
|
|
9559
|
+
/* harmony import */ var _victory_util_collection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/collection */ "../../victory-core/es/victory-util/collection.js");
|
|
9560
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
9488
9561
|
/* 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");
|
|
9489
|
-
/* harmony import */ var
|
|
9490
|
-
/* harmony import */ var
|
|
9491
|
-
/* harmony import */ var
|
|
9562
|
+
/* harmony import */ var _victory_util_transitions__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../victory-util/transitions */ "../../victory-core/es/victory-util/transitions.js");
|
|
9563
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/react-fast-compare/index.js");
|
|
9564
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_5__);
|
|
9492
9565
|
|
|
9493
9566
|
|
|
9494
9567
|
|
|
@@ -9562,7 +9635,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9562
9635
|
value: function shouldComponentUpdate(nextProps) {
|
|
9563
9636
|
var _this2 = this;
|
|
9564
9637
|
|
|
9565
|
-
if (!
|
|
9638
|
+
if (!react_fast_compare__WEBPACK_IMPORTED_MODULE_5___default()(this.props, nextProps)) {
|
|
9566
9639
|
this.timer.bypassAnimation();
|
|
9567
9640
|
this.setState(this.getTransitionState(this.props, nextProps), function () {
|
|
9568
9641
|
return _this2.timer.resumeAnimation();
|
|
@@ -9594,7 +9667,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9594
9667
|
var oldChildren = react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(props.children);
|
|
9595
9668
|
var nextChildren = react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(nextProps.children);
|
|
9596
9669
|
|
|
9597
|
-
var _Transitions$getIniti =
|
|
9670
|
+
var _Transitions$getIniti = _victory_util_transitions__WEBPACK_IMPORTED_MODULE_6__.getInitialTransitionState(oldChildren, nextChildren),
|
|
9598
9671
|
nodesWillExit = _Transitions$getIniti.nodesWillExit,
|
|
9599
9672
|
nodesWillEnter = _Transitions$getIniti.nodesWillEnter,
|
|
9600
9673
|
childrenTransitions = _Transitions$getIniti.childrenTransitions,
|
|
@@ -9634,7 +9707,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9634
9707
|
return domain;
|
|
9635
9708
|
} else {
|
|
9636
9709
|
var childDomains = getChildDomains([child]);
|
|
9637
|
-
return childDomains.length === 0 ? [0, 1] : [
|
|
9710
|
+
return childDomains.length === 0 ? [0, 1] : [_victory_util_collection__WEBPACK_IMPORTED_MODULE_7__.getMinValue(childDomains), _victory_util_collection__WEBPACK_IMPORTED_MODULE_7__.getMaxValue(childDomains)];
|
|
9638
9711
|
}
|
|
9639
9712
|
}
|
|
9640
9713
|
}, {
|
|
@@ -9661,7 +9734,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9661
9734
|
key: "getClipWidth",
|
|
9662
9735
|
value: function getClipWidth(props, child) {
|
|
9663
9736
|
var getDefaultClipWidth = function () {
|
|
9664
|
-
var range =
|
|
9737
|
+
var range = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.getRange(child.props, "x");
|
|
9665
9738
|
return range ? Math.abs(range[1] - range[0]) : props.width;
|
|
9666
9739
|
};
|
|
9667
9740
|
|
|
@@ -9674,7 +9747,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9674
9747
|
var _this3 = this;
|
|
9675
9748
|
|
|
9676
9749
|
var props = this.pickProps();
|
|
9677
|
-
var getTransitionProps = lodash_isObject__WEBPACK_IMPORTED_MODULE_0___default()(this.props.animate) && this.props.animate.getTransitions ? this.props.animate.getTransitions :
|
|
9750
|
+
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) {
|
|
9678
9751
|
return _this3.setState(newState);
|
|
9679
9752
|
});
|
|
9680
9753
|
var child = react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(props.children)[0];
|
|
@@ -9694,7 +9767,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9694
9767
|
var animationWhitelist = props.animationWhitelist || [];
|
|
9695
9768
|
var whitelist = animationWhitelist.concat(["clipWidth"]);
|
|
9696
9769
|
var propsToAnimate = whitelist.length ? lodash_pick__WEBPACK_IMPORTED_MODULE_1___default()(combinedProps, whitelist) : combinedProps;
|
|
9697
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(
|
|
9770
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_9__["default"], _extends({}, combinedProps.animate, {
|
|
9698
9771
|
data: propsToAnimate
|
|
9699
9772
|
}), function (newProps) {
|
|
9700
9773
|
if (child.props.groupComponent) {
|
|
@@ -9722,9 +9795,9 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9722
9795
|
_defineProperty(VictoryTransition, "displayName", "VictoryTransition");
|
|
9723
9796
|
|
|
9724
9797
|
_defineProperty(VictoryTransition, "propTypes", {
|
|
9725
|
-
animate:
|
|
9726
|
-
animationWhitelist: (
|
|
9727
|
-
children: (
|
|
9798
|
+
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)]),
|
|
9799
|
+
animationWhitelist: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().array),
|
|
9800
|
+
children: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().node)
|
|
9728
9801
|
});
|
|
9729
9802
|
|
|
9730
9803
|
_defineProperty(VictoryTransition, "contextType", _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_11__["default"]);
|
|
@@ -9768,7 +9841,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9768
9841
|
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/react-fast-compare/index.js");
|
|
9769
9842
|
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_10__);
|
|
9770
9843
|
/* 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");
|
|
9771
|
-
/* 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");
|
|
9772
9844
|
|
|
9773
9845
|
|
|
9774
9846
|
|
|
@@ -9817,7 +9889,6 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
9817
9889
|
|
|
9818
9890
|
|
|
9819
9891
|
|
|
9820
|
-
|
|
9821
9892
|
var datumHasXandY = function (datum) {
|
|
9822
9893
|
return !lodash_isNil__WEBPACK_IMPORTED_MODULE_1___default()(datum._x) && !lodash_isNil__WEBPACK_IMPORTED_MODULE_1___default()(datum._y);
|
|
9823
9894
|
}; // used for checking state changes. Expected components can be passed in via options
|
|
@@ -10163,7 +10234,6 @@ var defaultComponents = [{
|
|
|
10163
10234
|
var dataComponent = props.dataComponent,
|
|
10164
10235
|
labelComponent = props.labelComponent,
|
|
10165
10236
|
groupComponent = props.groupComponent;
|
|
10166
|
-
var userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_13__.getSafeUserProps(props);
|
|
10167
10237
|
var dataComponents = this.dataKeys.reduce(function (validDataComponents, _dataKey, index) {
|
|
10168
10238
|
var dataProps = _this9.getComponentProps(dataComponent, "data", index);
|
|
10169
10239
|
|
|
@@ -10183,8 +10253,7 @@ var defaultComponents = [{
|
|
|
10183
10253
|
return undefined;
|
|
10184
10254
|
}).filter(Boolean);
|
|
10185
10255
|
var children = [].concat(_toConsumableArray(dataComponents), _toConsumableArray(labelComponents));
|
|
10186
|
-
|
|
10187
|
-
return this.renderContainer(group, children);
|
|
10256
|
+
return this.renderContainer(groupComponent, children);
|
|
10188
10257
|
}
|
|
10189
10258
|
}]);
|
|
10190
10259
|
|
|
@@ -10203,14 +10272,14 @@ var defaultComponents = [{
|
|
|
10203
10272
|
"use strict";
|
|
10204
10273
|
__webpack_require__.r(__webpack_exports__);
|
|
10205
10274
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10206
|
-
/* harmony export */ "containsStrings": () => (/* binding */ containsStrings),
|
|
10207
10275
|
/* harmony export */ "containsDates": () => (/* binding */ containsDates),
|
|
10208
10276
|
/* harmony export */ "containsNumbers": () => (/* binding */ containsNumbers),
|
|
10209
10277
|
/* harmony export */ "containsOnlyStrings": () => (/* binding */ containsOnlyStrings),
|
|
10210
|
-
/* harmony export */ "
|
|
10211
|
-
/* harmony export */ "removeUndefined": () => (/* binding */ removeUndefined),
|
|
10278
|
+
/* harmony export */ "containsStrings": () => (/* binding */ containsStrings),
|
|
10212
10279
|
/* harmony export */ "getMaxValue": () => (/* binding */ getMaxValue),
|
|
10213
|
-
/* harmony export */ "getMinValue": () => (/* binding */ getMinValue)
|
|
10280
|
+
/* harmony export */ "getMinValue": () => (/* binding */ getMinValue),
|
|
10281
|
+
/* harmony export */ "isArrayOfArrays": () => (/* binding */ isArrayOfArrays),
|
|
10282
|
+
/* harmony export */ "removeUndefined": () => (/* binding */ removeUndefined)
|
|
10214
10283
|
/* harmony export */ });
|
|
10215
10284
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
10216
10285
|
|
|
@@ -10287,8 +10356,8 @@ function getMinValue(arr) {
|
|
|
10287
10356
|
"use strict";
|
|
10288
10357
|
__webpack_require__.r(__webpack_exports__);
|
|
10289
10358
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10290
|
-
/* harmony export */ "dataProps": () => (/* binding */ dataProps),
|
|
10291
10359
|
/* harmony export */ "baseProps": () => (/* binding */ baseProps),
|
|
10360
|
+
/* harmony export */ "dataProps": () => (/* binding */ dataProps),
|
|
10292
10361
|
/* harmony export */ "primitiveProps": () => (/* binding */ primitiveProps)
|
|
10293
10362
|
/* harmony export */ });
|
|
10294
10363
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
@@ -10344,10 +10413,10 @@ var baseProps = {
|
|
|
10344
10413
|
eventHandlers: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)
|
|
10345
10414
|
})),
|
|
10346
10415
|
externalEventMutations: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
10347
|
-
callback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()
|
|
10416
|
+
callback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
|
10348
10417
|
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)]),
|
|
10349
10418
|
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)]),
|
|
10350
|
-
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()
|
|
10419
|
+
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
|
10351
10420
|
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)])
|
|
10352
10421
|
})),
|
|
10353
10422
|
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),
|
|
@@ -10422,10 +10491,10 @@ var primitiveProps = {
|
|
|
10422
10491
|
"use strict";
|
|
10423
10492
|
__webpack_require__.r(__webpack_exports__);
|
|
10424
10493
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10425
|
-
/* harmony export */ "formatDataFromDomain": () => (/* binding */ formatDataFromDomain),
|
|
10426
10494
|
/* harmony export */ "createStringMap": () => (/* binding */ createStringMap),
|
|
10427
10495
|
/* harmony export */ "downsample": () => (/* binding */ downsample),
|
|
10428
10496
|
/* harmony export */ "formatData": () => (/* binding */ formatData),
|
|
10497
|
+
/* harmony export */ "formatDataFromDomain": () => (/* binding */ formatDataFromDomain),
|
|
10429
10498
|
/* harmony export */ "generateData": () => (/* binding */ generateData),
|
|
10430
10499
|
/* harmony export */ "getCategories": () => (/* binding */ getCategories),
|
|
10431
10500
|
/* harmony export */ "getData": () => (/* binding */ getData),
|
|
@@ -10937,8 +11006,8 @@ function isDataComponent(component) {
|
|
|
10937
11006
|
"use strict";
|
|
10938
11007
|
__webpack_require__.r(__webpack_exports__);
|
|
10939
11008
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10940
|
-
/* harmony export */ "continuousTransitions": () => (/* binding */ continuousTransitions),
|
|
10941
11009
|
/* harmony export */ "continuousPolarTransitions": () => (/* binding */ continuousPolarTransitions),
|
|
11010
|
+
/* harmony export */ "continuousTransitions": () => (/* binding */ continuousTransitions),
|
|
10942
11011
|
/* harmony export */ "discreteTransitions": () => (/* binding */ discreteTransitions)
|
|
10943
11012
|
/* harmony export */ });
|
|
10944
11013
|
/* eslint-disable func-style */
|
|
@@ -11514,18 +11583,18 @@ function isDomainComponent(component) {
|
|
|
11514
11583
|
"use strict";
|
|
11515
11584
|
__webpack_require__.r(__webpack_exports__);
|
|
11516
11585
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11517
|
-
/* harmony export */ "
|
|
11518
|
-
/* harmony export */ "
|
|
11519
|
-
/* harmony export */ "getPartialEvents": () => (/* binding */ getPartialEvents),
|
|
11586
|
+
/* harmony export */ "emulateReactEvent": () => (/* binding */ emulateReactEvent),
|
|
11587
|
+
/* harmony export */ "getComponentEvents": () => (/* binding */ getComponentEvents),
|
|
11520
11588
|
/* harmony export */ "getEventState": () => (/* binding */ getEventState),
|
|
11521
|
-
/* harmony export */ "
|
|
11522
|
-
/* harmony export */ "getExternalMutations": () => (/* binding */ getExternalMutations),
|
|
11589
|
+
/* harmony export */ "getEvents": () => (/* binding */ getEvents),
|
|
11523
11590
|
/* harmony export */ "getExternalMutation": () => (/* binding */ getExternalMutation),
|
|
11524
|
-
/* harmony export */ "
|
|
11591
|
+
/* harmony export */ "getExternalMutations": () => (/* binding */ getExternalMutations),
|
|
11592
|
+
/* harmony export */ "getExternalMutationsWithChildren": () => (/* binding */ getExternalMutationsWithChildren),
|
|
11525
11593
|
/* harmony export */ "getGlobalEventNameFromKey": () => (/* binding */ getGlobalEventNameFromKey),
|
|
11526
11594
|
/* harmony export */ "getGlobalEvents": () => (/* binding */ getGlobalEvents),
|
|
11527
|
-
/* harmony export */ "
|
|
11528
|
-
/* harmony export */ "
|
|
11595
|
+
/* harmony export */ "getPartialEvents": () => (/* binding */ getPartialEvents),
|
|
11596
|
+
/* harmony export */ "getScopedEvents": () => (/* binding */ getScopedEvents),
|
|
11597
|
+
/* harmony export */ "omitGlobalEvents": () => (/* binding */ omitGlobalEvents)
|
|
11529
11598
|
/* harmony export */ });
|
|
11530
11599
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/keys */ "../../../node_modules/lodash/keys.js");
|
|
11531
11600
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -12015,25 +12084,25 @@ var emulateReactEvent = function (event) {
|
|
|
12015
12084
|
"use strict";
|
|
12016
12085
|
__webpack_require__.r(__webpack_exports__);
|
|
12017
12086
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12018
|
-
/* harmony export */ "
|
|
12019
|
-
/* harmony export */ "
|
|
12020
|
-
/* harmony export */ "scalePoint": () => (/* binding */ scalePoint),
|
|
12021
|
-
/* harmony export */ "getPadding": () => (/* binding */ getPadding),
|
|
12022
|
-
/* harmony export */ "isTooltip": () => (/* binding */ isTooltip),
|
|
12023
|
-
/* harmony export */ "getDefaultStyles": () => (/* binding */ getDefaultStyles),
|
|
12024
|
-
/* harmony export */ "getStyles": () => (/* binding */ getStyles),
|
|
12087
|
+
/* harmony export */ "createAccessor": () => (/* binding */ createAccessor),
|
|
12088
|
+
/* harmony export */ "degreesToRadians": () => (/* binding */ degreesToRadians),
|
|
12025
12089
|
/* harmony export */ "evaluateProp": () => (/* binding */ evaluateProp),
|
|
12026
12090
|
/* harmony export */ "evaluateStyle": () => (/* binding */ evaluateStyle),
|
|
12027
|
-
/* harmony export */ "
|
|
12028
|
-
/* harmony export */ "
|
|
12029
|
-
/* harmony export */ "
|
|
12091
|
+
/* harmony export */ "getCurrentAxis": () => (/* binding */ getCurrentAxis),
|
|
12092
|
+
/* harmony export */ "getDefaultStyles": () => (/* binding */ getDefaultStyles),
|
|
12093
|
+
/* harmony export */ "getPadding": () => (/* binding */ getPadding),
|
|
12094
|
+
/* harmony export */ "getPoint": () => (/* binding */ getPoint),
|
|
12030
12095
|
/* harmony export */ "getPolarOrigin": () => (/* binding */ getPolarOrigin),
|
|
12096
|
+
/* harmony export */ "getRadius": () => (/* binding */ getRadius),
|
|
12031
12097
|
/* harmony export */ "getRange": () => (/* binding */ getRange),
|
|
12032
|
-
/* harmony export */ "
|
|
12098
|
+
/* harmony export */ "getStyles": () => (/* binding */ getStyles),
|
|
12099
|
+
/* harmony export */ "isHorizontal": () => (/* binding */ isHorizontal),
|
|
12100
|
+
/* harmony export */ "isTooltip": () => (/* binding */ isTooltip),
|
|
12033
12101
|
/* harmony export */ "modifyProps": () => (/* binding */ modifyProps),
|
|
12034
|
-
/* harmony export */ "
|
|
12102
|
+
/* harmony export */ "omit": () => (/* binding */ omit),
|
|
12103
|
+
/* harmony export */ "radiansToDegrees": () => (/* binding */ radiansToDegrees),
|
|
12035
12104
|
/* harmony export */ "reduceChildren": () => (/* binding */ reduceChildren),
|
|
12036
|
-
/* harmony export */ "
|
|
12105
|
+
/* harmony export */ "scalePoint": () => (/* binding */ scalePoint)
|
|
12037
12106
|
/* harmony export */ });
|
|
12038
12107
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/keys */ "../../../node_modules/lodash/keys.js");
|
|
12039
12108
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -12411,14 +12480,14 @@ function isHorizontal(props) {
|
|
|
12411
12480
|
__webpack_require__.r(__webpack_exports__);
|
|
12412
12481
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12413
12482
|
/* harmony export */ "IMMUTABLE_ITERABLE": () => (/* binding */ IMMUTABLE_ITERABLE),
|
|
12414
|
-
/* harmony export */ "IMMUTABLE_RECORD": () => (/* binding */ IMMUTABLE_RECORD),
|
|
12415
12483
|
/* harmony export */ "IMMUTABLE_LIST": () => (/* binding */ IMMUTABLE_LIST),
|
|
12416
12484
|
/* harmony export */ "IMMUTABLE_MAP": () => (/* binding */ IMMUTABLE_MAP),
|
|
12417
|
-
/* harmony export */ "
|
|
12418
|
-
/* harmony export */ "isRecord": () => (/* binding */ isRecord),
|
|
12485
|
+
/* harmony export */ "IMMUTABLE_RECORD": () => (/* binding */ IMMUTABLE_RECORD),
|
|
12419
12486
|
/* harmony export */ "isImmutable": () => (/* binding */ isImmutable),
|
|
12487
|
+
/* harmony export */ "isIterable": () => (/* binding */ isIterable),
|
|
12420
12488
|
/* harmony export */ "isList": () => (/* binding */ isList),
|
|
12421
12489
|
/* harmony export */ "isMap": () => (/* binding */ isMap),
|
|
12490
|
+
/* harmony export */ "isRecord": () => (/* binding */ isRecord),
|
|
12422
12491
|
/* harmony export */ "shallowToJS": () => (/* binding */ shallowToJS)
|
|
12423
12492
|
/* harmony export */ });
|
|
12424
12493
|
/* eslint-disable func-style */
|
|
@@ -12463,12 +12532,12 @@ function shallowToJS(x, whitelist) {
|
|
|
12463
12532
|
"use strict";
|
|
12464
12533
|
__webpack_require__.r(__webpack_exports__);
|
|
12465
12534
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12466
|
-
/* harmony export */ "
|
|
12535
|
+
/* harmony export */ "getDegrees": () => (/* binding */ getDegrees),
|
|
12536
|
+
/* harmony export */ "getPolarAngle": () => (/* binding */ getPolarAngle),
|
|
12467
12537
|
/* harmony export */ "getPolarTextAnchor": () => (/* binding */ getPolarTextAnchor),
|
|
12468
12538
|
/* harmony export */ "getPolarVerticalAnchor": () => (/* binding */ getPolarVerticalAnchor),
|
|
12469
|
-
/* harmony export */ "
|
|
12470
|
-
/* harmony export */ "
|
|
12471
|
-
/* harmony export */ "getProps": () => (/* binding */ getProps)
|
|
12539
|
+
/* harmony export */ "getProps": () => (/* binding */ getProps),
|
|
12540
|
+
/* harmony export */ "getText": () => (/* binding */ getText)
|
|
12472
12541
|
/* harmony export */ });
|
|
12473
12542
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/lodash/defaults.js");
|
|
12474
12543
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -12837,16 +12906,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12837
12906
|
"use strict";
|
|
12838
12907
|
__webpack_require__.r(__webpack_exports__);
|
|
12839
12908
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12840
|
-
/* harmony export */ "deprecated": () => (/* binding */ deprecated),
|
|
12841
12909
|
/* harmony export */ "allOfType": () => (/* binding */ allOfType),
|
|
12842
|
-
/* harmony export */ "
|
|
12843
|
-
/* harmony export */ "integer": () => (/* binding */ integer),
|
|
12844
|
-
/* harmony export */ "greaterThanZero": () => (/* binding */ greaterThanZero),
|
|
12910
|
+
/* harmony export */ "deprecated": () => (/* binding */ deprecated),
|
|
12845
12911
|
/* harmony export */ "domain": () => (/* binding */ domain),
|
|
12846
|
-
/* harmony export */ "
|
|
12912
|
+
/* harmony export */ "greaterThanZero": () => (/* binding */ greaterThanZero),
|
|
12847
12913
|
/* harmony export */ "homogeneousArray": () => (/* binding */ homogeneousArray),
|
|
12914
|
+
/* harmony export */ "integer": () => (/* binding */ integer),
|
|
12848
12915
|
/* harmony export */ "matchDataLength": () => (/* binding */ matchDataLength),
|
|
12849
|
-
/* harmony export */ "
|
|
12916
|
+
/* harmony export */ "nonNegative": () => (/* binding */ nonNegative),
|
|
12917
|
+
/* harmony export */ "regExp": () => (/* binding */ regExp),
|
|
12918
|
+
/* harmony export */ "scale": () => (/* binding */ scale)
|
|
12850
12919
|
/* harmony export */ });
|
|
12851
12920
|
/* harmony import */ var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isRegExp */ "../../../node_modules/lodash/isRegExp.js");
|
|
12852
12921
|
/* harmony import */ var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -12854,9 +12923,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12854
12923
|
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_find__WEBPACK_IMPORTED_MODULE_1__);
|
|
12855
12924
|
/* harmony import */ var lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isFunction */ "../../../node_modules/lodash/isFunction.js");
|
|
12856
12925
|
/* harmony import */ var lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__);
|
|
12857
|
-
/* harmony import */ var
|
|
12858
|
-
/* harmony import */ var
|
|
12859
|
-
/* harmony import */ var
|
|
12926
|
+
/* harmony import */ var _log__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./log */ "../../victory-core/es/victory-util/log.js");
|
|
12927
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
12928
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
12860
12929
|
|
|
12861
12930
|
|
|
12862
12931
|
|
|
@@ -12955,10 +13024,10 @@ function deprecated(propType, explanation) {
|
|
|
12955
13024
|
var value = props[propName];
|
|
12956
13025
|
|
|
12957
13026
|
if (value !== null && value !== undefined) {
|
|
12958
|
-
|
|
13027
|
+
_log__WEBPACK_IMPORTED_MODULE_3__.warn("\"".concat(propName, "\" property of \"").concat(componentName, "\" has been deprecated ").concat(explanation));
|
|
12959
13028
|
}
|
|
12960
13029
|
|
|
12961
|
-
return
|
|
13030
|
+
return prop_types__WEBPACK_IMPORTED_MODULE_4___default().checkPropTypes(_defineProperty({}, propName, propType), props, propName, componentName);
|
|
12962
13031
|
};
|
|
12963
13032
|
}
|
|
12964
13033
|
/**
|
|
@@ -13120,9 +13189,9 @@ var regExp = makeChainable(function (props, propName, componentName) {
|
|
|
13120
13189
|
"use strict";
|
|
13121
13190
|
__webpack_require__.r(__webpack_exports__);
|
|
13122
13191
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13123
|
-
/* harmony export */ "getScaleFromName": () => (/* binding */ getScaleFromName),
|
|
13124
13192
|
/* harmony export */ "getBaseScale": () => (/* binding */ getBaseScale),
|
|
13125
13193
|
/* harmony export */ "getDefaultScale": () => (/* binding */ getDefaultScale),
|
|
13194
|
+
/* harmony export */ "getScaleFromName": () => (/* binding */ getScaleFromName),
|
|
13126
13195
|
/* harmony export */ "getScaleFromProps": () => (/* binding */ getScaleFromProps),
|
|
13127
13196
|
/* harmony export */ "getScaleType": () => (/* binding */ getScaleType),
|
|
13128
13197
|
/* harmony export */ "getType": () => (/* binding */ getType)
|
|
@@ -13284,8 +13353,8 @@ function getType(scale) {
|
|
|
13284
13353
|
"use strict";
|
|
13285
13354
|
__webpack_require__.r(__webpack_exports__);
|
|
13286
13355
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13287
|
-
/* harmony export */ "
|
|
13288
|
-
/* harmony export */ "
|
|
13356
|
+
/* harmony export */ "getColorScale": () => (/* binding */ getColorScale),
|
|
13357
|
+
/* harmony export */ "toTransformString": () => (/* binding */ toTransformString)
|
|
13289
13358
|
/* harmony export */ });
|
|
13290
13359
|
/* eslint-disable func-style */
|
|
13291
13360
|
|
|
@@ -13357,9 +13426,9 @@ function getColorScale(name) {
|
|
|
13357
13426
|
"use strict";
|
|
13358
13427
|
__webpack_require__.r(__webpack_exports__);
|
|
13359
13428
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13360
|
-
/* harmony export */ "convertLengthToPixels": () => (/* binding */ convertLengthToPixels),
|
|
13361
13429
|
/* harmony export */ "_approximateTextSizeInternal": () => (/* binding */ _approximateTextSizeInternal),
|
|
13362
|
-
/* harmony export */ "approximateTextSize": () => (/* binding */ approximateTextSize)
|
|
13430
|
+
/* harmony export */ "approximateTextSize": () => (/* binding */ approximateTextSize),
|
|
13431
|
+
/* harmony export */ "convertLengthToPixels": () => (/* binding */ convertLengthToPixels)
|
|
13363
13432
|
/* harmony export */ });
|
|
13364
13433
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/lodash/defaults.js");
|
|
13365
13434
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -14223,8 +14292,11 @@ function getTransitionPropsFactory(props, state, setState) {
|
|
|
14223
14292
|
"use strict";
|
|
14224
14293
|
__webpack_require__.r(__webpack_exports__);
|
|
14225
14294
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14226
|
-
/* harmony export */ "getSafeUserProps": () => (/* binding */ getSafeUserProps)
|
|
14295
|
+
/* harmony export */ "getSafeUserProps": () => (/* binding */ getSafeUserProps),
|
|
14296
|
+
/* harmony export */ "withSafeUserProps": () => (/* binding */ withSafeUserProps)
|
|
14227
14297
|
/* harmony export */ });
|
|
14298
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
14299
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
14228
14300
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
14229
14301
|
|
|
14230
14302
|
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."); }
|
|
@@ -14243,12 +14315,14 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
14243
14315
|
|
|
14244
14316
|
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; }
|
|
14245
14317
|
|
|
14318
|
+
|
|
14246
14319
|
/*
|
|
14247
14320
|
USER_PROPS_SAFELIST is to contain any string deemed safe for user props.
|
|
14248
14321
|
The startsWidth array will contain the start of any accepted user-prop that
|
|
14249
14322
|
starts with these characters.
|
|
14250
14323
|
The exactMatch will contain a list of exact prop names that are accepted.
|
|
14251
14324
|
*/
|
|
14325
|
+
|
|
14252
14326
|
var USER_PROPS_SAFELIST = {
|
|
14253
14327
|
startsWith: ["data-", "aria-"],
|
|
14254
14328
|
exactMatch: []
|
|
@@ -14335,6 +14409,17 @@ var getSafeUserProps = function (props) {
|
|
|
14335
14409
|
return [key, getValue(value, props)];
|
|
14336
14410
|
}));
|
|
14337
14411
|
};
|
|
14412
|
+
/**
|
|
14413
|
+
* Wraps a component and adds safe user props
|
|
14414
|
+
*
|
|
14415
|
+
* @param {ReactNode} component: parent component
|
|
14416
|
+
* @param {Object} props: props to be filtered
|
|
14417
|
+
* @returns {ReactNode} modified component
|
|
14418
|
+
*/
|
|
14419
|
+
|
|
14420
|
+
var withSafeUserProps = function (component, props) {
|
|
14421
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(component, getSafeUserProps(props));
|
|
14422
|
+
};
|
|
14338
14423
|
|
|
14339
14424
|
/***/ }),
|
|
14340
14425
|
|
|
@@ -14483,9 +14568,9 @@ function ascending(a, b) {
|
|
|
14483
14568
|
"use strict";
|
|
14484
14569
|
__webpack_require__.r(__webpack_exports__);
|
|
14485
14570
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14486
|
-
/* harmony export */ "bisectRight": () => (/* binding */ bisectRight),
|
|
14487
|
-
/* harmony export */ "bisectLeft": () => (/* binding */ bisectLeft),
|
|
14488
14571
|
/* harmony export */ "bisectCenter": () => (/* binding */ bisectCenter),
|
|
14572
|
+
/* harmony export */ "bisectLeft": () => (/* binding */ bisectLeft),
|
|
14573
|
+
/* harmony export */ "bisectRight": () => (/* binding */ bisectRight),
|
|
14489
14574
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
14490
14575
|
/* harmony export */ });
|
|
14491
14576
|
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ascending.js */ "../../victory-vendor/node_modules/d3-array/src/ascending.js");
|
|
@@ -14871,9 +14956,9 @@ function range(start, stop, step) {
|
|
|
14871
14956
|
"use strict";
|
|
14872
14957
|
__webpack_require__.r(__webpack_exports__);
|
|
14873
14958
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14874
|
-
/* harmony export */ "
|
|
14959
|
+
/* harmony export */ "ascendingDefined": () => (/* binding */ ascendingDefined),
|
|
14875
14960
|
/* harmony export */ "compareDefined": () => (/* binding */ compareDefined),
|
|
14876
|
-
/* harmony export */ "
|
|
14961
|
+
/* harmony export */ "default": () => (/* binding */ sort)
|
|
14877
14962
|
/* harmony export */ });
|
|
14878
14963
|
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ascending.js */ "../../victory-vendor/node_modules/d3-array/src/ascending.js");
|
|
14879
14964
|
/* harmony import */ var _permute_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./permute.js */ "../../victory-vendor/node_modules/d3-array/src/permute.js");
|
|
@@ -15001,14 +15086,14 @@ function tickStep(start, stop, count) {
|
|
|
15001
15086
|
__webpack_require__.r(__webpack_exports__);
|
|
15002
15087
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15003
15088
|
/* harmony export */ "Color": () => (/* binding */ Color),
|
|
15004
|
-
/* harmony export */ "
|
|
15089
|
+
/* harmony export */ "Rgb": () => (/* binding */ Rgb),
|
|
15005
15090
|
/* harmony export */ "brighter": () => (/* binding */ brighter),
|
|
15091
|
+
/* harmony export */ "darker": () => (/* binding */ darker),
|
|
15006
15092
|
/* harmony export */ "default": () => (/* binding */ color),
|
|
15007
|
-
/* harmony export */ "
|
|
15008
|
-
/* harmony export */ "rgb": () => (/* binding */ rgb),
|
|
15009
|
-
/* harmony export */ "Rgb": () => (/* binding */ Rgb),
|
|
15093
|
+
/* harmony export */ "hsl": () => (/* binding */ hsl),
|
|
15010
15094
|
/* harmony export */ "hslConvert": () => (/* binding */ hslConvert),
|
|
15011
|
-
/* harmony export */ "
|
|
15095
|
+
/* harmony export */ "rgb": () => (/* binding */ rgb),
|
|
15096
|
+
/* harmony export */ "rgbConvert": () => (/* binding */ rgbConvert)
|
|
15012
15097
|
/* harmony export */ });
|
|
15013
15098
|
/* harmony import */ var _define_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./define.js */ "../../victory-vendor/node_modules/d3-color/src/define.js");
|
|
15014
15099
|
|
|
@@ -15447,8 +15532,8 @@ function extend(parent, definition) {
|
|
|
15447
15532
|
__webpack_require__.r(__webpack_exports__);
|
|
15448
15533
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15449
15534
|
/* harmony export */ "backIn": () => (/* binding */ backIn),
|
|
15450
|
-
/* harmony export */ "
|
|
15451
|
-
/* harmony export */ "
|
|
15535
|
+
/* harmony export */ "backInOut": () => (/* binding */ backInOut),
|
|
15536
|
+
/* harmony export */ "backOut": () => (/* binding */ backOut)
|
|
15452
15537
|
/* harmony export */ });
|
|
15453
15538
|
var overshoot = 1.70158;
|
|
15454
15539
|
|
|
@@ -15501,8 +15586,8 @@ var backInOut = (function custom(s) {
|
|
|
15501
15586
|
__webpack_require__.r(__webpack_exports__);
|
|
15502
15587
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15503
15588
|
/* harmony export */ "bounceIn": () => (/* binding */ bounceIn),
|
|
15504
|
-
/* harmony export */ "
|
|
15505
|
-
/* harmony export */ "
|
|
15589
|
+
/* harmony export */ "bounceInOut": () => (/* binding */ bounceInOut),
|
|
15590
|
+
/* harmony export */ "bounceOut": () => (/* binding */ bounceOut)
|
|
15506
15591
|
/* harmony export */ });
|
|
15507
15592
|
var b1 = 4 / 11,
|
|
15508
15593
|
b2 = 6 / 11,
|
|
@@ -15540,8 +15625,8 @@ function bounceInOut(t) {
|
|
|
15540
15625
|
__webpack_require__.r(__webpack_exports__);
|
|
15541
15626
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15542
15627
|
/* harmony export */ "circleIn": () => (/* binding */ circleIn),
|
|
15543
|
-
/* harmony export */ "
|
|
15544
|
-
/* harmony export */ "
|
|
15628
|
+
/* harmony export */ "circleInOut": () => (/* binding */ circleInOut),
|
|
15629
|
+
/* harmony export */ "circleOut": () => (/* binding */ circleOut)
|
|
15545
15630
|
/* harmony export */ });
|
|
15546
15631
|
function circleIn(t) {
|
|
15547
15632
|
return 1 - Math.sqrt(1 - t * t);
|
|
@@ -15568,8 +15653,8 @@ function circleInOut(t) {
|
|
|
15568
15653
|
__webpack_require__.r(__webpack_exports__);
|
|
15569
15654
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15570
15655
|
/* harmony export */ "cubicIn": () => (/* binding */ cubicIn),
|
|
15571
|
-
/* harmony export */ "
|
|
15572
|
-
/* harmony export */ "
|
|
15656
|
+
/* harmony export */ "cubicInOut": () => (/* binding */ cubicInOut),
|
|
15657
|
+
/* harmony export */ "cubicOut": () => (/* binding */ cubicOut)
|
|
15573
15658
|
/* harmony export */ });
|
|
15574
15659
|
function cubicIn(t) {
|
|
15575
15660
|
return t * t * t;
|
|
@@ -15596,8 +15681,8 @@ function cubicInOut(t) {
|
|
|
15596
15681
|
__webpack_require__.r(__webpack_exports__);
|
|
15597
15682
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15598
15683
|
/* harmony export */ "elasticIn": () => (/* binding */ elasticIn),
|
|
15599
|
-
/* harmony export */ "
|
|
15600
|
-
/* harmony export */ "
|
|
15684
|
+
/* harmony export */ "elasticInOut": () => (/* binding */ elasticInOut),
|
|
15685
|
+
/* harmony export */ "elasticOut": () => (/* binding */ elasticOut)
|
|
15601
15686
|
/* harmony export */ });
|
|
15602
15687
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "../../victory-vendor/node_modules/d3-ease/src/math.js");
|
|
15603
15688
|
|
|
@@ -15660,8 +15745,8 @@ var elasticInOut = (function custom(a, p) {
|
|
|
15660
15745
|
__webpack_require__.r(__webpack_exports__);
|
|
15661
15746
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15662
15747
|
/* harmony export */ "expIn": () => (/* binding */ expIn),
|
|
15663
|
-
/* harmony export */ "
|
|
15664
|
-
/* harmony export */ "
|
|
15748
|
+
/* harmony export */ "expInOut": () => (/* binding */ expInOut),
|
|
15749
|
+
/* harmony export */ "expOut": () => (/* binding */ expOut)
|
|
15665
15750
|
/* harmony export */ });
|
|
15666
15751
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "../../victory-vendor/node_modules/d3-ease/src/math.js");
|
|
15667
15752
|
|
|
@@ -15690,43 +15775,43 @@ function expInOut(t) {
|
|
|
15690
15775
|
"use strict";
|
|
15691
15776
|
__webpack_require__.r(__webpack_exports__);
|
|
15692
15777
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15693
|
-
/* harmony export */ "
|
|
15694
|
-
/* harmony export */ "
|
|
15695
|
-
/* harmony export */ "
|
|
15696
|
-
/* harmony export */ "
|
|
15697
|
-
/* harmony export */ "
|
|
15778
|
+
/* harmony export */ "easeBack": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut),
|
|
15779
|
+
/* harmony export */ "easeBackIn": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backIn),
|
|
15780
|
+
/* harmony export */ "easeBackInOut": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut),
|
|
15781
|
+
/* harmony export */ "easeBackOut": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backOut),
|
|
15782
|
+
/* harmony export */ "easeBounce": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut),
|
|
15783
|
+
/* harmony export */ "easeBounceIn": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceIn),
|
|
15784
|
+
/* harmony export */ "easeBounceInOut": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceInOut),
|
|
15785
|
+
/* harmony export */ "easeBounceOut": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut),
|
|
15786
|
+
/* harmony export */ "easeCircle": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut),
|
|
15787
|
+
/* harmony export */ "easeCircleIn": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleIn),
|
|
15788
|
+
/* harmony export */ "easeCircleInOut": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut),
|
|
15789
|
+
/* harmony export */ "easeCircleOut": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleOut),
|
|
15698
15790
|
/* harmony export */ "easeCubic": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicInOut),
|
|
15699
15791
|
/* harmony export */ "easeCubicIn": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicIn),
|
|
15700
|
-
/* harmony export */ "easeCubicOut": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicOut),
|
|
15701
15792
|
/* harmony export */ "easeCubicInOut": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicInOut),
|
|
15793
|
+
/* harmony export */ "easeCubicOut": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicOut),
|
|
15794
|
+
/* harmony export */ "easeElastic": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut),
|
|
15795
|
+
/* harmony export */ "easeElasticIn": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticIn),
|
|
15796
|
+
/* harmony export */ "easeElasticInOut": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticInOut),
|
|
15797
|
+
/* harmony export */ "easeElasticOut": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut),
|
|
15798
|
+
/* harmony export */ "easeExp": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expInOut),
|
|
15799
|
+
/* harmony export */ "easeExpIn": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expIn),
|
|
15800
|
+
/* harmony export */ "easeExpInOut": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expInOut),
|
|
15801
|
+
/* harmony export */ "easeExpOut": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expOut),
|
|
15802
|
+
/* harmony export */ "easeLinear": () => (/* reexport safe */ _linear_js__WEBPACK_IMPORTED_MODULE_0__.linear),
|
|
15702
15803
|
/* harmony export */ "easePoly": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyInOut),
|
|
15703
15804
|
/* harmony export */ "easePolyIn": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyIn),
|
|
15704
|
-
/* harmony export */ "easePolyOut": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyOut),
|
|
15705
15805
|
/* harmony export */ "easePolyInOut": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyInOut),
|
|
15806
|
+
/* harmony export */ "easePolyOut": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyOut),
|
|
15807
|
+
/* harmony export */ "easeQuad": () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadInOut),
|
|
15808
|
+
/* harmony export */ "easeQuadIn": () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadIn),
|
|
15809
|
+
/* harmony export */ "easeQuadInOut": () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadInOut),
|
|
15810
|
+
/* harmony export */ "easeQuadOut": () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadOut),
|
|
15706
15811
|
/* harmony export */ "easeSin": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinInOut),
|
|
15707
15812
|
/* harmony export */ "easeSinIn": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinIn),
|
|
15708
|
-
/* harmony export */ "easeSinOut": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinOut),
|
|
15709
15813
|
/* harmony export */ "easeSinInOut": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinInOut),
|
|
15710
|
-
/* harmony export */ "
|
|
15711
|
-
/* harmony export */ "easeExpIn": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expIn),
|
|
15712
|
-
/* harmony export */ "easeExpOut": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expOut),
|
|
15713
|
-
/* harmony export */ "easeExpInOut": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expInOut),
|
|
15714
|
-
/* harmony export */ "easeCircle": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut),
|
|
15715
|
-
/* harmony export */ "easeCircleIn": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleIn),
|
|
15716
|
-
/* harmony export */ "easeCircleOut": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleOut),
|
|
15717
|
-
/* harmony export */ "easeCircleInOut": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut),
|
|
15718
|
-
/* harmony export */ "easeBounce": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut),
|
|
15719
|
-
/* harmony export */ "easeBounceIn": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceIn),
|
|
15720
|
-
/* harmony export */ "easeBounceOut": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut),
|
|
15721
|
-
/* harmony export */ "easeBounceInOut": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceInOut),
|
|
15722
|
-
/* harmony export */ "easeBack": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut),
|
|
15723
|
-
/* harmony export */ "easeBackIn": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backIn),
|
|
15724
|
-
/* harmony export */ "easeBackOut": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backOut),
|
|
15725
|
-
/* harmony export */ "easeBackInOut": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut),
|
|
15726
|
-
/* harmony export */ "easeElastic": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut),
|
|
15727
|
-
/* harmony export */ "easeElasticIn": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticIn),
|
|
15728
|
-
/* harmony export */ "easeElasticOut": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut),
|
|
15729
|
-
/* harmony export */ "easeElasticInOut": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticInOut)
|
|
15814
|
+
/* harmony export */ "easeSinOut": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinOut)
|
|
15730
15815
|
/* harmony export */ });
|
|
15731
15816
|
/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./linear.js */ "../../victory-vendor/node_modules/d3-ease/src/linear.js");
|
|
15732
15817
|
/* harmony import */ var _quad_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./quad.js */ "../../victory-vendor/node_modules/d3-ease/src/quad.js");
|
|
@@ -15806,8 +15891,8 @@ function tpmt(x) {
|
|
|
15806
15891
|
__webpack_require__.r(__webpack_exports__);
|
|
15807
15892
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15808
15893
|
/* harmony export */ "polyIn": () => (/* binding */ polyIn),
|
|
15809
|
-
/* harmony export */ "
|
|
15810
|
-
/* harmony export */ "
|
|
15894
|
+
/* harmony export */ "polyInOut": () => (/* binding */ polyInOut),
|
|
15895
|
+
/* harmony export */ "polyOut": () => (/* binding */ polyOut)
|
|
15811
15896
|
/* harmony export */ });
|
|
15812
15897
|
var exponent = 3;
|
|
15813
15898
|
|
|
@@ -15860,8 +15945,8 @@ var polyInOut = (function custom(e) {
|
|
|
15860
15945
|
__webpack_require__.r(__webpack_exports__);
|
|
15861
15946
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15862
15947
|
/* harmony export */ "quadIn": () => (/* binding */ quadIn),
|
|
15863
|
-
/* harmony export */ "
|
|
15864
|
-
/* harmony export */ "
|
|
15948
|
+
/* harmony export */ "quadInOut": () => (/* binding */ quadInOut),
|
|
15949
|
+
/* harmony export */ "quadOut": () => (/* binding */ quadOut)
|
|
15865
15950
|
/* harmony export */ });
|
|
15866
15951
|
function quadIn(t) {
|
|
15867
15952
|
return t * t;
|
|
@@ -15888,8 +15973,8 @@ function quadInOut(t) {
|
|
|
15888
15973
|
__webpack_require__.r(__webpack_exports__);
|
|
15889
15974
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15890
15975
|
/* harmony export */ "sinIn": () => (/* binding */ sinIn),
|
|
15891
|
-
/* harmony export */ "
|
|
15892
|
-
/* harmony export */ "
|
|
15976
|
+
/* harmony export */ "sinInOut": () => (/* binding */ sinInOut),
|
|
15977
|
+
/* harmony export */ "sinOut": () => (/* binding */ sinOut)
|
|
15893
15978
|
/* harmony export */ });
|
|
15894
15979
|
var pi = Math.PI,
|
|
15895
15980
|
halfPi = pi / 2;
|
|
@@ -15918,9 +16003,9 @@ function sinInOut(t) {
|
|
|
15918
16003
|
"use strict";
|
|
15919
16004
|
__webpack_require__.r(__webpack_exports__);
|
|
15920
16005
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16006
|
+
/* harmony export */ "default": () => (/* binding */ defaultLocale),
|
|
15921
16007
|
/* harmony export */ "format": () => (/* binding */ format),
|
|
15922
|
-
/* harmony export */ "formatPrefix": () => (/* binding */ formatPrefix)
|
|
15923
|
-
/* harmony export */ "default": () => (/* binding */ defaultLocale)
|
|
16008
|
+
/* harmony export */ "formatPrefix": () => (/* binding */ formatPrefix)
|
|
15924
16009
|
/* harmony export */ });
|
|
15925
16010
|
/* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./locale.js */ "../../victory-vendor/node_modules/d3-format/src/locale.js");
|
|
15926
16011
|
|
|
@@ -16066,8 +16151,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16066
16151
|
"use strict";
|
|
16067
16152
|
__webpack_require__.r(__webpack_exports__);
|
|
16068
16153
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16069
|
-
/* harmony export */ "
|
|
16070
|
-
/* harmony export */ "
|
|
16154
|
+
/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__),
|
|
16155
|
+
/* harmony export */ "prefixExponent": () => (/* binding */ prefixExponent)
|
|
16071
16156
|
/* harmony export */ });
|
|
16072
16157
|
/* harmony import */ var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatDecimal.js */ "../../victory-vendor/node_modules/d3-format/src/formatDecimal.js");
|
|
16073
16158
|
|
|
@@ -16126,8 +16211,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16126
16211
|
"use strict";
|
|
16127
16212
|
__webpack_require__.r(__webpack_exports__);
|
|
16128
16213
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16129
|
-
/* harmony export */ "
|
|
16130
|
-
/* harmony export */ "
|
|
16214
|
+
/* harmony export */ "FormatSpecifier": () => (/* binding */ FormatSpecifier),
|
|
16215
|
+
/* harmony export */ "default": () => (/* binding */ formatSpecifier)
|
|
16131
16216
|
/* harmony export */ });
|
|
16132
16217
|
// [[fill]align][sign][symbol][0][width][,][.precision][~][type]
|
|
16133
16218
|
var re = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
|
|
@@ -16609,9 +16694,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16609
16694
|
"use strict";
|
|
16610
16695
|
__webpack_require__.r(__webpack_exports__);
|
|
16611
16696
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16612
|
-
/* harmony export */ "
|
|
16697
|
+
/* harmony export */ "default": () => (/* binding */ nogamma),
|
|
16613
16698
|
/* harmony export */ "gamma": () => (/* binding */ gamma),
|
|
16614
|
-
/* harmony export */ "
|
|
16699
|
+
/* harmony export */ "hue": () => (/* binding */ hue)
|
|
16615
16700
|
/* harmony export */ });
|
|
16616
16701
|
/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "../../victory-vendor/node_modules/d3-interpolate/src/constant.js");
|
|
16617
16702
|
|
|
@@ -17171,10 +17256,10 @@ function constants(x) {
|
|
|
17171
17256
|
"use strict";
|
|
17172
17257
|
__webpack_require__.r(__webpack_exports__);
|
|
17173
17258
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17174
|
-
/* harmony export */ "identity": () => (/* binding */ identity),
|
|
17175
17259
|
/* harmony export */ "copy": () => (/* binding */ copy),
|
|
17176
|
-
/* harmony export */ "
|
|
17177
|
-
/* harmony export */ "
|
|
17260
|
+
/* harmony export */ "default": () => (/* binding */ continuous),
|
|
17261
|
+
/* harmony export */ "identity": () => (/* binding */ identity),
|
|
17262
|
+
/* harmony export */ "transformer": () => (/* binding */ transformer)
|
|
17178
17263
|
/* harmony export */ });
|
|
17179
17264
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/bisect.js");
|
|
17180
17265
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
@@ -17322,9 +17407,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17322
17407
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17323
17408
|
/* harmony export */ "default": () => (/* binding */ diverging),
|
|
17324
17409
|
/* harmony export */ "divergingLog": () => (/* binding */ divergingLog),
|
|
17325
|
-
/* harmony export */ "divergingSymlog": () => (/* binding */ divergingSymlog),
|
|
17326
17410
|
/* harmony export */ "divergingPow": () => (/* binding */ divergingPow),
|
|
17327
|
-
/* harmony export */ "divergingSqrt": () => (/* binding */ divergingSqrt)
|
|
17411
|
+
/* harmony export */ "divergingSqrt": () => (/* binding */ divergingSqrt),
|
|
17412
|
+
/* harmony export */ "divergingSymlog": () => (/* binding */ divergingSymlog)
|
|
17328
17413
|
/* harmony export */ });
|
|
17329
17414
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/piecewise.js");
|
|
17330
17415
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
@@ -17499,32 +17584,32 @@ function identity(domain) {
|
|
|
17499
17584
|
__webpack_require__.r(__webpack_exports__);
|
|
17500
17585
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17501
17586
|
/* harmony export */ "scaleBand": () => (/* reexport safe */ _band_js__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
17502
|
-
/* harmony export */ "
|
|
17587
|
+
/* harmony export */ "scaleDiverging": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__["default"]),
|
|
17588
|
+
/* harmony export */ "scaleDivergingLog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingLog),
|
|
17589
|
+
/* harmony export */ "scaleDivergingPow": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingPow),
|
|
17590
|
+
/* harmony export */ "scaleDivergingSqrt": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSqrt),
|
|
17591
|
+
/* harmony export */ "scaleDivergingSymlog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSymlog),
|
|
17503
17592
|
/* harmony export */ "scaleIdentity": () => (/* reexport safe */ _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
17593
|
+
/* harmony export */ "scaleImplicit": () => (/* reexport safe */ _ordinal_js__WEBPACK_IMPORTED_MODULE_5__.implicit),
|
|
17504
17594
|
/* harmony export */ "scaleLinear": () => (/* reexport safe */ _linear_js__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
17505
17595
|
/* harmony export */ "scaleLog": () => (/* reexport safe */ _log_js__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
17506
|
-
/* harmony export */ "scaleSymlog": () => (/* reexport safe */ _symlog_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
17507
17596
|
/* harmony export */ "scaleOrdinal": () => (/* reexport safe */ _ordinal_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
17508
|
-
/* harmony export */ "
|
|
17597
|
+
/* harmony export */ "scalePoint": () => (/* reexport safe */ _band_js__WEBPACK_IMPORTED_MODULE_0__.point),
|
|
17509
17598
|
/* harmony export */ "scalePow": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
17510
|
-
/* harmony export */ "scaleSqrt": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__.sqrt),
|
|
17511
|
-
/* harmony export */ "scaleRadial": () => (/* reexport safe */ _radial_js__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
17512
17599
|
/* harmony export */ "scaleQuantile": () => (/* reexport safe */ _quantile_js__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
|
17513
17600
|
/* harmony export */ "scaleQuantize": () => (/* reexport safe */ _quantize_js__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
|
17514
|
-
/* harmony export */ "
|
|
17515
|
-
/* harmony export */ "scaleTime": () => (/* reexport safe */ _time_js__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
17516
|
-
/* harmony export */ "scaleUtc": () => (/* reexport safe */ _utcTime_js__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
17601
|
+
/* harmony export */ "scaleRadial": () => (/* reexport safe */ _radial_js__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
17517
17602
|
/* harmony export */ "scaleSequential": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
|
17518
17603
|
/* harmony export */ "scaleSequentialLog": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialLog),
|
|
17519
17604
|
/* harmony export */ "scaleSequentialPow": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialPow),
|
|
17605
|
+
/* harmony export */ "scaleSequentialQuantile": () => (/* reexport safe */ _sequentialQuantile_js__WEBPACK_IMPORTED_MODULE_14__["default"]),
|
|
17520
17606
|
/* harmony export */ "scaleSequentialSqrt": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialSqrt),
|
|
17521
17607
|
/* harmony export */ "scaleSequentialSymlog": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialSymlog),
|
|
17522
|
-
/* harmony export */ "
|
|
17523
|
-
/* harmony export */ "
|
|
17524
|
-
/* harmony export */ "
|
|
17525
|
-
/* harmony export */ "
|
|
17526
|
-
/* harmony export */ "
|
|
17527
|
-
/* harmony export */ "scaleDivergingSymlog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSymlog),
|
|
17608
|
+
/* harmony export */ "scaleSqrt": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__.sqrt),
|
|
17609
|
+
/* harmony export */ "scaleSymlog": () => (/* reexport safe */ _symlog_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
17610
|
+
/* harmony export */ "scaleThreshold": () => (/* reexport safe */ _threshold_js__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
|
17611
|
+
/* harmony export */ "scaleTime": () => (/* reexport safe */ _time_js__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
17612
|
+
/* harmony export */ "scaleUtc": () => (/* reexport safe */ _utcTime_js__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
17528
17613
|
/* harmony export */ "tickFormat": () => (/* reexport safe */ _tickFormat_js__WEBPACK_IMPORTED_MODULE_16__["default"])
|
|
17529
17614
|
/* harmony export */ });
|
|
17530
17615
|
/* harmony import */ var _band_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./band.js */ "../../victory-vendor/node_modules/d3-scale/src/band.js");
|
|
@@ -17590,8 +17675,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17590
17675
|
"use strict";
|
|
17591
17676
|
__webpack_require__.r(__webpack_exports__);
|
|
17592
17677
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17593
|
-
/* harmony export */ "
|
|
17594
|
-
/* harmony export */ "
|
|
17678
|
+
/* harmony export */ "initInterpolator": () => (/* binding */ initInterpolator),
|
|
17679
|
+
/* harmony export */ "initRange": () => (/* binding */ initRange)
|
|
17595
17680
|
/* harmony export */ });
|
|
17596
17681
|
function initRange(domain, range) {
|
|
17597
17682
|
switch (arguments.length) {
|
|
@@ -17632,8 +17717,8 @@ function initInterpolator(domain, interpolator) {
|
|
|
17632
17717
|
"use strict";
|
|
17633
17718
|
__webpack_require__.r(__webpack_exports__);
|
|
17634
17719
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17635
|
-
/* harmony export */ "
|
|
17636
|
-
/* harmony export */ "
|
|
17720
|
+
/* harmony export */ "default": () => (/* binding */ linear),
|
|
17721
|
+
/* harmony export */ "linearish": () => (/* binding */ linearish)
|
|
17637
17722
|
/* harmony export */ });
|
|
17638
17723
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
17639
17724
|
/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./continuous.js */ "../../victory-vendor/node_modules/d3-scale/src/continuous.js");
|
|
@@ -17722,8 +17807,8 @@ function linear() {
|
|
|
17722
17807
|
"use strict";
|
|
17723
17808
|
__webpack_require__.r(__webpack_exports__);
|
|
17724
17809
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17725
|
-
/* harmony export */ "
|
|
17726
|
-
/* harmony export */ "
|
|
17810
|
+
/* harmony export */ "default": () => (/* binding */ log),
|
|
17811
|
+
/* harmony export */ "loggish": () => (/* binding */ loggish)
|
|
17727
17812
|
/* harmony export */ });
|
|
17728
17813
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
17729
17814
|
/* harmony import */ var d3_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-format */ "../../victory-vendor/node_modules/d3-format/src/formatSpecifier.js");
|
|
@@ -17935,8 +18020,8 @@ function number(x) {
|
|
|
17935
18020
|
"use strict";
|
|
17936
18021
|
__webpack_require__.r(__webpack_exports__);
|
|
17937
18022
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17938
|
-
/* harmony export */ "
|
|
17939
|
-
/* harmony export */ "
|
|
18023
|
+
/* harmony export */ "default": () => (/* binding */ ordinal),
|
|
18024
|
+
/* harmony export */ "implicit": () => (/* binding */ implicit)
|
|
17940
18025
|
/* harmony export */ });
|
|
17941
18026
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/internmap/src/index.js");
|
|
17942
18027
|
/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./init.js */ "../../victory-vendor/node_modules/d3-scale/src/init.js");
|
|
@@ -17999,8 +18084,8 @@ function ordinal() {
|
|
|
17999
18084
|
"use strict";
|
|
18000
18085
|
__webpack_require__.r(__webpack_exports__);
|
|
18001
18086
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18002
|
-
/* harmony export */ "powish": () => (/* binding */ powish),
|
|
18003
18087
|
/* harmony export */ "default": () => (/* binding */ pow),
|
|
18088
|
+
/* harmony export */ "powish": () => (/* binding */ powish),
|
|
18004
18089
|
/* harmony export */ "sqrt": () => (/* binding */ sqrt)
|
|
18005
18090
|
/* harmony export */ });
|
|
18006
18091
|
/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./linear.js */ "../../victory-vendor/node_modules/d3-scale/src/linear.js");
|
|
@@ -18304,9 +18389,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18304
18389
|
/* harmony export */ "copy": () => (/* binding */ copy),
|
|
18305
18390
|
/* harmony export */ "default": () => (/* binding */ sequential),
|
|
18306
18391
|
/* harmony export */ "sequentialLog": () => (/* binding */ sequentialLog),
|
|
18307
|
-
/* harmony export */ "sequentialSymlog": () => (/* binding */ sequentialSymlog),
|
|
18308
18392
|
/* harmony export */ "sequentialPow": () => (/* binding */ sequentialPow),
|
|
18309
|
-
/* harmony export */ "sequentialSqrt": () => (/* binding */ sequentialSqrt)
|
|
18393
|
+
/* harmony export */ "sequentialSqrt": () => (/* binding */ sequentialSqrt),
|
|
18394
|
+
/* harmony export */ "sequentialSymlog": () => (/* binding */ sequentialSymlog)
|
|
18310
18395
|
/* harmony export */ });
|
|
18311
18396
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
18312
18397
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/round.js");
|
|
@@ -18494,8 +18579,8 @@ function sequentialQuantile() {
|
|
|
18494
18579
|
"use strict";
|
|
18495
18580
|
__webpack_require__.r(__webpack_exports__);
|
|
18496
18581
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18497
|
-
/* harmony export */ "
|
|
18498
|
-
/* harmony export */ "
|
|
18582
|
+
/* harmony export */ "default": () => (/* binding */ symlog),
|
|
18583
|
+
/* harmony export */ "symlogish": () => (/* binding */ symlogish)
|
|
18499
18584
|
/* harmony export */ });
|
|
18500
18585
|
/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./linear.js */ "../../victory-vendor/node_modules/d3-scale/src/linear.js");
|
|
18501
18586
|
/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./continuous.js */ "../../victory-vendor/node_modules/d3-scale/src/continuous.js");
|
|
@@ -18787,11 +18872,11 @@ function utcTime() {
|
|
|
18787
18872
|
"use strict";
|
|
18788
18873
|
__webpack_require__.r(__webpack_exports__);
|
|
18789
18874
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18875
|
+
/* harmony export */ "default": () => (/* binding */ defaultLocale),
|
|
18790
18876
|
/* harmony export */ "timeFormat": () => (/* binding */ timeFormat),
|
|
18791
18877
|
/* harmony export */ "timeParse": () => (/* binding */ timeParse),
|
|
18792
18878
|
/* harmony export */ "utcFormat": () => (/* binding */ utcFormat),
|
|
18793
|
-
/* harmony export */ "utcParse": () => (/* binding */ utcParse)
|
|
18794
|
-
/* harmony export */ "default": () => (/* binding */ defaultLocale)
|
|
18879
|
+
/* harmony export */ "utcParse": () => (/* binding */ utcParse)
|
|
18795
18880
|
/* harmony export */ });
|
|
18796
18881
|
/* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./locale.js */ "../../victory-vendor/node_modules/d3-time-format/src/locale.js");
|
|
18797
18882
|
|
|
@@ -19541,8 +19626,8 @@ function formatUnixTimestampSeconds(d) {
|
|
|
19541
19626
|
"use strict";
|
|
19542
19627
|
__webpack_require__.r(__webpack_exports__);
|
|
19543
19628
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19544
|
-
/* harmony export */ "
|
|
19545
|
-
/* harmony export */ "
|
|
19629
|
+
/* harmony export */ "days": () => (/* binding */ days),
|
|
19630
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
19546
19631
|
/* harmony export */ });
|
|
19547
19632
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
19548
19633
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -19571,12 +19656,12 @@ var days = day.range;
|
|
|
19571
19656
|
"use strict";
|
|
19572
19657
|
__webpack_require__.r(__webpack_exports__);
|
|
19573
19658
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19574
|
-
/* harmony export */ "durationSecond": () => (/* binding */ durationSecond),
|
|
19575
|
-
/* harmony export */ "durationMinute": () => (/* binding */ durationMinute),
|
|
19576
|
-
/* harmony export */ "durationHour": () => (/* binding */ durationHour),
|
|
19577
19659
|
/* harmony export */ "durationDay": () => (/* binding */ durationDay),
|
|
19578
|
-
/* harmony export */ "
|
|
19660
|
+
/* harmony export */ "durationHour": () => (/* binding */ durationHour),
|
|
19661
|
+
/* harmony export */ "durationMinute": () => (/* binding */ durationMinute),
|
|
19579
19662
|
/* harmony export */ "durationMonth": () => (/* binding */ durationMonth),
|
|
19663
|
+
/* harmony export */ "durationSecond": () => (/* binding */ durationSecond),
|
|
19664
|
+
/* harmony export */ "durationWeek": () => (/* binding */ durationWeek),
|
|
19580
19665
|
/* harmony export */ "durationYear": () => (/* binding */ durationYear)
|
|
19581
19666
|
/* harmony export */ });
|
|
19582
19667
|
const durationSecond = 1000;
|
|
@@ -19858,10 +19943,10 @@ var seconds = second.range;
|
|
|
19858
19943
|
"use strict";
|
|
19859
19944
|
__webpack_require__.r(__webpack_exports__);
|
|
19860
19945
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19861
|
-
/* harmony export */ "
|
|
19862
|
-
/* harmony export */ "utcTickInterval": () => (/* binding */ utcTickInterval),
|
|
19946
|
+
/* harmony export */ "timeTickInterval": () => (/* binding */ timeTickInterval),
|
|
19863
19947
|
/* harmony export */ "timeTicks": () => (/* binding */ timeTicks),
|
|
19864
|
-
/* harmony export */ "
|
|
19948
|
+
/* harmony export */ "utcTickInterval": () => (/* binding */ utcTickInterval),
|
|
19949
|
+
/* harmony export */ "utcTicks": () => (/* binding */ utcTicks)
|
|
19865
19950
|
/* harmony export */ });
|
|
19866
19951
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/bisector.js");
|
|
19867
19952
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
@@ -20088,20 +20173,20 @@ var utcMonths = utcMonth.range;
|
|
|
20088
20173
|
"use strict";
|
|
20089
20174
|
__webpack_require__.r(__webpack_exports__);
|
|
20090
20175
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20091
|
-
/* harmony export */ "utcSunday": () => (/* binding */ utcSunday),
|
|
20092
|
-
/* harmony export */ "utcMonday": () => (/* binding */ utcMonday),
|
|
20093
|
-
/* harmony export */ "utcTuesday": () => (/* binding */ utcTuesday),
|
|
20094
|
-
/* harmony export */ "utcWednesday": () => (/* binding */ utcWednesday),
|
|
20095
|
-
/* harmony export */ "utcThursday": () => (/* binding */ utcThursday),
|
|
20096
20176
|
/* harmony export */ "utcFriday": () => (/* binding */ utcFriday),
|
|
20177
|
+
/* harmony export */ "utcFridays": () => (/* binding */ utcFridays),
|
|
20178
|
+
/* harmony export */ "utcMonday": () => (/* binding */ utcMonday),
|
|
20179
|
+
/* harmony export */ "utcMondays": () => (/* binding */ utcMondays),
|
|
20097
20180
|
/* harmony export */ "utcSaturday": () => (/* binding */ utcSaturday),
|
|
20181
|
+
/* harmony export */ "utcSaturdays": () => (/* binding */ utcSaturdays),
|
|
20182
|
+
/* harmony export */ "utcSunday": () => (/* binding */ utcSunday),
|
|
20098
20183
|
/* harmony export */ "utcSundays": () => (/* binding */ utcSundays),
|
|
20099
|
-
/* harmony export */ "
|
|
20100
|
-
/* harmony export */ "utcTuesdays": () => (/* binding */ utcTuesdays),
|
|
20101
|
-
/* harmony export */ "utcWednesdays": () => (/* binding */ utcWednesdays),
|
|
20184
|
+
/* harmony export */ "utcThursday": () => (/* binding */ utcThursday),
|
|
20102
20185
|
/* harmony export */ "utcThursdays": () => (/* binding */ utcThursdays),
|
|
20103
|
-
/* harmony export */ "
|
|
20104
|
-
/* harmony export */ "
|
|
20186
|
+
/* harmony export */ "utcTuesday": () => (/* binding */ utcTuesday),
|
|
20187
|
+
/* harmony export */ "utcTuesdays": () => (/* binding */ utcTuesdays),
|
|
20188
|
+
/* harmony export */ "utcWednesday": () => (/* binding */ utcWednesday),
|
|
20189
|
+
/* harmony export */ "utcWednesdays": () => (/* binding */ utcWednesdays)
|
|
20105
20190
|
/* harmony export */ });
|
|
20106
20191
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
20107
20192
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -20190,20 +20275,20 @@ var utcYears = utcYear.range;
|
|
|
20190
20275
|
"use strict";
|
|
20191
20276
|
__webpack_require__.r(__webpack_exports__);
|
|
20192
20277
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20193
|
-
/* harmony export */ "sunday": () => (/* binding */ sunday),
|
|
20194
|
-
/* harmony export */ "monday": () => (/* binding */ monday),
|
|
20195
|
-
/* harmony export */ "tuesday": () => (/* binding */ tuesday),
|
|
20196
|
-
/* harmony export */ "wednesday": () => (/* binding */ wednesday),
|
|
20197
|
-
/* harmony export */ "thursday": () => (/* binding */ thursday),
|
|
20198
20278
|
/* harmony export */ "friday": () => (/* binding */ friday),
|
|
20279
|
+
/* harmony export */ "fridays": () => (/* binding */ fridays),
|
|
20280
|
+
/* harmony export */ "monday": () => (/* binding */ monday),
|
|
20281
|
+
/* harmony export */ "mondays": () => (/* binding */ mondays),
|
|
20199
20282
|
/* harmony export */ "saturday": () => (/* binding */ saturday),
|
|
20283
|
+
/* harmony export */ "saturdays": () => (/* binding */ saturdays),
|
|
20284
|
+
/* harmony export */ "sunday": () => (/* binding */ sunday),
|
|
20200
20285
|
/* harmony export */ "sundays": () => (/* binding */ sundays),
|
|
20201
|
-
/* harmony export */ "
|
|
20202
|
-
/* harmony export */ "tuesdays": () => (/* binding */ tuesdays),
|
|
20203
|
-
/* harmony export */ "wednesdays": () => (/* binding */ wednesdays),
|
|
20286
|
+
/* harmony export */ "thursday": () => (/* binding */ thursday),
|
|
20204
20287
|
/* harmony export */ "thursdays": () => (/* binding */ thursdays),
|
|
20205
|
-
/* harmony export */ "
|
|
20206
|
-
/* harmony export */ "
|
|
20288
|
+
/* harmony export */ "tuesday": () => (/* binding */ tuesday),
|
|
20289
|
+
/* harmony export */ "tuesdays": () => (/* binding */ tuesdays),
|
|
20290
|
+
/* harmony export */ "wednesday": () => (/* binding */ wednesday),
|
|
20291
|
+
/* harmony export */ "wednesdays": () => (/* binding */ wednesdays)
|
|
20207
20292
|
/* harmony export */ });
|
|
20208
20293
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
20209
20294
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -20292,8 +20377,8 @@ var years = year.range;
|
|
|
20292
20377
|
"use strict";
|
|
20293
20378
|
__webpack_require__.r(__webpack_exports__);
|
|
20294
20379
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20295
|
-
/* harmony export */ "now": () => (/* binding */ now),
|
|
20296
20380
|
/* harmony export */ "Timer": () => (/* binding */ Timer),
|
|
20381
|
+
/* harmony export */ "now": () => (/* binding */ now),
|
|
20297
20382
|
/* harmony export */ "timer": () => (/* binding */ timer),
|
|
20298
20383
|
/* harmony export */ "timerFlush": () => (/* binding */ timerFlush)
|
|
20299
20384
|
/* harmony export */ });
|