victory-brush-line 36.4.0 → 36.5.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-brush-line.js +558 -459
- package/dist/victory-brush-line.min.js +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +2 -1
- package/es/victory-brush-line.js +10 -12
- package/lib/index.d.ts +1 -1
- package/lib/index.js +2 -1
- package/lib/victory-brush-line.js +9 -12
- package/package.json +6 -6
- package/src/index.d.ts +1 -1
- package/src/victory-brush-line.js +75 -75
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
exports["VictoryBrushLine"] = factory(require("react"));
|
|
8
8
|
else
|
|
9
9
|
root["VictoryBrushLine"] = factory(root["React"]);
|
|
10
|
-
})(self,
|
|
10
|
+
})(self, (__WEBPACK_EXTERNAL_MODULE_react__) => {
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
@@ -32,17 +32,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
32
32
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_3__);
|
|
33
33
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "react");
|
|
34
34
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
|
|
35
|
-
/* harmony import */ var
|
|
36
|
-
/* harmony import */ var
|
|
37
|
-
/* harmony import */ var
|
|
38
|
-
/* harmony import */ var
|
|
39
|
-
/* harmony import */ var
|
|
40
|
-
/* harmony import */ var
|
|
35
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
36
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_10__);
|
|
37
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/scale.js");
|
|
38
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/helpers.js");
|
|
39
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/domain.js");
|
|
40
|
+
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/collection.js");
|
|
41
41
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-primitives/border.js");
|
|
42
42
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-primitives/line-segment.js");
|
|
43
43
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/selection.js");
|
|
44
|
-
/* harmony import */ var
|
|
45
|
-
/* harmony import */ var
|
|
44
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/react-fast-compare/index.js");
|
|
45
|
+
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_5__);
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
|
|
@@ -56,7 +56,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
56
56
|
|
|
57
57
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
58
58
|
|
|
59
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
59
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
60
60
|
|
|
61
61
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
62
62
|
|
|
@@ -66,9 +66,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
66
66
|
|
|
67
67
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
68
68
|
|
|
69
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
70
|
-
|
|
71
|
-
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; }
|
|
69
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
72
70
|
|
|
73
71
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
74
72
|
|
|
@@ -98,9 +96,9 @@ var getScale = function (props) {
|
|
|
98
96
|
return scale[dimension];
|
|
99
97
|
}
|
|
100
98
|
|
|
101
|
-
var fallbackScale =
|
|
102
|
-
var range =
|
|
103
|
-
var domain =
|
|
99
|
+
var fallbackScale = victory_core__WEBPACK_IMPORTED_MODULE_6__.getBaseScale(props, dimension);
|
|
100
|
+
var range = victory_core__WEBPACK_IMPORTED_MODULE_7__.getRange(props, dimension);
|
|
101
|
+
var domain = victory_core__WEBPACK_IMPORTED_MODULE_8__.getDomainFromProps(props, dimension) || [0, 1];
|
|
104
102
|
fallbackScale.range(range).domain(domain);
|
|
105
103
|
return fallbackScale;
|
|
106
104
|
};
|
|
@@ -138,15 +136,15 @@ var getFullDomain = function (props) {
|
|
|
138
136
|
};
|
|
139
137
|
|
|
140
138
|
var withinBound = function (value, bound) {
|
|
141
|
-
return value >=
|
|
139
|
+
return value >= victory_core__WEBPACK_IMPORTED_MODULE_9__.getMinValue(bound) && value <= victory_core__WEBPACK_IMPORTED_MODULE_9__.getMaxValue(bound);
|
|
142
140
|
};
|
|
143
141
|
|
|
144
142
|
var getBrushDomain = function (brushDomain, fullDomain) {
|
|
145
143
|
if (brushDomain) {
|
|
146
|
-
var brushMin =
|
|
147
|
-
var brushMax =
|
|
148
|
-
var domainMin =
|
|
149
|
-
var domainMax =
|
|
144
|
+
var brushMin = victory_core__WEBPACK_IMPORTED_MODULE_9__.getMinValue(brushDomain);
|
|
145
|
+
var brushMax = victory_core__WEBPACK_IMPORTED_MODULE_9__.getMaxValue(brushDomain);
|
|
146
|
+
var domainMin = victory_core__WEBPACK_IMPORTED_MODULE_9__.getMinValue(fullDomain);
|
|
147
|
+
var domainMax = victory_core__WEBPACK_IMPORTED_MODULE_9__.getMaxValue(fullDomain);
|
|
150
148
|
var defaultMin = brushMin < domainMin ? domainMin : domainMax - SMALL_NUMBER;
|
|
151
149
|
var defaultMax = brushMax > domainMax ? domainMax : domainMin + SMALL_NUMBER;
|
|
152
150
|
var min = withinBound(brushMin, fullDomain) ? brushMin : defaultMin;
|
|
@@ -347,16 +345,16 @@ var VictoryBrushLine = /*#__PURE__*/function (_React$Component) {
|
|
|
347
345
|
var style = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, fallbackProps.handleStyle, handleStyle);
|
|
348
346
|
|
|
349
347
|
var minDatum = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({
|
|
350
|
-
handleValue:
|
|
348
|
+
handleValue: victory_core__WEBPACK_IMPORTED_MODULE_9__.getMinValue(brushDomain)
|
|
351
349
|
}, datum);
|
|
352
350
|
|
|
353
351
|
var maxDatum = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({
|
|
354
|
-
handleValue:
|
|
352
|
+
handleValue: victory_core__WEBPACK_IMPORTED_MODULE_9__.getMaxValue(brushDomain)
|
|
355
353
|
}, datum);
|
|
356
354
|
|
|
357
355
|
var minHandleProps = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({
|
|
358
356
|
key: "".concat(id, "-min"),
|
|
359
|
-
style:
|
|
357
|
+
style: victory_core__WEBPACK_IMPORTED_MODULE_7__.evaluateStyle(style, {
|
|
360
358
|
datum: minDatum,
|
|
361
359
|
active: activeBrushes.minHandle
|
|
362
360
|
})
|
|
@@ -364,7 +362,7 @@ var VictoryBrushLine = /*#__PURE__*/function (_React$Component) {
|
|
|
364
362
|
|
|
365
363
|
var maxHandleProps = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({
|
|
366
364
|
key: "".concat(id, "-max"),
|
|
367
|
-
style:
|
|
365
|
+
style: victory_core__WEBPACK_IMPORTED_MODULE_7__.evaluateStyle(style, {
|
|
368
366
|
datum: maxDatum,
|
|
369
367
|
active: activeBrushes.maxHandle
|
|
370
368
|
})
|
|
@@ -392,7 +390,7 @@ var VictoryBrushLine = /*#__PURE__*/function (_React$Component) {
|
|
|
392
390
|
|
|
393
391
|
var baseStyle = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, fallbackProps.brushStyle, brushStyle);
|
|
394
392
|
|
|
395
|
-
var style =
|
|
393
|
+
var style = victory_core__WEBPACK_IMPORTED_MODULE_7__.evaluateStyle(baseStyle, {
|
|
396
394
|
datum: datum,
|
|
397
395
|
active: activeBrushes.brush
|
|
398
396
|
});
|
|
@@ -420,7 +418,7 @@ var VictoryBrushLine = /*#__PURE__*/function (_React$Component) {
|
|
|
420
418
|
cursor: cursor
|
|
421
419
|
}, fallbackProps.brushAreaStyle, brushAreaStyle);
|
|
422
420
|
|
|
423
|
-
var style =
|
|
421
|
+
var style = victory_core__WEBPACK_IMPORTED_MODULE_7__.evaluateStyle(baseStyle, {
|
|
424
422
|
datum: datum,
|
|
425
423
|
active: activeBrushes.brushArea
|
|
426
424
|
});
|
|
@@ -448,50 +446,49 @@ var VictoryBrushLine = /*#__PURE__*/function (_React$Component) {
|
|
|
448
446
|
return VictoryBrushLine;
|
|
449
447
|
}((react__WEBPACK_IMPORTED_MODULE_4___default().Component));
|
|
450
448
|
|
|
451
|
-
|
|
452
|
-
allowDrag: (
|
|
453
|
-
allowDraw: (
|
|
454
|
-
allowResize: (
|
|
455
|
-
brushAreaComponent: (
|
|
456
|
-
brushAreaStyle: (
|
|
457
|
-
brushAreaWidth: (
|
|
458
|
-
brushComponent: (
|
|
459
|
-
brushDimension:
|
|
460
|
-
brushDomain: (
|
|
461
|
-
brushStyle: (
|
|
462
|
-
brushWidth: (
|
|
463
|
-
className: (
|
|
464
|
-
dimension:
|
|
465
|
-
disable: (
|
|
466
|
-
events: (
|
|
467
|
-
groupComponent: (
|
|
468
|
-
handleComponent: (
|
|
469
|
-
handleStyle: (
|
|
470
|
-
handleWidth: (
|
|
471
|
-
id:
|
|
472
|
-
lineComponent: (
|
|
473
|
-
name: (
|
|
474
|
-
onBrushDomainChange: (
|
|
475
|
-
scale: (
|
|
476
|
-
style: (
|
|
477
|
-
type: (
|
|
478
|
-
width: (
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
_defineProperty(VictoryBrushLine, "defaultProps", {
|
|
449
|
+
VictoryBrushLine.propTypes = {
|
|
450
|
+
allowDrag: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().bool),
|
|
451
|
+
allowDraw: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().bool),
|
|
452
|
+
allowResize: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().bool),
|
|
453
|
+
brushAreaComponent: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().element),
|
|
454
|
+
brushAreaStyle: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().object),
|
|
455
|
+
brushAreaWidth: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().number),
|
|
456
|
+
brushComponent: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().element),
|
|
457
|
+
brushDimension: prop_types__WEBPACK_IMPORTED_MODULE_10___default().oneOf(["x", "y"]),
|
|
458
|
+
brushDomain: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().array),
|
|
459
|
+
brushStyle: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().object),
|
|
460
|
+
brushWidth: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().number),
|
|
461
|
+
className: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().string),
|
|
462
|
+
dimension: prop_types__WEBPACK_IMPORTED_MODULE_10___default().oneOf(["x", "y"]),
|
|
463
|
+
disable: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().bool),
|
|
464
|
+
events: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().object),
|
|
465
|
+
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().element),
|
|
466
|
+
handleComponent: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().element),
|
|
467
|
+
handleStyle: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().object),
|
|
468
|
+
handleWidth: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().number),
|
|
469
|
+
id: prop_types__WEBPACK_IMPORTED_MODULE_10___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_10___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_10___default().string)]),
|
|
470
|
+
lineComponent: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().element),
|
|
471
|
+
name: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().string),
|
|
472
|
+
onBrushDomainChange: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().func),
|
|
473
|
+
scale: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().object),
|
|
474
|
+
style: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().object),
|
|
475
|
+
type: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().string),
|
|
476
|
+
width: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().number)
|
|
477
|
+
};
|
|
478
|
+
VictoryBrushLine.defaultProps = {
|
|
482
479
|
allowDrag: true,
|
|
483
480
|
allowDraw: true,
|
|
484
481
|
allowResize: true,
|
|
485
|
-
brushAreaComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__
|
|
486
|
-
brushComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__
|
|
482
|
+
brushAreaComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__.Border, null),
|
|
483
|
+
brushComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__.Border, null),
|
|
487
484
|
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("g", null),
|
|
488
|
-
handleComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__
|
|
485
|
+
handleComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__.Border, null),
|
|
489
486
|
handleWidth: 10,
|
|
490
|
-
lineComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_12__
|
|
487
|
+
lineComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_12__.LineSegment, null),
|
|
491
488
|
width: 10
|
|
492
|
-
}
|
|
489
|
+
};
|
|
493
490
|
|
|
494
|
-
|
|
491
|
+
VictoryBrushLine.defaultEvents = function (props) {
|
|
495
492
|
return props.disable ? undefined : [{
|
|
496
493
|
target: props.type,
|
|
497
494
|
eventHandlers: {
|
|
@@ -508,7 +505,7 @@ _defineProperty(VictoryBrushLine, "defaultEvents", function (props) {
|
|
|
508
505
|
var activeHandle = allowResize && getActiveHandle(targetProps, position, range);
|
|
509
506
|
var activeBrushes = {
|
|
510
507
|
brushArea: !targetProps.brushDomain,
|
|
511
|
-
brush: withinBound(position, range) && !
|
|
508
|
+
brush: withinBound(position, range) && !react_fast_compare__WEBPACK_IMPORTED_MODULE_5___default()(fullDomain, currentDomain),
|
|
512
509
|
minHandle: activeHandle === "min" || activeHandle === "both",
|
|
513
510
|
maxHandle: activeHandle === "min" || activeHandle === "both"
|
|
514
511
|
};
|
|
@@ -555,7 +552,7 @@ _defineProperty(VictoryBrushLine, "defaultEvents", function (props) {
|
|
|
555
552
|
};
|
|
556
553
|
}
|
|
557
554
|
}];
|
|
558
|
-
} else if (withinBound(position, range) && !
|
|
555
|
+
} else if (withinBound(position, range) && !react_fast_compare__WEBPACK_IMPORTED_MODULE_5___default()(fullDomain, currentDomain)) {
|
|
559
556
|
// if the event occurs within a selected region start a panning event, unless the whole
|
|
560
557
|
// domain is selected
|
|
561
558
|
return [{
|
|
@@ -608,7 +605,7 @@ _defineProperty(VictoryBrushLine, "defaultEvents", function (props) {
|
|
|
608
605
|
var activeHandle = getActiveHandle(targetProps, position, initialRange);
|
|
609
606
|
var activeBrushes = {
|
|
610
607
|
brushArea: !targetProps.brushDomain,
|
|
611
|
-
brush: withinBound(position, initialRange) && !
|
|
608
|
+
brush: withinBound(position, initialRange) && !react_fast_compare__WEBPACK_IMPORTED_MODULE_5___default()(fullDomain, domain),
|
|
612
609
|
minHandle: activeHandle === "min" || activeHandle === "both",
|
|
613
610
|
maxHandle: activeHandle === "max" || activeHandle === "both"
|
|
614
611
|
};
|
|
@@ -735,7 +732,7 @@ _defineProperty(VictoryBrushLine, "defaultEvents", function (props) {
|
|
|
735
732
|
}
|
|
736
733
|
}
|
|
737
734
|
}];
|
|
738
|
-
}
|
|
735
|
+
};
|
|
739
736
|
|
|
740
737
|
|
|
741
738
|
|
|
@@ -5790,7 +5787,7 @@ var printWarning = function() {};
|
|
|
5790
5787
|
if (true) {
|
|
5791
5788
|
var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../../node_modules/prop-types/lib/ReactPropTypesSecret.js");
|
|
5792
5789
|
var loggedTypeFailures = {};
|
|
5793
|
-
var has =
|
|
5790
|
+
var has = __webpack_require__(/*! ./lib/has */ "../../../node_modules/prop-types/lib/has.js");
|
|
5794
5791
|
|
|
5795
5792
|
printWarning = function(text) {
|
|
5796
5793
|
var message = 'Warning: ' + text;
|
|
@@ -5802,7 +5799,7 @@ if (true) {
|
|
|
5802
5799
|
// This error was thrown as a convenience so that you can use this stack
|
|
5803
5800
|
// to find the callsite that caused this warning to fire.
|
|
5804
5801
|
throw new Error(message);
|
|
5805
|
-
} catch (x) {}
|
|
5802
|
+
} catch (x) { /**/ }
|
|
5806
5803
|
};
|
|
5807
5804
|
}
|
|
5808
5805
|
|
|
@@ -5831,7 +5828,8 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
|
5831
5828
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
5832
5829
|
var err = Error(
|
|
5833
5830
|
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
5834
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
5831
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
5832
|
+
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
5835
5833
|
);
|
|
5836
5834
|
err.name = 'Invariant Violation';
|
|
5837
5835
|
throw err;
|
|
@@ -5898,13 +5896,13 @@ module.exports = checkPropTypes;
|
|
|
5898
5896
|
|
|
5899
5897
|
|
|
5900
5898
|
|
|
5901
|
-
var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/react-is/index.js");
|
|
5899
|
+
var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/prop-types/node_modules/react-is/index.js");
|
|
5902
5900
|
var assign = __webpack_require__(/*! object-assign */ "../../../node_modules/object-assign/index.js");
|
|
5903
5901
|
|
|
5904
5902
|
var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../../node_modules/prop-types/lib/ReactPropTypesSecret.js");
|
|
5903
|
+
var has = __webpack_require__(/*! ./lib/has */ "../../../node_modules/prop-types/lib/has.js");
|
|
5905
5904
|
var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "../../../node_modules/prop-types/checkPropTypes.js");
|
|
5906
5905
|
|
|
5907
|
-
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
5908
5906
|
var printWarning = function() {};
|
|
5909
5907
|
|
|
5910
5908
|
if (true) {
|
|
@@ -6005,6 +6003,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6005
6003
|
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
6006
6004
|
var ReactPropTypes = {
|
|
6007
6005
|
array: createPrimitiveTypeChecker('array'),
|
|
6006
|
+
bigint: createPrimitiveTypeChecker('bigint'),
|
|
6008
6007
|
bool: createPrimitiveTypeChecker('boolean'),
|
|
6009
6008
|
func: createPrimitiveTypeChecker('function'),
|
|
6010
6009
|
number: createPrimitiveTypeChecker('number'),
|
|
@@ -6050,8 +6049,9 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6050
6049
|
* is prohibitively expensive if they are created too often, such as what
|
|
6051
6050
|
* happens in oneOfType() for any type before the one that matched.
|
|
6052
6051
|
*/
|
|
6053
|
-
function PropTypeError(message) {
|
|
6052
|
+
function PropTypeError(message, data) {
|
|
6054
6053
|
this.message = message;
|
|
6054
|
+
this.data = data && typeof data === 'object' ? data: {};
|
|
6055
6055
|
this.stack = '';
|
|
6056
6056
|
}
|
|
6057
6057
|
// Make `instanceof Error` still work for returned errors.
|
|
@@ -6086,7 +6086,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6086
6086
|
) {
|
|
6087
6087
|
printWarning(
|
|
6088
6088
|
'You are manually calling a React.PropTypes validation ' +
|
|
6089
|
-
'function for the `' + propFullName + '` prop on `' + componentName
|
|
6089
|
+
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
6090
6090
|
'and will throw in the standalone `prop-types` package. ' +
|
|
6091
6091
|
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
6092
6092
|
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
@@ -6125,7 +6125,10 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6125
6125
|
// 'of type `object`'.
|
|
6126
6126
|
var preciseType = getPreciseType(propValue);
|
|
6127
6127
|
|
|
6128
|
-
return new PropTypeError(
|
|
6128
|
+
return new PropTypeError(
|
|
6129
|
+
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
6130
|
+
{expectedType: expectedType}
|
|
6131
|
+
);
|
|
6129
6132
|
}
|
|
6130
6133
|
return null;
|
|
6131
6134
|
}
|
|
@@ -6269,14 +6272,19 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6269
6272
|
}
|
|
6270
6273
|
|
|
6271
6274
|
function validate(props, propName, componentName, location, propFullName) {
|
|
6275
|
+
var expectedTypes = [];
|
|
6272
6276
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
6273
6277
|
var checker = arrayOfTypeCheckers[i];
|
|
6274
|
-
|
|
6278
|
+
var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
|
6279
|
+
if (checkerResult == null) {
|
|
6275
6280
|
return null;
|
|
6276
6281
|
}
|
|
6282
|
+
if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
|
|
6283
|
+
expectedTypes.push(checkerResult.data.expectedType);
|
|
6284
|
+
}
|
|
6277
6285
|
}
|
|
6278
|
-
|
|
6279
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '
|
|
6286
|
+
var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
|
|
6287
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
|
|
6280
6288
|
}
|
|
6281
6289
|
return createChainableTypeChecker(validate);
|
|
6282
6290
|
}
|
|
@@ -6291,6 +6299,13 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6291
6299
|
return createChainableTypeChecker(validate);
|
|
6292
6300
|
}
|
|
6293
6301
|
|
|
6302
|
+
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
6303
|
+
return new PropTypeError(
|
|
6304
|
+
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
6305
|
+
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
6306
|
+
);
|
|
6307
|
+
}
|
|
6308
|
+
|
|
6294
6309
|
function createShapeTypeChecker(shapeTypes) {
|
|
6295
6310
|
function validate(props, propName, componentName, location, propFullName) {
|
|
6296
6311
|
var propValue = props[propName];
|
|
@@ -6300,8 +6315,8 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6300
6315
|
}
|
|
6301
6316
|
for (var key in shapeTypes) {
|
|
6302
6317
|
var checker = shapeTypes[key];
|
|
6303
|
-
if (
|
|
6304
|
-
|
|
6318
|
+
if (typeof checker !== 'function') {
|
|
6319
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
6305
6320
|
}
|
|
6306
6321
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
6307
6322
|
if (error) {
|
|
@@ -6320,16 +6335,18 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6320
6335
|
if (propType !== 'object') {
|
|
6321
6336
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
6322
6337
|
}
|
|
6323
|
-
// We need to check all keys in case some are required but missing from
|
|
6324
|
-
// props.
|
|
6338
|
+
// We need to check all keys in case some are required but missing from props.
|
|
6325
6339
|
var allKeys = assign({}, props[propName], shapeTypes);
|
|
6326
6340
|
for (var key in allKeys) {
|
|
6327
6341
|
var checker = shapeTypes[key];
|
|
6342
|
+
if (has(shapeTypes, key) && typeof checker !== 'function') {
|
|
6343
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
6344
|
+
}
|
|
6328
6345
|
if (!checker) {
|
|
6329
6346
|
return new PropTypeError(
|
|
6330
6347
|
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
6331
6348
|
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
6332
|
-
'\nValid keys: ' +
|
|
6349
|
+
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
6333
6350
|
);
|
|
6334
6351
|
}
|
|
6335
6352
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
@@ -6498,7 +6515,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
6498
6515
|
*/
|
|
6499
6516
|
|
|
6500
6517
|
if (true) {
|
|
6501
|
-
var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/react-is/index.js");
|
|
6518
|
+
var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/prop-types/node_modules/react-is/index.js");
|
|
6502
6519
|
|
|
6503
6520
|
// By explicitly using `prop-types` you are opting into new development behavior.
|
|
6504
6521
|
// http://fb.me/prop-types-in-prod
|
|
@@ -6532,115 +6549,21 @@ module.exports = ReactPropTypesSecret;
|
|
|
6532
6549
|
|
|
6533
6550
|
/***/ }),
|
|
6534
6551
|
|
|
6535
|
-
/***/ "../../../node_modules/
|
|
6536
|
-
|
|
6537
|
-
!*** ../../../node_modules/
|
|
6538
|
-
|
|
6552
|
+
/***/ "../../../node_modules/prop-types/lib/has.js":
|
|
6553
|
+
/*!***************************************************!*\
|
|
6554
|
+
!*** ../../../node_modules/prop-types/lib/has.js ***!
|
|
6555
|
+
\***************************************************/
|
|
6539
6556
|
/***/ ((module) => {
|
|
6540
6557
|
|
|
6541
|
-
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
var isArray = Array.isArray;
|
|
6545
|
-
var keyList = Object.keys;
|
|
6546
|
-
var hasProp = Object.prototype.hasOwnProperty;
|
|
6547
|
-
var hasElementType = typeof Element !== 'undefined';
|
|
6548
|
-
|
|
6549
|
-
function equal(a, b) {
|
|
6550
|
-
// fast-deep-equal index.js 2.0.1
|
|
6551
|
-
if (a === b) return true;
|
|
6552
|
-
|
|
6553
|
-
if (a && b && typeof a == 'object' && typeof b == 'object') {
|
|
6554
|
-
var arrA = isArray(a)
|
|
6555
|
-
, arrB = isArray(b)
|
|
6556
|
-
, i
|
|
6557
|
-
, length
|
|
6558
|
-
, key;
|
|
6559
|
-
|
|
6560
|
-
if (arrA && arrB) {
|
|
6561
|
-
length = a.length;
|
|
6562
|
-
if (length != b.length) return false;
|
|
6563
|
-
for (i = length; i-- !== 0;)
|
|
6564
|
-
if (!equal(a[i], b[i])) return false;
|
|
6565
|
-
return true;
|
|
6566
|
-
}
|
|
6567
|
-
|
|
6568
|
-
if (arrA != arrB) return false;
|
|
6569
|
-
|
|
6570
|
-
var dateA = a instanceof Date
|
|
6571
|
-
, dateB = b instanceof Date;
|
|
6572
|
-
if (dateA != dateB) return false;
|
|
6573
|
-
if (dateA && dateB) return a.getTime() == b.getTime();
|
|
6574
|
-
|
|
6575
|
-
var regexpA = a instanceof RegExp
|
|
6576
|
-
, regexpB = b instanceof RegExp;
|
|
6577
|
-
if (regexpA != regexpB) return false;
|
|
6578
|
-
if (regexpA && regexpB) return a.toString() == b.toString();
|
|
6579
|
-
|
|
6580
|
-
var keys = keyList(a);
|
|
6581
|
-
length = keys.length;
|
|
6582
|
-
|
|
6583
|
-
if (length !== keyList(b).length)
|
|
6584
|
-
return false;
|
|
6585
|
-
|
|
6586
|
-
for (i = length; i-- !== 0;)
|
|
6587
|
-
if (!hasProp.call(b, keys[i])) return false;
|
|
6588
|
-
// end fast-deep-equal
|
|
6589
|
-
|
|
6590
|
-
// start react-fast-compare
|
|
6591
|
-
// custom handling for DOM elements
|
|
6592
|
-
if (hasElementType && a instanceof Element && b instanceof Element)
|
|
6593
|
-
return a === b;
|
|
6594
|
-
|
|
6595
|
-
// custom handling for React
|
|
6596
|
-
for (i = length; i-- !== 0;) {
|
|
6597
|
-
key = keys[i];
|
|
6598
|
-
if (key === '_owner' && a.$$typeof) {
|
|
6599
|
-
// React-specific: avoid traversing React elements' _owner.
|
|
6600
|
-
// _owner contains circular references
|
|
6601
|
-
// and is not needed when comparing the actual elements (and not their owners)
|
|
6602
|
-
// .$$typeof and ._store on just reasonable markers of a react element
|
|
6603
|
-
continue;
|
|
6604
|
-
} else {
|
|
6605
|
-
// all other properties should be traversed as usual
|
|
6606
|
-
if (!equal(a[key], b[key])) return false;
|
|
6607
|
-
}
|
|
6608
|
-
}
|
|
6609
|
-
// end react-fast-compare
|
|
6610
|
-
|
|
6611
|
-
// fast-deep-equal index.js 2.0.1
|
|
6612
|
-
return true;
|
|
6613
|
-
}
|
|
6614
|
-
|
|
6615
|
-
return a !== a && b !== b;
|
|
6616
|
-
}
|
|
6617
|
-
// end fast-deep-equal
|
|
6618
|
-
|
|
6619
|
-
module.exports = function exportedEqual(a, b) {
|
|
6620
|
-
try {
|
|
6621
|
-
return equal(a, b);
|
|
6622
|
-
} catch (error) {
|
|
6623
|
-
if ((error.message && error.message.match(/stack|recursion/i)) || (error.number === -2146828260)) {
|
|
6624
|
-
// warn on circular references, don't crash
|
|
6625
|
-
// browsers give this different errors name and messages:
|
|
6626
|
-
// chrome/safari: "RangeError", "Maximum call stack size exceeded"
|
|
6627
|
-
// firefox: "InternalError", too much recursion"
|
|
6628
|
-
// edge: "Error", "Out of stack space"
|
|
6629
|
-
console.warn('Warning: react-fast-compare does not handle circular references.', error.name, error.message);
|
|
6630
|
-
return false;
|
|
6631
|
-
}
|
|
6632
|
-
// some other error. we should definitely know about these
|
|
6633
|
-
throw error;
|
|
6634
|
-
}
|
|
6635
|
-
};
|
|
6558
|
+
module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
6636
6559
|
|
|
6637
6560
|
|
|
6638
6561
|
/***/ }),
|
|
6639
6562
|
|
|
6640
|
-
/***/ "../../../node_modules/react-is/cjs/react-is.development.js":
|
|
6641
|
-
|
|
6642
|
-
!*** ../../../node_modules/react-is/cjs/react-is.development.js ***!
|
|
6643
|
-
|
|
6563
|
+
/***/ "../../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js":
|
|
6564
|
+
/*!******************************************************************************************!*\
|
|
6565
|
+
!*** ../../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js ***!
|
|
6566
|
+
\******************************************************************************************/
|
|
6644
6567
|
/***/ ((__unused_webpack_module, exports) => {
|
|
6645
6568
|
|
|
6646
6569
|
"use strict";
|
|
@@ -6829,20 +6752,164 @@ exports.typeOf = typeOf;
|
|
|
6829
6752
|
|
|
6830
6753
|
/***/ }),
|
|
6831
6754
|
|
|
6832
|
-
/***/ "../../../node_modules/react-is/index.js":
|
|
6833
|
-
|
|
6834
|
-
!*** ../../../node_modules/react-is/index.js ***!
|
|
6835
|
-
|
|
6755
|
+
/***/ "../../../node_modules/prop-types/node_modules/react-is/index.js":
|
|
6756
|
+
/*!***********************************************************************!*\
|
|
6757
|
+
!*** ../../../node_modules/prop-types/node_modules/react-is/index.js ***!
|
|
6758
|
+
\***********************************************************************/
|
|
6836
6759
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6837
6760
|
|
|
6838
6761
|
"use strict";
|
|
6839
6762
|
|
|
6840
6763
|
|
|
6841
6764
|
if (false) {} else {
|
|
6842
|
-
module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "../../../node_modules/react-is/cjs/react-is.development.js");
|
|
6765
|
+
module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "../../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js");
|
|
6843
6766
|
}
|
|
6844
6767
|
|
|
6845
6768
|
|
|
6769
|
+
/***/ }),
|
|
6770
|
+
|
|
6771
|
+
/***/ "../../../node_modules/react-fast-compare/index.js":
|
|
6772
|
+
/*!*********************************************************!*\
|
|
6773
|
+
!*** ../../../node_modules/react-fast-compare/index.js ***!
|
|
6774
|
+
\*********************************************************/
|
|
6775
|
+
/***/ ((module) => {
|
|
6776
|
+
|
|
6777
|
+
/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */
|
|
6778
|
+
|
|
6779
|
+
var hasElementType = typeof Element !== 'undefined';
|
|
6780
|
+
var hasMap = typeof Map === 'function';
|
|
6781
|
+
var hasSet = typeof Set === 'function';
|
|
6782
|
+
var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;
|
|
6783
|
+
|
|
6784
|
+
// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js
|
|
6785
|
+
|
|
6786
|
+
function equal(a, b) {
|
|
6787
|
+
// START: fast-deep-equal es6/index.js 3.1.1
|
|
6788
|
+
if (a === b) return true;
|
|
6789
|
+
|
|
6790
|
+
if (a && b && typeof a == 'object' && typeof b == 'object') {
|
|
6791
|
+
if (a.constructor !== b.constructor) return false;
|
|
6792
|
+
|
|
6793
|
+
var length, i, keys;
|
|
6794
|
+
if (Array.isArray(a)) {
|
|
6795
|
+
length = a.length;
|
|
6796
|
+
if (length != b.length) return false;
|
|
6797
|
+
for (i = length; i-- !== 0;)
|
|
6798
|
+
if (!equal(a[i], b[i])) return false;
|
|
6799
|
+
return true;
|
|
6800
|
+
}
|
|
6801
|
+
|
|
6802
|
+
// START: Modifications:
|
|
6803
|
+
// 1. Extra `has<Type> &&` helpers in initial condition allow es6 code
|
|
6804
|
+
// to co-exist with es5.
|
|
6805
|
+
// 2. Replace `for of` with es5 compliant iteration using `for`.
|
|
6806
|
+
// Basically, take:
|
|
6807
|
+
//
|
|
6808
|
+
// ```js
|
|
6809
|
+
// for (i of a.entries())
|
|
6810
|
+
// if (!b.has(i[0])) return false;
|
|
6811
|
+
// ```
|
|
6812
|
+
//
|
|
6813
|
+
// ... and convert to:
|
|
6814
|
+
//
|
|
6815
|
+
// ```js
|
|
6816
|
+
// it = a.entries();
|
|
6817
|
+
// while (!(i = it.next()).done)
|
|
6818
|
+
// if (!b.has(i.value[0])) return false;
|
|
6819
|
+
// ```
|
|
6820
|
+
//
|
|
6821
|
+
// **Note**: `i` access switches to `i.value`.
|
|
6822
|
+
var it;
|
|
6823
|
+
if (hasMap && (a instanceof Map) && (b instanceof Map)) {
|
|
6824
|
+
if (a.size !== b.size) return false;
|
|
6825
|
+
it = a.entries();
|
|
6826
|
+
while (!(i = it.next()).done)
|
|
6827
|
+
if (!b.has(i.value[0])) return false;
|
|
6828
|
+
it = a.entries();
|
|
6829
|
+
while (!(i = it.next()).done)
|
|
6830
|
+
if (!equal(i.value[1], b.get(i.value[0]))) return false;
|
|
6831
|
+
return true;
|
|
6832
|
+
}
|
|
6833
|
+
|
|
6834
|
+
if (hasSet && (a instanceof Set) && (b instanceof Set)) {
|
|
6835
|
+
if (a.size !== b.size) return false;
|
|
6836
|
+
it = a.entries();
|
|
6837
|
+
while (!(i = it.next()).done)
|
|
6838
|
+
if (!b.has(i.value[0])) return false;
|
|
6839
|
+
return true;
|
|
6840
|
+
}
|
|
6841
|
+
// END: Modifications
|
|
6842
|
+
|
|
6843
|
+
if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
|
|
6844
|
+
length = a.length;
|
|
6845
|
+
if (length != b.length) return false;
|
|
6846
|
+
for (i = length; i-- !== 0;)
|
|
6847
|
+
if (a[i] !== b[i]) return false;
|
|
6848
|
+
return true;
|
|
6849
|
+
}
|
|
6850
|
+
|
|
6851
|
+
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
|
|
6852
|
+
if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
|
|
6853
|
+
if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
|
|
6854
|
+
|
|
6855
|
+
keys = Object.keys(a);
|
|
6856
|
+
length = keys.length;
|
|
6857
|
+
if (length !== Object.keys(b).length) return false;
|
|
6858
|
+
|
|
6859
|
+
for (i = length; i-- !== 0;)
|
|
6860
|
+
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
6861
|
+
// END: fast-deep-equal
|
|
6862
|
+
|
|
6863
|
+
// START: react-fast-compare
|
|
6864
|
+
// custom handling for DOM elements
|
|
6865
|
+
if (hasElementType && a instanceof Element) return false;
|
|
6866
|
+
|
|
6867
|
+
// custom handling for React/Preact
|
|
6868
|
+
for (i = length; i-- !== 0;) {
|
|
6869
|
+
if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {
|
|
6870
|
+
// React-specific: avoid traversing React elements' _owner
|
|
6871
|
+
// Preact-specific: avoid traversing Preact elements' __v and __o
|
|
6872
|
+
// __v = $_original / $_vnode
|
|
6873
|
+
// __o = $_owner
|
|
6874
|
+
// These properties contain circular references and are not needed when
|
|
6875
|
+
// comparing the actual elements (and not their owners)
|
|
6876
|
+
// .$$typeof and ._store on just reasonable markers of elements
|
|
6877
|
+
|
|
6878
|
+
continue;
|
|
6879
|
+
}
|
|
6880
|
+
|
|
6881
|
+
// all other properties should be traversed as usual
|
|
6882
|
+
if (!equal(a[keys[i]], b[keys[i]])) return false;
|
|
6883
|
+
}
|
|
6884
|
+
// END: react-fast-compare
|
|
6885
|
+
|
|
6886
|
+
// START: fast-deep-equal
|
|
6887
|
+
return true;
|
|
6888
|
+
}
|
|
6889
|
+
|
|
6890
|
+
return a !== a && b !== b;
|
|
6891
|
+
}
|
|
6892
|
+
// end fast-deep-equal
|
|
6893
|
+
|
|
6894
|
+
module.exports = function isEqual(a, b) {
|
|
6895
|
+
try {
|
|
6896
|
+
return equal(a, b);
|
|
6897
|
+
} catch (error) {
|
|
6898
|
+
if (((error.message || '').match(/stack|recursion/i))) {
|
|
6899
|
+
// warn on circular references, don't crash
|
|
6900
|
+
// browsers give this different errors name and messages:
|
|
6901
|
+
// chrome/safari: "RangeError", "Maximum call stack size exceeded"
|
|
6902
|
+
// firefox: "InternalError", too much recursion"
|
|
6903
|
+
// edge: "Error", "Out of stack space"
|
|
6904
|
+
console.warn('react-fast-compare cannot handle circular refs');
|
|
6905
|
+
return false;
|
|
6906
|
+
}
|
|
6907
|
+
// some other error. we should definitely know about these
|
|
6908
|
+
throw error;
|
|
6909
|
+
}
|
|
6910
|
+
};
|
|
6911
|
+
|
|
6912
|
+
|
|
6846
6913
|
/***/ }),
|
|
6847
6914
|
|
|
6848
6915
|
/***/ "../../victory-core/es/victory-primitives/border.js":
|
|
@@ -6854,16 +6921,16 @@ if (false) {} else {
|
|
|
6854
6921
|
"use strict";
|
|
6855
6922
|
__webpack_require__.r(__webpack_exports__);
|
|
6856
6923
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6857
|
-
/* harmony export */ "
|
|
6924
|
+
/* harmony export */ "Border": () => (/* binding */ Border)
|
|
6858
6925
|
/* harmony export */ });
|
|
6859
6926
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/assign */ "../../../node_modules/lodash/assign.js");
|
|
6860
6927
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__);
|
|
6861
6928
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
6862
6929
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
6863
|
-
/* harmony import */ var
|
|
6864
|
-
/* harmony import */ var
|
|
6865
|
-
/* harmony import */ var
|
|
6866
|
-
/* harmony import */ var
|
|
6930
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
6931
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
6932
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
6933
|
+
/* harmony import */ var _victory_util_common_props__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../victory-util/common-props */ "../../victory-core/es/victory-util/common-props.js");
|
|
6867
6934
|
/* harmony import */ var _rect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./rect */ "../../victory-core/es/victory-primitives/rect.js");
|
|
6868
6935
|
|
|
6869
6936
|
|
|
@@ -6888,13 +6955,13 @@ var evaluateProps = function (props) {
|
|
|
6888
6955
|
* `style`
|
|
6889
6956
|
* `tabIndex`
|
|
6890
6957
|
*/
|
|
6891
|
-
var ariaLabel =
|
|
6892
|
-
var desc =
|
|
6893
|
-
var id =
|
|
6894
|
-
var style =
|
|
6958
|
+
var ariaLabel = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.ariaLabel, props);
|
|
6959
|
+
var desc = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.desc, props);
|
|
6960
|
+
var id = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.id, props);
|
|
6961
|
+
var style = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__.evaluateStyle(lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({
|
|
6895
6962
|
fill: "none"
|
|
6896
6963
|
}, props.style), props);
|
|
6897
|
-
var tabIndex =
|
|
6964
|
+
var tabIndex = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.tabIndex, props);
|
|
6898
6965
|
return lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, {
|
|
6899
6966
|
ariaLabel: ariaLabel,
|
|
6900
6967
|
desc: desc,
|
|
@@ -6922,20 +6989,19 @@ var Border = function (props) {
|
|
|
6922
6989
|
clipPath: props.clipPath
|
|
6923
6990
|
}));
|
|
6924
6991
|
};
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
|
|
6928
|
-
|
|
6929
|
-
|
|
6930
|
-
|
|
6931
|
-
y: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number)
|
|
6992
|
+
Border.propTypes = _objectSpread(_objectSpread({}, _victory_util_common_props__WEBPACK_IMPORTED_MODULE_3__.CommonProps.primitiveProps), {}, {
|
|
6993
|
+
height: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
6994
|
+
rectComponent: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().element),
|
|
6995
|
+
width: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
6996
|
+
x: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
6997
|
+
y: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number)
|
|
6932
6998
|
});
|
|
6933
6999
|
Border.defaultProps = {
|
|
6934
|
-
rectComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_rect__WEBPACK_IMPORTED_MODULE_5__
|
|
7000
|
+
rectComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_rect__WEBPACK_IMPORTED_MODULE_5__.Rect, null),
|
|
6935
7001
|
role: "presentation",
|
|
6936
7002
|
shapeRendering: "auto"
|
|
6937
7003
|
};
|
|
6938
|
-
|
|
7004
|
+
//# sourceMappingURL=border.js.map
|
|
6939
7005
|
|
|
6940
7006
|
/***/ }),
|
|
6941
7007
|
|
|
@@ -6948,16 +7014,16 @@ Border.defaultProps = {
|
|
|
6948
7014
|
"use strict";
|
|
6949
7015
|
__webpack_require__.r(__webpack_exports__);
|
|
6950
7016
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6951
|
-
/* harmony export */ "
|
|
7017
|
+
/* harmony export */ "LineSegment": () => (/* binding */ LineSegment)
|
|
6952
7018
|
/* harmony export */ });
|
|
6953
7019
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/assign */ "../../../node_modules/lodash/assign.js");
|
|
6954
7020
|
/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__);
|
|
6955
7021
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
6956
7022
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
6957
|
-
/* harmony import */ var
|
|
6958
|
-
/* harmony import */ var
|
|
6959
|
-
/* harmony import */ var
|
|
6960
|
-
/* harmony import */ var
|
|
7023
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
7024
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
7025
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
7026
|
+
/* harmony import */ var _victory_util_common_props__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../victory-util/common-props */ "../../victory-core/es/victory-util/common-props.js");
|
|
6961
7027
|
/* harmony import */ var _line__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./line */ "../../victory-core/es/victory-primitives/line.js");
|
|
6962
7028
|
|
|
6963
7029
|
|
|
@@ -6982,13 +7048,13 @@ var evaluateProps = function (props) {
|
|
|
6982
7048
|
* `style`
|
|
6983
7049
|
* `tabIndex`
|
|
6984
7050
|
*/
|
|
6985
|
-
var ariaLabel =
|
|
6986
|
-
var desc =
|
|
6987
|
-
var id =
|
|
6988
|
-
var style =
|
|
7051
|
+
var ariaLabel = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.ariaLabel, props);
|
|
7052
|
+
var desc = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.desc, props);
|
|
7053
|
+
var id = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.id, props);
|
|
7054
|
+
var style = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__.evaluateStyle(lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({
|
|
6989
7055
|
stroke: "black"
|
|
6990
7056
|
}, props.style), props);
|
|
6991
|
-
var tabIndex =
|
|
7057
|
+
var tabIndex = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.tabIndex, props);
|
|
6992
7058
|
return lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, {
|
|
6993
7059
|
ariaLabel: ariaLabel,
|
|
6994
7060
|
desc: desc,
|
|
@@ -7016,21 +7082,20 @@ var LineSegment = function (props) {
|
|
|
7016
7082
|
clipPath: props.clipPath
|
|
7017
7083
|
}));
|
|
7018
7084
|
};
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
y2: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number)
|
|
7085
|
+
LineSegment.propTypes = _objectSpread(_objectSpread({}, _victory_util_common_props__WEBPACK_IMPORTED_MODULE_3__.CommonProps.primitiveProps), {}, {
|
|
7086
|
+
datum: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().any),
|
|
7087
|
+
lineComponent: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().element),
|
|
7088
|
+
x1: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
7089
|
+
x2: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
7090
|
+
y1: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
7091
|
+
y2: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number)
|
|
7027
7092
|
});
|
|
7028
7093
|
LineSegment.defaultProps = {
|
|
7029
|
-
lineComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_line__WEBPACK_IMPORTED_MODULE_5__
|
|
7094
|
+
lineComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_line__WEBPACK_IMPORTED_MODULE_5__.Line, null),
|
|
7030
7095
|
role: "presentation",
|
|
7031
7096
|
shapeRendering: "auto"
|
|
7032
7097
|
};
|
|
7033
|
-
|
|
7098
|
+
//# sourceMappingURL=line-segment.js.map
|
|
7034
7099
|
|
|
7035
7100
|
/***/ }),
|
|
7036
7101
|
|
|
@@ -7043,33 +7108,37 @@ LineSegment.defaultProps = {
|
|
|
7043
7108
|
"use strict";
|
|
7044
7109
|
__webpack_require__.r(__webpack_exports__);
|
|
7045
7110
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7046
|
-
/* harmony export */ "
|
|
7111
|
+
/* harmony export */ "Line": () => (/* binding */ Line)
|
|
7047
7112
|
/* harmony export */ });
|
|
7048
7113
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
7049
7114
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
7050
7115
|
var _excluded = ["desc"];
|
|
7051
7116
|
|
|
7052
|
-
function _extends() { _extends = Object.assign
|
|
7117
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
7053
7118
|
|
|
7054
7119
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
7055
7120
|
|
|
7056
7121
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
7057
7122
|
|
|
7058
7123
|
|
|
7059
|
-
|
|
7060
7124
|
var Line = function (props) {
|
|
7061
7125
|
// eslint-disable-next-line react/prop-types
|
|
7062
7126
|
var desc = props.desc,
|
|
7063
7127
|
rest = _objectWithoutProperties(props, _excluded);
|
|
7064
7128
|
|
|
7065
|
-
return desc ?
|
|
7129
|
+
return desc ?
|
|
7130
|
+
/*#__PURE__*/
|
|
7131
|
+
// @ts-expect-error FIXME: "id cannot be a number"
|
|
7132
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("line", _extends({
|
|
7066
7133
|
vectorEffect: "non-scaling-stroke"
|
|
7067
|
-
}, rest), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("desc", null, desc)) :
|
|
7134
|
+
}, rest), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("desc", null, desc)) :
|
|
7135
|
+
/*#__PURE__*/
|
|
7136
|
+
// @ts-expect-error FIXME: "id cannot be a number"
|
|
7137
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("line", _extends({
|
|
7068
7138
|
vectorEffect: "non-scaling-stroke"
|
|
7069
7139
|
}, rest));
|
|
7070
7140
|
};
|
|
7071
|
-
|
|
7072
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Line);
|
|
7141
|
+
//# sourceMappingURL=line.js.map
|
|
7073
7142
|
|
|
7074
7143
|
/***/ }),
|
|
7075
7144
|
|
|
@@ -7082,33 +7151,37 @@ var Line = function (props) {
|
|
|
7082
7151
|
"use strict";
|
|
7083
7152
|
__webpack_require__.r(__webpack_exports__);
|
|
7084
7153
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7085
|
-
/* harmony export */ "
|
|
7154
|
+
/* harmony export */ "Rect": () => (/* binding */ Rect)
|
|
7086
7155
|
/* harmony export */ });
|
|
7087
7156
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
7088
7157
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
7089
7158
|
var _excluded = ["desc"];
|
|
7090
7159
|
|
|
7091
|
-
function _extends() { _extends = Object.assign
|
|
7160
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
7092
7161
|
|
|
7093
7162
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
7094
7163
|
|
|
7095
7164
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
7096
7165
|
|
|
7097
7166
|
|
|
7098
|
-
|
|
7099
7167
|
var Rect = function (props) {
|
|
7100
7168
|
// eslint-disable-next-line react/prop-types
|
|
7101
7169
|
var desc = props.desc,
|
|
7102
7170
|
rest = _objectWithoutProperties(props, _excluded);
|
|
7103
7171
|
|
|
7104
|
-
return desc ?
|
|
7172
|
+
return desc ?
|
|
7173
|
+
/*#__PURE__*/
|
|
7174
|
+
// @ts-expect-error FIXME: "id cannot be a number"
|
|
7175
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("rect", _extends({
|
|
7105
7176
|
vectorEffect: "non-scaling-stroke"
|
|
7106
|
-
}, rest), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("desc", null, desc)) :
|
|
7177
|
+
}, rest), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("desc", null, desc)) :
|
|
7178
|
+
/*#__PURE__*/
|
|
7179
|
+
// @ts-expect-error FIXME: "id cannot be a number"
|
|
7180
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("rect", _extends({
|
|
7107
7181
|
vectorEffect: "non-scaling-stroke"
|
|
7108
7182
|
}, rest));
|
|
7109
7183
|
};
|
|
7110
|
-
|
|
7111
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Rect);
|
|
7184
|
+
//# sourceMappingURL=rect.js.map
|
|
7112
7185
|
|
|
7113
7186
|
/***/ }),
|
|
7114
7187
|
|
|
@@ -7121,14 +7194,14 @@ var Rect = function (props) {
|
|
|
7121
7194
|
"use strict";
|
|
7122
7195
|
__webpack_require__.r(__webpack_exports__);
|
|
7123
7196
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7124
|
-
/* harmony export */ "containsStrings": () => (/* binding */ containsStrings),
|
|
7125
7197
|
/* harmony export */ "containsDates": () => (/* binding */ containsDates),
|
|
7126
7198
|
/* harmony export */ "containsNumbers": () => (/* binding */ containsNumbers),
|
|
7127
7199
|
/* harmony export */ "containsOnlyStrings": () => (/* binding */ containsOnlyStrings),
|
|
7128
|
-
/* harmony export */ "
|
|
7129
|
-
/* harmony export */ "removeUndefined": () => (/* binding */ removeUndefined),
|
|
7200
|
+
/* harmony export */ "containsStrings": () => (/* binding */ containsStrings),
|
|
7130
7201
|
/* harmony export */ "getMaxValue": () => (/* binding */ getMaxValue),
|
|
7131
|
-
/* harmony export */ "getMinValue": () => (/* binding */ getMinValue)
|
|
7202
|
+
/* harmony export */ "getMinValue": () => (/* binding */ getMinValue),
|
|
7203
|
+
/* harmony export */ "isArrayOfArrays": () => (/* binding */ isArrayOfArrays),
|
|
7204
|
+
/* harmony export */ "removeUndefined": () => (/* binding */ removeUndefined)
|
|
7132
7205
|
/* harmony export */ });
|
|
7133
7206
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
7134
7207
|
|
|
@@ -7142,9 +7215,6 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
|
|
|
7142
7215
|
|
|
7143
7216
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
7144
7217
|
|
|
7145
|
-
/* eslint-disable func-style */
|
|
7146
|
-
|
|
7147
|
-
/* eslint-disable no-use-before-define */
|
|
7148
7218
|
function isNonEmptyArray(collection) {
|
|
7149
7219
|
return Array.isArray(collection) && collection.length > 0;
|
|
7150
7220
|
}
|
|
@@ -7183,7 +7253,8 @@ function getMaxValue(arr) {
|
|
|
7183
7253
|
}
|
|
7184
7254
|
|
|
7185
7255
|
var array = arr.concat(values);
|
|
7186
|
-
return containsDates(array) ? new Date(Math.max.apply(Math, _toConsumableArray(array)))
|
|
7256
|
+
return containsDates(array) ? new Date(Math.max.apply(Math, _toConsumableArray(array))) // Dates will be coerced to numbers
|
|
7257
|
+
: Math.max.apply(Math, _toConsumableArray(array));
|
|
7187
7258
|
}
|
|
7188
7259
|
function getMinValue(arr) {
|
|
7189
7260
|
for (var _len2 = arguments.length, values = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
@@ -7191,8 +7262,10 @@ function getMinValue(arr) {
|
|
|
7191
7262
|
}
|
|
7192
7263
|
|
|
7193
7264
|
var array = arr.concat(values);
|
|
7194
|
-
return containsDates(array) ? new Date(Math.min.apply(Math, _toConsumableArray(array)))
|
|
7265
|
+
return containsDates(array) ? new Date(Math.min.apply(Math, _toConsumableArray(array))) // Dates will be coerced to numbers
|
|
7266
|
+
: Math.min.apply(Math, _toConsumableArray(array));
|
|
7195
7267
|
}
|
|
7268
|
+
//# sourceMappingURL=collection.js.map
|
|
7196
7269
|
|
|
7197
7270
|
/***/ }),
|
|
7198
7271
|
|
|
@@ -7205,9 +7278,7 @@ function getMinValue(arr) {
|
|
|
7205
7278
|
"use strict";
|
|
7206
7279
|
__webpack_require__.r(__webpack_exports__);
|
|
7207
7280
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7208
|
-
/* harmony export */ "
|
|
7209
|
-
/* harmony export */ "baseProps": () => (/* binding */ baseProps),
|
|
7210
|
-
/* harmony export */ "primitiveProps": () => (/* binding */ primitiveProps)
|
|
7281
|
+
/* harmony export */ "CommonProps": () => (/* binding */ CommonProps)
|
|
7211
7282
|
/* harmony export */ });
|
|
7212
7283
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
7213
7284
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -7215,26 +7286,28 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7215
7286
|
|
|
7216
7287
|
|
|
7217
7288
|
var dataProps = {
|
|
7289
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7218
7290
|
categories: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)), prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7219
7291
|
x: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)),
|
|
7220
7292
|
y: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string))
|
|
7221
7293
|
})]),
|
|
7294
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7222
7295
|
data: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().array), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)]),
|
|
7223
7296
|
dataComponent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),
|
|
7224
7297
|
disableInlineStyles: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
|
7225
7298
|
labelComponent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),
|
|
7226
7299
|
labels: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().array)]),
|
|
7227
7300
|
samples: _prop_types__WEBPACK_IMPORTED_MODULE_1__.nonNegative,
|
|
7228
|
-
sortKey: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), _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), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string))]),
|
|
7301
|
+
sortKey: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), _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), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string.isRequired))]),
|
|
7229
7302
|
sortOrder: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(["ascending", "descending"]),
|
|
7230
7303
|
style: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7231
7304
|
parent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
|
|
7232
7305
|
data: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
|
|
7233
7306
|
labels: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)
|
|
7234
7307
|
}),
|
|
7235
|
-
x: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), _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), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string))]),
|
|
7236
|
-
y: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), _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), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string))]),
|
|
7237
|
-
y0: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), _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), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string))])
|
|
7308
|
+
x: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), _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), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string.isRequired))]),
|
|
7309
|
+
y: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), _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), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string.isRequired))]),
|
|
7310
|
+
y0: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), _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), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string.isRequired))])
|
|
7238
7311
|
};
|
|
7239
7312
|
var baseProps = {
|
|
7240
7313
|
animate: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)]),
|
|
@@ -7243,14 +7316,17 @@ var baseProps = {
|
|
|
7243
7316
|
x: _prop_types__WEBPACK_IMPORTED_MODULE_1__.domain,
|
|
7244
7317
|
y: _prop_types__WEBPACK_IMPORTED_MODULE_1__.domain
|
|
7245
7318
|
})]),
|
|
7319
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7246
7320
|
maxDomain: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(Date), prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7247
7321
|
x: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(Date)]),
|
|
7248
7322
|
y: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(Date)])
|
|
7249
7323
|
})]),
|
|
7324
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7250
7325
|
minDomain: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(Date), prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7251
7326
|
x: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(Date)]),
|
|
7252
7327
|
y: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(Date)])
|
|
7253
7328
|
})]),
|
|
7329
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7254
7330
|
domainPadding: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7255
7331
|
x: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().number))]),
|
|
7256
7332
|
y: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().number))])
|
|
@@ -7261,20 +7337,23 @@ var baseProps = {
|
|
|
7261
7337
|
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)]),
|
|
7262
7338
|
eventHandlers: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)
|
|
7263
7339
|
})),
|
|
7340
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7264
7341
|
externalEventMutations: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7265
|
-
callback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()
|
|
7342
|
+
callback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
|
7266
7343
|
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)]),
|
|
7267
7344
|
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)]),
|
|
7268
|
-
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()
|
|
7345
|
+
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
|
7269
7346
|
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)])
|
|
7270
7347
|
})),
|
|
7271
7348
|
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),
|
|
7272
7349
|
height: _prop_types__WEBPACK_IMPORTED_MODULE_1__.nonNegative,
|
|
7273
7350
|
name: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
|
7351
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7274
7352
|
origin: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7275
7353
|
x: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
|
|
7276
7354
|
y: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)
|
|
7277
7355
|
}),
|
|
7356
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7278
7357
|
padding: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7279
7358
|
top: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
|
|
7280
7359
|
bottom: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
|
|
@@ -7283,17 +7362,19 @@ var baseProps = {
|
|
|
7283
7362
|
})]),
|
|
7284
7363
|
polar: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
|
7285
7364
|
range: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([_prop_types__WEBPACK_IMPORTED_MODULE_1__.domain, prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7286
|
-
x: _prop_types__WEBPACK_IMPORTED_MODULE_1__.domain,
|
|
7287
|
-
y: _prop_types__WEBPACK_IMPORTED_MODULE_1__.domain
|
|
7365
|
+
x: _prop_types__WEBPACK_IMPORTED_MODULE_1__.domain.isRequired,
|
|
7366
|
+
y: _prop_types__WEBPACK_IMPORTED_MODULE_1__.domain.isRequired
|
|
7288
7367
|
})]),
|
|
7289
7368
|
scale: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([_prop_types__WEBPACK_IMPORTED_MODULE_1__.scale, prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7290
|
-
x: _prop_types__WEBPACK_IMPORTED_MODULE_1__.scale,
|
|
7291
|
-
y: _prop_types__WEBPACK_IMPORTED_MODULE_1__.scale
|
|
7369
|
+
x: _prop_types__WEBPACK_IMPORTED_MODULE_1__.scale.isRequired,
|
|
7370
|
+
y: _prop_types__WEBPACK_IMPORTED_MODULE_1__.scale.isRequired
|
|
7292
7371
|
})]),
|
|
7372
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7293
7373
|
sharedEvents: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7294
7374
|
events: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().array),
|
|
7295
7375
|
getEventState: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
|
|
7296
7376
|
}),
|
|
7377
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7297
7378
|
singleQuadrantDomainPadding: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool), prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7298
7379
|
x: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)]),
|
|
7299
7380
|
y: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)])
|
|
@@ -7313,6 +7394,7 @@ var primitiveProps = {
|
|
|
7313
7394
|
events: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
|
|
7314
7395
|
id: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)]),
|
|
7315
7396
|
index: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)]),
|
|
7397
|
+
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
7316
7398
|
origin: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
7317
7399
|
x: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
|
|
7318
7400
|
y: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)
|
|
@@ -7328,6 +7410,12 @@ var primitiveProps = {
|
|
|
7328
7410
|
tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)]),
|
|
7329
7411
|
transform: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
|
|
7330
7412
|
};
|
|
7413
|
+
var CommonProps = {
|
|
7414
|
+
dataProps: dataProps,
|
|
7415
|
+
baseProps: baseProps,
|
|
7416
|
+
primitiveProps: primitiveProps
|
|
7417
|
+
};
|
|
7418
|
+
//# sourceMappingURL=common-props.js.map
|
|
7331
7419
|
|
|
7332
7420
|
/***/ }),
|
|
7333
7421
|
|
|
@@ -7340,10 +7428,10 @@ var primitiveProps = {
|
|
|
7340
7428
|
"use strict";
|
|
7341
7429
|
__webpack_require__.r(__webpack_exports__);
|
|
7342
7430
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7343
|
-
/* harmony export */ "formatDataFromDomain": () => (/* binding */ formatDataFromDomain),
|
|
7344
7431
|
/* harmony export */ "createStringMap": () => (/* binding */ createStringMap),
|
|
7345
7432
|
/* harmony export */ "downsample": () => (/* binding */ downsample),
|
|
7346
7433
|
/* harmony export */ "formatData": () => (/* binding */ formatData),
|
|
7434
|
+
/* harmony export */ "formatDataFromDomain": () => (/* binding */ formatDataFromDomain),
|
|
7347
7435
|
/* harmony export */ "generateData": () => (/* binding */ generateData),
|
|
7348
7436
|
/* harmony export */ "getCategories": () => (/* binding */ getCategories),
|
|
7349
7437
|
/* harmony export */ "getData": () => (/* binding */ getData),
|
|
@@ -7410,8 +7498,6 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
|
|
|
7410
7498
|
|
|
7411
7499
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
7412
7500
|
|
|
7413
|
-
/* eslint-disable func-style */
|
|
7414
|
-
|
|
7415
7501
|
/* eslint-disable no-use-before-define */
|
|
7416
7502
|
|
|
7417
7503
|
|
|
@@ -7843,6 +7929,7 @@ function isDataComponent(component) {
|
|
|
7843
7929
|
var whitelist = ["area", "bar", "boxplot", "candlestick", "errorbar", "group", "histogram", "line", "pie", "scatter", "stack", "voronoi"];
|
|
7844
7930
|
return lodash_includes__WEBPACK_IMPORTED_MODULE_2___default()(whitelist, role);
|
|
7845
7931
|
}
|
|
7932
|
+
//# sourceMappingURL=data.js.map
|
|
7846
7933
|
|
|
7847
7934
|
/***/ }),
|
|
7848
7935
|
|
|
@@ -7905,8 +7992,6 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
|
|
|
7905
7992
|
|
|
7906
7993
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
7907
7994
|
|
|
7908
|
-
/* eslint-disable func-style */
|
|
7909
|
-
|
|
7910
7995
|
/* eslint-disable no-use-before-define */
|
|
7911
7996
|
|
|
7912
7997
|
|
|
@@ -7946,8 +8031,9 @@ function getDomainPadding(props, axis) {
|
|
|
7946
8031
|
}
|
|
7947
8032
|
|
|
7948
8033
|
function getFlatData(dataset, axis) {
|
|
8034
|
+
var axisKey = "_".concat(axis);
|
|
7949
8035
|
return lodash_flatten__WEBPACK_IMPORTED_MODULE_5___default()(dataset).map(function (datum) {
|
|
7950
|
-
return datum[
|
|
8036
|
+
return datum[axisKey] && datum[axisKey][1] !== undefined ? datum[axisKey][1] : datum[axisKey];
|
|
7951
8037
|
});
|
|
7952
8038
|
}
|
|
7953
8039
|
|
|
@@ -8012,7 +8098,9 @@ function padDomain(domain, props, axis) {
|
|
|
8012
8098
|
if (addsQuadrants && singleQuadrantDomainPadding !== false) {
|
|
8013
8099
|
// Naive initial padding calculation
|
|
8014
8100
|
var initialPadding = {
|
|
8101
|
+
// @ts-expect-error `max/min` might be dates
|
|
8015
8102
|
left: Math.abs(max - min) * padding.left / rangeExtent,
|
|
8103
|
+
// @ts-expect-error `max/min` might be dates
|
|
8016
8104
|
right: Math.abs(max - min) * padding.right / rangeExtent
|
|
8017
8105
|
}; // Adjust the domain by the initial padding
|
|
8018
8106
|
|
|
@@ -8297,6 +8385,7 @@ function isDomainComponent(component) {
|
|
|
8297
8385
|
var whitelist = ["area", "axis", "bar", "boxplot", "candlestick", "errorbar", "group", "histogram", "line", "pie", "scatter", "stack", "voronoi"];
|
|
8298
8386
|
return lodash_includes__WEBPACK_IMPORTED_MODULE_1___default()(whitelist, role);
|
|
8299
8387
|
}
|
|
8388
|
+
//# sourceMappingURL=domain.js.map
|
|
8300
8389
|
|
|
8301
8390
|
/***/ }),
|
|
8302
8391
|
|
|
@@ -8309,25 +8398,25 @@ function isDomainComponent(component) {
|
|
|
8309
8398
|
"use strict";
|
|
8310
8399
|
__webpack_require__.r(__webpack_exports__);
|
|
8311
8400
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8312
|
-
/* harmony export */ "
|
|
8313
|
-
/* harmony export */ "
|
|
8314
|
-
/* harmony export */ "scalePoint": () => (/* binding */ scalePoint),
|
|
8315
|
-
/* harmony export */ "getPadding": () => (/* binding */ getPadding),
|
|
8316
|
-
/* harmony export */ "isTooltip": () => (/* binding */ isTooltip),
|
|
8317
|
-
/* harmony export */ "getDefaultStyles": () => (/* binding */ getDefaultStyles),
|
|
8318
|
-
/* harmony export */ "getStyles": () => (/* binding */ getStyles),
|
|
8401
|
+
/* harmony export */ "createAccessor": () => (/* binding */ createAccessor),
|
|
8402
|
+
/* harmony export */ "degreesToRadians": () => (/* binding */ degreesToRadians),
|
|
8319
8403
|
/* harmony export */ "evaluateProp": () => (/* binding */ evaluateProp),
|
|
8320
8404
|
/* harmony export */ "evaluateStyle": () => (/* binding */ evaluateStyle),
|
|
8321
|
-
/* harmony export */ "
|
|
8322
|
-
/* harmony export */ "
|
|
8323
|
-
/* harmony export */ "
|
|
8405
|
+
/* harmony export */ "getCurrentAxis": () => (/* binding */ getCurrentAxis),
|
|
8406
|
+
/* harmony export */ "getDefaultStyles": () => (/* binding */ getDefaultStyles),
|
|
8407
|
+
/* harmony export */ "getPadding": () => (/* binding */ getPadding),
|
|
8408
|
+
/* harmony export */ "getPoint": () => (/* binding */ getPoint),
|
|
8324
8409
|
/* harmony export */ "getPolarOrigin": () => (/* binding */ getPolarOrigin),
|
|
8410
|
+
/* harmony export */ "getRadius": () => (/* binding */ getRadius),
|
|
8325
8411
|
/* harmony export */ "getRange": () => (/* binding */ getRange),
|
|
8326
|
-
/* harmony export */ "
|
|
8412
|
+
/* harmony export */ "getStyles": () => (/* binding */ getStyles),
|
|
8413
|
+
/* harmony export */ "isHorizontal": () => (/* binding */ isHorizontal),
|
|
8414
|
+
/* harmony export */ "isTooltip": () => (/* binding */ isTooltip),
|
|
8327
8415
|
/* harmony export */ "modifyProps": () => (/* binding */ modifyProps),
|
|
8328
|
-
/* harmony export */ "
|
|
8416
|
+
/* harmony export */ "omit": () => (/* binding */ omit),
|
|
8417
|
+
/* harmony export */ "radiansToDegrees": () => (/* binding */ radiansToDegrees),
|
|
8329
8418
|
/* harmony export */ "reduceChildren": () => (/* binding */ reduceChildren),
|
|
8330
|
-
/* harmony export */ "
|
|
8419
|
+
/* harmony export */ "scalePoint": () => (/* binding */ scalePoint)
|
|
8331
8420
|
/* harmony export */ });
|
|
8332
8421
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/keys */ "../../../node_modules/lodash/keys.js");
|
|
8333
8422
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -8350,8 +8439,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8350
8439
|
|
|
8351
8440
|
|
|
8352
8441
|
|
|
8353
|
-
/* eslint-disable func-style */
|
|
8354
|
-
|
|
8355
8442
|
/* eslint-disable no-use-before-define */
|
|
8356
8443
|
|
|
8357
8444
|
|
|
@@ -8380,7 +8467,7 @@ function getPolarRange(props, axis) {
|
|
|
8380
8467
|
|
|
8381
8468
|
/**
|
|
8382
8469
|
* creates an object with some keys excluded
|
|
8383
|
-
* replacement for lodash.omit for performance. does not
|
|
8470
|
+
* replacement for lodash.omit for performance. does not mimic the entire lodash.omit api
|
|
8384
8471
|
* @param {Object} originalObject: created object will be based on this object
|
|
8385
8472
|
* @param {Array<String>} ks: an array of keys to omit from the new object
|
|
8386
8473
|
* @returns {Object} new object with same properties as originalObject
|
|
@@ -8393,6 +8480,7 @@ function omit(originalObject) {
|
|
|
8393
8480
|
var newObject = {};
|
|
8394
8481
|
|
|
8395
8482
|
for (var key in originalObject) {
|
|
8483
|
+
// @ts-expect-error String is not assignable to Key
|
|
8396
8484
|
if (ks.indexOf(key) >= 0) {
|
|
8397
8485
|
continue;
|
|
8398
8486
|
}
|
|
@@ -8625,7 +8713,9 @@ function reduceChildren(children, iteratee) {
|
|
|
8625
8713
|
var parentProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
8626
8714
|
var initialMemo = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
|
|
8627
8715
|
var combine = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : function (memo, item) {
|
|
8628
|
-
return
|
|
8716
|
+
return (// @ts-expect-error These defaults are hard to type
|
|
8717
|
+
memo.concat(item)
|
|
8718
|
+
);
|
|
8629
8719
|
};
|
|
8630
8720
|
var sharedProps = ["data", "domain", "categories", "polar", "startAngle", "endAngle", "minDomain", "maxDomain", "horizontal"];
|
|
8631
8721
|
|
|
@@ -8669,7 +8759,7 @@ function reduceChildren(children, iteratee) {
|
|
|
8669
8759
|
/**
|
|
8670
8760
|
* @param {Object} props: the props object
|
|
8671
8761
|
* @returns {Boolean} returns true if the props object contains `horizontal: true` of if any
|
|
8672
|
-
* children or nested children are
|
|
8762
|
+
* children or nested children are horizontal
|
|
8673
8763
|
*/
|
|
8674
8764
|
|
|
8675
8765
|
function isHorizontal(props) {
|
|
@@ -8692,6 +8782,7 @@ function isHorizontal(props) {
|
|
|
8692
8782
|
|
|
8693
8783
|
return traverseChildren(react__WEBPACK_IMPORTED_MODULE_6___default().Children.toArray(props.children));
|
|
8694
8784
|
}
|
|
8785
|
+
//# sourceMappingURL=helpers.js.map
|
|
8695
8786
|
|
|
8696
8787
|
/***/ }),
|
|
8697
8788
|
|
|
@@ -8705,17 +8796,16 @@ function isHorizontal(props) {
|
|
|
8705
8796
|
__webpack_require__.r(__webpack_exports__);
|
|
8706
8797
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8707
8798
|
/* harmony export */ "IMMUTABLE_ITERABLE": () => (/* binding */ IMMUTABLE_ITERABLE),
|
|
8708
|
-
/* harmony export */ "IMMUTABLE_RECORD": () => (/* binding */ IMMUTABLE_RECORD),
|
|
8709
8799
|
/* harmony export */ "IMMUTABLE_LIST": () => (/* binding */ IMMUTABLE_LIST),
|
|
8710
8800
|
/* harmony export */ "IMMUTABLE_MAP": () => (/* binding */ IMMUTABLE_MAP),
|
|
8711
|
-
/* harmony export */ "
|
|
8712
|
-
/* harmony export */ "isRecord": () => (/* binding */ isRecord),
|
|
8801
|
+
/* harmony export */ "IMMUTABLE_RECORD": () => (/* binding */ IMMUTABLE_RECORD),
|
|
8713
8802
|
/* harmony export */ "isImmutable": () => (/* binding */ isImmutable),
|
|
8803
|
+
/* harmony export */ "isIterable": () => (/* binding */ isIterable),
|
|
8714
8804
|
/* harmony export */ "isList": () => (/* binding */ isList),
|
|
8715
8805
|
/* harmony export */ "isMap": () => (/* binding */ isMap),
|
|
8806
|
+
/* harmony export */ "isRecord": () => (/* binding */ isRecord),
|
|
8716
8807
|
/* harmony export */ "shallowToJS": () => (/* binding */ shallowToJS)
|
|
8717
8808
|
/* harmony export */ });
|
|
8718
|
-
/* eslint-disable func-style */
|
|
8719
8809
|
var IMMUTABLE_ITERABLE = "@@__IMMUTABLE_ITERABLE__@@";
|
|
8720
8810
|
var IMMUTABLE_RECORD = "@@__IMMUTABLE_RECORD__@@";
|
|
8721
8811
|
var IMMUTABLE_LIST = "@@__IMMUTABLE_LIST__@@";
|
|
@@ -8736,15 +8826,16 @@ function isMap(x) {
|
|
|
8736
8826
|
return !!(x && x[IMMUTABLE_MAP]);
|
|
8737
8827
|
}
|
|
8738
8828
|
function shallowToJS(x, whitelist) {
|
|
8739
|
-
return isIterable(x) ? x.reduce(function (
|
|
8829
|
+
return isIterable(x) ? x.reduce(function (result, curr, key) {
|
|
8740
8830
|
if (whitelist && whitelist[key]) {
|
|
8741
8831
|
curr = shallowToJS(curr);
|
|
8742
8832
|
}
|
|
8743
8833
|
|
|
8744
|
-
|
|
8745
|
-
return
|
|
8834
|
+
result[key] = curr;
|
|
8835
|
+
return result;
|
|
8746
8836
|
}, isList(x) ? [] : {}) : x;
|
|
8747
8837
|
}
|
|
8838
|
+
//# sourceMappingURL=immutable.js.map
|
|
8748
8839
|
|
|
8749
8840
|
/***/ }),
|
|
8750
8841
|
|
|
@@ -8763,7 +8854,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8763
8854
|
|
|
8764
8855
|
/* eslint-disable no-console */
|
|
8765
8856
|
// TODO: Use "warning" npm module like React is switching to.
|
|
8766
|
-
// eslint-disable-next-line func-style
|
|
8767
8857
|
function warn(message) {
|
|
8768
8858
|
if (true) {
|
|
8769
8859
|
if (console && console.warn) {
|
|
@@ -8771,6 +8861,7 @@ function warn(message) {
|
|
|
8771
8861
|
}
|
|
8772
8862
|
}
|
|
8773
8863
|
}
|
|
8864
|
+
//# sourceMappingURL=log.js.map
|
|
8774
8865
|
|
|
8775
8866
|
/***/ }),
|
|
8776
8867
|
|
|
@@ -8783,27 +8874,25 @@ function warn(message) {
|
|
|
8783
8874
|
"use strict";
|
|
8784
8875
|
__webpack_require__.r(__webpack_exports__);
|
|
8785
8876
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8786
|
-
/* harmony export */ "deprecated": () => (/* binding */ deprecated),
|
|
8787
8877
|
/* harmony export */ "allOfType": () => (/* binding */ allOfType),
|
|
8788
|
-
/* harmony export */ "
|
|
8789
|
-
/* harmony export */ "integer": () => (/* binding */ integer),
|
|
8790
|
-
/* harmony export */ "greaterThanZero": () => (/* binding */ greaterThanZero),
|
|
8878
|
+
/* harmony export */ "deprecated": () => (/* binding */ deprecated),
|
|
8791
8879
|
/* harmony export */ "domain": () => (/* binding */ domain),
|
|
8792
|
-
/* harmony export */ "
|
|
8880
|
+
/* harmony export */ "greaterThanZero": () => (/* binding */ greaterThanZero),
|
|
8793
8881
|
/* harmony export */ "homogeneousArray": () => (/* binding */ homogeneousArray),
|
|
8882
|
+
/* harmony export */ "integer": () => (/* binding */ integer),
|
|
8794
8883
|
/* harmony export */ "matchDataLength": () => (/* binding */ matchDataLength),
|
|
8795
|
-
/* harmony export */ "
|
|
8884
|
+
/* harmony export */ "nonNegative": () => (/* binding */ nonNegative),
|
|
8885
|
+
/* harmony export */ "regExp": () => (/* binding */ regExp),
|
|
8886
|
+
/* harmony export */ "scale": () => (/* binding */ scale)
|
|
8796
8887
|
/* harmony export */ });
|
|
8797
8888
|
/* harmony import */ var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isRegExp */ "../../../node_modules/lodash/isRegExp.js");
|
|
8798
8889
|
/* harmony import */ var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__);
|
|
8799
8890
|
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/find */ "../../../node_modules/lodash/find.js");
|
|
8800
8891
|
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_find__WEBPACK_IMPORTED_MODULE_1__);
|
|
8801
|
-
/* harmony import */ var
|
|
8802
|
-
/* harmony import */ var lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__);
|
|
8803
|
-
/* harmony import */ var _log__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./log */ "../../victory-core/es/victory-util/log.js");
|
|
8892
|
+
/* harmony import */ var _log__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./log */ "../../victory-core/es/victory-util/log.js");
|
|
8804
8893
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
8805
8894
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
|
|
8806
|
-
|
|
8895
|
+
/* harmony import */ var _scale__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./scale */ "../../victory-core/es/victory-util/scale.js");
|
|
8807
8896
|
|
|
8808
8897
|
|
|
8809
8898
|
|
|
@@ -8811,6 +8900,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
8811
8900
|
|
|
8812
8901
|
|
|
8813
8902
|
|
|
8903
|
+
|
|
8904
|
+
|
|
8814
8905
|
/**
|
|
8815
8906
|
* Return a new validator based on `validator` but with the option to chain
|
|
8816
8907
|
* `isRequired` onto the validation. This is nearly identical to how React
|
|
@@ -8818,30 +8909,30 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
8818
8909
|
* @param {Function} validator Validation function.
|
|
8819
8910
|
* @returns {Function} Validator with `isRequired` option.
|
|
8820
8911
|
*/
|
|
8821
|
-
|
|
8822
8912
|
var makeChainable = function (validator) {
|
|
8823
|
-
|
|
8824
|
-
|
|
8825
|
-
|
|
8913
|
+
var createChainable = function (isRequired) {
|
|
8914
|
+
return function (props, propName, componentName) {
|
|
8915
|
+
var value = props[propName];
|
|
8826
8916
|
|
|
8827
|
-
|
|
8828
|
-
|
|
8829
|
-
|
|
8830
|
-
|
|
8917
|
+
if (value === undefined || value === null) {
|
|
8918
|
+
if (isRequired) {
|
|
8919
|
+
return new Error("Required `".concat(propName, "` was not specified in `").concat(componentName, "`."));
|
|
8920
|
+
}
|
|
8831
8921
|
|
|
8832
|
-
|
|
8833
|
-
|
|
8922
|
+
return null;
|
|
8923
|
+
}
|
|
8834
8924
|
|
|
8835
|
-
|
|
8836
|
-
|
|
8837
|
-
|
|
8925
|
+
for (var _len = arguments.length, rest = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {
|
|
8926
|
+
rest[_key - 3] = arguments[_key];
|
|
8927
|
+
}
|
|
8838
8928
|
|
|
8839
|
-
|
|
8929
|
+
return validator.apply(void 0, [props, propName, componentName].concat(rest));
|
|
8930
|
+
};
|
|
8840
8931
|
};
|
|
8841
8932
|
|
|
8842
|
-
var chainable =
|
|
8843
|
-
|
|
8844
|
-
|
|
8933
|
+
var chainable = Object.assign(createChainable(false), {
|
|
8934
|
+
isRequired: createChainable(true)
|
|
8935
|
+
});
|
|
8845
8936
|
return chainable;
|
|
8846
8937
|
};
|
|
8847
8938
|
|
|
@@ -8871,7 +8962,7 @@ var getConstructor = function (value) {
|
|
|
8871
8962
|
};
|
|
8872
8963
|
/**
|
|
8873
8964
|
* Get the name of the constructor used to create `value`, using
|
|
8874
|
-
* `Object.
|
|
8965
|
+
* `Object.prototype.toString`. If the value is null or undefined, return
|
|
8875
8966
|
* "null" or "undefined", respectively.
|
|
8876
8967
|
* @param {*} value Instance to return the constructor name of.
|
|
8877
8968
|
* @returns {String} Name of the constructor.
|
|
@@ -8901,10 +8992,11 @@ function deprecated(propType, explanation) {
|
|
|
8901
8992
|
var value = props[propName];
|
|
8902
8993
|
|
|
8903
8994
|
if (value !== null && value !== undefined) {
|
|
8904
|
-
|
|
8995
|
+
_log__WEBPACK_IMPORTED_MODULE_2__.warn("\"".concat(propName, "\" property of \"").concat(componentName, "\" has been deprecated ").concat(explanation));
|
|
8905
8996
|
}
|
|
8906
8997
|
|
|
8907
|
-
|
|
8998
|
+
prop_types__WEBPACK_IMPORTED_MODULE_3___default().checkPropTypes(_defineProperty({}, propName, propType), props, propName, componentName);
|
|
8999
|
+
return null;
|
|
8908
9000
|
};
|
|
8909
9001
|
}
|
|
8910
9002
|
/**
|
|
@@ -8923,7 +9015,7 @@ function allOfType(validators) {
|
|
|
8923
9015
|
|
|
8924
9016
|
return validators.reduce(function (result, validator) {
|
|
8925
9017
|
return result || validator.apply(void 0, [props, propName, componentName].concat(rest));
|
|
8926
|
-
},
|
|
9018
|
+
}, null);
|
|
8927
9019
|
});
|
|
8928
9020
|
}
|
|
8929
9021
|
/**
|
|
@@ -8937,7 +9029,7 @@ var nonNegative = makeChainable(function (props, propName, componentName) {
|
|
|
8937
9029
|
return new Error("`".concat(propName, "` in `").concat(componentName, "` must be a non-negative number."));
|
|
8938
9030
|
}
|
|
8939
9031
|
|
|
8940
|
-
return
|
|
9032
|
+
return null;
|
|
8941
9033
|
});
|
|
8942
9034
|
/**
|
|
8943
9035
|
* Check that the value is an integer.
|
|
@@ -8950,7 +9042,7 @@ var integer = makeChainable(function (props, propName, componentName) {
|
|
|
8950
9042
|
return new Error("`".concat(propName, "` in `").concat(componentName, "` must be an integer."));
|
|
8951
9043
|
}
|
|
8952
9044
|
|
|
8953
|
-
return
|
|
9045
|
+
return null;
|
|
8954
9046
|
});
|
|
8955
9047
|
/**
|
|
8956
9048
|
* Check that the value is greater than zero.
|
|
@@ -8963,7 +9055,7 @@ var greaterThanZero = makeChainable(function (props, propName, componentName) {
|
|
|
8963
9055
|
return new Error("`".concat(propName, "` in `").concat(componentName, "` must be a number greater than zero."));
|
|
8964
9056
|
}
|
|
8965
9057
|
|
|
8966
|
-
return
|
|
9058
|
+
return null;
|
|
8967
9059
|
});
|
|
8968
9060
|
/**
|
|
8969
9061
|
* Check that the value is an Array of two unique values.
|
|
@@ -8976,32 +9068,20 @@ var domain = makeChainable(function (props, propName, componentName) {
|
|
|
8976
9068
|
return new Error("`".concat(propName, "` in `").concat(componentName, "` must be an array of two unique numeric values."));
|
|
8977
9069
|
}
|
|
8978
9070
|
|
|
8979
|
-
return
|
|
9071
|
+
return null;
|
|
8980
9072
|
});
|
|
8981
9073
|
/**
|
|
8982
9074
|
* Check that the value looks like a d3 `scale` function.
|
|
8983
9075
|
*/
|
|
8984
9076
|
|
|
8985
9077
|
var scale = makeChainable(function (props, propName, componentName) {
|
|
8986
|
-
var supportedScaleStrings = ["linear", "time", "log", "sqrt"];
|
|
8987
|
-
|
|
8988
|
-
var validScale = function (scl) {
|
|
8989
|
-
if (lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(scl)) {
|
|
8990
|
-
return lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(scl.copy) && lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(scl.domain) && lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(scl.range);
|
|
8991
|
-
} else if (typeof scl === "string") {
|
|
8992
|
-
return supportedScaleStrings.indexOf(scl) !== -1;
|
|
8993
|
-
}
|
|
8994
|
-
|
|
8995
|
-
return false;
|
|
8996
|
-
};
|
|
8997
|
-
|
|
8998
9078
|
var value = props[propName];
|
|
8999
9079
|
|
|
9000
|
-
if (!validScale(value)) {
|
|
9080
|
+
if (!_scale__WEBPACK_IMPORTED_MODULE_4__.validScale(value)) {
|
|
9001
9081
|
return new Error("`".concat(propName, "` in `").concat(componentName, "` must be a d3 scale."));
|
|
9002
9082
|
}
|
|
9003
9083
|
|
|
9004
|
-
return
|
|
9084
|
+
return null;
|
|
9005
9085
|
});
|
|
9006
9086
|
/**
|
|
9007
9087
|
* Check that an array contains items of the same type.
|
|
@@ -9015,7 +9095,7 @@ var homogeneousArray = makeChainable(function (props, propName, componentName) {
|
|
|
9015
9095
|
}
|
|
9016
9096
|
|
|
9017
9097
|
if (values.length < 2) {
|
|
9018
|
-
return
|
|
9098
|
+
return null;
|
|
9019
9099
|
}
|
|
9020
9100
|
|
|
9021
9101
|
var comparisonConstructor = getConstructor(values[0]);
|
|
@@ -9030,7 +9110,7 @@ var homogeneousArray = makeChainable(function (props, propName, componentName) {
|
|
|
9030
9110
|
return new Error("Expected `".concat(propName, "` in `").concat(componentName, "` to be a ") + "homogeneous array, but found types `".concat(constructorName, "` and ") + "`".concat(otherConstructorName, "`."));
|
|
9031
9111
|
}
|
|
9032
9112
|
|
|
9033
|
-
return
|
|
9113
|
+
return null;
|
|
9034
9114
|
});
|
|
9035
9115
|
/**
|
|
9036
9116
|
* Check that array prop length matches props.data.length
|
|
@@ -9041,7 +9121,7 @@ var matchDataLength = makeChainable(function (props, propName) {
|
|
|
9041
9121
|
return new Error("Length of data and ".concat(propName, " arrays must match."));
|
|
9042
9122
|
}
|
|
9043
9123
|
|
|
9044
|
-
return
|
|
9124
|
+
return null;
|
|
9045
9125
|
});
|
|
9046
9126
|
/**
|
|
9047
9127
|
* Check that the value is a regular expression
|
|
@@ -9052,8 +9132,9 @@ var regExp = makeChainable(function (props, propName, componentName) {
|
|
|
9052
9132
|
return new Error("`".concat(propName, "` in `").concat(componentName, "` must be a regular expression."));
|
|
9053
9133
|
}
|
|
9054
9134
|
|
|
9055
|
-
return
|
|
9135
|
+
return null;
|
|
9056
9136
|
});
|
|
9137
|
+
//# sourceMappingURL=prop-types.js.map
|
|
9057
9138
|
|
|
9058
9139
|
/***/ }),
|
|
9059
9140
|
|
|
@@ -9066,12 +9147,13 @@ var regExp = makeChainable(function (props, propName, componentName) {
|
|
|
9066
9147
|
"use strict";
|
|
9067
9148
|
__webpack_require__.r(__webpack_exports__);
|
|
9068
9149
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9069
|
-
/* harmony export */ "getScaleFromName": () => (/* binding */ getScaleFromName),
|
|
9070
9150
|
/* harmony export */ "getBaseScale": () => (/* binding */ getBaseScale),
|
|
9071
9151
|
/* harmony export */ "getDefaultScale": () => (/* binding */ getDefaultScale),
|
|
9152
|
+
/* harmony export */ "getScaleFromName": () => (/* binding */ getScaleFromName),
|
|
9072
9153
|
/* harmony export */ "getScaleFromProps": () => (/* binding */ getScaleFromProps),
|
|
9073
9154
|
/* harmony export */ "getScaleType": () => (/* binding */ getScaleType),
|
|
9074
|
-
/* harmony export */ "getType": () => (/* binding */ getType)
|
|
9155
|
+
/* harmony export */ "getType": () => (/* binding */ getType),
|
|
9156
|
+
/* harmony export */ "validScale": () => (/* binding */ validScale)
|
|
9075
9157
|
/* harmony export */ });
|
|
9076
9158
|
/* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isPlainObject */ "../../../node_modules/lodash/isPlainObject.js");
|
|
9077
9159
|
/* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -9089,8 +9171,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9089
9171
|
|
|
9090
9172
|
|
|
9091
9173
|
|
|
9092
|
-
var supportedScaleStrings = ["linear", "time", "log", "sqrt"];
|
|
9174
|
+
var supportedScaleStrings = ["linear", "time", "log", "sqrt"];
|
|
9093
9175
|
|
|
9176
|
+
// Private Functions
|
|
9094
9177
|
function toNewName(scale) {
|
|
9095
9178
|
// d3 scale changed the naming scheme for scale from "linear" -> "scaleLinear" etc.
|
|
9096
9179
|
var capitalize = function (s) {
|
|
@@ -9160,7 +9243,13 @@ function getScaleTypeFromData(props, axis) {
|
|
|
9160
9243
|
|
|
9161
9244
|
|
|
9162
9245
|
function getScaleFromName(name) {
|
|
9163
|
-
|
|
9246
|
+
if (validScale(name)) {
|
|
9247
|
+
var methodName = toNewName(name); // @ts-expect-error scaleTime is not directly compatible with our D3Scale definition
|
|
9248
|
+
|
|
9249
|
+
return victory_vendor_d3_scale__WEBPACK_IMPORTED_MODULE_5__[methodName]();
|
|
9250
|
+
}
|
|
9251
|
+
|
|
9252
|
+
return victory_vendor_d3_scale__WEBPACK_IMPORTED_MODULE_6__["default"]();
|
|
9164
9253
|
}
|
|
9165
9254
|
function getBaseScale(props, axis) {
|
|
9166
9255
|
var scale = getScaleFromProps(props, axis);
|
|
@@ -9170,7 +9259,7 @@ function getBaseScale(props, axis) {
|
|
|
9170
9259
|
}
|
|
9171
9260
|
|
|
9172
9261
|
var defaultScale = getScaleFromDomain(props, axis) || getScaleTypeFromData(props, axis);
|
|
9173
|
-
return
|
|
9262
|
+
return getScaleFromName(defaultScale);
|
|
9174
9263
|
}
|
|
9175
9264
|
function getDefaultScale() {
|
|
9176
9265
|
return victory_vendor_d3_scale__WEBPACK_IMPORTED_MODULE_6__["default"]();
|
|
@@ -9183,7 +9272,7 @@ function getScaleFromProps(props, axis) {
|
|
|
9183
9272
|
var scale = props.scale[axis] || props.scale;
|
|
9184
9273
|
|
|
9185
9274
|
if (validScale(scale)) {
|
|
9186
|
-
return lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(scale) ? scale :
|
|
9275
|
+
return lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(scale) ? scale : getScaleFromName(scale);
|
|
9187
9276
|
}
|
|
9188
9277
|
|
|
9189
9278
|
return undefined;
|
|
@@ -9218,6 +9307,7 @@ function getType(scale) {
|
|
|
9218
9307
|
})[0];
|
|
9219
9308
|
return scaleType ? scaleType.name : undefined;
|
|
9220
9309
|
}
|
|
9310
|
+
//# sourceMappingURL=scale.js.map
|
|
9221
9311
|
|
|
9222
9312
|
/***/ }),
|
|
9223
9313
|
|
|
@@ -9230,18 +9320,16 @@ function getType(scale) {
|
|
|
9230
9320
|
"use strict";
|
|
9231
9321
|
__webpack_require__.r(__webpack_exports__);
|
|
9232
9322
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9233
|
-
/* harmony export */ "
|
|
9234
|
-
/* harmony export */ "getSVGEventCoordinates": () => (/* binding */ getSVGEventCoordinates),
|
|
9235
|
-
/* harmony export */ "getDomainCoordinates": () => (/* binding */ getDomainCoordinates),
|
|
9323
|
+
/* harmony export */ "getBounds": () => (/* binding */ getBounds),
|
|
9236
9324
|
/* harmony export */ "getDataCoordinates": () => (/* binding */ getDataCoordinates),
|
|
9237
|
-
/* harmony export */ "
|
|
9325
|
+
/* harmony export */ "getDomainCoordinates": () => (/* binding */ getDomainCoordinates),
|
|
9326
|
+
/* harmony export */ "getParentSVG": () => (/* binding */ getParentSVG),
|
|
9327
|
+
/* harmony export */ "getSVGEventCoordinates": () => (/* binding */ getSVGEventCoordinates)
|
|
9238
9328
|
/* harmony export */ });
|
|
9239
|
-
/* harmony import */ var
|
|
9240
|
-
/* eslint-disable func-style */
|
|
9329
|
+
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index */ "../../victory-core/es/victory-util/collection.js");
|
|
9241
9330
|
|
|
9242
|
-
/* eslint-disable no-use-before-define */
|
|
9243
|
-
// Private Functions
|
|
9244
9331
|
|
|
9332
|
+
// Private Functions
|
|
9245
9333
|
function transformTarget(target, matrix, dimension) {
|
|
9246
9334
|
var a = matrix.a,
|
|
9247
9335
|
d = matrix.d,
|
|
@@ -9252,11 +9340,20 @@ function transformTarget(target, matrix, dimension) {
|
|
|
9252
9340
|
|
|
9253
9341
|
function getTransformationMatrix(svg) {
|
|
9254
9342
|
return svg.getScreenCTM().inverse();
|
|
9343
|
+
}
|
|
9344
|
+
|
|
9345
|
+
function isNativeTouchEvent(nativeEvent) {
|
|
9346
|
+
return !!(nativeEvent && nativeEvent.identifier !== undefined);
|
|
9347
|
+
}
|
|
9348
|
+
|
|
9349
|
+
function isReactTouchEvent(evt) {
|
|
9350
|
+
return evt.changedTouches && evt.changedTouches.length > 0;
|
|
9255
9351
|
} // Exported Functions
|
|
9256
9352
|
|
|
9257
9353
|
|
|
9258
9354
|
function getParentSVG(evt) {
|
|
9259
|
-
if (evt.nativeEvent
|
|
9355
|
+
if (isNativeTouchEvent(evt.nativeEvent)) {
|
|
9356
|
+
// @ts-expect-error Seems like a superfluous check.
|
|
9260
9357
|
return undefined;
|
|
9261
9358
|
}
|
|
9262
9359
|
|
|
@@ -9271,7 +9368,7 @@ function getParentSVG(evt) {
|
|
|
9271
9368
|
return getParent(evt.target);
|
|
9272
9369
|
}
|
|
9273
9370
|
function getSVGEventCoordinates(evt, svg) {
|
|
9274
|
-
if (evt.nativeEvent
|
|
9371
|
+
if (isNativeTouchEvent(evt.nativeEvent)) {
|
|
9275
9372
|
// react-native override. relies on the RN.View being the _exact_ same size as its child SVG.
|
|
9276
9373
|
// this should be fine: the svg is the only child of View and the View shirks to its children
|
|
9277
9374
|
return {
|
|
@@ -9280,24 +9377,25 @@ function getSVGEventCoordinates(evt, svg) {
|
|
|
9280
9377
|
};
|
|
9281
9378
|
}
|
|
9282
9379
|
|
|
9283
|
-
|
|
9284
|
-
svg = svg || getParentSVG(
|
|
9380
|
+
var location = isReactTouchEvent(evt) ? evt.changedTouches[0] : evt;
|
|
9381
|
+
svg = svg || getParentSVG(location);
|
|
9285
9382
|
var matrix = getTransformationMatrix(svg);
|
|
9286
9383
|
return {
|
|
9287
|
-
x: transformTarget(
|
|
9288
|
-
y: transformTarget(
|
|
9384
|
+
x: transformTarget(location.clientX, matrix, "x"),
|
|
9385
|
+
y: transformTarget(location.clientY, matrix, "y")
|
|
9289
9386
|
};
|
|
9290
9387
|
}
|
|
9291
9388
|
function getDomainCoordinates(props, domain) {
|
|
9292
|
-
var
|
|
9293
|
-
|
|
9294
|
-
|
|
9389
|
+
var horizontal = props.horizontal;
|
|
9390
|
+
var scale = props.scale; // FIXME: add support for DomainTuple: [number, number]
|
|
9391
|
+
|
|
9392
|
+
var domainObj = domain || {
|
|
9295
9393
|
x: scale.x.domain(),
|
|
9296
9394
|
y: scale.y.domain()
|
|
9297
9395
|
};
|
|
9298
9396
|
return {
|
|
9299
|
-
x: horizontal ? [scale.y(
|
|
9300
|
-
y: horizontal ? [scale.x(
|
|
9397
|
+
x: horizontal ? [scale.y(domainObj.y[0]), scale.y(domainObj.y[1])] : [scale.x(domainObj.x[0]), scale.x(domainObj.x[1])],
|
|
9398
|
+
y: horizontal ? [scale.x(domainObj.x[0]), scale.x(domainObj.x[1])] : [scale.y(domainObj.y[0]), scale.y(domainObj.y[1])]
|
|
9301
9399
|
};
|
|
9302
9400
|
} // eslint-disable-next-line max-params
|
|
9303
9401
|
|
|
@@ -9335,7 +9433,7 @@ function getBounds(props) {
|
|
|
9335
9433
|
var point2 = getDataCoordinates(props, scale, x2, y2);
|
|
9336
9434
|
|
|
9337
9435
|
var makeBound = function (a, b) {
|
|
9338
|
-
return [
|
|
9436
|
+
return [_index__WEBPACK_IMPORTED_MODULE_0__.getMinValue([a, b]), _index__WEBPACK_IMPORTED_MODULE_0__.getMaxValue([a, b])];
|
|
9339
9437
|
};
|
|
9340
9438
|
|
|
9341
9439
|
return {
|
|
@@ -9343,6 +9441,7 @@ function getBounds(props) {
|
|
|
9343
9441
|
y: makeBound(point1.y, point2.y)
|
|
9344
9442
|
};
|
|
9345
9443
|
}
|
|
9444
|
+
//# sourceMappingURL=selection.js.map
|
|
9346
9445
|
|
|
9347
9446
|
/***/ }),
|
|
9348
9447
|
|
|
@@ -9433,9 +9532,9 @@ function ascending(a, b) {
|
|
|
9433
9532
|
"use strict";
|
|
9434
9533
|
__webpack_require__.r(__webpack_exports__);
|
|
9435
9534
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9436
|
-
/* harmony export */ "bisectRight": () => (/* binding */ bisectRight),
|
|
9437
|
-
/* harmony export */ "bisectLeft": () => (/* binding */ bisectLeft),
|
|
9438
9535
|
/* harmony export */ "bisectCenter": () => (/* binding */ bisectCenter),
|
|
9536
|
+
/* harmony export */ "bisectLeft": () => (/* binding */ bisectLeft),
|
|
9537
|
+
/* harmony export */ "bisectRight": () => (/* binding */ bisectRight),
|
|
9439
9538
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
9440
9539
|
/* harmony export */ });
|
|
9441
9540
|
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ascending.js */ "../../victory-vendor/node_modules/d3-array/src/ascending.js");
|
|
@@ -9821,9 +9920,9 @@ function range(start, stop, step) {
|
|
|
9821
9920
|
"use strict";
|
|
9822
9921
|
__webpack_require__.r(__webpack_exports__);
|
|
9823
9922
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9824
|
-
/* harmony export */ "
|
|
9923
|
+
/* harmony export */ "ascendingDefined": () => (/* binding */ ascendingDefined),
|
|
9825
9924
|
/* harmony export */ "compareDefined": () => (/* binding */ compareDefined),
|
|
9826
|
-
/* harmony export */ "
|
|
9925
|
+
/* harmony export */ "default": () => (/* binding */ sort)
|
|
9827
9926
|
/* harmony export */ });
|
|
9828
9927
|
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ascending.js */ "../../victory-vendor/node_modules/d3-array/src/ascending.js");
|
|
9829
9928
|
/* harmony import */ var _permute_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./permute.js */ "../../victory-vendor/node_modules/d3-array/src/permute.js");
|
|
@@ -9951,14 +10050,14 @@ function tickStep(start, stop, count) {
|
|
|
9951
10050
|
__webpack_require__.r(__webpack_exports__);
|
|
9952
10051
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9953
10052
|
/* harmony export */ "Color": () => (/* binding */ Color),
|
|
9954
|
-
/* harmony export */ "
|
|
10053
|
+
/* harmony export */ "Rgb": () => (/* binding */ Rgb),
|
|
9955
10054
|
/* harmony export */ "brighter": () => (/* binding */ brighter),
|
|
10055
|
+
/* harmony export */ "darker": () => (/* binding */ darker),
|
|
9956
10056
|
/* harmony export */ "default": () => (/* binding */ color),
|
|
9957
|
-
/* harmony export */ "
|
|
9958
|
-
/* harmony export */ "rgb": () => (/* binding */ rgb),
|
|
9959
|
-
/* harmony export */ "Rgb": () => (/* binding */ Rgb),
|
|
10057
|
+
/* harmony export */ "hsl": () => (/* binding */ hsl),
|
|
9960
10058
|
/* harmony export */ "hslConvert": () => (/* binding */ hslConvert),
|
|
9961
|
-
/* harmony export */ "
|
|
10059
|
+
/* harmony export */ "rgb": () => (/* binding */ rgb),
|
|
10060
|
+
/* harmony export */ "rgbConvert": () => (/* binding */ rgbConvert)
|
|
9962
10061
|
/* harmony export */ });
|
|
9963
10062
|
/* harmony import */ var _define_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./define.js */ "../../victory-vendor/node_modules/d3-color/src/define.js");
|
|
9964
10063
|
|
|
@@ -10396,9 +10495,9 @@ function extend(parent, definition) {
|
|
|
10396
10495
|
"use strict";
|
|
10397
10496
|
__webpack_require__.r(__webpack_exports__);
|
|
10398
10497
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10498
|
+
/* harmony export */ "default": () => (/* binding */ defaultLocale),
|
|
10399
10499
|
/* harmony export */ "format": () => (/* binding */ format),
|
|
10400
|
-
/* harmony export */ "formatPrefix": () => (/* binding */ formatPrefix)
|
|
10401
|
-
/* harmony export */ "default": () => (/* binding */ defaultLocale)
|
|
10500
|
+
/* harmony export */ "formatPrefix": () => (/* binding */ formatPrefix)
|
|
10402
10501
|
/* harmony export */ });
|
|
10403
10502
|
/* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./locale.js */ "../../victory-vendor/node_modules/d3-format/src/locale.js");
|
|
10404
10503
|
|
|
@@ -10544,8 +10643,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10544
10643
|
"use strict";
|
|
10545
10644
|
__webpack_require__.r(__webpack_exports__);
|
|
10546
10645
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10547
|
-
/* harmony export */ "
|
|
10548
|
-
/* harmony export */ "
|
|
10646
|
+
/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__),
|
|
10647
|
+
/* harmony export */ "prefixExponent": () => (/* binding */ prefixExponent)
|
|
10549
10648
|
/* harmony export */ });
|
|
10550
10649
|
/* harmony import */ var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatDecimal.js */ "../../victory-vendor/node_modules/d3-format/src/formatDecimal.js");
|
|
10551
10650
|
|
|
@@ -10604,8 +10703,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10604
10703
|
"use strict";
|
|
10605
10704
|
__webpack_require__.r(__webpack_exports__);
|
|
10606
10705
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10607
|
-
/* harmony export */ "
|
|
10608
|
-
/* harmony export */ "
|
|
10706
|
+
/* harmony export */ "FormatSpecifier": () => (/* binding */ FormatSpecifier),
|
|
10707
|
+
/* harmony export */ "default": () => (/* binding */ formatSpecifier)
|
|
10609
10708
|
/* harmony export */ });
|
|
10610
10709
|
// [[fill]align][sign][symbol][0][width][,][.precision][~][type]
|
|
10611
10710
|
var re = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
|
|
@@ -11087,9 +11186,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
11087
11186
|
"use strict";
|
|
11088
11187
|
__webpack_require__.r(__webpack_exports__);
|
|
11089
11188
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11090
|
-
/* harmony export */ "
|
|
11189
|
+
/* harmony export */ "default": () => (/* binding */ nogamma),
|
|
11091
11190
|
/* harmony export */ "gamma": () => (/* binding */ gamma),
|
|
11092
|
-
/* harmony export */ "
|
|
11191
|
+
/* harmony export */ "hue": () => (/* binding */ hue)
|
|
11093
11192
|
/* harmony export */ });
|
|
11094
11193
|
/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "../../victory-vendor/node_modules/d3-interpolate/src/constant.js");
|
|
11095
11194
|
|
|
@@ -11649,10 +11748,10 @@ function constants(x) {
|
|
|
11649
11748
|
"use strict";
|
|
11650
11749
|
__webpack_require__.r(__webpack_exports__);
|
|
11651
11750
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11652
|
-
/* harmony export */ "identity": () => (/* binding */ identity),
|
|
11653
11751
|
/* harmony export */ "copy": () => (/* binding */ copy),
|
|
11654
|
-
/* harmony export */ "
|
|
11655
|
-
/* harmony export */ "
|
|
11752
|
+
/* harmony export */ "default": () => (/* binding */ continuous),
|
|
11753
|
+
/* harmony export */ "identity": () => (/* binding */ identity),
|
|
11754
|
+
/* harmony export */ "transformer": () => (/* binding */ transformer)
|
|
11656
11755
|
/* harmony export */ });
|
|
11657
11756
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/bisect.js");
|
|
11658
11757
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
@@ -11800,9 +11899,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
11800
11899
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11801
11900
|
/* harmony export */ "default": () => (/* binding */ diverging),
|
|
11802
11901
|
/* harmony export */ "divergingLog": () => (/* binding */ divergingLog),
|
|
11803
|
-
/* harmony export */ "divergingSymlog": () => (/* binding */ divergingSymlog),
|
|
11804
11902
|
/* harmony export */ "divergingPow": () => (/* binding */ divergingPow),
|
|
11805
|
-
/* harmony export */ "divergingSqrt": () => (/* binding */ divergingSqrt)
|
|
11903
|
+
/* harmony export */ "divergingSqrt": () => (/* binding */ divergingSqrt),
|
|
11904
|
+
/* harmony export */ "divergingSymlog": () => (/* binding */ divergingSymlog)
|
|
11806
11905
|
/* harmony export */ });
|
|
11807
11906
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/piecewise.js");
|
|
11808
11907
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
@@ -11977,32 +12076,32 @@ function identity(domain) {
|
|
|
11977
12076
|
__webpack_require__.r(__webpack_exports__);
|
|
11978
12077
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11979
12078
|
/* harmony export */ "scaleBand": () => (/* reexport safe */ _band_js__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
11980
|
-
/* harmony export */ "
|
|
12079
|
+
/* harmony export */ "scaleDiverging": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__["default"]),
|
|
12080
|
+
/* harmony export */ "scaleDivergingLog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingLog),
|
|
12081
|
+
/* harmony export */ "scaleDivergingPow": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingPow),
|
|
12082
|
+
/* harmony export */ "scaleDivergingSqrt": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSqrt),
|
|
12083
|
+
/* harmony export */ "scaleDivergingSymlog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSymlog),
|
|
11981
12084
|
/* harmony export */ "scaleIdentity": () => (/* reexport safe */ _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
12085
|
+
/* harmony export */ "scaleImplicit": () => (/* reexport safe */ _ordinal_js__WEBPACK_IMPORTED_MODULE_5__.implicit),
|
|
11982
12086
|
/* harmony export */ "scaleLinear": () => (/* reexport safe */ _linear_js__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
11983
12087
|
/* harmony export */ "scaleLog": () => (/* reexport safe */ _log_js__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
11984
|
-
/* harmony export */ "scaleSymlog": () => (/* reexport safe */ _symlog_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
11985
12088
|
/* harmony export */ "scaleOrdinal": () => (/* reexport safe */ _ordinal_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
11986
|
-
/* harmony export */ "
|
|
12089
|
+
/* harmony export */ "scalePoint": () => (/* reexport safe */ _band_js__WEBPACK_IMPORTED_MODULE_0__.point),
|
|
11987
12090
|
/* harmony export */ "scalePow": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
11988
|
-
/* harmony export */ "scaleSqrt": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__.sqrt),
|
|
11989
|
-
/* harmony export */ "scaleRadial": () => (/* reexport safe */ _radial_js__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
11990
12091
|
/* harmony export */ "scaleQuantile": () => (/* reexport safe */ _quantile_js__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
|
11991
12092
|
/* harmony export */ "scaleQuantize": () => (/* reexport safe */ _quantize_js__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
|
11992
|
-
/* harmony export */ "
|
|
11993
|
-
/* harmony export */ "scaleTime": () => (/* reexport safe */ _time_js__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
11994
|
-
/* harmony export */ "scaleUtc": () => (/* reexport safe */ _utcTime_js__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
12093
|
+
/* harmony export */ "scaleRadial": () => (/* reexport safe */ _radial_js__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
11995
12094
|
/* harmony export */ "scaleSequential": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
|
11996
12095
|
/* harmony export */ "scaleSequentialLog": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialLog),
|
|
11997
12096
|
/* harmony export */ "scaleSequentialPow": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialPow),
|
|
12097
|
+
/* harmony export */ "scaleSequentialQuantile": () => (/* reexport safe */ _sequentialQuantile_js__WEBPACK_IMPORTED_MODULE_14__["default"]),
|
|
11998
12098
|
/* harmony export */ "scaleSequentialSqrt": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialSqrt),
|
|
11999
12099
|
/* harmony export */ "scaleSequentialSymlog": () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialSymlog),
|
|
12000
|
-
/* harmony export */ "
|
|
12001
|
-
/* harmony export */ "
|
|
12002
|
-
/* harmony export */ "
|
|
12003
|
-
/* harmony export */ "
|
|
12004
|
-
/* harmony export */ "
|
|
12005
|
-
/* harmony export */ "scaleDivergingSymlog": () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSymlog),
|
|
12100
|
+
/* harmony export */ "scaleSqrt": () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__.sqrt),
|
|
12101
|
+
/* harmony export */ "scaleSymlog": () => (/* reexport safe */ _symlog_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
12102
|
+
/* harmony export */ "scaleThreshold": () => (/* reexport safe */ _threshold_js__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
|
12103
|
+
/* harmony export */ "scaleTime": () => (/* reexport safe */ _time_js__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
12104
|
+
/* harmony export */ "scaleUtc": () => (/* reexport safe */ _utcTime_js__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
12006
12105
|
/* harmony export */ "tickFormat": () => (/* reexport safe */ _tickFormat_js__WEBPACK_IMPORTED_MODULE_16__["default"])
|
|
12007
12106
|
/* harmony export */ });
|
|
12008
12107
|
/* harmony import */ var _band_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./band.js */ "../../victory-vendor/node_modules/d3-scale/src/band.js");
|
|
@@ -12068,8 +12167,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12068
12167
|
"use strict";
|
|
12069
12168
|
__webpack_require__.r(__webpack_exports__);
|
|
12070
12169
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12071
|
-
/* harmony export */ "
|
|
12072
|
-
/* harmony export */ "
|
|
12170
|
+
/* harmony export */ "initInterpolator": () => (/* binding */ initInterpolator),
|
|
12171
|
+
/* harmony export */ "initRange": () => (/* binding */ initRange)
|
|
12073
12172
|
/* harmony export */ });
|
|
12074
12173
|
function initRange(domain, range) {
|
|
12075
12174
|
switch (arguments.length) {
|
|
@@ -12110,8 +12209,8 @@ function initInterpolator(domain, interpolator) {
|
|
|
12110
12209
|
"use strict";
|
|
12111
12210
|
__webpack_require__.r(__webpack_exports__);
|
|
12112
12211
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12113
|
-
/* harmony export */ "
|
|
12114
|
-
/* harmony export */ "
|
|
12212
|
+
/* harmony export */ "default": () => (/* binding */ linear),
|
|
12213
|
+
/* harmony export */ "linearish": () => (/* binding */ linearish)
|
|
12115
12214
|
/* harmony export */ });
|
|
12116
12215
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
12117
12216
|
/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./continuous.js */ "../../victory-vendor/node_modules/d3-scale/src/continuous.js");
|
|
@@ -12200,8 +12299,8 @@ function linear() {
|
|
|
12200
12299
|
"use strict";
|
|
12201
12300
|
__webpack_require__.r(__webpack_exports__);
|
|
12202
12301
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12203
|
-
/* harmony export */ "
|
|
12204
|
-
/* harmony export */ "
|
|
12302
|
+
/* harmony export */ "default": () => (/* binding */ log),
|
|
12303
|
+
/* harmony export */ "loggish": () => (/* binding */ loggish)
|
|
12205
12304
|
/* harmony export */ });
|
|
12206
12305
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
12207
12306
|
/* harmony import */ var d3_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-format */ "../../victory-vendor/node_modules/d3-format/src/formatSpecifier.js");
|
|
@@ -12413,8 +12512,8 @@ function number(x) {
|
|
|
12413
12512
|
"use strict";
|
|
12414
12513
|
__webpack_require__.r(__webpack_exports__);
|
|
12415
12514
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12416
|
-
/* harmony export */ "
|
|
12417
|
-
/* harmony export */ "
|
|
12515
|
+
/* harmony export */ "default": () => (/* binding */ ordinal),
|
|
12516
|
+
/* harmony export */ "implicit": () => (/* binding */ implicit)
|
|
12418
12517
|
/* harmony export */ });
|
|
12419
12518
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/internmap/src/index.js");
|
|
12420
12519
|
/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./init.js */ "../../victory-vendor/node_modules/d3-scale/src/init.js");
|
|
@@ -12477,8 +12576,8 @@ function ordinal() {
|
|
|
12477
12576
|
"use strict";
|
|
12478
12577
|
__webpack_require__.r(__webpack_exports__);
|
|
12479
12578
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12480
|
-
/* harmony export */ "powish": () => (/* binding */ powish),
|
|
12481
12579
|
/* harmony export */ "default": () => (/* binding */ pow),
|
|
12580
|
+
/* harmony export */ "powish": () => (/* binding */ powish),
|
|
12482
12581
|
/* harmony export */ "sqrt": () => (/* binding */ sqrt)
|
|
12483
12582
|
/* harmony export */ });
|
|
12484
12583
|
/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./linear.js */ "../../victory-vendor/node_modules/d3-scale/src/linear.js");
|
|
@@ -12782,9 +12881,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12782
12881
|
/* harmony export */ "copy": () => (/* binding */ copy),
|
|
12783
12882
|
/* harmony export */ "default": () => (/* binding */ sequential),
|
|
12784
12883
|
/* harmony export */ "sequentialLog": () => (/* binding */ sequentialLog),
|
|
12785
|
-
/* harmony export */ "sequentialSymlog": () => (/* binding */ sequentialSymlog),
|
|
12786
12884
|
/* harmony export */ "sequentialPow": () => (/* binding */ sequentialPow),
|
|
12787
|
-
/* harmony export */ "sequentialSqrt": () => (/* binding */ sequentialSqrt)
|
|
12885
|
+
/* harmony export */ "sequentialSqrt": () => (/* binding */ sequentialSqrt),
|
|
12886
|
+
/* harmony export */ "sequentialSymlog": () => (/* binding */ sequentialSymlog)
|
|
12788
12887
|
/* harmony export */ });
|
|
12789
12888
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/value.js");
|
|
12790
12889
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "../../victory-vendor/node_modules/d3-interpolate/src/round.js");
|
|
@@ -12972,8 +13071,8 @@ function sequentialQuantile() {
|
|
|
12972
13071
|
"use strict";
|
|
12973
13072
|
__webpack_require__.r(__webpack_exports__);
|
|
12974
13073
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12975
|
-
/* harmony export */ "
|
|
12976
|
-
/* harmony export */ "
|
|
13074
|
+
/* harmony export */ "default": () => (/* binding */ symlog),
|
|
13075
|
+
/* harmony export */ "symlogish": () => (/* binding */ symlogish)
|
|
12977
13076
|
/* harmony export */ });
|
|
12978
13077
|
/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./linear.js */ "../../victory-vendor/node_modules/d3-scale/src/linear.js");
|
|
12979
13078
|
/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./continuous.js */ "../../victory-vendor/node_modules/d3-scale/src/continuous.js");
|
|
@@ -13265,11 +13364,11 @@ function utcTime() {
|
|
|
13265
13364
|
"use strict";
|
|
13266
13365
|
__webpack_require__.r(__webpack_exports__);
|
|
13267
13366
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13367
|
+
/* harmony export */ "default": () => (/* binding */ defaultLocale),
|
|
13268
13368
|
/* harmony export */ "timeFormat": () => (/* binding */ timeFormat),
|
|
13269
13369
|
/* harmony export */ "timeParse": () => (/* binding */ timeParse),
|
|
13270
13370
|
/* harmony export */ "utcFormat": () => (/* binding */ utcFormat),
|
|
13271
|
-
/* harmony export */ "utcParse": () => (/* binding */ utcParse)
|
|
13272
|
-
/* harmony export */ "default": () => (/* binding */ defaultLocale)
|
|
13371
|
+
/* harmony export */ "utcParse": () => (/* binding */ utcParse)
|
|
13273
13372
|
/* harmony export */ });
|
|
13274
13373
|
/* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./locale.js */ "../../victory-vendor/node_modules/d3-time-format/src/locale.js");
|
|
13275
13374
|
|
|
@@ -14019,8 +14118,8 @@ function formatUnixTimestampSeconds(d) {
|
|
|
14019
14118
|
"use strict";
|
|
14020
14119
|
__webpack_require__.r(__webpack_exports__);
|
|
14021
14120
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14022
|
-
/* harmony export */ "
|
|
14023
|
-
/* harmony export */ "
|
|
14121
|
+
/* harmony export */ "days": () => (/* binding */ days),
|
|
14122
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
14024
14123
|
/* harmony export */ });
|
|
14025
14124
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
14026
14125
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -14049,12 +14148,12 @@ var days = day.range;
|
|
|
14049
14148
|
"use strict";
|
|
14050
14149
|
__webpack_require__.r(__webpack_exports__);
|
|
14051
14150
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14052
|
-
/* harmony export */ "durationSecond": () => (/* binding */ durationSecond),
|
|
14053
|
-
/* harmony export */ "durationMinute": () => (/* binding */ durationMinute),
|
|
14054
|
-
/* harmony export */ "durationHour": () => (/* binding */ durationHour),
|
|
14055
14151
|
/* harmony export */ "durationDay": () => (/* binding */ durationDay),
|
|
14056
|
-
/* harmony export */ "
|
|
14152
|
+
/* harmony export */ "durationHour": () => (/* binding */ durationHour),
|
|
14153
|
+
/* harmony export */ "durationMinute": () => (/* binding */ durationMinute),
|
|
14057
14154
|
/* harmony export */ "durationMonth": () => (/* binding */ durationMonth),
|
|
14155
|
+
/* harmony export */ "durationSecond": () => (/* binding */ durationSecond),
|
|
14156
|
+
/* harmony export */ "durationWeek": () => (/* binding */ durationWeek),
|
|
14058
14157
|
/* harmony export */ "durationYear": () => (/* binding */ durationYear)
|
|
14059
14158
|
/* harmony export */ });
|
|
14060
14159
|
const durationSecond = 1000;
|
|
@@ -14336,10 +14435,10 @@ var seconds = second.range;
|
|
|
14336
14435
|
"use strict";
|
|
14337
14436
|
__webpack_require__.r(__webpack_exports__);
|
|
14338
14437
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14339
|
-
/* harmony export */ "
|
|
14340
|
-
/* harmony export */ "utcTickInterval": () => (/* binding */ utcTickInterval),
|
|
14438
|
+
/* harmony export */ "timeTickInterval": () => (/* binding */ timeTickInterval),
|
|
14341
14439
|
/* harmony export */ "timeTicks": () => (/* binding */ timeTicks),
|
|
14342
|
-
/* harmony export */ "
|
|
14440
|
+
/* harmony export */ "utcTickInterval": () => (/* binding */ utcTickInterval),
|
|
14441
|
+
/* harmony export */ "utcTicks": () => (/* binding */ utcTicks)
|
|
14343
14442
|
/* harmony export */ });
|
|
14344
14443
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/bisector.js");
|
|
14345
14444
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! d3-array */ "../../victory-vendor/node_modules/d3-array/src/ticks.js");
|
|
@@ -14566,20 +14665,20 @@ var utcMonths = utcMonth.range;
|
|
|
14566
14665
|
"use strict";
|
|
14567
14666
|
__webpack_require__.r(__webpack_exports__);
|
|
14568
14667
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14569
|
-
/* harmony export */ "utcSunday": () => (/* binding */ utcSunday),
|
|
14570
|
-
/* harmony export */ "utcMonday": () => (/* binding */ utcMonday),
|
|
14571
|
-
/* harmony export */ "utcTuesday": () => (/* binding */ utcTuesday),
|
|
14572
|
-
/* harmony export */ "utcWednesday": () => (/* binding */ utcWednesday),
|
|
14573
|
-
/* harmony export */ "utcThursday": () => (/* binding */ utcThursday),
|
|
14574
14668
|
/* harmony export */ "utcFriday": () => (/* binding */ utcFriday),
|
|
14669
|
+
/* harmony export */ "utcFridays": () => (/* binding */ utcFridays),
|
|
14670
|
+
/* harmony export */ "utcMonday": () => (/* binding */ utcMonday),
|
|
14671
|
+
/* harmony export */ "utcMondays": () => (/* binding */ utcMondays),
|
|
14575
14672
|
/* harmony export */ "utcSaturday": () => (/* binding */ utcSaturday),
|
|
14673
|
+
/* harmony export */ "utcSaturdays": () => (/* binding */ utcSaturdays),
|
|
14674
|
+
/* harmony export */ "utcSunday": () => (/* binding */ utcSunday),
|
|
14576
14675
|
/* harmony export */ "utcSundays": () => (/* binding */ utcSundays),
|
|
14577
|
-
/* harmony export */ "
|
|
14578
|
-
/* harmony export */ "utcTuesdays": () => (/* binding */ utcTuesdays),
|
|
14579
|
-
/* harmony export */ "utcWednesdays": () => (/* binding */ utcWednesdays),
|
|
14676
|
+
/* harmony export */ "utcThursday": () => (/* binding */ utcThursday),
|
|
14580
14677
|
/* harmony export */ "utcThursdays": () => (/* binding */ utcThursdays),
|
|
14581
|
-
/* harmony export */ "
|
|
14582
|
-
/* harmony export */ "
|
|
14678
|
+
/* harmony export */ "utcTuesday": () => (/* binding */ utcTuesday),
|
|
14679
|
+
/* harmony export */ "utcTuesdays": () => (/* binding */ utcTuesdays),
|
|
14680
|
+
/* harmony export */ "utcWednesday": () => (/* binding */ utcWednesday),
|
|
14681
|
+
/* harmony export */ "utcWednesdays": () => (/* binding */ utcWednesdays)
|
|
14583
14682
|
/* harmony export */ });
|
|
14584
14683
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
14585
14684
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|
|
@@ -14668,20 +14767,20 @@ var utcYears = utcYear.range;
|
|
|
14668
14767
|
"use strict";
|
|
14669
14768
|
__webpack_require__.r(__webpack_exports__);
|
|
14670
14769
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14671
|
-
/* harmony export */ "sunday": () => (/* binding */ sunday),
|
|
14672
|
-
/* harmony export */ "monday": () => (/* binding */ monday),
|
|
14673
|
-
/* harmony export */ "tuesday": () => (/* binding */ tuesday),
|
|
14674
|
-
/* harmony export */ "wednesday": () => (/* binding */ wednesday),
|
|
14675
|
-
/* harmony export */ "thursday": () => (/* binding */ thursday),
|
|
14676
14770
|
/* harmony export */ "friday": () => (/* binding */ friday),
|
|
14771
|
+
/* harmony export */ "fridays": () => (/* binding */ fridays),
|
|
14772
|
+
/* harmony export */ "monday": () => (/* binding */ monday),
|
|
14773
|
+
/* harmony export */ "mondays": () => (/* binding */ mondays),
|
|
14677
14774
|
/* harmony export */ "saturday": () => (/* binding */ saturday),
|
|
14775
|
+
/* harmony export */ "saturdays": () => (/* binding */ saturdays),
|
|
14776
|
+
/* harmony export */ "sunday": () => (/* binding */ sunday),
|
|
14678
14777
|
/* harmony export */ "sundays": () => (/* binding */ sundays),
|
|
14679
|
-
/* harmony export */ "
|
|
14680
|
-
/* harmony export */ "tuesdays": () => (/* binding */ tuesdays),
|
|
14681
|
-
/* harmony export */ "wednesdays": () => (/* binding */ wednesdays),
|
|
14778
|
+
/* harmony export */ "thursday": () => (/* binding */ thursday),
|
|
14682
14779
|
/* harmony export */ "thursdays": () => (/* binding */ thursdays),
|
|
14683
|
-
/* harmony export */ "
|
|
14684
|
-
/* harmony export */ "
|
|
14780
|
+
/* harmony export */ "tuesday": () => (/* binding */ tuesday),
|
|
14781
|
+
/* harmony export */ "tuesdays": () => (/* binding */ tuesdays),
|
|
14782
|
+
/* harmony export */ "wednesday": () => (/* binding */ wednesday),
|
|
14783
|
+
/* harmony export */ "wednesdays": () => (/* binding */ wednesdays)
|
|
14685
14784
|
/* harmony export */ });
|
|
14686
14785
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../victory-vendor/node_modules/d3-time/src/interval.js");
|
|
14687
14786
|
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../victory-vendor/node_modules/d3-time/src/duration.js");
|