victory-voronoi 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-voronoi.js +540 -452
- package/dist/victory-voronoi.min.js +1 -1
- package/es/victory-voronoi.js +2 -2
- package/es/voronoi.js +4 -2
- package/lib/victory-voronoi.js +2 -4
- package/lib/voronoi.js +3 -1
- package/package.json +4 -4
- package/src/victory-voronoi.js +5 -6
- package/src/voronoi.js +10 -1
package/dist/victory-voronoi.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
exports["VictoryVoronoi"] = factory(require("react"));
|
|
8
8
|
else
|
|
9
9
|
root["VictoryVoronoi"] = factory(root["React"]);
|
|
10
|
-
})(self,
|
|
10
|
+
})(self, (__WEBPACK_EXTERNAL_MODULE_react__) => {
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
@@ -287,8 +287,8 @@ var VictoryVoronoi = /*#__PURE__*/function (_React$Component) {
|
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
var children = this.renderData(props);
|
|
290
|
-
var
|
|
291
|
-
return
|
|
290
|
+
var component = props.standalone ? this.renderContainer(props.containerComponent, children) : children;
|
|
291
|
+
return victory_core__WEBPACK_IMPORTED_MODULE_2__.withSafeUserProps(component, props);
|
|
292
292
|
}
|
|
293
293
|
}]);
|
|
294
294
|
|
|
@@ -349,13 +349,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
349
349
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__);
|
|
350
350
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
351
351
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
352
|
-
/* harmony import */ var
|
|
353
|
-
/* harmony import */ var
|
|
354
|
-
/* harmony import */ var
|
|
352
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
353
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
|
|
354
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/helpers.js");
|
|
355
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/user-props.js");
|
|
355
356
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/common-props.js");
|
|
356
|
-
/* harmony import */ var
|
|
357
|
-
/* harmony import */ var
|
|
358
|
-
/* harmony import */ var
|
|
357
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-primitives/path.js");
|
|
358
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-primitives/circle.js");
|
|
359
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-primitives/clip-path.js");
|
|
359
360
|
|
|
360
361
|
|
|
361
362
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -383,11 +384,11 @@ var evaluateProps = function (props) {
|
|
|
383
384
|
* `style`
|
|
384
385
|
* `tabIndex
|
|
385
386
|
*/
|
|
386
|
-
var ariaLabel =
|
|
387
|
-
var id =
|
|
388
|
-
var size =
|
|
389
|
-
var style =
|
|
390
|
-
var tabIndex =
|
|
387
|
+
var ariaLabel = victory_core__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.ariaLabel, props);
|
|
388
|
+
var id = victory_core__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.id, props);
|
|
389
|
+
var size = victory_core__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.size, props);
|
|
390
|
+
var style = victory_core__WEBPACK_IMPORTED_MODULE_2__.evaluateStyle(props.style, props);
|
|
391
|
+
var tabIndex = victory_core__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.tabIndex, props);
|
|
391
392
|
return lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, {
|
|
392
393
|
ariaLabel: ariaLabel,
|
|
393
394
|
id: id,
|
|
@@ -421,6 +422,8 @@ var Voronoi = function (props) {
|
|
|
421
422
|
transform: transform
|
|
422
423
|
}, events);
|
|
423
424
|
|
|
425
|
+
var userProps = victory_core__WEBPACK_IMPORTED_MODULE_3__.getSafeUserProps(props);
|
|
426
|
+
|
|
424
427
|
if (size) {
|
|
425
428
|
var circle = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(props.circleComponent, _objectSpread(_objectSpread({}, sharedProps), {}, {
|
|
426
429
|
key: "".concat(props.id, "-circle-clip"),
|
|
@@ -439,27 +442,27 @@ var Voronoi = function (props) {
|
|
|
439
442
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(props.groupComponent, {}, [voronoiClipPath, circle]);
|
|
440
443
|
}
|
|
441
444
|
|
|
442
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(props.pathComponent, _objectSpread(_objectSpread({}, sharedProps), {}, {
|
|
445
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(props.pathComponent, _objectSpread(_objectSpread(_objectSpread({}, sharedProps), userProps), {}, {
|
|
443
446
|
d: voronoiPath
|
|
444
447
|
}));
|
|
445
448
|
};
|
|
446
449
|
|
|
447
450
|
Voronoi.propTypes = _objectSpread(_objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_4__.primitiveProps), {}, {
|
|
448
|
-
circleComponent: (
|
|
449
|
-
clipId:
|
|
450
|
-
clipPathComponent: (
|
|
451
|
-
datum: (
|
|
452
|
-
groupComponent: (
|
|
453
|
-
pathComponent: (
|
|
454
|
-
polygon: (
|
|
455
|
-
size: (
|
|
456
|
-
x: (
|
|
457
|
-
y: (
|
|
451
|
+
circleComponent: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().element),
|
|
452
|
+
clipId: prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_5___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)]),
|
|
453
|
+
clipPathComponent: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().element),
|
|
454
|
+
datum: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object),
|
|
455
|
+
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().element),
|
|
456
|
+
pathComponent: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().element),
|
|
457
|
+
polygon: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().array),
|
|
458
|
+
size: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().number),
|
|
459
|
+
x: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().number),
|
|
460
|
+
y: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().number)
|
|
458
461
|
});
|
|
459
462
|
Voronoi.defaultProps = {
|
|
460
|
-
pathComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
|
461
|
-
circleComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
|
462
|
-
clipPathComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
|
463
|
+
pathComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_6__["default"], null),
|
|
464
|
+
circleComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_7__["default"], null),
|
|
465
|
+
clipPathComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_8__["default"], null),
|
|
463
466
|
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("g", null),
|
|
464
467
|
role: "presentation",
|
|
465
468
|
shapeRendering: "auto"
|
|
@@ -5848,7 +5851,7 @@ var printWarning = function() {};
|
|
|
5848
5851
|
if (true) {
|
|
5849
5852
|
var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../../node_modules/prop-types/lib/ReactPropTypesSecret.js");
|
|
5850
5853
|
var loggedTypeFailures = {};
|
|
5851
|
-
var has =
|
|
5854
|
+
var has = __webpack_require__(/*! ./lib/has */ "../../../node_modules/prop-types/lib/has.js");
|
|
5852
5855
|
|
|
5853
5856
|
printWarning = function(text) {
|
|
5854
5857
|
var message = 'Warning: ' + text;
|
|
@@ -5860,7 +5863,7 @@ if (true) {
|
|
|
5860
5863
|
// This error was thrown as a convenience so that you can use this stack
|
|
5861
5864
|
// to find the callsite that caused this warning to fire.
|
|
5862
5865
|
throw new Error(message);
|
|
5863
|
-
} catch (x) {}
|
|
5866
|
+
} catch (x) { /**/ }
|
|
5864
5867
|
};
|
|
5865
5868
|
}
|
|
5866
5869
|
|
|
@@ -5889,7 +5892,8 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
|
5889
5892
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
5890
5893
|
var err = Error(
|
|
5891
5894
|
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
5892
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
5895
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
5896
|
+
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
5893
5897
|
);
|
|
5894
5898
|
err.name = 'Invariant Violation';
|
|
5895
5899
|
throw err;
|
|
@@ -5960,9 +5964,9 @@ var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/react-i
|
|
|
5960
5964
|
var assign = __webpack_require__(/*! object-assign */ "../../../node_modules/object-assign/index.js");
|
|
5961
5965
|
|
|
5962
5966
|
var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../../node_modules/prop-types/lib/ReactPropTypesSecret.js");
|
|
5967
|
+
var has = __webpack_require__(/*! ./lib/has */ "../../../node_modules/prop-types/lib/has.js");
|
|
5963
5968
|
var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "../../../node_modules/prop-types/checkPropTypes.js");
|
|
5964
5969
|
|
|
5965
|
-
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
5966
5970
|
var printWarning = function() {};
|
|
5967
5971
|
|
|
5968
5972
|
if (true) {
|
|
@@ -6063,6 +6067,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6063
6067
|
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
6064
6068
|
var ReactPropTypes = {
|
|
6065
6069
|
array: createPrimitiveTypeChecker('array'),
|
|
6070
|
+
bigint: createPrimitiveTypeChecker('bigint'),
|
|
6066
6071
|
bool: createPrimitiveTypeChecker('boolean'),
|
|
6067
6072
|
func: createPrimitiveTypeChecker('function'),
|
|
6068
6073
|
number: createPrimitiveTypeChecker('number'),
|
|
@@ -6108,8 +6113,9 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6108
6113
|
* is prohibitively expensive if they are created too often, such as what
|
|
6109
6114
|
* happens in oneOfType() for any type before the one that matched.
|
|
6110
6115
|
*/
|
|
6111
|
-
function PropTypeError(message) {
|
|
6116
|
+
function PropTypeError(message, data) {
|
|
6112
6117
|
this.message = message;
|
|
6118
|
+
this.data = data && typeof data === 'object' ? data: {};
|
|
6113
6119
|
this.stack = '';
|
|
6114
6120
|
}
|
|
6115
6121
|
// Make `instanceof Error` still work for returned errors.
|
|
@@ -6144,7 +6150,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6144
6150
|
) {
|
|
6145
6151
|
printWarning(
|
|
6146
6152
|
'You are manually calling a React.PropTypes validation ' +
|
|
6147
|
-
'function for the `' + propFullName + '` prop on `' + componentName
|
|
6153
|
+
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
6148
6154
|
'and will throw in the standalone `prop-types` package. ' +
|
|
6149
6155
|
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
6150
6156
|
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
@@ -6183,7 +6189,10 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6183
6189
|
// 'of type `object`'.
|
|
6184
6190
|
var preciseType = getPreciseType(propValue);
|
|
6185
6191
|
|
|
6186
|
-
return new PropTypeError(
|
|
6192
|
+
return new PropTypeError(
|
|
6193
|
+
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
6194
|
+
{expectedType: expectedType}
|
|
6195
|
+
);
|
|
6187
6196
|
}
|
|
6188
6197
|
return null;
|
|
6189
6198
|
}
|
|
@@ -6327,14 +6336,19 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6327
6336
|
}
|
|
6328
6337
|
|
|
6329
6338
|
function validate(props, propName, componentName, location, propFullName) {
|
|
6339
|
+
var expectedTypes = [];
|
|
6330
6340
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
6331
6341
|
var checker = arrayOfTypeCheckers[i];
|
|
6332
|
-
|
|
6342
|
+
var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
|
6343
|
+
if (checkerResult == null) {
|
|
6333
6344
|
return null;
|
|
6334
6345
|
}
|
|
6346
|
+
if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
|
|
6347
|
+
expectedTypes.push(checkerResult.data.expectedType);
|
|
6348
|
+
}
|
|
6335
6349
|
}
|
|
6336
|
-
|
|
6337
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '
|
|
6350
|
+
var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
|
|
6351
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
|
|
6338
6352
|
}
|
|
6339
6353
|
return createChainableTypeChecker(validate);
|
|
6340
6354
|
}
|
|
@@ -6349,6 +6363,13 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6349
6363
|
return createChainableTypeChecker(validate);
|
|
6350
6364
|
}
|
|
6351
6365
|
|
|
6366
|
+
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
6367
|
+
return new PropTypeError(
|
|
6368
|
+
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
6369
|
+
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
6370
|
+
);
|
|
6371
|
+
}
|
|
6372
|
+
|
|
6352
6373
|
function createShapeTypeChecker(shapeTypes) {
|
|
6353
6374
|
function validate(props, propName, componentName, location, propFullName) {
|
|
6354
6375
|
var propValue = props[propName];
|
|
@@ -6358,8 +6379,8 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6358
6379
|
}
|
|
6359
6380
|
for (var key in shapeTypes) {
|
|
6360
6381
|
var checker = shapeTypes[key];
|
|
6361
|
-
if (
|
|
6362
|
-
|
|
6382
|
+
if (typeof checker !== 'function') {
|
|
6383
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
6363
6384
|
}
|
|
6364
6385
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
6365
6386
|
if (error) {
|
|
@@ -6378,16 +6399,18 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6378
6399
|
if (propType !== 'object') {
|
|
6379
6400
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
6380
6401
|
}
|
|
6381
|
-
// We need to check all keys in case some are required but missing from
|
|
6382
|
-
// props.
|
|
6402
|
+
// We need to check all keys in case some are required but missing from props.
|
|
6383
6403
|
var allKeys = assign({}, props[propName], shapeTypes);
|
|
6384
6404
|
for (var key in allKeys) {
|
|
6385
6405
|
var checker = shapeTypes[key];
|
|
6406
|
+
if (has(shapeTypes, key) && typeof checker !== 'function') {
|
|
6407
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
6408
|
+
}
|
|
6386
6409
|
if (!checker) {
|
|
6387
6410
|
return new PropTypeError(
|
|
6388
6411
|
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
6389
6412
|
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
6390
|
-
'\nValid keys: ' +
|
|
6413
|
+
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
6391
6414
|
);
|
|
6392
6415
|
}
|
|
6393
6416
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
@@ -6588,6 +6611,17 @@ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
|
6588
6611
|
module.exports = ReactPropTypesSecret;
|
|
6589
6612
|
|
|
6590
6613
|
|
|
6614
|
+
/***/ }),
|
|
6615
|
+
|
|
6616
|
+
/***/ "../../../node_modules/prop-types/lib/has.js":
|
|
6617
|
+
/*!***************************************************!*\
|
|
6618
|
+
!*** ../../../node_modules/prop-types/lib/has.js ***!
|
|
6619
|
+
\***************************************************/
|
|
6620
|
+
/***/ ((module) => {
|
|
6621
|
+
|
|
6622
|
+
module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
6623
|
+
|
|
6624
|
+
|
|
6591
6625
|
/***/ }),
|
|
6592
6626
|
|
|
6593
6627
|
/***/ "../../../node_modules/react-fast-compare/index.js":
|
|
@@ -6596,26 +6630,24 @@ module.exports = ReactPropTypesSecret;
|
|
|
6596
6630
|
\*********************************************************/
|
|
6597
6631
|
/***/ ((module) => {
|
|
6598
6632
|
|
|
6599
|
-
|
|
6633
|
+
/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */
|
|
6600
6634
|
|
|
6601
|
-
|
|
6602
|
-
var isArray = Array.isArray;
|
|
6603
|
-
var keyList = Object.keys;
|
|
6604
|
-
var hasProp = Object.prototype.hasOwnProperty;
|
|
6605
6635
|
var hasElementType = typeof Element !== 'undefined';
|
|
6636
|
+
var hasMap = typeof Map === 'function';
|
|
6637
|
+
var hasSet = typeof Set === 'function';
|
|
6638
|
+
var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;
|
|
6639
|
+
|
|
6640
|
+
// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js
|
|
6606
6641
|
|
|
6607
6642
|
function equal(a, b) {
|
|
6608
|
-
// fast-deep-equal index.js
|
|
6643
|
+
// START: fast-deep-equal es6/index.js 3.1.1
|
|
6609
6644
|
if (a === b) return true;
|
|
6610
6645
|
|
|
6611
6646
|
if (a && b && typeof a == 'object' && typeof b == 'object') {
|
|
6612
|
-
|
|
6613
|
-
, arrB = isArray(b)
|
|
6614
|
-
, i
|
|
6615
|
-
, length
|
|
6616
|
-
, key;
|
|
6647
|
+
if (a.constructor !== b.constructor) return false;
|
|
6617
6648
|
|
|
6618
|
-
|
|
6649
|
+
var length, i, keys;
|
|
6650
|
+
if (Array.isArray(a)) {
|
|
6619
6651
|
length = a.length;
|
|
6620
6652
|
if (length != b.length) return false;
|
|
6621
6653
|
for (i = length; i-- !== 0;)
|
|
@@ -6623,50 +6655,91 @@ function equal(a, b) {
|
|
|
6623
6655
|
return true;
|
|
6624
6656
|
}
|
|
6625
6657
|
|
|
6626
|
-
|
|
6658
|
+
// START: Modifications:
|
|
6659
|
+
// 1. Extra `has<Type> &&` helpers in initial condition allow es6 code
|
|
6660
|
+
// to co-exist with es5.
|
|
6661
|
+
// 2. Replace `for of` with es5 compliant iteration using `for`.
|
|
6662
|
+
// Basically, take:
|
|
6663
|
+
//
|
|
6664
|
+
// ```js
|
|
6665
|
+
// for (i of a.entries())
|
|
6666
|
+
// if (!b.has(i[0])) return false;
|
|
6667
|
+
// ```
|
|
6668
|
+
//
|
|
6669
|
+
// ... and convert to:
|
|
6670
|
+
//
|
|
6671
|
+
// ```js
|
|
6672
|
+
// it = a.entries();
|
|
6673
|
+
// while (!(i = it.next()).done)
|
|
6674
|
+
// if (!b.has(i.value[0])) return false;
|
|
6675
|
+
// ```
|
|
6676
|
+
//
|
|
6677
|
+
// **Note**: `i` access switches to `i.value`.
|
|
6678
|
+
var it;
|
|
6679
|
+
if (hasMap && (a instanceof Map) && (b instanceof Map)) {
|
|
6680
|
+
if (a.size !== b.size) return false;
|
|
6681
|
+
it = a.entries();
|
|
6682
|
+
while (!(i = it.next()).done)
|
|
6683
|
+
if (!b.has(i.value[0])) return false;
|
|
6684
|
+
it = a.entries();
|
|
6685
|
+
while (!(i = it.next()).done)
|
|
6686
|
+
if (!equal(i.value[1], b.get(i.value[0]))) return false;
|
|
6687
|
+
return true;
|
|
6688
|
+
}
|
|
6627
6689
|
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
|
|
6690
|
+
if (hasSet && (a instanceof Set) && (b instanceof Set)) {
|
|
6691
|
+
if (a.size !== b.size) return false;
|
|
6692
|
+
it = a.entries();
|
|
6693
|
+
while (!(i = it.next()).done)
|
|
6694
|
+
if (!b.has(i.value[0])) return false;
|
|
6695
|
+
return true;
|
|
6696
|
+
}
|
|
6697
|
+
// END: Modifications
|
|
6632
6698
|
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6699
|
+
if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
|
|
6700
|
+
length = a.length;
|
|
6701
|
+
if (length != b.length) return false;
|
|
6702
|
+
for (i = length; i-- !== 0;)
|
|
6703
|
+
if (a[i] !== b[i]) return false;
|
|
6704
|
+
return true;
|
|
6705
|
+
}
|
|
6637
6706
|
|
|
6638
|
-
|
|
6639
|
-
|
|
6707
|
+
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
|
|
6708
|
+
if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
|
|
6709
|
+
if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
|
|
6640
6710
|
|
|
6641
|
-
|
|
6642
|
-
|
|
6711
|
+
keys = Object.keys(a);
|
|
6712
|
+
length = keys.length;
|
|
6713
|
+
if (length !== Object.keys(b).length) return false;
|
|
6643
6714
|
|
|
6644
6715
|
for (i = length; i-- !== 0;)
|
|
6645
|
-
if (!
|
|
6646
|
-
//
|
|
6716
|
+
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
6717
|
+
// END: fast-deep-equal
|
|
6647
6718
|
|
|
6648
|
-
//
|
|
6719
|
+
// START: react-fast-compare
|
|
6649
6720
|
// custom handling for DOM elements
|
|
6650
|
-
if (hasElementType && a instanceof Element
|
|
6651
|
-
return a === b;
|
|
6721
|
+
if (hasElementType && a instanceof Element) return false;
|
|
6652
6722
|
|
|
6653
|
-
// custom handling for React
|
|
6723
|
+
// custom handling for React/Preact
|
|
6654
6724
|
for (i = length; i-- !== 0;) {
|
|
6655
|
-
|
|
6656
|
-
|
|
6657
|
-
//
|
|
6658
|
-
//
|
|
6659
|
-
//
|
|
6660
|
-
//
|
|
6725
|
+
if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {
|
|
6726
|
+
// React-specific: avoid traversing React elements' _owner
|
|
6727
|
+
// Preact-specific: avoid traversing Preact elements' __v and __o
|
|
6728
|
+
// __v = $_original / $_vnode
|
|
6729
|
+
// __o = $_owner
|
|
6730
|
+
// These properties contain circular references and are not needed when
|
|
6731
|
+
// comparing the actual elements (and not their owners)
|
|
6732
|
+
// .$$typeof and ._store on just reasonable markers of elements
|
|
6733
|
+
|
|
6661
6734
|
continue;
|
|
6662
|
-
} else {
|
|
6663
|
-
// all other properties should be traversed as usual
|
|
6664
|
-
if (!equal(a[key], b[key])) return false;
|
|
6665
6735
|
}
|
|
6736
|
+
|
|
6737
|
+
// all other properties should be traversed as usual
|
|
6738
|
+
if (!equal(a[keys[i]], b[keys[i]])) return false;
|
|
6666
6739
|
}
|
|
6667
|
-
//
|
|
6740
|
+
// END: react-fast-compare
|
|
6668
6741
|
|
|
6669
|
-
// fast-deep-equal
|
|
6742
|
+
// START: fast-deep-equal
|
|
6670
6743
|
return true;
|
|
6671
6744
|
}
|
|
6672
6745
|
|
|
@@ -6674,17 +6747,17 @@ function equal(a, b) {
|
|
|
6674
6747
|
}
|
|
6675
6748
|
// end fast-deep-equal
|
|
6676
6749
|
|
|
6677
|
-
module.exports = function
|
|
6750
|
+
module.exports = function isEqual(a, b) {
|
|
6678
6751
|
try {
|
|
6679
6752
|
return equal(a, b);
|
|
6680
6753
|
} catch (error) {
|
|
6681
|
-
if ((error.message
|
|
6754
|
+
if (((error.message || '').match(/stack|recursion/i))) {
|
|
6682
6755
|
// warn on circular references, don't crash
|
|
6683
6756
|
// browsers give this different errors name and messages:
|
|
6684
6757
|
// chrome/safari: "RangeError", "Maximum call stack size exceeded"
|
|
6685
6758
|
// firefox: "InternalError", too much recursion"
|
|
6686
6759
|
// edge: "Error", "Out of stack space"
|
|
6687
|
-
console.warn('
|
|
6760
|
+
console.warn('react-fast-compare cannot handle circular refs');
|
|
6688
6761
|
return false;
|
|
6689
6762
|
}
|
|
6690
6763
|
// some other error. we should definitely know about these
|
|
@@ -6912,11 +6985,11 @@ if (false) {} else {
|
|
|
6912
6985
|
"use strict";
|
|
6913
6986
|
__webpack_require__.r(__webpack_exports__);
|
|
6914
6987
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6915
|
-
/* harmony export */ "isInterpolatable": () => (/* binding */ isInterpolatable),
|
|
6916
|
-
/* harmony export */ "interpolateImmediate": () => (/* binding */ interpolateImmediate),
|
|
6917
6988
|
/* harmony export */ "interpolateFunction": () => (/* binding */ interpolateFunction),
|
|
6989
|
+
/* harmony export */ "interpolateImmediate": () => (/* binding */ interpolateImmediate),
|
|
6918
6990
|
/* harmony export */ "interpolateObject": () => (/* binding */ interpolateObject),
|
|
6919
6991
|
/* harmony export */ "interpolateString": () => (/* binding */ interpolateString),
|
|
6992
|
+
/* harmony export */ "isInterpolatable": () => (/* binding */ isInterpolatable),
|
|
6920
6993
|
/* harmony export */ "victoryInterpolator": () => (/* binding */ victoryInterpolator)
|
|
6921
6994
|
/* harmony export */ });
|
|
6922
6995
|
/* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/orderBy */ "../../../node_modules/lodash/orderBy.js");
|
|
@@ -7151,13 +7224,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7151
7224
|
/* harmony export */ });
|
|
7152
7225
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
7153
7226
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
7154
|
-
/* harmony import */ var
|
|
7155
|
-
/* harmony import */ var
|
|
7156
|
-
/* harmony import */ var
|
|
7157
|
-
/* harmony import */ var
|
|
7227
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
7228
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
7229
|
+
/* harmony import */ var victory_vendor_d3_ease__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! victory-vendor/d3-ease */ "../../victory-vendor/es/d3-ease.js");
|
|
7230
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util */ "../../victory-core/es/victory-animation/util.js");
|
|
7158
7231
|
/* 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");
|
|
7159
|
-
/* harmony import */ var
|
|
7160
|
-
/* harmony import */ var
|
|
7232
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/react-fast-compare/index.js");
|
|
7233
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_1__);
|
|
7161
7234
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
7162
7235
|
|
|
7163
7236
|
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."); }
|
|
@@ -7224,7 +7297,7 @@ var VictoryAnimation = /*#__PURE__*/function (_React$Component) {
|
|
|
7224
7297
|
_this.queue = Array.isArray(_this.props.data) ? _this.props.data.slice(1) : [];
|
|
7225
7298
|
/* build easing function */
|
|
7226
7299
|
|
|
7227
|
-
_this.ease =
|
|
7300
|
+
_this.ease = victory_vendor_d3_ease__WEBPACK_IMPORTED_MODULE_2__[_this.toNewName(_this.props.easing)];
|
|
7228
7301
|
/*
|
|
7229
7302
|
There is no autobinding of this in ES6 classes
|
|
7230
7303
|
so we bind functionToBeRunEachFrame to current instance of victory animation class
|
|
@@ -7246,7 +7319,7 @@ var VictoryAnimation = /*#__PURE__*/function (_React$Component) {
|
|
|
7246
7319
|
}, {
|
|
7247
7320
|
key: "componentDidUpdate",
|
|
7248
7321
|
value: function componentDidUpdate(prevProps) {
|
|
7249
|
-
var equalProps =
|
|
7322
|
+
var equalProps = react_fast_compare__WEBPACK_IMPORTED_MODULE_1___default()(this.props, prevProps);
|
|
7250
7323
|
|
|
7251
7324
|
if (!equalProps) {
|
|
7252
7325
|
/* If the previous animation didn't finish, force it to complete before starting a new one */
|
|
@@ -7315,7 +7388,7 @@ var VictoryAnimation = /*#__PURE__*/function (_React$Component) {
|
|
|
7315
7388
|
var data = this.queue[0];
|
|
7316
7389
|
/* compare cached version to next props */
|
|
7317
7390
|
|
|
7318
|
-
this.interpolator = (0,
|
|
7391
|
+
this.interpolator = (0,_util__WEBPACK_IMPORTED_MODULE_3__.victoryInterpolator)(this.state.data, data);
|
|
7319
7392
|
/* reset step to zero */
|
|
7320
7393
|
|
|
7321
7394
|
if (this.props.delay) {
|
|
@@ -7387,12 +7460,12 @@ var VictoryAnimation = /*#__PURE__*/function (_React$Component) {
|
|
|
7387
7460
|
_defineProperty(VictoryAnimation, "displayName", "VictoryAnimation");
|
|
7388
7461
|
|
|
7389
7462
|
_defineProperty(VictoryAnimation, "propTypes", {
|
|
7390
|
-
children: (
|
|
7391
|
-
data:
|
|
7392
|
-
delay: (
|
|
7393
|
-
duration: (
|
|
7394
|
-
easing:
|
|
7395
|
-
onEnd: (
|
|
7463
|
+
children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
|
|
7464
|
+
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)]),
|
|
7465
|
+
delay: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
7466
|
+
duration: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
7467
|
+
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"]),
|
|
7468
|
+
onEnd: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
|
|
7396
7469
|
});
|
|
7397
7470
|
|
|
7398
7471
|
_defineProperty(VictoryAnimation, "defaultProps", {
|
|
@@ -7431,14 +7504,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7431
7504
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_4__);
|
|
7432
7505
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "react");
|
|
7433
7506
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
|
|
7434
|
-
/* harmony import */ var
|
|
7435
|
-
/* harmony import */ var
|
|
7507
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
7508
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_9__);
|
|
7436
7509
|
/* 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");
|
|
7437
7510
|
/* harmony import */ var _victory_portal_portal__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../victory-portal/portal */ "../../victory-core/es/victory-portal/portal.js");
|
|
7438
|
-
/* harmony import */ var
|
|
7511
|
+
/* 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");
|
|
7439
7512
|
/* 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");
|
|
7440
|
-
/* harmony import */ var
|
|
7441
|
-
/* harmony import */ var
|
|
7513
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
7514
|
+
/* 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");
|
|
7442
7515
|
|
|
7443
7516
|
|
|
7444
7517
|
|
|
@@ -7616,7 +7689,7 @@ var VictoryContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
7616
7689
|
preserveAspectRatio: svgProps.preserveAspectRatio,
|
|
7617
7690
|
style: portalSvgStyle
|
|
7618
7691
|
};
|
|
7619
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(
|
|
7692
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_6__["default"].Provider, {
|
|
7620
7693
|
value: {
|
|
7621
7694
|
portalUpdate: this.portalUpdate,
|
|
7622
7695
|
portalRegister: this.portalRegister,
|
|
@@ -7651,8 +7724,8 @@ var VictoryContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
7651
7724
|
tabIndex = _this$props.tabIndex,
|
|
7652
7725
|
preserveAspectRatio = _this$props.preserveAspectRatio,
|
|
7653
7726
|
role = _this$props.role;
|
|
7654
|
-
var style = responsive ? this.props.style :
|
|
7655
|
-
var userProps =
|
|
7727
|
+
var style = responsive ? this.props.style : _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__.omit(this.props.style, ["height", "width"]);
|
|
7728
|
+
var userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_8__.getSafeUserProps(this.props);
|
|
7656
7729
|
|
|
7657
7730
|
var svgProps = lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()(_objectSpread({
|
|
7658
7731
|
width: width,
|
|
@@ -7677,33 +7750,33 @@ _defineProperty(VictoryContainer, "displayName", "VictoryContainer");
|
|
|
7677
7750
|
_defineProperty(VictoryContainer, "role", "container");
|
|
7678
7751
|
|
|
7679
7752
|
_defineProperty(VictoryContainer, "propTypes", {
|
|
7680
|
-
"aria-describedby": (
|
|
7681
|
-
"aria-labelledby": (
|
|
7682
|
-
children:
|
|
7683
|
-
className: (
|
|
7684
|
-
containerId:
|
|
7685
|
-
containerRef: (
|
|
7686
|
-
desc: (
|
|
7687
|
-
events: (
|
|
7753
|
+
"aria-describedby": (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7754
|
+
"aria-labelledby": (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7755
|
+
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)]),
|
|
7756
|
+
className: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7757
|
+
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)]),
|
|
7758
|
+
containerRef: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().func),
|
|
7759
|
+
desc: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7760
|
+
events: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object),
|
|
7688
7761
|
height: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative,
|
|
7689
|
-
name: (
|
|
7690
|
-
origin:
|
|
7762
|
+
name: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7763
|
+
origin: prop_types__WEBPACK_IMPORTED_MODULE_9___default().shape({
|
|
7691
7764
|
x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative,
|
|
7692
7765
|
y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative
|
|
7693
7766
|
}),
|
|
7694
|
-
ouiaId:
|
|
7695
|
-
ouiaSafe: (
|
|
7696
|
-
ouiaType: (
|
|
7697
|
-
polar: (
|
|
7698
|
-
portalComponent: (
|
|
7767
|
+
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)]),
|
|
7768
|
+
ouiaSafe: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
|
|
7769
|
+
ouiaType: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7770
|
+
polar: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
|
|
7771
|
+
portalComponent: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().element),
|
|
7699
7772
|
portalZIndex: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.integer,
|
|
7700
|
-
preserveAspectRatio: (
|
|
7701
|
-
responsive: (
|
|
7702
|
-
role: (
|
|
7703
|
-
style: (
|
|
7704
|
-
tabIndex: (
|
|
7705
|
-
theme: (
|
|
7706
|
-
title: (
|
|
7773
|
+
preserveAspectRatio: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7774
|
+
responsive: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
|
|
7775
|
+
role: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7776
|
+
style: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object),
|
|
7777
|
+
tabIndex: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().number),
|
|
7778
|
+
theme: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object),
|
|
7779
|
+
title: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
|
|
7707
7780
|
width: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative
|
|
7708
7781
|
});
|
|
7709
7782
|
|
|
@@ -7738,20 +7811,21 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7738
7811
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
|
|
7739
7812
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/assign */ "../../../node_modules/lodash/assign.js");
|
|
7740
7813
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_2__);
|
|
7741
|
-
/* harmony import */ var
|
|
7742
|
-
/* harmony import */ var
|
|
7743
|
-
/* harmony import */ var
|
|
7744
|
-
/* harmony import */ var
|
|
7814
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
7815
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_11__);
|
|
7816
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
|
|
7817
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
|
|
7745
7818
|
/* 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");
|
|
7746
|
-
/* harmony import */ var
|
|
7747
|
-
/* harmony import */ var
|
|
7748
|
-
/* harmony import */ var
|
|
7749
|
-
/* harmony import */ var
|
|
7750
|
-
/* harmony import */ var
|
|
7751
|
-
/* harmony import */ var
|
|
7752
|
-
/* harmony import */ var
|
|
7753
|
-
/* harmony import */ var
|
|
7819
|
+
/* harmony import */ var _victory_primitives_rect__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../victory-primitives/rect */ "../../victory-core/es/victory-primitives/rect.js");
|
|
7820
|
+
/* harmony import */ var _victory_primitives_text__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../victory-primitives/text */ "../../victory-core/es/victory-primitives/text.js");
|
|
7821
|
+
/* harmony import */ var _victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../victory-primitives/tspan */ "../../victory-core/es/victory-primitives/tspan.js");
|
|
7822
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
7823
|
+
/* 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");
|
|
7824
|
+
/* harmony import */ var _victory_util_log__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../victory-util/log */ "../../victory-core/es/victory-util/log.js");
|
|
7825
|
+
/* 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");
|
|
7826
|
+
/* harmony import */ var _victory_util_style__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/style */ "../../victory-core/es/victory-util/style.js");
|
|
7754
7827
|
/* harmony import */ var _victory_util_textsize__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../victory-util/textsize */ "../../victory-core/es/victory-util/textsize.js");
|
|
7828
|
+
/* 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");
|
|
7755
7829
|
|
|
7756
7830
|
|
|
7757
7831
|
|
|
@@ -7786,6 +7860,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
7786
7860
|
|
|
7787
7861
|
|
|
7788
7862
|
|
|
7863
|
+
|
|
7789
7864
|
var defaultStyles = {
|
|
7790
7865
|
fill: "#252525",
|
|
7791
7866
|
fontSize: 14,
|
|
@@ -7798,7 +7873,7 @@ var getPosition = function (props, dimension) {
|
|
|
7798
7873
|
return 0;
|
|
7799
7874
|
}
|
|
7800
7875
|
|
|
7801
|
-
var scaledPoint =
|
|
7876
|
+
var scaledPoint = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.scalePoint(props, props.datum);
|
|
7802
7877
|
return scaledPoint[dimension];
|
|
7803
7878
|
};
|
|
7804
7879
|
|
|
@@ -7815,7 +7890,7 @@ var getFontSize = function (style) {
|
|
|
7815
7890
|
if (!isNaN(fontSize)) {
|
|
7816
7891
|
return fontSize;
|
|
7817
7892
|
} else {
|
|
7818
|
-
|
|
7893
|
+
_victory_util_log__WEBPACK_IMPORTED_MODULE_5__.warn("fontSize should be expressed as a number of pixels");
|
|
7819
7894
|
return defaultStyles.fontSize;
|
|
7820
7895
|
}
|
|
7821
7896
|
}
|
|
@@ -7836,7 +7911,7 @@ var shouldUseMultilineBackgrounds = function (props) {
|
|
|
7836
7911
|
|
|
7837
7912
|
var getStyles = function (style, props) {
|
|
7838
7913
|
if (props.disableInlineStyles) {
|
|
7839
|
-
var baseStyles =
|
|
7914
|
+
var baseStyles = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateStyle(style, props);
|
|
7840
7915
|
return {
|
|
7841
7916
|
// Font size is necessary to calculate the y position of the label
|
|
7842
7917
|
fontSize: getFontSize(baseStyles)
|
|
@@ -7845,7 +7920,7 @@ var getStyles = function (style, props) {
|
|
|
7845
7920
|
|
|
7846
7921
|
var getSingleStyle = function (s) {
|
|
7847
7922
|
s = s ? lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, s, defaultStyles) : defaultStyles;
|
|
7848
|
-
var baseStyles =
|
|
7923
|
+
var baseStyles = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateStyle(s, props);
|
|
7849
7924
|
return lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, baseStyles, {
|
|
7850
7925
|
fontSize: getFontSize(baseStyles)
|
|
7851
7926
|
});
|
|
@@ -7862,28 +7937,28 @@ var getBackgroundStyles = function (style, props) {
|
|
|
7862
7937
|
}
|
|
7863
7938
|
|
|
7864
7939
|
return Array.isArray(style) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(style) ? style.map(function (s) {
|
|
7865
|
-
return
|
|
7866
|
-
}) :
|
|
7940
|
+
return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateStyle(s, props);
|
|
7941
|
+
}) : _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateStyle(style, props);
|
|
7867
7942
|
};
|
|
7868
7943
|
|
|
7869
7944
|
var getBackgroundPadding = function (props) {
|
|
7870
7945
|
if (props.backgroundPadding && Array.isArray(props.backgroundPadding)) {
|
|
7871
7946
|
return props.backgroundPadding.map(function (backgroundPadding) {
|
|
7872
|
-
var padding =
|
|
7873
|
-
return
|
|
7947
|
+
var padding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(backgroundPadding, props);
|
|
7948
|
+
return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.getPadding({
|
|
7874
7949
|
padding: padding
|
|
7875
7950
|
});
|
|
7876
7951
|
});
|
|
7877
7952
|
} else {
|
|
7878
|
-
var padding =
|
|
7879
|
-
return
|
|
7953
|
+
var padding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.backgroundPadding, props);
|
|
7954
|
+
return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.getPadding({
|
|
7880
7955
|
padding: padding
|
|
7881
7956
|
});
|
|
7882
7957
|
}
|
|
7883
7958
|
};
|
|
7884
7959
|
|
|
7885
7960
|
var getLineHeight = function (props) {
|
|
7886
|
-
var lineHeight =
|
|
7961
|
+
var lineHeight = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.lineHeight, props);
|
|
7887
7962
|
|
|
7888
7963
|
if (Array.isArray(lineHeight)) {
|
|
7889
7964
|
return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(lineHeight) ? [1] : lineHeight;
|
|
@@ -7899,11 +7974,11 @@ var getContent = function (text, props) {
|
|
|
7899
7974
|
|
|
7900
7975
|
if (Array.isArray(text)) {
|
|
7901
7976
|
return text.map(function (line) {
|
|
7902
|
-
return
|
|
7977
|
+
return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(line, props);
|
|
7903
7978
|
});
|
|
7904
7979
|
}
|
|
7905
7980
|
|
|
7906
|
-
var child =
|
|
7981
|
+
var child = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(text, props);
|
|
7907
7982
|
|
|
7908
7983
|
if (child === undefined || child === null) {
|
|
7909
7984
|
return undefined;
|
|
@@ -7913,10 +7988,10 @@ var getContent = function (text, props) {
|
|
|
7913
7988
|
};
|
|
7914
7989
|
|
|
7915
7990
|
var getDy = function (props, verticalAnchor, lineHeight) {
|
|
7916
|
-
var dy = props.dy ?
|
|
7991
|
+
var dy = props.dy ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.dy, props) : 0;
|
|
7917
7992
|
var length = props.inline ? 1 : props.text.length;
|
|
7918
|
-
var capHeight =
|
|
7919
|
-
var anchor = verticalAnchor ?
|
|
7993
|
+
var capHeight = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.capHeight, props);
|
|
7994
|
+
var anchor = verticalAnchor ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(verticalAnchor, props) : "middle";
|
|
7920
7995
|
|
|
7921
7996
|
var fontSizes = _toConsumableArray(Array(length).keys()).map(function (i) {
|
|
7922
7997
|
return getSingleValue(props.style, i).fontSize;
|
|
@@ -7944,15 +8019,15 @@ var getDy = function (props, verticalAnchor, lineHeight) {
|
|
|
7944
8019
|
var getTransform = function (props, x, y) {
|
|
7945
8020
|
var polar = props.polar;
|
|
7946
8021
|
var style = getSingleValue(props.style);
|
|
7947
|
-
var defaultAngle = polar ?
|
|
7948
|
-
var baseAngle = style.angle === undefined ?
|
|
8022
|
+
var defaultAngle = polar ? _victory_util_label_helpers__WEBPACK_IMPORTED_MODULE_6__.getPolarAngle(props) : 0;
|
|
8023
|
+
var baseAngle = style.angle === undefined ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.angle, props) : style.angle;
|
|
7949
8024
|
var angle = baseAngle === undefined ? defaultAngle : baseAngle;
|
|
7950
8025
|
var transform = props.transform || style.transform;
|
|
7951
|
-
var transformPart = transform &&
|
|
8026
|
+
var transformPart = transform && _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(transform, props);
|
|
7952
8027
|
var rotatePart = angle && {
|
|
7953
8028
|
rotate: [angle, x, y]
|
|
7954
8029
|
};
|
|
7955
|
-
return transformPart || angle ?
|
|
8030
|
+
return transformPart || angle ? _victory_util_style__WEBPACK_IMPORTED_MODULE_7__.toTransformString(transformPart, rotatePart) : undefined;
|
|
7956
8031
|
};
|
|
7957
8032
|
|
|
7958
8033
|
var getXCoordinate = function (calculatedProps, labelSizeWidth) {
|
|
@@ -8033,7 +8108,7 @@ var getFullBackground = function (calculatedProps, tspanValues) {
|
|
|
8033
8108
|
x: inline ? xCoordinate - backgroundPadding.left : xCoordinate + dx - backgroundPadding.left,
|
|
8034
8109
|
y: yCoordinate
|
|
8035
8110
|
};
|
|
8036
|
-
return /*#__PURE__*/
|
|
8111
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
|
|
8037
8112
|
};
|
|
8038
8113
|
|
|
8039
8114
|
var getInlineXOffset = function (calculatedProps, textElements, index) {
|
|
@@ -8115,7 +8190,7 @@ var getChildBackgrounds = function (calculatedProps, tspanValues) {
|
|
|
8115
8190
|
x: xCoord - padding.left,
|
|
8116
8191
|
y: yCoord
|
|
8117
8192
|
};
|
|
8118
|
-
return /*#__PURE__*/
|
|
8193
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
|
|
8119
8194
|
});
|
|
8120
8195
|
};
|
|
8121
8196
|
|
|
@@ -8166,7 +8241,7 @@ var evaluateProps = function (props) {
|
|
|
8166
8241
|
style: style,
|
|
8167
8242
|
backgroundStyle: backgroundStyle
|
|
8168
8243
|
}));
|
|
8169
|
-
var id =
|
|
8244
|
+
var id = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.id, props);
|
|
8170
8245
|
return lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, {
|
|
8171
8246
|
backgroundStyle: backgroundStyle,
|
|
8172
8247
|
backgroundPadding: backgroundPadding,
|
|
@@ -8177,13 +8252,13 @@ var evaluateProps = function (props) {
|
|
|
8177
8252
|
};
|
|
8178
8253
|
|
|
8179
8254
|
var getCalculatedProps = function (props) {
|
|
8180
|
-
var ariaLabel =
|
|
8255
|
+
var ariaLabel = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.ariaLabel, props);
|
|
8181
8256
|
var style = getSingleValue(props.style);
|
|
8182
8257
|
var lineHeight = getLineHeight(props);
|
|
8183
|
-
var direction = props.direction ?
|
|
8184
|
-
var textAnchor = props.textAnchor ?
|
|
8185
|
-
var verticalAnchor = props.verticalAnchor ?
|
|
8186
|
-
var dx = props.dx ?
|
|
8258
|
+
var direction = props.direction ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.direction, props) : "inherit";
|
|
8259
|
+
var textAnchor = props.textAnchor ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.textAnchor, props) : style.textAnchor || "start";
|
|
8260
|
+
var verticalAnchor = props.verticalAnchor ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.verticalAnchor, props) : style.verticalAnchor || "middle";
|
|
8261
|
+
var dx = props.dx ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.dx, props) : 0;
|
|
8187
8262
|
var dy = getDy(props, verticalAnchor, lineHeight);
|
|
8188
8263
|
var x = props.x !== undefined ? props.x : getPosition(props, "x");
|
|
8189
8264
|
var y = props.y !== undefined ? props.y : getPosition(props, "y");
|
|
@@ -8222,6 +8297,7 @@ var renderLabel = function (calculatedProps, tspanValues) {
|
|
|
8222
8297
|
tabIndex = calculatedProps.tabIndex,
|
|
8223
8298
|
tspanComponent = calculatedProps.tspanComponent,
|
|
8224
8299
|
textComponent = calculatedProps.textComponent;
|
|
8300
|
+
var userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_8__.getSafeUserProps(calculatedProps);
|
|
8225
8301
|
|
|
8226
8302
|
var textProps = _objectSpread(_objectSpread({
|
|
8227
8303
|
"aria-label": ariaLabel,
|
|
@@ -8234,10 +8310,10 @@ var renderLabel = function (calculatedProps, tspanValues) {
|
|
|
8234
8310
|
transform: transform,
|
|
8235
8311
|
className: className,
|
|
8236
8312
|
title: title,
|
|
8237
|
-
desc:
|
|
8238
|
-
tabIndex:
|
|
8313
|
+
desc: _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(desc, calculatedProps),
|
|
8314
|
+
tabIndex: _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(tabIndex, calculatedProps),
|
|
8239
8315
|
id: id
|
|
8240
|
-
});
|
|
8316
|
+
}, userProps);
|
|
8241
8317
|
|
|
8242
8318
|
var tspans = text.map(function (line, i) {
|
|
8243
8319
|
var currentStyle = tspanValues[i].style;
|
|
@@ -8250,9 +8326,9 @@ var renderLabel = function (calculatedProps, tspanValues) {
|
|
|
8250
8326
|
style: currentStyle,
|
|
8251
8327
|
children: line
|
|
8252
8328
|
};
|
|
8253
|
-
return /*#__PURE__*/
|
|
8329
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(tspanComponent, tspanProps);
|
|
8254
8330
|
});
|
|
8255
|
-
return /*#__PURE__*/
|
|
8331
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(textComponent, textProps, tspans);
|
|
8256
8332
|
};
|
|
8257
8333
|
|
|
8258
8334
|
var VictoryLabel = function (props) {
|
|
@@ -8287,66 +8363,66 @@ var VictoryLabel = function (props) {
|
|
|
8287
8363
|
if (props.backgroundStyle) {
|
|
8288
8364
|
var backgroundElement = getBackgroundElement(calculatedProps, tspanValues);
|
|
8289
8365
|
var children = [backgroundElement, label];
|
|
8290
|
-
var backgroundWithLabel = /*#__PURE__*/
|
|
8291
|
-
return props.renderInPortal ? /*#__PURE__*/
|
|
8366
|
+
var backgroundWithLabel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(props.groupComponent, {}, children);
|
|
8367
|
+
return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_10__["default"], null, backgroundWithLabel) : backgroundWithLabel;
|
|
8292
8368
|
}
|
|
8293
8369
|
|
|
8294
|
-
return props.renderInPortal ? /*#__PURE__*/
|
|
8370
|
+
return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_10__["default"], null, label) : label;
|
|
8295
8371
|
};
|
|
8296
8372
|
|
|
8297
8373
|
VictoryLabel.displayName = "VictoryLabel";
|
|
8298
8374
|
VictoryLabel.role = "label";
|
|
8299
8375
|
VictoryLabel.defaultStyles = defaultStyles;
|
|
8300
8376
|
VictoryLabel.propTypes = {
|
|
8301
|
-
active: (
|
|
8302
|
-
angle:
|
|
8303
|
-
ariaLabel:
|
|
8304
|
-
backgroundComponent: (
|
|
8305
|
-
backgroundPadding:
|
|
8306
|
-
backgroundStyle:
|
|
8307
|
-
capHeight:
|
|
8308
|
-
className: (
|
|
8309
|
-
data: (
|
|
8310
|
-
datum: (
|
|
8311
|
-
desc:
|
|
8312
|
-
direction:
|
|
8313
|
-
dx:
|
|
8314
|
-
dy:
|
|
8315
|
-
events: (
|
|
8316
|
-
groupComponent: (
|
|
8317
|
-
id:
|
|
8318
|
-
index:
|
|
8319
|
-
inline: (
|
|
8320
|
-
labelPlacement:
|
|
8321
|
-
lineHeight:
|
|
8322
|
-
origin:
|
|
8323
|
-
x:
|
|
8324
|
-
y:
|
|
8377
|
+
active: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().bool),
|
|
8378
|
+
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)]),
|
|
8379
|
+
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)]),
|
|
8380
|
+
backgroundComponent: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().element),
|
|
8381
|
+
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)]),
|
|
8382
|
+
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)]),
|
|
8383
|
+
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)]),
|
|
8384
|
+
className: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().string),
|
|
8385
|
+
data: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().array),
|
|
8386
|
+
datum: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().any),
|
|
8387
|
+
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)]),
|
|
8388
|
+
direction: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOf(["rtl", "ltr", "inherit"]),
|
|
8389
|
+
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)]),
|
|
8390
|
+
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)]),
|
|
8391
|
+
events: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().object),
|
|
8392
|
+
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().element),
|
|
8393
|
+
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)]),
|
|
8394
|
+
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)]),
|
|
8395
|
+
inline: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().bool),
|
|
8396
|
+
labelPlacement: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOf(["parallel", "perpendicular", "vertical"]),
|
|
8397
|
+
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)]),
|
|
8398
|
+
origin: prop_types__WEBPACK_IMPORTED_MODULE_11___default().shape({
|
|
8399
|
+
x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_12__.nonNegative,
|
|
8400
|
+
y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_12__.nonNegative
|
|
8325
8401
|
}),
|
|
8326
|
-
polar: (
|
|
8327
|
-
renderInPortal: (
|
|
8328
|
-
scale:
|
|
8329
|
-
x:
|
|
8330
|
-
y:
|
|
8402
|
+
polar: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().bool),
|
|
8403
|
+
renderInPortal: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().bool),
|
|
8404
|
+
scale: prop_types__WEBPACK_IMPORTED_MODULE_11___default().shape({
|
|
8405
|
+
x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_12__.scale,
|
|
8406
|
+
y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_12__.scale
|
|
8331
8407
|
}),
|
|
8332
|
-
style:
|
|
8333
|
-
tabIndex:
|
|
8334
|
-
text:
|
|
8335
|
-
textAnchor:
|
|
8336
|
-
textComponent: (
|
|
8337
|
-
title: (
|
|
8338
|
-
transform:
|
|
8339
|
-
tspanComponent: (
|
|
8340
|
-
verticalAnchor:
|
|
8341
|
-
x:
|
|
8342
|
-
y:
|
|
8408
|
+
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)]),
|
|
8409
|
+
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)]),
|
|
8410
|
+
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)]),
|
|
8411
|
+
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)]),
|
|
8412
|
+
textComponent: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().element),
|
|
8413
|
+
title: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().string),
|
|
8414
|
+
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)]),
|
|
8415
|
+
tspanComponent: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().element),
|
|
8416
|
+
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)]),
|
|
8417
|
+
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)]),
|
|
8418
|
+
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)])
|
|
8343
8419
|
};
|
|
8344
8420
|
VictoryLabel.defaultProps = {
|
|
8345
|
-
backgroundComponent: /*#__PURE__*/
|
|
8346
|
-
groupComponent: /*#__PURE__*/
|
|
8421
|
+
backgroundComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_rect__WEBPACK_IMPORTED_MODULE_13__["default"], null),
|
|
8422
|
+
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("g", null),
|
|
8347
8423
|
direction: "inherit",
|
|
8348
|
-
textComponent: /*#__PURE__*/
|
|
8349
|
-
tspanComponent: /*#__PURE__*/
|
|
8424
|
+
textComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_text__WEBPACK_IMPORTED_MODULE_14__["default"], null),
|
|
8425
|
+
tspanComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_15__["default"], null),
|
|
8350
8426
|
capHeight: 0.71,
|
|
8351
8427
|
// Magic number from d3.
|
|
8352
8428
|
lineHeight: 1
|
|
@@ -8514,10 +8590,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8514
8590
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
|
|
8515
8591
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
8516
8592
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
8517
|
-
/* harmony import */ var
|
|
8518
|
-
/* harmony import */ var
|
|
8519
|
-
/* harmony import */ var
|
|
8520
|
-
/* harmony import */ var
|
|
8593
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
8594
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
8595
|
+
/* harmony import */ var _victory_util_log__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../victory-util/log */ "../../victory-core/es/victory-util/log.js");
|
|
8596
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
8521
8597
|
/* harmony import */ var _portal_context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./portal-context */ "../../victory-core/es/victory-portal/portal-context.js");
|
|
8522
8598
|
|
|
8523
8599
|
|
|
@@ -8566,7 +8642,7 @@ var VictoryPortal = /*#__PURE__*/function (_React$Component) {
|
|
|
8566
8642
|
if (!this.checkedContext) {
|
|
8567
8643
|
if (typeof this.context.portalUpdate !== "function") {
|
|
8568
8644
|
var msg = "`renderInPortal` is not supported outside of `VictoryContainer`. " + "Component will be rendered in place";
|
|
8569
|
-
|
|
8645
|
+
_victory_util_log__WEBPACK_IMPORTED_MODULE_2__.warn(msg);
|
|
8570
8646
|
this.renderInPlace = true;
|
|
8571
8647
|
}
|
|
8572
8648
|
|
|
@@ -8612,7 +8688,7 @@ var VictoryPortal = /*#__PURE__*/function (_React$Component) {
|
|
|
8612
8688
|
standalone: false
|
|
8613
8689
|
} : {};
|
|
8614
8690
|
|
|
8615
|
-
var newProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()(standardProps, childProps,
|
|
8691
|
+
var newProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()(standardProps, childProps, _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.omit(this.props, ["children", "groupComponent"]));
|
|
8616
8692
|
|
|
8617
8693
|
var child = children && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(children, newProps);
|
|
8618
8694
|
return this.renderPortal(child);
|
|
@@ -8627,8 +8703,8 @@ _defineProperty(VictoryPortal, "displayName", "VictoryPortal");
|
|
|
8627
8703
|
_defineProperty(VictoryPortal, "role", "portal");
|
|
8628
8704
|
|
|
8629
8705
|
_defineProperty(VictoryPortal, "propTypes", {
|
|
8630
|
-
children: (
|
|
8631
|
-
groupComponent: (
|
|
8706
|
+
children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),
|
|
8707
|
+
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().element)
|
|
8632
8708
|
});
|
|
8633
8709
|
|
|
8634
8710
|
_defineProperty(VictoryPortal, "defaultProps", {
|
|
@@ -9469,15 +9545,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9469
9545
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_3__);
|
|
9470
9546
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "react");
|
|
9471
9547
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
|
|
9472
|
-
/* harmony import */ var
|
|
9473
|
-
/* harmony import */ var
|
|
9474
|
-
/* harmony import */ var
|
|
9475
|
-
/* harmony import */ var
|
|
9476
|
-
/* harmony import */ var
|
|
9548
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
9549
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_10__);
|
|
9550
|
+
/* 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");
|
|
9551
|
+
/* harmony import */ var _victory_util_collection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/collection */ "../../victory-core/es/victory-util/collection.js");
|
|
9552
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
9477
9553
|
/* 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");
|
|
9478
|
-
/* harmony import */ var
|
|
9479
|
-
/* harmony import */ var
|
|
9480
|
-
/* harmony import */ var
|
|
9554
|
+
/* harmony import */ var _victory_util_transitions__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../victory-util/transitions */ "../../victory-core/es/victory-util/transitions.js");
|
|
9555
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/react-fast-compare/index.js");
|
|
9556
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_5__);
|
|
9481
9557
|
|
|
9482
9558
|
|
|
9483
9559
|
|
|
@@ -9551,7 +9627,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9551
9627
|
value: function shouldComponentUpdate(nextProps) {
|
|
9552
9628
|
var _this2 = this;
|
|
9553
9629
|
|
|
9554
|
-
if (!
|
|
9630
|
+
if (!react_fast_compare__WEBPACK_IMPORTED_MODULE_5___default()(this.props, nextProps)) {
|
|
9555
9631
|
this.timer.bypassAnimation();
|
|
9556
9632
|
this.setState(this.getTransitionState(this.props, nextProps), function () {
|
|
9557
9633
|
return _this2.timer.resumeAnimation();
|
|
@@ -9583,7 +9659,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9583
9659
|
var oldChildren = react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(props.children);
|
|
9584
9660
|
var nextChildren = react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(nextProps.children);
|
|
9585
9661
|
|
|
9586
|
-
var _Transitions$getIniti =
|
|
9662
|
+
var _Transitions$getIniti = _victory_util_transitions__WEBPACK_IMPORTED_MODULE_6__.getInitialTransitionState(oldChildren, nextChildren),
|
|
9587
9663
|
nodesWillExit = _Transitions$getIniti.nodesWillExit,
|
|
9588
9664
|
nodesWillEnter = _Transitions$getIniti.nodesWillEnter,
|
|
9589
9665
|
childrenTransitions = _Transitions$getIniti.childrenTransitions,
|
|
@@ -9623,7 +9699,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9623
9699
|
return domain;
|
|
9624
9700
|
} else {
|
|
9625
9701
|
var childDomains = getChildDomains([child]);
|
|
9626
|
-
return childDomains.length === 0 ? [0, 1] : [
|
|
9702
|
+
return childDomains.length === 0 ? [0, 1] : [_victory_util_collection__WEBPACK_IMPORTED_MODULE_7__.getMinValue(childDomains), _victory_util_collection__WEBPACK_IMPORTED_MODULE_7__.getMaxValue(childDomains)];
|
|
9627
9703
|
}
|
|
9628
9704
|
}
|
|
9629
9705
|
}, {
|
|
@@ -9650,7 +9726,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9650
9726
|
key: "getClipWidth",
|
|
9651
9727
|
value: function getClipWidth(props, child) {
|
|
9652
9728
|
var getDefaultClipWidth = function () {
|
|
9653
|
-
var range =
|
|
9729
|
+
var range = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.getRange(child.props, "x");
|
|
9654
9730
|
return range ? Math.abs(range[1] - range[0]) : props.width;
|
|
9655
9731
|
};
|
|
9656
9732
|
|
|
@@ -9663,7 +9739,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9663
9739
|
var _this3 = this;
|
|
9664
9740
|
|
|
9665
9741
|
var props = this.pickProps();
|
|
9666
|
-
var getTransitionProps = lodash_isObject__WEBPACK_IMPORTED_MODULE_0___default()(this.props.animate) && this.props.animate.getTransitions ? this.props.animate.getTransitions :
|
|
9742
|
+
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) {
|
|
9667
9743
|
return _this3.setState(newState);
|
|
9668
9744
|
});
|
|
9669
9745
|
var child = react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(props.children)[0];
|
|
@@ -9683,7 +9759,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9683
9759
|
var animationWhitelist = props.animationWhitelist || [];
|
|
9684
9760
|
var whitelist = animationWhitelist.concat(["clipWidth"]);
|
|
9685
9761
|
var propsToAnimate = whitelist.length ? lodash_pick__WEBPACK_IMPORTED_MODULE_1___default()(combinedProps, whitelist) : combinedProps;
|
|
9686
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(
|
|
9762
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_9__["default"], _extends({}, combinedProps.animate, {
|
|
9687
9763
|
data: propsToAnimate
|
|
9688
9764
|
}), function (newProps) {
|
|
9689
9765
|
if (child.props.groupComponent) {
|
|
@@ -9711,9 +9787,9 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
9711
9787
|
_defineProperty(VictoryTransition, "displayName", "VictoryTransition");
|
|
9712
9788
|
|
|
9713
9789
|
_defineProperty(VictoryTransition, "propTypes", {
|
|
9714
|
-
animate:
|
|
9715
|
-
animationWhitelist: (
|
|
9716
|
-
children: (
|
|
9790
|
+
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)]),
|
|
9791
|
+
animationWhitelist: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().array),
|
|
9792
|
+
children: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().node)
|
|
9717
9793
|
});
|
|
9718
9794
|
|
|
9719
9795
|
_defineProperty(VictoryTransition, "contextType", _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_11__["default"]);
|
|
@@ -9757,7 +9833,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9757
9833
|
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/react-fast-compare/index.js");
|
|
9758
9834
|
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_10__);
|
|
9759
9835
|
/* 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");
|
|
9760
|
-
/* 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");
|
|
9761
9836
|
|
|
9762
9837
|
|
|
9763
9838
|
|
|
@@ -9806,7 +9881,6 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
9806
9881
|
|
|
9807
9882
|
|
|
9808
9883
|
|
|
9809
|
-
|
|
9810
9884
|
var datumHasXandY = function (datum) {
|
|
9811
9885
|
return !lodash_isNil__WEBPACK_IMPORTED_MODULE_1___default()(datum._x) && !lodash_isNil__WEBPACK_IMPORTED_MODULE_1___default()(datum._y);
|
|
9812
9886
|
}; // used for checking state changes. Expected components can be passed in via options
|
|
@@ -10152,7 +10226,6 @@ var defaultComponents = [{
|
|
|
10152
10226
|
var dataComponent = props.dataComponent,
|
|
10153
10227
|
labelComponent = props.labelComponent,
|
|
10154
10228
|
groupComponent = props.groupComponent;
|
|
10155
|
-
var userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_13__.getSafeUserProps(props);
|
|
10156
10229
|
var dataComponents = this.dataKeys.reduce(function (validDataComponents, _dataKey, index) {
|
|
10157
10230
|
var dataProps = _this9.getComponentProps(dataComponent, "data", index);
|
|
10158
10231
|
|
|
@@ -10172,8 +10245,7 @@ var defaultComponents = [{
|
|
|
10172
10245
|
return undefined;
|
|
10173
10246
|
}).filter(Boolean);
|
|
10174
10247
|
var children = [].concat(_toConsumableArray(dataComponents), _toConsumableArray(labelComponents));
|
|
10175
|
-
|
|
10176
|
-
return this.renderContainer(group, children);
|
|
10248
|
+
return this.renderContainer(groupComponent, children);
|
|
10177
10249
|
}
|
|
10178
10250
|
}]);
|
|
10179
10251
|
|
|
@@ -10192,14 +10264,14 @@ var defaultComponents = [{
|
|
|
10192
10264
|
"use strict";
|
|
10193
10265
|
__webpack_require__.r(__webpack_exports__);
|
|
10194
10266
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10195
|
-
/* harmony export */ "containsStrings": () => (/* binding */ containsStrings),
|
|
10196
10267
|
/* harmony export */ "containsDates": () => (/* binding */ containsDates),
|
|
10197
10268
|
/* harmony export */ "containsNumbers": () => (/* binding */ containsNumbers),
|
|
10198
10269
|
/* harmony export */ "containsOnlyStrings": () => (/* binding */ containsOnlyStrings),
|
|
10199
|
-
/* harmony export */ "
|
|
10200
|
-
/* harmony export */ "removeUndefined": () => (/* binding */ removeUndefined),
|
|
10270
|
+
/* harmony export */ "containsStrings": () => (/* binding */ containsStrings),
|
|
10201
10271
|
/* harmony export */ "getMaxValue": () => (/* binding */ getMaxValue),
|
|
10202
|
-
/* harmony export */ "getMinValue": () => (/* binding */ getMinValue)
|
|
10272
|
+
/* harmony export */ "getMinValue": () => (/* binding */ getMinValue),
|
|
10273
|
+
/* harmony export */ "isArrayOfArrays": () => (/* binding */ isArrayOfArrays),
|
|
10274
|
+
/* harmony export */ "removeUndefined": () => (/* binding */ removeUndefined)
|
|
10203
10275
|
/* harmony export */ });
|
|
10204
10276
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
10205
10277
|
|
|
@@ -10276,8 +10348,8 @@ function getMinValue(arr) {
|
|
|
10276
10348
|
"use strict";
|
|
10277
10349
|
__webpack_require__.r(__webpack_exports__);
|
|
10278
10350
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10279
|
-
/* harmony export */ "dataProps": () => (/* binding */ dataProps),
|
|
10280
10351
|
/* harmony export */ "baseProps": () => (/* binding */ baseProps),
|
|
10352
|
+
/* harmony export */ "dataProps": () => (/* binding */ dataProps),
|
|
10281
10353
|
/* harmony export */ "primitiveProps": () => (/* binding */ primitiveProps)
|
|
10282
10354
|
/* harmony export */ });
|
|
10283
10355
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
@@ -10333,10 +10405,10 @@ var baseProps = {
|
|
|
10333
10405
|
eventHandlers: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)
|
|
10334
10406
|
})),
|
|
10335
10407
|
externalEventMutations: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
10336
|
-
callback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()
|
|
10408
|
+
callback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
|
10337
10409
|
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)]),
|
|
10338
10410
|
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)]),
|
|
10339
|
-
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()
|
|
10411
|
+
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
|
10340
10412
|
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)])
|
|
10341
10413
|
})),
|
|
10342
10414
|
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),
|
|
@@ -10411,10 +10483,10 @@ var primitiveProps = {
|
|
|
10411
10483
|
"use strict";
|
|
10412
10484
|
__webpack_require__.r(__webpack_exports__);
|
|
10413
10485
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10414
|
-
/* harmony export */ "formatDataFromDomain": () => (/* binding */ formatDataFromDomain),
|
|
10415
10486
|
/* harmony export */ "createStringMap": () => (/* binding */ createStringMap),
|
|
10416
10487
|
/* harmony export */ "downsample": () => (/* binding */ downsample),
|
|
10417
10488
|
/* harmony export */ "formatData": () => (/* binding */ formatData),
|
|
10489
|
+
/* harmony export */ "formatDataFromDomain": () => (/* binding */ formatDataFromDomain),
|
|
10418
10490
|
/* harmony export */ "generateData": () => (/* binding */ generateData),
|
|
10419
10491
|
/* harmony export */ "getCategories": () => (/* binding */ getCategories),
|
|
10420
10492
|
/* harmony export */ "getData": () => (/* binding */ getData),
|
|
@@ -10926,8 +10998,8 @@ function isDataComponent(component) {
|
|
|
10926
10998
|
"use strict";
|
|
10927
10999
|
__webpack_require__.r(__webpack_exports__);
|
|
10928
11000
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10929
|
-
/* harmony export */ "continuousTransitions": () => (/* binding */ continuousTransitions),
|
|
10930
11001
|
/* harmony export */ "continuousPolarTransitions": () => (/* binding */ continuousPolarTransitions),
|
|
11002
|
+
/* harmony export */ "continuousTransitions": () => (/* binding */ continuousTransitions),
|
|
10931
11003
|
/* harmony export */ "discreteTransitions": () => (/* binding */ discreteTransitions)
|
|
10932
11004
|
/* harmony export */ });
|
|
10933
11005
|
/* eslint-disable func-style */
|
|
@@ -11503,18 +11575,18 @@ function isDomainComponent(component) {
|
|
|
11503
11575
|
"use strict";
|
|
11504
11576
|
__webpack_require__.r(__webpack_exports__);
|
|
11505
11577
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11506
|
-
/* harmony export */ "
|
|
11507
|
-
/* harmony export */ "
|
|
11508
|
-
/* harmony export */ "getPartialEvents": () => (/* binding */ getPartialEvents),
|
|
11578
|
+
/* harmony export */ "emulateReactEvent": () => (/* binding */ emulateReactEvent),
|
|
11579
|
+
/* harmony export */ "getComponentEvents": () => (/* binding */ getComponentEvents),
|
|
11509
11580
|
/* harmony export */ "getEventState": () => (/* binding */ getEventState),
|
|
11510
|
-
/* harmony export */ "
|
|
11511
|
-
/* harmony export */ "getExternalMutations": () => (/* binding */ getExternalMutations),
|
|
11581
|
+
/* harmony export */ "getEvents": () => (/* binding */ getEvents),
|
|
11512
11582
|
/* harmony export */ "getExternalMutation": () => (/* binding */ getExternalMutation),
|
|
11513
|
-
/* harmony export */ "
|
|
11583
|
+
/* harmony export */ "getExternalMutations": () => (/* binding */ getExternalMutations),
|
|
11584
|
+
/* harmony export */ "getExternalMutationsWithChildren": () => (/* binding */ getExternalMutationsWithChildren),
|
|
11514
11585
|
/* harmony export */ "getGlobalEventNameFromKey": () => (/* binding */ getGlobalEventNameFromKey),
|
|
11515
11586
|
/* harmony export */ "getGlobalEvents": () => (/* binding */ getGlobalEvents),
|
|
11516
|
-
/* harmony export */ "
|
|
11517
|
-
/* harmony export */ "
|
|
11587
|
+
/* harmony export */ "getPartialEvents": () => (/* binding */ getPartialEvents),
|
|
11588
|
+
/* harmony export */ "getScopedEvents": () => (/* binding */ getScopedEvents),
|
|
11589
|
+
/* harmony export */ "omitGlobalEvents": () => (/* binding */ omitGlobalEvents)
|
|
11518
11590
|
/* harmony export */ });
|
|
11519
11591
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/keys */ "../../../node_modules/lodash/keys.js");
|
|
11520
11592
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -12004,25 +12076,25 @@ var emulateReactEvent = function (event) {
|
|
|
12004
12076
|
"use strict";
|
|
12005
12077
|
__webpack_require__.r(__webpack_exports__);
|
|
12006
12078
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12007
|
-
/* harmony export */ "
|
|
12008
|
-
/* harmony export */ "
|
|
12009
|
-
/* harmony export */ "scalePoint": () => (/* binding */ scalePoint),
|
|
12010
|
-
/* harmony export */ "getPadding": () => (/* binding */ getPadding),
|
|
12011
|
-
/* harmony export */ "isTooltip": () => (/* binding */ isTooltip),
|
|
12012
|
-
/* harmony export */ "getDefaultStyles": () => (/* binding */ getDefaultStyles),
|
|
12013
|
-
/* harmony export */ "getStyles": () => (/* binding */ getStyles),
|
|
12079
|
+
/* harmony export */ "createAccessor": () => (/* binding */ createAccessor),
|
|
12080
|
+
/* harmony export */ "degreesToRadians": () => (/* binding */ degreesToRadians),
|
|
12014
12081
|
/* harmony export */ "evaluateProp": () => (/* binding */ evaluateProp),
|
|
12015
12082
|
/* harmony export */ "evaluateStyle": () => (/* binding */ evaluateStyle),
|
|
12016
|
-
/* harmony export */ "
|
|
12017
|
-
/* harmony export */ "
|
|
12018
|
-
/* harmony export */ "
|
|
12083
|
+
/* harmony export */ "getCurrentAxis": () => (/* binding */ getCurrentAxis),
|
|
12084
|
+
/* harmony export */ "getDefaultStyles": () => (/* binding */ getDefaultStyles),
|
|
12085
|
+
/* harmony export */ "getPadding": () => (/* binding */ getPadding),
|
|
12086
|
+
/* harmony export */ "getPoint": () => (/* binding */ getPoint),
|
|
12019
12087
|
/* harmony export */ "getPolarOrigin": () => (/* binding */ getPolarOrigin),
|
|
12088
|
+
/* harmony export */ "getRadius": () => (/* binding */ getRadius),
|
|
12020
12089
|
/* harmony export */ "getRange": () => (/* binding */ getRange),
|
|
12021
|
-
/* harmony export */ "
|
|
12090
|
+
/* harmony export */ "getStyles": () => (/* binding */ getStyles),
|
|
12091
|
+
/* harmony export */ "isHorizontal": () => (/* binding */ isHorizontal),
|
|
12092
|
+
/* harmony export */ "isTooltip": () => (/* binding */ isTooltip),
|
|
12022
12093
|
/* harmony export */ "modifyProps": () => (/* binding */ modifyProps),
|
|
12023
|
-
/* harmony export */ "
|
|
12094
|
+
/* harmony export */ "omit": () => (/* binding */ omit),
|
|
12095
|
+
/* harmony export */ "radiansToDegrees": () => (/* binding */ radiansToDegrees),
|
|
12024
12096
|
/* harmony export */ "reduceChildren": () => (/* binding */ reduceChildren),
|
|
12025
|
-
/* harmony export */ "
|
|
12097
|
+
/* harmony export */ "scalePoint": () => (/* binding */ scalePoint)
|
|
12026
12098
|
/* harmony export */ });
|
|
12027
12099
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/keys */ "../../../node_modules/lodash/keys.js");
|
|
12028
12100
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -12400,14 +12472,14 @@ function isHorizontal(props) {
|
|
|
12400
12472
|
__webpack_require__.r(__webpack_exports__);
|
|
12401
12473
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12402
12474
|
/* harmony export */ "IMMUTABLE_ITERABLE": () => (/* binding */ IMMUTABLE_ITERABLE),
|
|
12403
|
-
/* harmony export */ "IMMUTABLE_RECORD": () => (/* binding */ IMMUTABLE_RECORD),
|
|
12404
12475
|
/* harmony export */ "IMMUTABLE_LIST": () => (/* binding */ IMMUTABLE_LIST),
|
|
12405
12476
|
/* harmony export */ "IMMUTABLE_MAP": () => (/* binding */ IMMUTABLE_MAP),
|
|
12406
|
-
/* harmony export */ "
|
|
12407
|
-
/* harmony export */ "isRecord": () => (/* binding */ isRecord),
|
|
12477
|
+
/* harmony export */ "IMMUTABLE_RECORD": () => (/* binding */ IMMUTABLE_RECORD),
|
|
12408
12478
|
/* harmony export */ "isImmutable": () => (/* binding */ isImmutable),
|
|
12479
|
+
/* harmony export */ "isIterable": () => (/* binding */ isIterable),
|
|
12409
12480
|
/* harmony export */ "isList": () => (/* binding */ isList),
|
|
12410
12481
|
/* harmony export */ "isMap": () => (/* binding */ isMap),
|
|
12482
|
+
/* harmony export */ "isRecord": () => (/* binding */ isRecord),
|
|
12411
12483
|
/* harmony export */ "shallowToJS": () => (/* binding */ shallowToJS)
|
|
12412
12484
|
/* harmony export */ });
|
|
12413
12485
|
/* eslint-disable func-style */
|
|
@@ -12452,12 +12524,12 @@ function shallowToJS(x, whitelist) {
|
|
|
12452
12524
|
"use strict";
|
|
12453
12525
|
__webpack_require__.r(__webpack_exports__);
|
|
12454
12526
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12455
|
-
/* harmony export */ "
|
|
12527
|
+
/* harmony export */ "getDegrees": () => (/* binding */ getDegrees),
|
|
12528
|
+
/* harmony export */ "getPolarAngle": () => (/* binding */ getPolarAngle),
|
|
12456
12529
|
/* harmony export */ "getPolarTextAnchor": () => (/* binding */ getPolarTextAnchor),
|
|
12457
12530
|
/* harmony export */ "getPolarVerticalAnchor": () => (/* binding */ getPolarVerticalAnchor),
|
|
12458
|
-
/* harmony export */ "
|
|
12459
|
-
/* harmony export */ "
|
|
12460
|
-
/* harmony export */ "getProps": () => (/* binding */ getProps)
|
|
12531
|
+
/* harmony export */ "getProps": () => (/* binding */ getProps),
|
|
12532
|
+
/* harmony export */ "getText": () => (/* binding */ getText)
|
|
12461
12533
|
/* harmony export */ });
|
|
12462
12534
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/lodash/defaults.js");
|
|
12463
12535
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -12737,16 +12809,16 @@ function warn(message) {
|
|
|
12737
12809
|
"use strict";
|
|
12738
12810
|
__webpack_require__.r(__webpack_exports__);
|
|
12739
12811
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12740
|
-
/* harmony export */ "deprecated": () => (/* binding */ deprecated),
|
|
12741
12812
|
/* harmony export */ "allOfType": () => (/* binding */ allOfType),
|
|
12742
|
-
/* harmony export */ "
|
|
12743
|
-
/* harmony export */ "integer": () => (/* binding */ integer),
|
|
12744
|
-
/* harmony export */ "greaterThanZero": () => (/* binding */ greaterThanZero),
|
|
12813
|
+
/* harmony export */ "deprecated": () => (/* binding */ deprecated),
|
|
12745
12814
|
/* harmony export */ "domain": () => (/* binding */ domain),
|
|
12746
|
-
/* harmony export */ "
|
|
12815
|
+
/* harmony export */ "greaterThanZero": () => (/* binding */ greaterThanZero),
|
|
12747
12816
|
/* harmony export */ "homogeneousArray": () => (/* binding */ homogeneousArray),
|
|
12817
|
+
/* harmony export */ "integer": () => (/* binding */ integer),
|
|
12748
12818
|
/* harmony export */ "matchDataLength": () => (/* binding */ matchDataLength),
|
|
12749
|
-
/* harmony export */ "
|
|
12819
|
+
/* harmony export */ "nonNegative": () => (/* binding */ nonNegative),
|
|
12820
|
+
/* harmony export */ "regExp": () => (/* binding */ regExp),
|
|
12821
|
+
/* harmony export */ "scale": () => (/* binding */ scale)
|
|
12750
12822
|
/* harmony export */ });
|
|
12751
12823
|
/* harmony import */ var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isRegExp */ "../../../node_modules/lodash/isRegExp.js");
|
|
12752
12824
|
/* harmony import */ var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -12754,9 +12826,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12754
12826
|
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_find__WEBPACK_IMPORTED_MODULE_1__);
|
|
12755
12827
|
/* harmony import */ var lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isFunction */ "../../../node_modules/lodash/isFunction.js");
|
|
12756
12828
|
/* harmony import */ var lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__);
|
|
12757
|
-
/* harmony import */ var
|
|
12758
|
-
/* harmony import */ var
|
|
12759
|
-
/* harmony import */ var
|
|
12829
|
+
/* harmony import */ var _log__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./log */ "../../victory-core/es/victory-util/log.js");
|
|
12830
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
12831
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
12760
12832
|
|
|
12761
12833
|
|
|
12762
12834
|
|
|
@@ -12855,10 +12927,10 @@ function deprecated(propType, explanation) {
|
|
|
12855
12927
|
var value = props[propName];
|
|
12856
12928
|
|
|
12857
12929
|
if (value !== null && value !== undefined) {
|
|
12858
|
-
|
|
12930
|
+
_log__WEBPACK_IMPORTED_MODULE_3__.warn("\"".concat(propName, "\" property of \"").concat(componentName, "\" has been deprecated ").concat(explanation));
|
|
12859
12931
|
}
|
|
12860
12932
|
|
|
12861
|
-
return
|
|
12933
|
+
return prop_types__WEBPACK_IMPORTED_MODULE_4___default().checkPropTypes(_defineProperty({}, propName, propType), props, propName, componentName);
|
|
12862
12934
|
};
|
|
12863
12935
|
}
|
|
12864
12936
|
/**
|
|
@@ -13020,9 +13092,9 @@ var regExp = makeChainable(function (props, propName, componentName) {
|
|
|
13020
13092
|
"use strict";
|
|
13021
13093
|
__webpack_require__.r(__webpack_exports__);
|
|
13022
13094
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13023
|
-
/* harmony export */ "getScaleFromName": () => (/* binding */ getScaleFromName),
|
|
13024
13095
|
/* harmony export */ "getBaseScale": () => (/* binding */ getBaseScale),
|
|
13025
13096
|
/* harmony export */ "getDefaultScale": () => (/* binding */ getDefaultScale),
|
|
13097
|
+
/* harmony export */ "getScaleFromName": () => (/* binding */ getScaleFromName),
|
|
13026
13098
|
/* harmony export */ "getScaleFromProps": () => (/* binding */ getScaleFromProps),
|
|
13027
13099
|
/* harmony export */ "getScaleType": () => (/* binding */ getScaleType),
|
|
13028
13100
|
/* harmony export */ "getType": () => (/* binding */ getType)
|
|
@@ -13184,8 +13256,8 @@ function getType(scale) {
|
|
|
13184
13256
|
"use strict";
|
|
13185
13257
|
__webpack_require__.r(__webpack_exports__);
|
|
13186
13258
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13187
|
-
/* harmony export */ "
|
|
13188
|
-
/* harmony export */ "
|
|
13259
|
+
/* harmony export */ "getColorScale": () => (/* binding */ getColorScale),
|
|
13260
|
+
/* harmony export */ "toTransformString": () => (/* binding */ toTransformString)
|
|
13189
13261
|
/* harmony export */ });
|
|
13190
13262
|
/* eslint-disable func-style */
|
|
13191
13263
|
|
|
@@ -13257,9 +13329,9 @@ function getColorScale(name) {
|
|
|
13257
13329
|
"use strict";
|
|
13258
13330
|
__webpack_require__.r(__webpack_exports__);
|
|
13259
13331
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13260
|
-
/* harmony export */ "convertLengthToPixels": () => (/* binding */ convertLengthToPixels),
|
|
13261
13332
|
/* harmony export */ "_approximateTextSizeInternal": () => (/* binding */ _approximateTextSizeInternal),
|
|
13262
|
-
/* harmony export */ "approximateTextSize": () => (/* binding */ approximateTextSize)
|
|
13333
|
+
/* harmony export */ "approximateTextSize": () => (/* binding */ approximateTextSize),
|
|
13334
|
+
/* harmony export */ "convertLengthToPixels": () => (/* binding */ convertLengthToPixels)
|
|
13263
13335
|
/* harmony export */ });
|
|
13264
13336
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/lodash/defaults.js");
|
|
13265
13337
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -14123,8 +14195,11 @@ function getTransitionPropsFactory(props, state, setState) {
|
|
|
14123
14195
|
"use strict";
|
|
14124
14196
|
__webpack_require__.r(__webpack_exports__);
|
|
14125
14197
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14126
|
-
/* harmony export */ "getSafeUserProps": () => (/* binding */ getSafeUserProps)
|
|
14198
|
+
/* harmony export */ "getSafeUserProps": () => (/* binding */ getSafeUserProps),
|
|
14199
|
+
/* harmony export */ "withSafeUserProps": () => (/* binding */ withSafeUserProps)
|
|
14127
14200
|
/* harmony export */ });
|
|
14201
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
14202
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
14128
14203
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
14129
14204
|
|
|
14130
14205
|
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."); }
|
|
@@ -14143,12 +14218,14 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
14143
14218
|
|
|
14144
14219
|
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; }
|
|
14145
14220
|
|
|
14221
|
+
|
|
14146
14222
|
/*
|
|
14147
14223
|
USER_PROPS_SAFELIST is to contain any string deemed safe for user props.
|
|
14148
14224
|
The startsWidth array will contain the start of any accepted user-prop that
|
|
14149
14225
|
starts with these characters.
|
|
14150
14226
|
The exactMatch will contain a list of exact prop names that are accepted.
|
|
14151
14227
|
*/
|
|
14228
|
+
|
|
14152
14229
|
var USER_PROPS_SAFELIST = {
|
|
14153
14230
|
startsWith: ["data-", "aria-"],
|
|
14154
14231
|
exactMatch: []
|
|
@@ -14235,6 +14312,17 @@ var getSafeUserProps = function (props) {
|
|
|
14235
14312
|
return [key, getValue(value, props)];
|
|
14236
14313
|
}));
|
|
14237
14314
|
};
|
|
14315
|
+
/**
|
|
14316
|
+
* Wraps a component and adds safe user props
|
|
14317
|
+
*
|
|
14318
|
+
* @param {ReactNode} component: parent component
|
|
14319
|
+
* @param {Object} props: props to be filtered
|
|
14320
|
+
* @returns {ReactNode} modified component
|
|
14321
|
+
*/
|
|
14322
|
+
|
|
14323
|
+
var withSafeUserProps = function (component, props) {
|
|
14324
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(component, getSafeUserProps(props));
|
|
14325
|
+
};
|
|
14238
14326
|
|
|
14239
14327
|
/***/ }),
|
|
14240
14328
|
|
|
@@ -14354,8 +14442,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14354
14442
|
"use strict";
|
|
14355
14443
|
__webpack_require__.r(__webpack_exports__);
|
|
14356
14444
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14357
|
-
/* harmony export */ "
|
|
14358
|
-
/* harmony export */ "
|
|
14445
|
+
/* harmony export */ "addBeach": () => (/* binding */ addBeach),
|
|
14446
|
+
/* harmony export */ "removeBeach": () => (/* binding */ removeBeach)
|
|
14359
14447
|
/* harmony export */ });
|
|
14360
14448
|
/* harmony import */ var _RedBlackTree__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RedBlackTree */ "../node_modules/d3-voronoi/src/RedBlackTree.js");
|
|
14361
14449
|
/* harmony import */ var _Cell__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Cell */ "../node_modules/d3-voronoi/src/Cell.js");
|
|
@@ -14568,11 +14656,11 @@ function rightBreakPoint(arc, directrix) {
|
|
|
14568
14656
|
"use strict";
|
|
14569
14657
|
__webpack_require__.r(__webpack_exports__);
|
|
14570
14658
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14571
|
-
/* harmony export */ "createCell": () => (/* binding */ createCell),
|
|
14572
|
-
/* harmony export */ "cellHalfedgeStart": () => (/* binding */ cellHalfedgeStart),
|
|
14573
14659
|
/* harmony export */ "cellHalfedgeEnd": () => (/* binding */ cellHalfedgeEnd),
|
|
14574
|
-
/* harmony export */ "
|
|
14575
|
-
/* harmony export */ "clipCells": () => (/* binding */ clipCells)
|
|
14660
|
+
/* harmony export */ "cellHalfedgeStart": () => (/* binding */ cellHalfedgeStart),
|
|
14661
|
+
/* harmony export */ "clipCells": () => (/* binding */ clipCells),
|
|
14662
|
+
/* harmony export */ "createCell": () => (/* binding */ createCell),
|
|
14663
|
+
/* harmony export */ "sortCellHalfedges": () => (/* binding */ sortCellHalfedges)
|
|
14576
14664
|
/* harmony export */ });
|
|
14577
14665
|
/* harmony import */ var _Edge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Edge */ "../node_modules/d3-voronoi/src/Edge.js");
|
|
14578
14666
|
/* harmony import */ var _Diagram__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Diagram */ "../node_modules/d3-voronoi/src/Diagram.js");
|
|
@@ -14715,9 +14803,9 @@ function clipCells(x0, y0, x1, y1) {
|
|
|
14715
14803
|
"use strict";
|
|
14716
14804
|
__webpack_require__.r(__webpack_exports__);
|
|
14717
14805
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14718
|
-
/* harmony export */ "firstCircle": () => (/* binding */ firstCircle),
|
|
14719
14806
|
/* harmony export */ "attachCircle": () => (/* binding */ attachCircle),
|
|
14720
|
-
/* harmony export */ "detachCircle": () => (/* binding */ detachCircle)
|
|
14807
|
+
/* harmony export */ "detachCircle": () => (/* binding */ detachCircle),
|
|
14808
|
+
/* harmony export */ "firstCircle": () => (/* binding */ firstCircle)
|
|
14721
14809
|
/* harmony export */ });
|
|
14722
14810
|
/* harmony import */ var _RedBlackTree__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RedBlackTree */ "../node_modules/d3-voronoi/src/RedBlackTree.js");
|
|
14723
14811
|
/* harmony import */ var _Diagram__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Diagram */ "../node_modules/d3-voronoi/src/Diagram.js");
|
|
@@ -14812,13 +14900,13 @@ function detachCircle(arc) {
|
|
|
14812
14900
|
"use strict";
|
|
14813
14901
|
__webpack_require__.r(__webpack_exports__);
|
|
14814
14902
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14815
|
-
/* harmony export */ "epsilon": () => (/* binding */ epsilon),
|
|
14816
|
-
/* harmony export */ "epsilon2": () => (/* binding */ epsilon2),
|
|
14817
14903
|
/* harmony export */ "beaches": () => (/* binding */ beaches),
|
|
14818
14904
|
/* harmony export */ "cells": () => (/* binding */ cells),
|
|
14819
14905
|
/* harmony export */ "circles": () => (/* binding */ circles),
|
|
14906
|
+
/* harmony export */ "default": () => (/* binding */ Diagram),
|
|
14820
14907
|
/* harmony export */ "edges": () => (/* binding */ edges),
|
|
14821
|
-
/* harmony export */ "
|
|
14908
|
+
/* harmony export */ "epsilon": () => (/* binding */ epsilon),
|
|
14909
|
+
/* harmony export */ "epsilon2": () => (/* binding */ epsilon2)
|
|
14822
14910
|
/* harmony export */ });
|
|
14823
14911
|
/* harmony import */ var _Beach__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Beach */ "../node_modules/d3-voronoi/src/Beach.js");
|
|
14824
14912
|
/* harmony import */ var _Cell__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Cell */ "../node_modules/d3-voronoi/src/Cell.js");
|
|
@@ -14980,10 +15068,10 @@ Diagram.prototype = {
|
|
|
14980
15068
|
"use strict";
|
|
14981
15069
|
__webpack_require__.r(__webpack_exports__);
|
|
14982
15070
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14983
|
-
/* harmony export */ "
|
|
15071
|
+
/* harmony export */ "clipEdges": () => (/* binding */ clipEdges),
|
|
14984
15072
|
/* harmony export */ "createBorderEdge": () => (/* binding */ createBorderEdge),
|
|
14985
|
-
/* harmony export */ "
|
|
14986
|
-
/* harmony export */ "
|
|
15073
|
+
/* harmony export */ "createEdge": () => (/* binding */ createEdge),
|
|
15074
|
+
/* harmony export */ "setEdgeEnd": () => (/* binding */ setEdgeEnd)
|
|
14987
15075
|
/* harmony export */ });
|
|
14988
15076
|
/* harmony import */ var _Diagram__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Diagram */ "../node_modules/d3-voronoi/src/Diagram.js");
|
|
14989
15077
|
|
|
@@ -15575,9 +15663,9 @@ function ascending(a, b) {
|
|
|
15575
15663
|
"use strict";
|
|
15576
15664
|
__webpack_require__.r(__webpack_exports__);
|
|
15577
15665
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15578
|
-
/* harmony export */ "bisectRight": () => (/* binding */ bisectRight),
|
|
15579
|
-
/* harmony export */ "bisectLeft": () => (/* binding */ bisectLeft),
|
|
15580
15666
|
/* harmony export */ "bisectCenter": () => (/* binding */ bisectCenter),
|
|
15667
|
+
/* harmony export */ "bisectLeft": () => (/* binding */ bisectLeft),
|
|
15668
|
+
/* harmony export */ "bisectRight": () => (/* binding */ bisectRight),
|
|
15581
15669
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
15582
15670
|
/* harmony export */ });
|
|
15583
15671
|
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ascending.js */ "../../victory-vendor/node_modules/d3-array/src/ascending.js");
|
|
@@ -15963,9 +16051,9 @@ function range(start, stop, step) {
|
|
|
15963
16051
|
"use strict";
|
|
15964
16052
|
__webpack_require__.r(__webpack_exports__);
|
|
15965
16053
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15966
|
-
/* harmony export */ "
|
|
16054
|
+
/* harmony export */ "ascendingDefined": () => (/* binding */ ascendingDefined),
|
|
15967
16055
|
/* harmony export */ "compareDefined": () => (/* binding */ compareDefined),
|
|
15968
|
-
/* harmony export */ "
|
|
16056
|
+
/* harmony export */ "default": () => (/* binding */ sort)
|
|
15969
16057
|
/* harmony export */ });
|
|
15970
16058
|
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ascending.js */ "../../victory-vendor/node_modules/d3-array/src/ascending.js");
|
|
15971
16059
|
/* harmony import */ var _permute_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./permute.js */ "../../victory-vendor/node_modules/d3-array/src/permute.js");
|
|
@@ -16093,14 +16181,14 @@ function tickStep(start, stop, count) {
|
|
|
16093
16181
|
__webpack_require__.r(__webpack_exports__);
|
|
16094
16182
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16095
16183
|
/* harmony export */ "Color": () => (/* binding */ Color),
|
|
16096
|
-
/* harmony export */ "
|
|
16184
|
+
/* harmony export */ "Rgb": () => (/* binding */ Rgb),
|
|
16097
16185
|
/* harmony export */ "brighter": () => (/* binding */ brighter),
|
|
16186
|
+
/* harmony export */ "darker": () => (/* binding */ darker),
|
|
16098
16187
|
/* harmony export */ "default": () => (/* binding */ color),
|
|
16099
|
-
/* harmony export */ "
|
|
16100
|
-
/* harmony export */ "rgb": () => (/* binding */ rgb),
|
|
16101
|
-
/* harmony export */ "Rgb": () => (/* binding */ Rgb),
|
|
16188
|
+
/* harmony export */ "hsl": () => (/* binding */ hsl),
|
|
16102
16189
|
/* harmony export */ "hslConvert": () => (/* binding */ hslConvert),
|
|
16103
|
-
/* harmony export */ "
|
|
16190
|
+
/* harmony export */ "rgb": () => (/* binding */ rgb),
|
|
16191
|
+
/* harmony export */ "rgbConvert": () => (/* binding */ rgbConvert)
|
|
16104
16192
|
/* harmony export */ });
|
|
16105
16193
|
/* harmony import */ var _define_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./define.js */ "../../victory-vendor/node_modules/d3-color/src/define.js");
|
|
16106
16194
|
|
|
@@ -16539,8 +16627,8 @@ function extend(parent, definition) {
|
|
|
16539
16627
|
__webpack_require__.r(__webpack_exports__);
|
|
16540
16628
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16541
16629
|
/* harmony export */ "backIn": () => (/* binding */ backIn),
|
|
16542
|
-
/* harmony export */ "
|
|
16543
|
-
/* harmony export */ "
|
|
16630
|
+
/* harmony export */ "backInOut": () => (/* binding */ backInOut),
|
|
16631
|
+
/* harmony export */ "backOut": () => (/* binding */ backOut)
|
|
16544
16632
|
/* harmony export */ });
|
|
16545
16633
|
var overshoot = 1.70158;
|
|
16546
16634
|
|
|
@@ -16593,8 +16681,8 @@ var backInOut = (function custom(s) {
|
|
|
16593
16681
|
__webpack_require__.r(__webpack_exports__);
|
|
16594
16682
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16595
16683
|
/* harmony export */ "bounceIn": () => (/* binding */ bounceIn),
|
|
16596
|
-
/* harmony export */ "
|
|
16597
|
-
/* harmony export */ "
|
|
16684
|
+
/* harmony export */ "bounceInOut": () => (/* binding */ bounceInOut),
|
|
16685
|
+
/* harmony export */ "bounceOut": () => (/* binding */ bounceOut)
|
|
16598
16686
|
/* harmony export */ });
|
|
16599
16687
|
var b1 = 4 / 11,
|
|
16600
16688
|
b2 = 6 / 11,
|
|
@@ -16632,8 +16720,8 @@ function bounceInOut(t) {
|
|
|
16632
16720
|
__webpack_require__.r(__webpack_exports__);
|
|
16633
16721
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16634
16722
|
/* harmony export */ "circleIn": () => (/* binding */ circleIn),
|
|
16635
|
-
/* harmony export */ "
|
|
16636
|
-
/* harmony export */ "
|
|
16723
|
+
/* harmony export */ "circleInOut": () => (/* binding */ circleInOut),
|
|
16724
|
+
/* harmony export */ "circleOut": () => (/* binding */ circleOut)
|
|
16637
16725
|
/* harmony export */ });
|
|
16638
16726
|
function circleIn(t) {
|
|
16639
16727
|
return 1 - Math.sqrt(1 - t * t);
|
|
@@ -16660,8 +16748,8 @@ function circleInOut(t) {
|
|
|
16660
16748
|
__webpack_require__.r(__webpack_exports__);
|
|
16661
16749
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16662
16750
|
/* harmony export */ "cubicIn": () => (/* binding */ cubicIn),
|
|
16663
|
-
/* harmony export */ "
|
|
16664
|
-
/* harmony export */ "
|
|
16751
|
+
/* harmony export */ "cubicInOut": () => (/* binding */ cubicInOut),
|
|
16752
|
+
/* harmony export */ "cubicOut": () => (/* binding */ cubicOut)
|
|
16665
16753
|
/* harmony export */ });
|
|
16666
16754
|
function cubicIn(t) {
|
|
16667
16755
|
return t * t * t;
|
|
@@ -16688,8 +16776,8 @@ function cubicInOut(t) {
|
|
|
16688
16776
|
__webpack_require__.r(__webpack_exports__);
|
|
16689
16777
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16690
16778
|
/* harmony export */ "elasticIn": () => (/* binding */ elasticIn),
|
|
16691
|
-
/* harmony export */ "
|
|
16692
|
-
/* harmony export */ "
|
|
16779
|
+
/* harmony export */ "elasticInOut": () => (/* binding */ elasticInOut),
|
|
16780
|
+
/* harmony export */ "elasticOut": () => (/* binding */ elasticOut)
|
|
16693
16781
|
/* harmony export */ });
|
|
16694
16782
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "../../victory-vendor/node_modules/d3-ease/src/math.js");
|
|
16695
16783
|
|
|
@@ -16752,8 +16840,8 @@ var elasticInOut = (function custom(a, p) {
|
|
|
16752
16840
|
__webpack_require__.r(__webpack_exports__);
|
|
16753
16841
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16754
16842
|
/* harmony export */ "expIn": () => (/* binding */ expIn),
|
|
16755
|
-
/* harmony export */ "
|
|
16756
|
-
/* harmony export */ "
|
|
16843
|
+
/* harmony export */ "expInOut": () => (/* binding */ expInOut),
|
|
16844
|
+
/* harmony export */ "expOut": () => (/* binding */ expOut)
|
|
16757
16845
|
/* harmony export */ });
|
|
16758
16846
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "../../victory-vendor/node_modules/d3-ease/src/math.js");
|
|
16759
16847
|
|
|
@@ -16782,43 +16870,43 @@ function expInOut(t) {
|
|
|
16782
16870
|
"use strict";
|
|
16783
16871
|
__webpack_require__.r(__webpack_exports__);
|
|
16784
16872
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16785
|
-
/* harmony export */ "
|
|
16786
|
-
/* harmony export */ "
|
|
16787
|
-
/* harmony export */ "
|
|
16788
|
-
/* harmony export */ "
|
|
16789
|
-
/* harmony export */ "
|
|
16873
|
+
/* harmony export */ "easeBack": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut),
|
|
16874
|
+
/* harmony export */ "easeBackIn": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backIn),
|
|
16875
|
+
/* harmony export */ "easeBackInOut": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut),
|
|
16876
|
+
/* harmony export */ "easeBackOut": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backOut),
|
|
16877
|
+
/* harmony export */ "easeBounce": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut),
|
|
16878
|
+
/* harmony export */ "easeBounceIn": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceIn),
|
|
16879
|
+
/* harmony export */ "easeBounceInOut": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceInOut),
|
|
16880
|
+
/* harmony export */ "easeBounceOut": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut),
|
|
16881
|
+
/* harmony export */ "easeCircle": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut),
|
|
16882
|
+
/* harmony export */ "easeCircleIn": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleIn),
|
|
16883
|
+
/* harmony export */ "easeCircleInOut": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut),
|
|
16884
|
+
/* harmony export */ "easeCircleOut": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleOut),
|
|
16790
16885
|
/* harmony export */ "easeCubic": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicInOut),
|
|
16791
16886
|
/* harmony export */ "easeCubicIn": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicIn),
|
|
16792
|
-
/* harmony export */ "easeCubicOut": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicOut),
|
|
16793
16887
|
/* harmony export */ "easeCubicInOut": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicInOut),
|
|
16888
|
+
/* harmony export */ "easeCubicOut": () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicOut),
|
|
16889
|
+
/* harmony export */ "easeElastic": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut),
|
|
16890
|
+
/* harmony export */ "easeElasticIn": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticIn),
|
|
16891
|
+
/* harmony export */ "easeElasticInOut": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticInOut),
|
|
16892
|
+
/* harmony export */ "easeElasticOut": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut),
|
|
16893
|
+
/* harmony export */ "easeExp": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expInOut),
|
|
16894
|
+
/* harmony export */ "easeExpIn": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expIn),
|
|
16895
|
+
/* harmony export */ "easeExpInOut": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expInOut),
|
|
16896
|
+
/* harmony export */ "easeExpOut": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expOut),
|
|
16897
|
+
/* harmony export */ "easeLinear": () => (/* reexport safe */ _linear_js__WEBPACK_IMPORTED_MODULE_0__.linear),
|
|
16794
16898
|
/* harmony export */ "easePoly": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyInOut),
|
|
16795
16899
|
/* harmony export */ "easePolyIn": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyIn),
|
|
16796
|
-
/* harmony export */ "easePolyOut": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyOut),
|
|
16797
16900
|
/* harmony export */ "easePolyInOut": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyInOut),
|
|
16901
|
+
/* harmony export */ "easePolyOut": () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyOut),
|
|
16902
|
+
/* harmony export */ "easeQuad": () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadInOut),
|
|
16903
|
+
/* harmony export */ "easeQuadIn": () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadIn),
|
|
16904
|
+
/* harmony export */ "easeQuadInOut": () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadInOut),
|
|
16905
|
+
/* harmony export */ "easeQuadOut": () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadOut),
|
|
16798
16906
|
/* harmony export */ "easeSin": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinInOut),
|
|
16799
16907
|
/* harmony export */ "easeSinIn": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinIn),
|
|
16800
|
-
/* harmony export */ "easeSinOut": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinOut),
|
|
16801
16908
|
/* harmony export */ "easeSinInOut": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinInOut),
|
|
16802
|
-
/* harmony export */ "
|
|
16803
|
-
/* harmony export */ "easeExpIn": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expIn),
|
|
16804
|
-
/* harmony export */ "easeExpOut": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expOut),
|
|
16805
|
-
/* harmony export */ "easeExpInOut": () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expInOut),
|
|
16806
|
-
/* harmony export */ "easeCircle": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut),
|
|
16807
|
-
/* harmony export */ "easeCircleIn": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleIn),
|
|
16808
|
-
/* harmony export */ "easeCircleOut": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleOut),
|
|
16809
|
-
/* harmony export */ "easeCircleInOut": () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut),
|
|
16810
|
-
/* harmony export */ "easeBounce": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut),
|
|
16811
|
-
/* harmony export */ "easeBounceIn": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceIn),
|
|
16812
|
-
/* harmony export */ "easeBounceOut": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut),
|
|
16813
|
-
/* harmony export */ "easeBounceInOut": () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceInOut),
|
|
16814
|
-
/* harmony export */ "easeBack": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut),
|
|
16815
|
-
/* harmony export */ "easeBackIn": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backIn),
|
|
16816
|
-
/* harmony export */ "easeBackOut": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backOut),
|
|
16817
|
-
/* harmony export */ "easeBackInOut": () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut),
|
|
16818
|
-
/* harmony export */ "easeElastic": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut),
|
|
16819
|
-
/* harmony export */ "easeElasticIn": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticIn),
|
|
16820
|
-
/* harmony export */ "easeElasticOut": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut),
|
|
16821
|
-
/* harmony export */ "easeElasticInOut": () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticInOut)
|
|
16909
|
+
/* harmony export */ "easeSinOut": () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinOut)
|
|
16822
16910
|
/* harmony export */ });
|
|
16823
16911
|
/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./linear.js */ "../../victory-vendor/node_modules/d3-ease/src/linear.js");
|
|
16824
16912
|
/* harmony import */ var _quad_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./quad.js */ "../../victory-vendor/node_modules/d3-ease/src/quad.js");
|
|
@@ -16898,8 +16986,8 @@ function tpmt(x) {
|
|
|
16898
16986
|
__webpack_require__.r(__webpack_exports__);
|
|
16899
16987
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16900
16988
|
/* harmony export */ "polyIn": () => (/* binding */ polyIn),
|
|
16901
|
-
/* harmony export */ "
|
|
16902
|
-
/* harmony export */ "
|
|
16989
|
+
/* harmony export */ "polyInOut": () => (/* binding */ polyInOut),
|
|
16990
|
+
/* harmony export */ "polyOut": () => (/* binding */ polyOut)
|
|
16903
16991
|
/* harmony export */ });
|
|
16904
16992
|
var exponent = 3;
|
|
16905
16993
|
|
|
@@ -16952,8 +17040,8 @@ var polyInOut = (function custom(e) {
|
|
|
16952
17040
|
__webpack_require__.r(__webpack_exports__);
|
|
16953
17041
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16954
17042
|
/* harmony export */ "quadIn": () => (/* binding */ quadIn),
|
|
16955
|
-
/* harmony export */ "
|
|
16956
|
-
/* harmony export */ "
|
|
17043
|
+
/* harmony export */ "quadInOut": () => (/* binding */ quadInOut),
|
|
17044
|
+
/* harmony export */ "quadOut": () => (/* binding */ quadOut)
|
|
16957
17045
|
/* harmony export */ });
|
|
16958
17046
|
function quadIn(t) {
|
|
16959
17047
|
return t * t;
|
|
@@ -16980,8 +17068,8 @@ function quadInOut(t) {
|
|
|
16980
17068
|
__webpack_require__.r(__webpack_exports__);
|
|
16981
17069
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16982
17070
|
/* harmony export */ "sinIn": () => (/* binding */ sinIn),
|
|
16983
|
-
/* harmony export */ "
|
|
16984
|
-
/* harmony export */ "
|
|
17071
|
+
/* harmony export */ "sinInOut": () => (/* binding */ sinInOut),
|
|
17072
|
+
/* harmony export */ "sinOut": () => (/* binding */ sinOut)
|
|
16985
17073
|
/* harmony export */ });
|
|
16986
17074
|
var pi = Math.PI,
|
|
16987
17075
|
halfPi = pi / 2;
|
|
@@ -17010,9 +17098,9 @@ function sinInOut(t) {
|
|
|
17010
17098
|
"use strict";
|
|
17011
17099
|
__webpack_require__.r(__webpack_exports__);
|
|
17012
17100
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17101
|
+
/* harmony export */ "default": () => (/* binding */ defaultLocale),
|
|
17013
17102
|
/* harmony export */ "format": () => (/* binding */ format),
|
|
17014
|
-
/* harmony export */ "formatPrefix": () => (/* binding */ formatPrefix)
|
|
17015
|
-
/* harmony export */ "default": () => (/* binding */ defaultLocale)
|
|
17103
|
+
/* harmony export */ "formatPrefix": () => (/* binding */ formatPrefix)
|
|
17016
17104
|
/* harmony export */ });
|
|
17017
17105
|
/* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./locale.js */ "../../victory-vendor/node_modules/d3-format/src/locale.js");
|
|
17018
17106
|
|
|
@@ -17158,8 +17246,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17158
17246
|
"use strict";
|
|
17159
17247
|
__webpack_require__.r(__webpack_exports__);
|
|
17160
17248
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17161
|
-
/* harmony export */ "
|
|
17162
|
-
/* harmony export */ "
|
|
17249
|
+
/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__),
|
|
17250
|
+
/* harmony export */ "prefixExponent": () => (/* binding */ prefixExponent)
|
|
17163
17251
|
/* harmony export */ });
|
|
17164
17252
|
/* harmony import */ var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatDecimal.js */ "../../victory-vendor/node_modules/d3-format/src/formatDecimal.js");
|
|
17165
17253
|
|
|
@@ -17218,8 +17306,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17218
17306
|
"use strict";
|
|
17219
17307
|
__webpack_require__.r(__webpack_exports__);
|
|
17220
17308
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17221
|
-
/* harmony export */ "
|
|
17222
|
-
/* harmony export */ "
|
|
17309
|
+
/* harmony export */ "FormatSpecifier": () => (/* binding */ FormatSpecifier),
|
|
17310
|
+
/* harmony export */ "default": () => (/* binding */ formatSpecifier)
|
|
17223
17311
|
/* harmony export */ });
|
|
17224
17312
|
// [[fill]align][sign][symbol][0][width][,][.precision][~][type]
|
|
17225
17313
|
var re = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
|
|
@@ -17701,9 +17789,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17701
17789
|
"use strict";
|
|
17702
17790
|
__webpack_require__.r(__webpack_exports__);
|
|
17703
17791
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17704
|
-
/* harmony export */ "
|
|
17792
|
+
/* harmony export */ "default": () => (/* binding */ nogamma),
|
|
17705
17793
|
/* harmony export */ "gamma": () => (/* binding */ gamma),
|
|
17706
|
-
/* harmony export */ "
|
|
17794
|
+
/* harmony export */ "hue": () => (/* binding */ hue)
|
|
17707
17795
|
/* harmony export */ });
|
|
17708
17796
|
/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "../../victory-vendor/node_modules/d3-interpolate/src/constant.js");
|
|
17709
17797
|
|
|
@@ -18263,10 +18351,10 @@ function constants(x) {
|
|
|
18263
18351
|
"use strict";
|
|
18264
18352
|
__webpack_require__.r(__webpack_exports__);
|
|
18265
18353
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18266
|
-
/* harmony export */ "identity": () => (/* binding */ identity),
|
|
18267
18354
|
/* harmony export */ "copy": () => (/* binding */ copy),
|
|
18268
|
-
/* harmony export */ "
|
|
18269
|
-
/* harmony export */ "
|
|
18355
|
+
/* harmony export */ "default": () => (/* binding */ continuous),
|
|
18356
|
+
/* harmony export */ "identity": () => (/* binding */ identity),
|
|
18357
|
+
/* harmony export */ "transformer": () => (/* binding */ transformer)
|
|
18270
18358
|
/* harmony export */ });
|
|
18271
18359
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/bisect.js");
|
|
18272
18360
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
@@ -18414,9 +18502,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18414
18502
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18415
18503
|
/* harmony export */ "default": () => (/* binding */ diverging),
|
|
18416
18504
|
/* harmony export */ "divergingLog": () => (/* binding */ divergingLog),
|
|
18417
|
-
/* harmony export */ "divergingSymlog": () => (/* binding */ divergingSymlog),
|
|
18418
18505
|
/* harmony export */ "divergingPow": () => (/* binding */ divergingPow),
|
|
18419
|
-
/* harmony export */ "divergingSqrt": () => (/* binding */ divergingSqrt)
|
|
18506
|
+
/* harmony export */ "divergingSqrt": () => (/* binding */ divergingSqrt),
|
|
18507
|
+
/* harmony export */ "divergingSymlog": () => (/* binding */ divergingSymlog)
|
|
18420
18508
|
/* harmony export */ });
|
|
18421
18509
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/piecewise.js");
|
|
18422
18510
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
@@ -18591,32 +18679,32 @@ function identity(domain) {
|
|
|
18591
18679
|
__webpack_require__.r(__webpack_exports__);
|
|
18592
18680
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18593
18681
|
/* harmony export */ "scaleBand": () => (/* reexport safe */ _band_js__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
18594
|
-
/* harmony export */ "
|
|
18682
|
+
/* harmony export */ "scaleDiverging": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__["default"]),
|
|
18683
|
+
/* harmony export */ "scaleDivergingLog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingLog),
|
|
18684
|
+
/* harmony export */ "scaleDivergingPow": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingPow),
|
|
18685
|
+
/* harmony export */ "scaleDivergingSqrt": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSqrt),
|
|
18686
|
+
/* harmony export */ "scaleDivergingSymlog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSymlog),
|
|
18595
18687
|
/* harmony export */ "scaleIdentity": () => (/* reexport safe */ _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
18688
|
+
/* harmony export */ "scaleImplicit": () => (/* reexport safe */ _ordinal_js__WEBPACK_IMPORTED_MODULE_5__.implicit),
|
|
18596
18689
|
/* harmony export */ "scaleLinear": () => (/* reexport safe */ _linear_js__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
18597
18690
|
/* harmony export */ "scaleLog": () => (/* reexport safe */ _log_js__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
18598
|
-
/* harmony export */ "scaleSymlog": () => (/* reexport safe */ _symlog_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
18599
18691
|
/* harmony export */ "scaleOrdinal": () => (/* reexport safe */ _ordinal_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
18600
|
-
/* harmony export */ "
|
|
18692
|
+
/* harmony export */ "scalePoint": () => (/* reexport safe */ _band_js__WEBPACK_IMPORTED_MODULE_0__.point),
|
|
18601
18693
|
/* harmony export */ "scalePow": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
18602
|
-
/* harmony export */ "scaleSqrt": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__.sqrt),
|
|
18603
|
-
/* harmony export */ "scaleRadial": () => (/* reexport safe */ _radial_js__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
18604
18694
|
/* harmony export */ "scaleQuantile": () => (/* reexport safe */ _quantile_js__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
|
18605
18695
|
/* harmony export */ "scaleQuantize": () => (/* reexport safe */ _quantize_js__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
|
18606
|
-
/* harmony export */ "
|
|
18607
|
-
/* harmony export */ "scaleTime": () => (/* reexport safe */ _time_js__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
18608
|
-
/* harmony export */ "scaleUtc": () => (/* reexport safe */ _utcTime_js__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
18696
|
+
/* harmony export */ "scaleRadial": () => (/* reexport safe */ _radial_js__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
18609
18697
|
/* harmony export */ "scaleSequential": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
|
18610
18698
|
/* harmony export */ "scaleSequentialLog": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialLog),
|
|
18611
18699
|
/* harmony export */ "scaleSequentialPow": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialPow),
|
|
18700
|
+
/* harmony export */ "scaleSequentialQuantile": () => (/* reexport safe */ _sequentialQuantile_js__WEBPACK_IMPORTED_MODULE_14__["default"]),
|
|
18612
18701
|
/* harmony export */ "scaleSequentialSqrt": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialSqrt),
|
|
18613
18702
|
/* harmony export */ "scaleSequentialSymlog": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialSymlog),
|
|
18614
|
-
/* harmony export */ "
|
|
18615
|
-
/* harmony export */ "
|
|
18616
|
-
/* harmony export */ "
|
|
18617
|
-
/* harmony export */ "
|
|
18618
|
-
/* harmony export */ "
|
|
18619
|
-
/* harmony export */ "scaleDivergingSymlog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSymlog),
|
|
18703
|
+
/* harmony export */ "scaleSqrt": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__.sqrt),
|
|
18704
|
+
/* harmony export */ "scaleSymlog": () => (/* reexport safe */ _symlog_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
18705
|
+
/* harmony export */ "scaleThreshold": () => (/* reexport safe */ _threshold_js__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
|
18706
|
+
/* harmony export */ "scaleTime": () => (/* reexport safe */ _time_js__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
18707
|
+
/* harmony export */ "scaleUtc": () => (/* reexport safe */ _utcTime_js__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
18620
18708
|
/* harmony export */ "tickFormat": () => (/* reexport safe */ _tickFormat_js__WEBPACK_IMPORTED_MODULE_16__["default"])
|
|
18621
18709
|
/* harmony export */ });
|
|
18622
18710
|
/* harmony import */ var _band_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./band.js */ "../../victory-vendor/node_modules/d3-scale/src/band.js");
|
|
@@ -18682,8 +18770,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18682
18770
|
"use strict";
|
|
18683
18771
|
__webpack_require__.r(__webpack_exports__);
|
|
18684
18772
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18685
|
-
/* harmony export */ "
|
|
18686
|
-
/* harmony export */ "
|
|
18773
|
+
/* harmony export */ "initInterpolator": () => (/* binding */ initInterpolator),
|
|
18774
|
+
/* harmony export */ "initRange": () => (/* binding */ initRange)
|
|
18687
18775
|
/* harmony export */ });
|
|
18688
18776
|
function initRange(domain, range) {
|
|
18689
18777
|
switch (arguments.length) {
|
|
@@ -18724,8 +18812,8 @@ function initInterpolator(domain, interpolator) {
|
|
|
18724
18812
|
"use strict";
|
|
18725
18813
|
__webpack_require__.r(__webpack_exports__);
|
|
18726
18814
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18727
|
-
/* harmony export */ "
|
|
18728
|
-
/* harmony export */ "
|
|
18815
|
+
/* harmony export */ "default": () => (/* binding */ linear),
|
|
18816
|
+
/* harmony export */ "linearish": () => (/* binding */ linearish)
|
|
18729
18817
|
/* harmony export */ });
|
|
18730
18818
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
18731
18819
|
/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./continuous.js */ "../../victory-vendor/node_modules/d3-scale/src/continuous.js");
|
|
@@ -18814,8 +18902,8 @@ function linear() {
|
|
|
18814
18902
|
"use strict";
|
|
18815
18903
|
__webpack_require__.r(__webpack_exports__);
|
|
18816
18904
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18817
|
-
/* harmony export */ "
|
|
18818
|
-
/* harmony export */ "
|
|
18905
|
+
/* harmony export */ "default": () => (/* binding */ log),
|
|
18906
|
+
/* harmony export */ "loggish": () => (/* binding */ loggish)
|
|
18819
18907
|
/* harmony export */ });
|
|
18820
18908
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
18821
18909
|
/* harmony import */ var d3_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-format */ "../../victory-vendor/node_modules/d3-format/src/formatSpecifier.js");
|
|
@@ -19027,8 +19115,8 @@ function number(x) {
|
|
|
19027
19115
|
"use strict";
|
|
19028
19116
|
__webpack_require__.r(__webpack_exports__);
|
|
19029
19117
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19030
|
-
/* harmony export */ "
|
|
19031
|
-
/* harmony export */ "
|
|
19118
|
+
/* harmony export */ "default": () => (/* binding */ ordinal),
|
|
19119
|
+
/* harmony export */ "implicit": () => (/* binding */ implicit)
|
|
19032
19120
|
/* harmony export */ });
|
|
19033
19121
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/internmap/src/index.js");
|
|
19034
19122
|
/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./init.js */ "../../victory-vendor/node_modules/d3-scale/src/init.js");
|
|
@@ -19091,8 +19179,8 @@ function ordinal() {
|
|
|
19091
19179
|
"use strict";
|
|
19092
19180
|
__webpack_require__.r(__webpack_exports__);
|
|
19093
19181
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19094
|
-
/* harmony export */ "powish": () => (/* binding */ powish),
|
|
19095
19182
|
/* harmony export */ "default": () => (/* binding */ pow),
|
|
19183
|
+
/* harmony export */ "powish": () => (/* binding */ powish),
|
|
19096
19184
|
/* harmony export */ "sqrt": () => (/* binding */ sqrt)
|
|
19097
19185
|
/* harmony export */ });
|
|
19098
19186
|
/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./linear.js */ "../../victory-vendor/node_modules/d3-scale/src/linear.js");
|
|
@@ -19396,9 +19484,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
19396
19484
|
/* harmony export */ "copy": () => (/* binding */ copy),
|
|
19397
19485
|
/* harmony export */ "default": () => (/* binding */ sequential),
|
|
19398
19486
|
/* harmony export */ "sequentialLog": () => (/* binding */ sequentialLog),
|
|
19399
|
-
/* harmony export */ "sequentialSymlog": () => (/* binding */ sequentialSymlog),
|
|
19400
19487
|
/* harmony export */ "sequentialPow": () => (/* binding */ sequentialPow),
|
|
19401
|
-
/* harmony export */ "sequentialSqrt": () => (/* binding */ sequentialSqrt)
|
|
19488
|
+
/* harmony export */ "sequentialSqrt": () => (/* binding */ sequentialSqrt),
|
|
19489
|
+
/* harmony export */ "sequentialSymlog": () => (/* binding */ sequentialSymlog)
|
|
19402
19490
|
/* harmony export */ });
|
|
19403
19491
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
19404
19492
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/round.js");
|
|
@@ -19586,8 +19674,8 @@ function sequentialQuantile() {
|
|
|
19586
19674
|
"use strict";
|
|
19587
19675
|
__webpack_require__.r(__webpack_exports__);
|
|
19588
19676
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19589
|
-
/* harmony export */ "
|
|
19590
|
-
/* harmony export */ "
|
|
19677
|
+
/* harmony export */ "default": () => (/* binding */ symlog),
|
|
19678
|
+
/* harmony export */ "symlogish": () => (/* binding */ symlogish)
|
|
19591
19679
|
/* harmony export */ });
|
|
19592
19680
|
/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./linear.js */ "../../victory-vendor/node_modules/d3-scale/src/linear.js");
|
|
19593
19681
|
/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./continuous.js */ "../../victory-vendor/node_modules/d3-scale/src/continuous.js");
|
|
@@ -19879,11 +19967,11 @@ function utcTime() {
|
|
|
19879
19967
|
"use strict";
|
|
19880
19968
|
__webpack_require__.r(__webpack_exports__);
|
|
19881
19969
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19970
|
+
/* harmony export */ "default": () => (/* binding */ defaultLocale),
|
|
19882
19971
|
/* harmony export */ "timeFormat": () => (/* binding */ timeFormat),
|
|
19883
19972
|
/* harmony export */ "timeParse": () => (/* binding */ timeParse),
|
|
19884
19973
|
/* harmony export */ "utcFormat": () => (/* binding */ utcFormat),
|
|
19885
|
-
/* harmony export */ "utcParse": () => (/* binding */ utcParse)
|
|
19886
|
-
/* harmony export */ "default": () => (/* binding */ defaultLocale)
|
|
19974
|
+
/* harmony export */ "utcParse": () => (/* binding */ utcParse)
|
|
19887
19975
|
/* harmony export */ });
|
|
19888
19976
|
/* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./locale.js */ "../../victory-vendor/node_modules/d3-time-format/src/locale.js");
|
|
19889
19977
|
|
|
@@ -20633,8 +20721,8 @@ function formatUnixTimestampSeconds(d) {
|
|
|
20633
20721
|
"use strict";
|
|
20634
20722
|
__webpack_require__.r(__webpack_exports__);
|
|
20635
20723
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20636
|
-
/* harmony export */ "
|
|
20637
|
-
/* harmony export */ "
|
|
20724
|
+
/* harmony export */ "days": () => (/* binding */ days),
|
|
20725
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
20638
20726
|
/* harmony export */ });
|
|
20639
20727
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
20640
20728
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -20663,12 +20751,12 @@ var days = day.range;
|
|
|
20663
20751
|
"use strict";
|
|
20664
20752
|
__webpack_require__.r(__webpack_exports__);
|
|
20665
20753
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20666
|
-
/* harmony export */ "durationSecond": () => (/* binding */ durationSecond),
|
|
20667
|
-
/* harmony export */ "durationMinute": () => (/* binding */ durationMinute),
|
|
20668
|
-
/* harmony export */ "durationHour": () => (/* binding */ durationHour),
|
|
20669
20754
|
/* harmony export */ "durationDay": () => (/* binding */ durationDay),
|
|
20670
|
-
/* harmony export */ "
|
|
20755
|
+
/* harmony export */ "durationHour": () => (/* binding */ durationHour),
|
|
20756
|
+
/* harmony export */ "durationMinute": () => (/* binding */ durationMinute),
|
|
20671
20757
|
/* harmony export */ "durationMonth": () => (/* binding */ durationMonth),
|
|
20758
|
+
/* harmony export */ "durationSecond": () => (/* binding */ durationSecond),
|
|
20759
|
+
/* harmony export */ "durationWeek": () => (/* binding */ durationWeek),
|
|
20672
20760
|
/* harmony export */ "durationYear": () => (/* binding */ durationYear)
|
|
20673
20761
|
/* harmony export */ });
|
|
20674
20762
|
const durationSecond = 1000;
|
|
@@ -20950,10 +21038,10 @@ var seconds = second.range;
|
|
|
20950
21038
|
"use strict";
|
|
20951
21039
|
__webpack_require__.r(__webpack_exports__);
|
|
20952
21040
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20953
|
-
/* harmony export */ "
|
|
20954
|
-
/* harmony export */ "utcTickInterval": () => (/* binding */ utcTickInterval),
|
|
21041
|
+
/* harmony export */ "timeTickInterval": () => (/* binding */ timeTickInterval),
|
|
20955
21042
|
/* harmony export */ "timeTicks": () => (/* binding */ timeTicks),
|
|
20956
|
-
/* harmony export */ "
|
|
21043
|
+
/* harmony export */ "utcTickInterval": () => (/* binding */ utcTickInterval),
|
|
21044
|
+
/* harmony export */ "utcTicks": () => (/* binding */ utcTicks)
|
|
20957
21045
|
/* harmony export */ });
|
|
20958
21046
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/bisector.js");
|
|
20959
21047
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
@@ -21180,20 +21268,20 @@ var utcMonths = utcMonth.range;
|
|
|
21180
21268
|
"use strict";
|
|
21181
21269
|
__webpack_require__.r(__webpack_exports__);
|
|
21182
21270
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21183
|
-
/* harmony export */ "utcSunday": () => (/* binding */ utcSunday),
|
|
21184
|
-
/* harmony export */ "utcMonday": () => (/* binding */ utcMonday),
|
|
21185
|
-
/* harmony export */ "utcTuesday": () => (/* binding */ utcTuesday),
|
|
21186
|
-
/* harmony export */ "utcWednesday": () => (/* binding */ utcWednesday),
|
|
21187
|
-
/* harmony export */ "utcThursday": () => (/* binding */ utcThursday),
|
|
21188
21271
|
/* harmony export */ "utcFriday": () => (/* binding */ utcFriday),
|
|
21272
|
+
/* harmony export */ "utcFridays": () => (/* binding */ utcFridays),
|
|
21273
|
+
/* harmony export */ "utcMonday": () => (/* binding */ utcMonday),
|
|
21274
|
+
/* harmony export */ "utcMondays": () => (/* binding */ utcMondays),
|
|
21189
21275
|
/* harmony export */ "utcSaturday": () => (/* binding */ utcSaturday),
|
|
21276
|
+
/* harmony export */ "utcSaturdays": () => (/* binding */ utcSaturdays),
|
|
21277
|
+
/* harmony export */ "utcSunday": () => (/* binding */ utcSunday),
|
|
21190
21278
|
/* harmony export */ "utcSundays": () => (/* binding */ utcSundays),
|
|
21191
|
-
/* harmony export */ "
|
|
21192
|
-
/* harmony export */ "utcTuesdays": () => (/* binding */ utcTuesdays),
|
|
21193
|
-
/* harmony export */ "utcWednesdays": () => (/* binding */ utcWednesdays),
|
|
21279
|
+
/* harmony export */ "utcThursday": () => (/* binding */ utcThursday),
|
|
21194
21280
|
/* harmony export */ "utcThursdays": () => (/* binding */ utcThursdays),
|
|
21195
|
-
/* harmony export */ "
|
|
21196
|
-
/* harmony export */ "
|
|
21281
|
+
/* harmony export */ "utcTuesday": () => (/* binding */ utcTuesday),
|
|
21282
|
+
/* harmony export */ "utcTuesdays": () => (/* binding */ utcTuesdays),
|
|
21283
|
+
/* harmony export */ "utcWednesday": () => (/* binding */ utcWednesday),
|
|
21284
|
+
/* harmony export */ "utcWednesdays": () => (/* binding */ utcWednesdays)
|
|
21197
21285
|
/* harmony export */ });
|
|
21198
21286
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
21199
21287
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -21282,20 +21370,20 @@ var utcYears = utcYear.range;
|
|
|
21282
21370
|
"use strict";
|
|
21283
21371
|
__webpack_require__.r(__webpack_exports__);
|
|
21284
21372
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21285
|
-
/* harmony export */ "sunday": () => (/* binding */ sunday),
|
|
21286
|
-
/* harmony export */ "monday": () => (/* binding */ monday),
|
|
21287
|
-
/* harmony export */ "tuesday": () => (/* binding */ tuesday),
|
|
21288
|
-
/* harmony export */ "wednesday": () => (/* binding */ wednesday),
|
|
21289
|
-
/* harmony export */ "thursday": () => (/* binding */ thursday),
|
|
21290
21373
|
/* harmony export */ "friday": () => (/* binding */ friday),
|
|
21374
|
+
/* harmony export */ "fridays": () => (/* binding */ fridays),
|
|
21375
|
+
/* harmony export */ "monday": () => (/* binding */ monday),
|
|
21376
|
+
/* harmony export */ "mondays": () => (/* binding */ mondays),
|
|
21291
21377
|
/* harmony export */ "saturday": () => (/* binding */ saturday),
|
|
21378
|
+
/* harmony export */ "saturdays": () => (/* binding */ saturdays),
|
|
21379
|
+
/* harmony export */ "sunday": () => (/* binding */ sunday),
|
|
21292
21380
|
/* harmony export */ "sundays": () => (/* binding */ sundays),
|
|
21293
|
-
/* harmony export */ "
|
|
21294
|
-
/* harmony export */ "tuesdays": () => (/* binding */ tuesdays),
|
|
21295
|
-
/* harmony export */ "wednesdays": () => (/* binding */ wednesdays),
|
|
21381
|
+
/* harmony export */ "thursday": () => (/* binding */ thursday),
|
|
21296
21382
|
/* harmony export */ "thursdays": () => (/* binding */ thursdays),
|
|
21297
|
-
/* harmony export */ "
|
|
21298
|
-
/* harmony export */ "
|
|
21383
|
+
/* harmony export */ "tuesday": () => (/* binding */ tuesday),
|
|
21384
|
+
/* harmony export */ "tuesdays": () => (/* binding */ tuesdays),
|
|
21385
|
+
/* harmony export */ "wednesday": () => (/* binding */ wednesday),
|
|
21386
|
+
/* harmony export */ "wednesdays": () => (/* binding */ wednesdays)
|
|
21299
21387
|
/* harmony export */ });
|
|
21300
21388
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
21301
21389
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -21384,8 +21472,8 @@ var years = year.range;
|
|
|
21384
21472
|
"use strict";
|
|
21385
21473
|
__webpack_require__.r(__webpack_exports__);
|
|
21386
21474
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21387
|
-
/* harmony export */ "now": () => (/* binding */ now),
|
|
21388
21475
|
/* harmony export */ "Timer": () => (/* binding */ Timer),
|
|
21476
|
+
/* harmony export */ "now": () => (/* binding */ now),
|
|
21389
21477
|
/* harmony export */ "timer": () => (/* binding */ timer),
|
|
21390
21478
|
/* harmony export */ "timerFlush": () => (/* binding */ timerFlush)
|
|
21391
21479
|
/* harmony export */ });
|