@visactor/react-vchart 2.0.13-alpha.7 → 2.0.13
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/build/index.js +69 -242
- package/build/index.min.js +3 -12
- package/cjs/components/MarkArea.js +1 -2
- package/cjs/components/ScrollBar.js +2 -1
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/esm/components/MarkArea.js +1 -2
- package/esm/components/ScrollBar.js +2 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/package.json +6 -6
package/build/index.js
CHANGED
|
@@ -14995,6 +14995,7 @@
|
|
|
14995
14995
|
var _a;
|
|
14996
14996
|
if (!states.length) return void this.clearStates(hasAnimation);
|
|
14997
14997
|
if (!((null === (_a = this.currentStates) || void 0 === _a ? void 0 : _a.length) !== states.length || states.some((stateName, index) => this.currentStates[index] !== stateName))) return;
|
|
14998
|
+
this.stateSort && (states = states.sort(this.stateSort));
|
|
14998
14999
|
const stateAttrs = {};
|
|
14999
15000
|
states.forEach(stateName => {
|
|
15000
15001
|
var _a;
|
|
@@ -17023,7 +17024,7 @@
|
|
|
17023
17024
|
var _a;
|
|
17024
17025
|
if (!states.length) return void this.clearStates(hasAnimation);
|
|
17025
17026
|
if (!((null === (_a = this.currentStates) || void 0 === _a ? void 0 : _a.length) !== states.length || states.some((stateName, index) => this.currentStates[index] !== stateName))) return;
|
|
17026
|
-
this.stopStateAnimates();
|
|
17027
|
+
this.stopStateAnimates(), this.stateSort && (states = states.sort(this.stateSort));
|
|
17027
17028
|
const stateAttrs = {},
|
|
17028
17029
|
subAttrs = this.subGraphic.map(() => ({}));
|
|
17029
17030
|
states.forEach(stateName => {
|
|
@@ -31193,8 +31194,8 @@
|
|
|
31193
31194
|
}
|
|
31194
31195
|
parseParams(params, isTimeline, child) {
|
|
31195
31196
|
var _a, _b;
|
|
31196
|
-
const totalTime = this.resolveValue(params.totalTime,
|
|
31197
|
-
startTime = this.resolveValue(params.startTime,
|
|
31197
|
+
const totalTime = this.resolveValue(params.totalTime, child, void 0),
|
|
31198
|
+
startTime = this.resolveValue(params.startTime, child, 0),
|
|
31198
31199
|
parsedParams = Object.assign({}, params);
|
|
31199
31200
|
parsedParams.oneByOneDelay = 0, parsedParams.startTime = startTime, parsedParams.totalTime = totalTime;
|
|
31200
31201
|
const oneByOne = this.resolveValue(params.oneByOne, child, !1);
|
|
@@ -31243,11 +31244,10 @@
|
|
|
31243
31244
|
let oneByOneDelay = 0;
|
|
31244
31245
|
oneByOne && (oneByOneDelay = "number" == typeof oneByOne ? oneByOne : oneByOne ? delay + delayAfter + duration : 0), parsedParams.oneByOneDelay = oneByOneDelay, parsedParams.custom = null !== (_a = params.custom) && void 0 !== _a ? _a : AnimateExecutor.builtInAnimateMap[null !== (_b = params.type) && void 0 !== _b ? _b : "fromTo"];
|
|
31245
31246
|
const customType = getCustomType(parsedParams.custom);
|
|
31246
|
-
|
|
31247
|
-
|
|
31248
|
-
|
|
31249
|
-
|
|
31250
|
-
}
|
|
31247
|
+
parsedParams.customType = customType;
|
|
31248
|
+
const _totalTime = delay + delayAfter + duration + oneByOneDelay * (this._target.count - 2),
|
|
31249
|
+
scale = isValidNumber$1(totalTime) ? totalTime / _totalTime : 1;
|
|
31250
|
+
parsedParams.delay = delay * scale, parsedParams.delayAfter = delayAfter * scale, parsedParams.duration = duration * scale, parsedParams.oneByOneDelay = oneByOneDelay * scale, parsedParams.startTime = startTime;
|
|
31251
31251
|
}
|
|
31252
31252
|
return parsedParams;
|
|
31253
31253
|
}
|
|
@@ -49936,7 +49936,7 @@
|
|
|
49936
49936
|
});
|
|
49937
49937
|
const graphicCount = allGraphics.length;
|
|
49938
49938
|
allGraphics.forEach((g, index) => {
|
|
49939
|
-
g.context.graphicCount = graphicCount, g.context.graphicIndex = index;
|
|
49939
|
+
g.context.graphicCount = graphicCount, g.context.graphicIndex = index, g.stateSort = this._stateSort;
|
|
49940
49940
|
}), this._dataByKey = newGroupedData, this._graphics = allGraphics, this.needClear = !0;
|
|
49941
49941
|
}
|
|
49942
49942
|
_runEncoderOfGraphic(styles, g, attrs = {}) {
|
|
@@ -49969,9 +49969,13 @@
|
|
|
49969
49969
|
var _a;
|
|
49970
49970
|
const attrsByGroup = noGroupEncode ? null : this._runGroupEncoder(null === (_a = this._encoderOfState) || void 0 === _a ? void 0 : _a.group);
|
|
49971
49971
|
graphics.forEach((g, index) => {
|
|
49972
|
-
var _a;
|
|
49973
|
-
|
|
49974
|
-
|
|
49972
|
+
var _a, _b;
|
|
49973
|
+
let attrs = this._runEncoderOfGraphic(null === (_a = this._encoderOfState) || void 0 === _a ? void 0 : _a.update, g);
|
|
49974
|
+
null === (_b = g.currentStates) || void 0 === _b || _b.forEach(_state => {
|
|
49975
|
+
var _a;
|
|
49976
|
+
const stateAttr = this._runEncoderOfGraphic(null === (_a = this._encoderOfState) || void 0 === _a ? void 0 : _a[_state], g);
|
|
49977
|
+
attrs = Object.assign(Object.assign({}, attrs), stateAttr);
|
|
49978
|
+
}), isNil$1(this._markConfig.interactive) || (attrs.pickable = this._markConfig.interactive);
|
|
49975
49979
|
const finalAttrs = this._transformGraphicAttributes(g, attrs, null == attrsByGroup ? void 0 : attrsByGroup[g.context.groupKey]);
|
|
49976
49980
|
g.context.finalAttrs = finalAttrs;
|
|
49977
49981
|
});
|
|
@@ -49987,7 +49991,7 @@
|
|
|
49987
49991
|
g.context.diffAttrs = diffAttrs, g.context.reusing ? (g.context.lastAttrs = g.attribute, g.initAttributes({}), g.context.reusing = !1) : hasStateAnimation || (hasAnimation ? g.setAttributesAndPreventAnimate(diffAttrs) : g.setAttributes(diffAttrs)), hasAnimation && g.setFinalAttributes(finalAttrs);
|
|
49988
49992
|
} else {
|
|
49989
49993
|
const mockGraphic = g;
|
|
49990
|
-
g = this._createGraphic(finalAttrs), hasAnimation && (null === (_a = g.setFinalAttributes) || void 0 === _a || _a.call(g, finalAttrs)), g.context = mockGraphic.context, g.context.diffAttrs = finalAttrs;
|
|
49994
|
+
g = this._createGraphic(finalAttrs), hasAnimation && (null === (_a = g.setFinalAttributes) || void 0 === _a || _a.call(g, finalAttrs)), g.context = mockGraphic.context, g.context.diffAttrs = finalAttrs, g.stateSort = this._stateSort;
|
|
49991
49995
|
const gIndex = this._graphics === graphics ? index : index + this._graphics.length - graphics.length;
|
|
49992
49996
|
if (gIndex >= 0 && (this._graphics[gIndex] = g), null === (_b = this.renderContext) || void 0 === _b ? void 0 : _b.progressive) {
|
|
49993
49997
|
const groupIndex = this._dataByGroup ? this._dataByGroup.keys.indexOf(g.context.groupKey) : 0,
|
|
@@ -77306,7 +77310,7 @@
|
|
|
77306
77310
|
datumContainsArray = (fields, data) => datum => fields.every((key, i) => datum[key] === (null == data ? void 0 : data[i])),
|
|
77307
77311
|
hasData = data => !isNil$1(data) && (isArray$1(data) ? data.length > 0 && data.every(isValid$1) : Object.keys(data).length > 0);
|
|
77308
77312
|
function showTooltip(datum, options, component) {
|
|
77309
|
-
var _a, _b, _c, _d, _e, _f;
|
|
77313
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
77310
77314
|
const opt = Object.assign({
|
|
77311
77315
|
regionIndex: 0
|
|
77312
77316
|
}, options),
|
|
@@ -77325,24 +77329,36 @@
|
|
|
77325
77329
|
getOriginDatum = info => {
|
|
77326
77330
|
var _a;
|
|
77327
77331
|
const {
|
|
77328
|
-
|
|
77329
|
-
|
|
77330
|
-
|
|
77331
|
-
|
|
77332
|
-
|
|
77333
|
-
|
|
77334
|
-
|
|
77335
|
-
|
|
77336
|
-
return originDatum;
|
|
77332
|
+
dimensionFields: dimensionFields,
|
|
77333
|
+
dimensionData: dimensionData,
|
|
77334
|
+
measureFields: measureFields,
|
|
77335
|
+
measureData: measureData,
|
|
77336
|
+
groupField: groupField,
|
|
77337
|
+
groupData: groupData
|
|
77338
|
+
} = info.data;
|
|
77339
|
+
return null === (_a = info.series.getViewData()) || void 0 === _a ? void 0 : _a.latestData.find(datum => datumContainsArray(dimensionFields, dimensionData)(datum) && datumContainsArray(measureFields, measureData)(datum) && (isNil$1(groupField) || datumContainsArray([groupField], [groupData])(datum)));
|
|
77337
77340
|
},
|
|
77341
|
+
transform = region.getOption().globalInstance.getStage().window.getViewBoxTransform().getInverse(),
|
|
77338
77342
|
getMockEvent = originPos => {
|
|
77339
77343
|
var _a, _b;
|
|
77340
77344
|
const pos = (pos => ({
|
|
77341
77345
|
x: Math.min(Math.max(pos.x, 0), regionRect.width),
|
|
77342
77346
|
y: Math.min(Math.max(pos.y, 0), regionRect.height)
|
|
77343
77347
|
}))(originPos),
|
|
77344
|
-
|
|
77345
|
-
|
|
77348
|
+
tempX = null !== (_a = opt.x) && void 0 !== _a ? _a : regionPos.x + pos.x,
|
|
77349
|
+
tempY = null !== (_b = opt.y) && void 0 !== _b ? _b : regionPos.y + pos.y,
|
|
77350
|
+
canvasPoint = {
|
|
77351
|
+
x: 0,
|
|
77352
|
+
y: 0
|
|
77353
|
+
};
|
|
77354
|
+
transform.transformPoint({
|
|
77355
|
+
x: tempX,
|
|
77356
|
+
y: tempY
|
|
77357
|
+
}, canvasPoint);
|
|
77358
|
+
const {
|
|
77359
|
+
x: canvasX,
|
|
77360
|
+
y: canvasY
|
|
77361
|
+
} = canvasPoint;
|
|
77346
77362
|
return {
|
|
77347
77363
|
canvasX: canvasX,
|
|
77348
77364
|
canvasY: canvasY,
|
|
@@ -77391,7 +77407,7 @@
|
|
|
77391
77407
|
if ("mark" === activeType) {
|
|
77392
77408
|
const info = markInfoList[0];
|
|
77393
77409
|
if (!info) return "none";
|
|
77394
|
-
const mockDatum = Object.assign(Object.assign({}, getOriginDatum(info)), datum),
|
|
77410
|
+
const mockDatum = null !== (_f = info.data.originDatum) && void 0 !== _f ? _f : Object.assign(Object.assign({}, getOriginDatum(info)), datum),
|
|
77395
77411
|
mockDimensionData = [{
|
|
77396
77412
|
datum: [mockDatum],
|
|
77397
77413
|
series: info.series
|
|
@@ -77403,7 +77419,7 @@
|
|
|
77403
77419
|
value: mockDatum[info.data.dimensionFields[0]],
|
|
77404
77420
|
data: mockDimensionData
|
|
77405
77421
|
}],
|
|
77406
|
-
chart: null !== (
|
|
77422
|
+
chart: null !== (_g = componentOptions.globalInstance.getChart()) && void 0 !== _g ? _g : void 0,
|
|
77407
77423
|
datum: mockDatum,
|
|
77408
77424
|
model: info.series,
|
|
77409
77425
|
source: Event_Source_Type.chart,
|
|
@@ -77537,7 +77553,30 @@
|
|
|
77537
77553
|
});
|
|
77538
77554
|
} else parseMarkInfoOfSimpleSeries();
|
|
77539
77555
|
}
|
|
77540
|
-
} else "geo" === series.coordinate &&
|
|
77556
|
+
} else "geo" === series.coordinate && (() => {
|
|
77557
|
+
var _a, _b;
|
|
77558
|
+
const originDatum = null === (_b = null === (_a = series.getMapViewData) || void 0 === _a ? void 0 : _a.call(series)) || void 0 === _b ? void 0 : _b.latestData.find(datum => dimensionFields.every((key, i) => datum.properties[key] === (null == dimensionData ? void 0 : dimensionData[i])));
|
|
77559
|
+
let markInfoMeasureData = measureData;
|
|
77560
|
+
if (!hasMeasureData) {
|
|
77561
|
+
if (measureData = getDataArrayFromFieldArray(measureFields, originDatum), markInfoMeasureData = measureData, !hasData(measureData) && !originDatum) return;
|
|
77562
|
+
measureData = Object.assign({}, originDatum.properties);
|
|
77563
|
+
}
|
|
77564
|
+
const pos = series.type === SeriesTypeEnum.pie ? series.dataToCentralPosition(originDatum.properties) : series.dataToPosition(originDatum.properties);
|
|
77565
|
+
isNil$1(pos) || isNaN(pos.x) || isNaN(pos.y) || markInfoList.push({
|
|
77566
|
+
pos: pos,
|
|
77567
|
+
data: {
|
|
77568
|
+
dimensionFields: dimensionFields,
|
|
77569
|
+
dimensionData: dimensionData,
|
|
77570
|
+
measureFields: measureFields,
|
|
77571
|
+
measureData: markInfoMeasureData,
|
|
77572
|
+
hasMeasureData: hasMeasureData,
|
|
77573
|
+
groupField: groupField,
|
|
77574
|
+
groupData: groupData,
|
|
77575
|
+
originDatum: originDatum
|
|
77576
|
+
},
|
|
77577
|
+
series: series
|
|
77578
|
+
});
|
|
77579
|
+
})();
|
|
77541
77580
|
}), markInfoList;
|
|
77542
77581
|
};
|
|
77543
77582
|
|
|
@@ -85786,220 +85825,8 @@
|
|
|
85786
85825
|
return reactIs_production_min;
|
|
85787
85826
|
}
|
|
85788
85827
|
|
|
85789
|
-
|
|
85790
|
-
|
|
85791
|
-
/**
|
|
85792
|
-
* @license React
|
|
85793
|
-
* react-is.development.js
|
|
85794
|
-
*
|
|
85795
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
85796
|
-
*
|
|
85797
|
-
* This source code is licensed under the MIT license found in the
|
|
85798
|
-
* LICENSE file in the root directory of this source tree.
|
|
85799
|
-
*/
|
|
85800
|
-
var hasRequiredReactIs_development;
|
|
85801
|
-
function requireReactIs_development() {
|
|
85802
|
-
if (hasRequiredReactIs_development) return reactIs_development;
|
|
85803
|
-
hasRequiredReactIs_development = 1;
|
|
85804
|
-
if (process.env.NODE_ENV !== "production") {
|
|
85805
|
-
(function () {
|
|
85806
|
-
|
|
85807
|
-
// ATTENTION
|
|
85808
|
-
// When adding new symbols to this file,
|
|
85809
|
-
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
|
|
85810
|
-
// The Symbol used to tag the ReactElement-like types.
|
|
85811
|
-
var REACT_ELEMENT_TYPE = Symbol.for('react.element');
|
|
85812
|
-
var REACT_PORTAL_TYPE = Symbol.for('react.portal');
|
|
85813
|
-
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
|
|
85814
|
-
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
|
|
85815
|
-
var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
|
|
85816
|
-
var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
|
|
85817
|
-
var REACT_CONTEXT_TYPE = Symbol.for('react.context');
|
|
85818
|
-
var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');
|
|
85819
|
-
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
|
|
85820
|
-
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
|
|
85821
|
-
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
|
|
85822
|
-
var REACT_MEMO_TYPE = Symbol.for('react.memo');
|
|
85823
|
-
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
|
|
85824
|
-
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
|
|
85825
|
-
|
|
85826
|
-
// -----------------------------------------------------------------------------
|
|
85827
|
-
|
|
85828
|
-
var enableScopeAPI = false; // Experimental Create Event Handle API.
|
|
85829
|
-
var enableCacheElement = false;
|
|
85830
|
-
var enableTransitionTracing = false; // No known bugs, but needs performance testing
|
|
85831
|
-
|
|
85832
|
-
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
|
|
85833
|
-
// stuff. Intended to enable React core members to more easily debug scheduling
|
|
85834
|
-
// issues in DEV builds.
|
|
85835
|
-
|
|
85836
|
-
var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
|
|
85837
|
-
|
|
85838
|
-
var REACT_MODULE_REFERENCE;
|
|
85839
|
-
{
|
|
85840
|
-
REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
|
|
85841
|
-
}
|
|
85842
|
-
function isValidElementType(type) {
|
|
85843
|
-
if (typeof type === 'string' || typeof type === 'function') {
|
|
85844
|
-
return true;
|
|
85845
|
-
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
|
|
85846
|
-
|
|
85847
|
-
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
|
|
85848
|
-
return true;
|
|
85849
|
-
}
|
|
85850
|
-
if (typeof type === 'object' && type !== null) {
|
|
85851
|
-
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
85852
|
-
// This needs to include all possible module reference object
|
|
85853
|
-
// types supported by any Flight configuration anywhere since
|
|
85854
|
-
// we don't know which Flight build this will end up being used
|
|
85855
|
-
// with.
|
|
85856
|
-
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
|
|
85857
|
-
return true;
|
|
85858
|
-
}
|
|
85859
|
-
}
|
|
85860
|
-
return false;
|
|
85861
|
-
}
|
|
85862
|
-
function typeOf(object) {
|
|
85863
|
-
if (typeof object === 'object' && object !== null) {
|
|
85864
|
-
var $$typeof = object.$$typeof;
|
|
85865
|
-
switch ($$typeof) {
|
|
85866
|
-
case REACT_ELEMENT_TYPE:
|
|
85867
|
-
var type = object.type;
|
|
85868
|
-
switch (type) {
|
|
85869
|
-
case REACT_FRAGMENT_TYPE:
|
|
85870
|
-
case REACT_PROFILER_TYPE:
|
|
85871
|
-
case REACT_STRICT_MODE_TYPE:
|
|
85872
|
-
case REACT_SUSPENSE_TYPE:
|
|
85873
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
85874
|
-
return type;
|
|
85875
|
-
default:
|
|
85876
|
-
var $$typeofType = type && type.$$typeof;
|
|
85877
|
-
switch ($$typeofType) {
|
|
85878
|
-
case REACT_SERVER_CONTEXT_TYPE:
|
|
85879
|
-
case REACT_CONTEXT_TYPE:
|
|
85880
|
-
case REACT_FORWARD_REF_TYPE:
|
|
85881
|
-
case REACT_LAZY_TYPE:
|
|
85882
|
-
case REACT_MEMO_TYPE:
|
|
85883
|
-
case REACT_PROVIDER_TYPE:
|
|
85884
|
-
return $$typeofType;
|
|
85885
|
-
default:
|
|
85886
|
-
return $$typeof;
|
|
85887
|
-
}
|
|
85888
|
-
}
|
|
85889
|
-
case REACT_PORTAL_TYPE:
|
|
85890
|
-
return $$typeof;
|
|
85891
|
-
}
|
|
85892
|
-
}
|
|
85893
|
-
return undefined;
|
|
85894
|
-
}
|
|
85895
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
85896
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
85897
|
-
var Element = REACT_ELEMENT_TYPE;
|
|
85898
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
85899
|
-
var Fragment = REACT_FRAGMENT_TYPE;
|
|
85900
|
-
var Lazy = REACT_LAZY_TYPE;
|
|
85901
|
-
var Memo = REACT_MEMO_TYPE;
|
|
85902
|
-
var Portal = REACT_PORTAL_TYPE;
|
|
85903
|
-
var Profiler = REACT_PROFILER_TYPE;
|
|
85904
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
85905
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
|
85906
|
-
var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
85907
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
85908
|
-
var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
|
|
85909
|
-
|
|
85910
|
-
function isAsyncMode(object) {
|
|
85911
|
-
{
|
|
85912
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
85913
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
85914
|
-
|
|
85915
|
-
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
85916
|
-
}
|
|
85917
|
-
}
|
|
85918
|
-
return false;
|
|
85919
|
-
}
|
|
85920
|
-
function isConcurrentMode(object) {
|
|
85921
|
-
{
|
|
85922
|
-
if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
|
|
85923
|
-
hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
85924
|
-
|
|
85925
|
-
console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
85926
|
-
}
|
|
85927
|
-
}
|
|
85928
|
-
return false;
|
|
85929
|
-
}
|
|
85930
|
-
function isContextConsumer(object) {
|
|
85931
|
-
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
85932
|
-
}
|
|
85933
|
-
function isContextProvider(object) {
|
|
85934
|
-
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
85935
|
-
}
|
|
85936
|
-
function isElement(object) {
|
|
85937
|
-
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
85938
|
-
}
|
|
85939
|
-
function isForwardRef(object) {
|
|
85940
|
-
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
85941
|
-
}
|
|
85942
|
-
function isFragment(object) {
|
|
85943
|
-
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
85944
|
-
}
|
|
85945
|
-
function isLazy(object) {
|
|
85946
|
-
return typeOf(object) === REACT_LAZY_TYPE;
|
|
85947
|
-
}
|
|
85948
|
-
function isMemo(object) {
|
|
85949
|
-
return typeOf(object) === REACT_MEMO_TYPE;
|
|
85950
|
-
}
|
|
85951
|
-
function isPortal(object) {
|
|
85952
|
-
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
85953
|
-
}
|
|
85954
|
-
function isProfiler(object) {
|
|
85955
|
-
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
85956
|
-
}
|
|
85957
|
-
function isStrictMode(object) {
|
|
85958
|
-
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
85959
|
-
}
|
|
85960
|
-
function isSuspense(object) {
|
|
85961
|
-
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
85962
|
-
}
|
|
85963
|
-
function isSuspenseList(object) {
|
|
85964
|
-
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
85965
|
-
}
|
|
85966
|
-
reactIs_development.ContextConsumer = ContextConsumer;
|
|
85967
|
-
reactIs_development.ContextProvider = ContextProvider;
|
|
85968
|
-
reactIs_development.Element = Element;
|
|
85969
|
-
reactIs_development.ForwardRef = ForwardRef;
|
|
85970
|
-
reactIs_development.Fragment = Fragment;
|
|
85971
|
-
reactIs_development.Lazy = Lazy;
|
|
85972
|
-
reactIs_development.Memo = Memo;
|
|
85973
|
-
reactIs_development.Portal = Portal;
|
|
85974
|
-
reactIs_development.Profiler = Profiler;
|
|
85975
|
-
reactIs_development.StrictMode = StrictMode;
|
|
85976
|
-
reactIs_development.Suspense = Suspense;
|
|
85977
|
-
reactIs_development.SuspenseList = SuspenseList;
|
|
85978
|
-
reactIs_development.isAsyncMode = isAsyncMode;
|
|
85979
|
-
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
85980
|
-
reactIs_development.isContextConsumer = isContextConsumer;
|
|
85981
|
-
reactIs_development.isContextProvider = isContextProvider;
|
|
85982
|
-
reactIs_development.isElement = isElement;
|
|
85983
|
-
reactIs_development.isForwardRef = isForwardRef;
|
|
85984
|
-
reactIs_development.isFragment = isFragment;
|
|
85985
|
-
reactIs_development.isLazy = isLazy;
|
|
85986
|
-
reactIs_development.isMemo = isMemo;
|
|
85987
|
-
reactIs_development.isPortal = isPortal;
|
|
85988
|
-
reactIs_development.isProfiler = isProfiler;
|
|
85989
|
-
reactIs_development.isStrictMode = isStrictMode;
|
|
85990
|
-
reactIs_development.isSuspense = isSuspense;
|
|
85991
|
-
reactIs_development.isSuspenseList = isSuspenseList;
|
|
85992
|
-
reactIs_development.isValidElementType = isValidElementType;
|
|
85993
|
-
reactIs_development.typeOf = typeOf;
|
|
85994
|
-
})();
|
|
85995
|
-
}
|
|
85996
|
-
return reactIs_development;
|
|
85997
|
-
}
|
|
85998
|
-
|
|
85999
|
-
if (process.env.NODE_ENV === 'production') {
|
|
85828
|
+
{
|
|
86000
85829
|
reactIs.exports = requireReactIs_production_min();
|
|
86001
|
-
} else {
|
|
86002
|
-
reactIs.exports = requireReactIs_development();
|
|
86003
85830
|
}
|
|
86004
85831
|
var reactIsExports = reactIs.exports;
|
|
86005
85832
|
|
|
@@ -88785,7 +88612,7 @@
|
|
|
88785
88612
|
|
|
88786
88613
|
const VChartSimple = createChart('VChartSimple');
|
|
88787
88614
|
|
|
88788
|
-
const version = "2.0.
|
|
88615
|
+
const version = "2.0.13";
|
|
88789
88616
|
|
|
88790
88617
|
exports.Area = Area;
|
|
88791
88618
|
exports.AreaChart = AreaChart;
|