easyeda 0.0.235 → 0.0.237
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/browser/{chunk-3LTFTYMU.js → chunk-6S7LH5YP.js} +1005 -1211
- package/dist/browser/chunk-6S7LH5YP.js.map +1 -0
- package/dist/browser/{dist-52OJ7NI2.js → dist-62OZ4FIZ.js} +2 -2
- package/dist/browser/index.js +112 -85
- package/dist/browser/index.js.map +1 -1
- package/dist/main.cjs +2547 -2734
- package/dist/main.cjs.map +1 -1
- package/package.json +3 -6
- package/dist/browser/chunk-3LTFTYMU.js.map +0 -1
- /package/dist/browser/{dist-52OJ7NI2.js.map → dist-62OZ4FIZ.js.map} +0 -0
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
toSVG,
|
|
15
15
|
toString,
|
|
16
16
|
translate
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6S7LH5YP.js";
|
|
18
18
|
|
|
19
19
|
// node_modules/circuit-to-svg/dist/index.js
|
|
20
20
|
var import_svgson = __toESM(require_svgson_umd(), 1);
|
|
@@ -12379,4 +12379,4 @@ export {
|
|
|
12379
12379
|
isSimulationTransientVoltageGraph,
|
|
12380
12380
|
isSimulationVoltageProbe
|
|
12381
12381
|
};
|
|
12382
|
-
//# sourceMappingURL=dist-
|
|
12382
|
+
//# sourceMappingURL=dist-62OZ4FIZ.js.map
|
package/dist/browser/index.js
CHANGED
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
translate,
|
|
69
69
|
unknown_error_finding_part,
|
|
70
70
|
voltage
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-6S7LH5YP.js";
|
|
72
72
|
|
|
73
73
|
// node_modules/ms/index.js
|
|
74
74
|
var require_ms = __commonJS({
|
|
@@ -581,6 +581,8 @@ var require_react_development = __commonJS({
|
|
|
581
581
|
this.refs = emptyObject;
|
|
582
582
|
this.updater = updater || ReactNoopUpdateQueue;
|
|
583
583
|
}
|
|
584
|
+
function noop() {
|
|
585
|
+
}
|
|
584
586
|
function testStringCoercion(value) {
|
|
585
587
|
return "" + value;
|
|
586
588
|
}
|
|
@@ -629,7 +631,7 @@ var require_react_development = __commonJS({
|
|
|
629
631
|
case REACT_PORTAL_TYPE:
|
|
630
632
|
return "Portal";
|
|
631
633
|
case REACT_CONTEXT_TYPE:
|
|
632
|
-
return
|
|
634
|
+
return type.displayName || "Context";
|
|
633
635
|
case REACT_CONSUMER_TYPE:
|
|
634
636
|
return (type._context.displayName || "Context") + ".Consumer";
|
|
635
637
|
case REACT_FORWARD_REF_TYPE:
|
|
@@ -695,8 +697,8 @@ var require_react_development = __commonJS({
|
|
|
695
697
|
componentName = this.props.ref;
|
|
696
698
|
return void 0 !== componentName ? componentName : null;
|
|
697
699
|
}
|
|
698
|
-
function ReactElement(type, key,
|
|
699
|
-
|
|
700
|
+
function ReactElement(type, key, props, owner, debugStack, debugTask) {
|
|
701
|
+
var refProp = props.ref;
|
|
700
702
|
type = {
|
|
701
703
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
702
704
|
type,
|
|
@@ -704,7 +706,7 @@ var require_react_development = __commonJS({
|
|
|
704
706
|
props,
|
|
705
707
|
_owner: owner
|
|
706
708
|
};
|
|
707
|
-
null !== (void 0 !==
|
|
709
|
+
null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
|
|
708
710
|
enumerable: false,
|
|
709
711
|
get: elementRefGetterWithDeprecationWarning
|
|
710
712
|
}) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
|
@@ -740,16 +742,17 @@ var require_react_development = __commonJS({
|
|
|
740
742
|
newKey = ReactElement(
|
|
741
743
|
oldElement.type,
|
|
742
744
|
newKey,
|
|
743
|
-
void 0,
|
|
744
|
-
void 0,
|
|
745
|
-
oldElement._owner,
|
|
746
745
|
oldElement.props,
|
|
746
|
+
oldElement._owner,
|
|
747
747
|
oldElement._debugStack,
|
|
748
748
|
oldElement._debugTask
|
|
749
749
|
);
|
|
750
750
|
oldElement._store && (newKey._store.validated = oldElement._store.validated);
|
|
751
751
|
return newKey;
|
|
752
752
|
}
|
|
753
|
+
function validateChildKeys(node) {
|
|
754
|
+
isValidElement3(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement3(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
|
|
755
|
+
}
|
|
753
756
|
function isValidElement3(object) {
|
|
754
757
|
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
755
758
|
}
|
|
@@ -762,8 +765,6 @@ var require_react_development = __commonJS({
|
|
|
762
765
|
function getElementKey(element, index) {
|
|
763
766
|
return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape2("" + element.key)) : index.toString(36);
|
|
764
767
|
}
|
|
765
|
-
function noop$1() {
|
|
766
|
-
}
|
|
767
768
|
function resolveThenable(thenable) {
|
|
768
769
|
switch (thenable.status) {
|
|
769
770
|
case "fulfilled":
|
|
@@ -771,7 +772,7 @@ var require_react_development = __commonJS({
|
|
|
771
772
|
case "rejected":
|
|
772
773
|
throw thenable.reason;
|
|
773
774
|
default:
|
|
774
|
-
switch ("string" === typeof thenable.status ? thenable.then(noop
|
|
775
|
+
switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
|
|
775
776
|
function(fulfilledValue) {
|
|
776
777
|
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
777
778
|
},
|
|
@@ -878,28 +879,46 @@ var require_react_development = __commonJS({
|
|
|
878
879
|
}
|
|
879
880
|
function lazyInitializer(payload) {
|
|
880
881
|
if (-1 === payload._status) {
|
|
881
|
-
var
|
|
882
|
-
|
|
883
|
-
|
|
882
|
+
var ioInfo = payload._ioInfo;
|
|
883
|
+
null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
|
|
884
|
+
ioInfo = payload._result;
|
|
885
|
+
var thenable = ioInfo();
|
|
886
|
+
thenable.then(
|
|
884
887
|
function(moduleObject) {
|
|
885
|
-
if (0 === payload._status || -1 === payload._status)
|
|
886
|
-
payload._status = 1
|
|
888
|
+
if (0 === payload._status || -1 === payload._status) {
|
|
889
|
+
payload._status = 1;
|
|
890
|
+
payload._result = moduleObject;
|
|
891
|
+
var _ioInfo = payload._ioInfo;
|
|
892
|
+
null != _ioInfo && (_ioInfo.end = performance.now());
|
|
893
|
+
void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
|
|
894
|
+
}
|
|
887
895
|
},
|
|
888
896
|
function(error) {
|
|
889
|
-
if (0 === payload._status || -1 === payload._status)
|
|
890
|
-
payload._status = 2
|
|
897
|
+
if (0 === payload._status || -1 === payload._status) {
|
|
898
|
+
payload._status = 2;
|
|
899
|
+
payload._result = error;
|
|
900
|
+
var _ioInfo2 = payload._ioInfo;
|
|
901
|
+
null != _ioInfo2 && (_ioInfo2.end = performance.now());
|
|
902
|
+
void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
|
|
903
|
+
}
|
|
891
904
|
}
|
|
892
905
|
);
|
|
893
|
-
|
|
906
|
+
ioInfo = payload._ioInfo;
|
|
907
|
+
if (null != ioInfo) {
|
|
908
|
+
ioInfo.value = thenable;
|
|
909
|
+
var displayName = thenable.displayName;
|
|
910
|
+
"string" === typeof displayName && (ioInfo.name = displayName);
|
|
911
|
+
}
|
|
912
|
+
-1 === payload._status && (payload._status = 0, payload._result = thenable);
|
|
894
913
|
}
|
|
895
914
|
if (1 === payload._status)
|
|
896
|
-
return
|
|
915
|
+
return ioInfo = payload._result, void 0 === ioInfo && console.error(
|
|
897
916
|
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",
|
|
898
|
-
|
|
899
|
-
), "default" in
|
|
917
|
+
ioInfo
|
|
918
|
+
), "default" in ioInfo || console.error(
|
|
900
919
|
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
|
|
901
|
-
|
|
902
|
-
),
|
|
920
|
+
ioInfo
|
|
921
|
+
), ioInfo.default;
|
|
903
922
|
throw payload._result;
|
|
904
923
|
}
|
|
905
924
|
function resolveDispatcher() {
|
|
@@ -909,7 +928,8 @@ var require_react_development = __commonJS({
|
|
|
909
928
|
);
|
|
910
929
|
return dispatcher;
|
|
911
930
|
}
|
|
912
|
-
function
|
|
931
|
+
function releaseAsyncTransition() {
|
|
932
|
+
ReactSharedInternals.asyncTransitions--;
|
|
913
933
|
}
|
|
914
934
|
function enqueueTask(task) {
|
|
915
935
|
if (null === enqueueTaskImpl)
|
|
@@ -985,9 +1005,7 @@ var require_react_development = __commonJS({
|
|
|
985
1005
|
}
|
|
986
1006
|
}
|
|
987
1007
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
988
|
-
var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler")
|
|
989
|
-
/* @__PURE__ */ Symbol.for("react.provider");
|
|
990
|
-
var REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
|
|
1008
|
+
var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
|
|
991
1009
|
isMounted: function() {
|
|
992
1010
|
return false;
|
|
993
1011
|
},
|
|
@@ -1022,7 +1040,7 @@ var require_react_development = __commonJS({
|
|
|
1022
1040
|
"replaceState",
|
|
1023
1041
|
"Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
|
|
1024
1042
|
]
|
|
1025
|
-
}
|
|
1043
|
+
};
|
|
1026
1044
|
for (fnName in deprecatedAPIs)
|
|
1027
1045
|
deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
|
|
1028
1046
|
ComponentDummy.prototype = Component.prototype;
|
|
@@ -1035,8 +1053,8 @@ var require_react_development = __commonJS({
|
|
|
1035
1053
|
A: null,
|
|
1036
1054
|
T: null,
|
|
1037
1055
|
S: null,
|
|
1038
|
-
V: null,
|
|
1039
1056
|
actQueue: null,
|
|
1057
|
+
asyncTransitions: 0,
|
|
1040
1058
|
isBatchingLegacy: false,
|
|
1041
1059
|
didScheduleLegacyUpdate: false,
|
|
1042
1060
|
didUsePromise: false,
|
|
@@ -1047,13 +1065,16 @@ var require_react_development = __commonJS({
|
|
|
1047
1065
|
return null;
|
|
1048
1066
|
};
|
|
1049
1067
|
deprecatedAPIs = {
|
|
1050
|
-
|
|
1068
|
+
react_stack_bottom_frame: function(callStackForError) {
|
|
1051
1069
|
return callStackForError();
|
|
1052
1070
|
}
|
|
1053
1071
|
};
|
|
1054
1072
|
var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
|
|
1055
1073
|
var didWarnAboutElementRef = {};
|
|
1056
|
-
var unknownOwnerDebugStack = deprecatedAPIs
|
|
1074
|
+
var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(
|
|
1075
|
+
deprecatedAPIs,
|
|
1076
|
+
UnknownOwner
|
|
1077
|
+
)();
|
|
1057
1078
|
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
1058
1079
|
var didWarnAboutMaps = false, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
|
|
1059
1080
|
if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
|
|
@@ -1080,7 +1101,7 @@ var require_react_development = __commonJS({
|
|
|
1080
1101
|
return resolveDispatcher().useMemoCache(size);
|
|
1081
1102
|
}
|
|
1082
1103
|
});
|
|
1083
|
-
|
|
1104
|
+
var fnName = {
|
|
1084
1105
|
map: mapChildren,
|
|
1085
1106
|
forEach: function(children, forEachFunc, forEachContext) {
|
|
1086
1107
|
mapChildren(
|
|
@@ -1111,6 +1132,8 @@ var require_react_development = __commonJS({
|
|
|
1111
1132
|
return children;
|
|
1112
1133
|
}
|
|
1113
1134
|
};
|
|
1135
|
+
exports.Activity = REACT_ACTIVITY_TYPE;
|
|
1136
|
+
exports.Children = fnName;
|
|
1114
1137
|
exports.Component = Component;
|
|
1115
1138
|
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
1116
1139
|
exports.Profiler = REACT_PROFILER_TYPE;
|
|
@@ -1201,6 +1224,9 @@ var require_react_development = __commonJS({
|
|
|
1201
1224
|
return fn2.apply(null, arguments);
|
|
1202
1225
|
};
|
|
1203
1226
|
};
|
|
1227
|
+
exports.cacheSignal = function() {
|
|
1228
|
+
return null;
|
|
1229
|
+
};
|
|
1204
1230
|
exports.captureOwnerStack = function() {
|
|
1205
1231
|
var getCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
1206
1232
|
return null === getCurrentStack ? null : getCurrentStack();
|
|
@@ -1239,15 +1265,13 @@ var require_react_development = __commonJS({
|
|
|
1239
1265
|
props = ReactElement(
|
|
1240
1266
|
element.type,
|
|
1241
1267
|
key,
|
|
1242
|
-
void 0,
|
|
1243
|
-
void 0,
|
|
1244
|
-
owner,
|
|
1245
1268
|
props,
|
|
1269
|
+
owner,
|
|
1246
1270
|
element._debugStack,
|
|
1247
1271
|
element._debugTask
|
|
1248
1272
|
);
|
|
1249
1273
|
for (key = 2; key < arguments.length; key++)
|
|
1250
|
-
|
|
1274
|
+
validateChildKeys(arguments[key]);
|
|
1251
1275
|
return props;
|
|
1252
1276
|
};
|
|
1253
1277
|
exports.createContext = function(defaultValue) {
|
|
@@ -1269,16 +1293,14 @@ var require_react_development = __commonJS({
|
|
|
1269
1293
|
return defaultValue;
|
|
1270
1294
|
};
|
|
1271
1295
|
exports.createElement = function(type, config, children) {
|
|
1272
|
-
for (var i2 = 2; i2 < arguments.length; i2++)
|
|
1273
|
-
|
|
1274
|
-
isValidElement3(node) && node._store && (node._store.validated = 1);
|
|
1275
|
-
}
|
|
1296
|
+
for (var i2 = 2; i2 < arguments.length; i2++)
|
|
1297
|
+
validateChildKeys(arguments[i2]);
|
|
1276
1298
|
i2 = {};
|
|
1277
|
-
|
|
1299
|
+
var key = null;
|
|
1278
1300
|
if (null != config)
|
|
1279
1301
|
for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, console.warn(
|
|
1280
1302
|
"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
|
|
1281
|
-
)), hasValidKey(config) && (checkKeyStringCoercion(config.key),
|
|
1303
|
+
)), hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key), config)
|
|
1282
1304
|
hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i2[propName] = config[propName]);
|
|
1283
1305
|
var childrenLength = arguments.length - 2;
|
|
1284
1306
|
if (1 === childrenLength) i2.children = children;
|
|
@@ -1291,18 +1313,16 @@ var require_react_development = __commonJS({
|
|
|
1291
1313
|
if (type && type.defaultProps)
|
|
1292
1314
|
for (propName in childrenLength = type.defaultProps, childrenLength)
|
|
1293
1315
|
void 0 === i2[propName] && (i2[propName] = childrenLength[propName]);
|
|
1294
|
-
|
|
1316
|
+
key && defineKeyPropWarningGetter(
|
|
1295
1317
|
i2,
|
|
1296
1318
|
"function" === typeof type ? type.displayName || type.name || "Unknown" : type
|
|
1297
1319
|
);
|
|
1298
1320
|
var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
1299
1321
|
return ReactElement(
|
|
1300
1322
|
type,
|
|
1301
|
-
|
|
1302
|
-
void 0,
|
|
1303
|
-
void 0,
|
|
1304
|
-
getOwner(),
|
|
1323
|
+
key,
|
|
1305
1324
|
i2,
|
|
1325
|
+
getOwner(),
|
|
1306
1326
|
propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
|
1307
1327
|
propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
1308
1328
|
);
|
|
@@ -1341,11 +1361,23 @@ var require_react_development = __commonJS({
|
|
|
1341
1361
|
};
|
|
1342
1362
|
exports.isValidElement = isValidElement3;
|
|
1343
1363
|
exports.lazy = function(ctor) {
|
|
1344
|
-
|
|
1364
|
+
ctor = { _status: -1, _result: ctor };
|
|
1365
|
+
var lazyType = {
|
|
1345
1366
|
$$typeof: REACT_LAZY_TYPE,
|
|
1346
|
-
_payload:
|
|
1367
|
+
_payload: ctor,
|
|
1347
1368
|
_init: lazyInitializer
|
|
1369
|
+
}, ioInfo = {
|
|
1370
|
+
name: "lazy",
|
|
1371
|
+
start: -1,
|
|
1372
|
+
end: -1,
|
|
1373
|
+
value: null,
|
|
1374
|
+
owner: null,
|
|
1375
|
+
debugStack: Error("react-stack-top-frame"),
|
|
1376
|
+
debugTask: console.createTask ? console.createTask("lazy()") : null
|
|
1348
1377
|
};
|
|
1378
|
+
ctor._ioInfo = ioInfo;
|
|
1379
|
+
lazyType._debugInfo = [{ awaited: ioInfo }];
|
|
1380
|
+
return lazyType;
|
|
1349
1381
|
};
|
|
1350
1382
|
exports.memo = function(type, compare) {
|
|
1351
1383
|
null == type && console.error(
|
|
@@ -1373,18 +1405,20 @@ var require_react_development = __commonJS({
|
|
|
1373
1405
|
};
|
|
1374
1406
|
exports.startTransition = function(scope) {
|
|
1375
1407
|
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
|
1376
|
-
ReactSharedInternals.T = currentTransition;
|
|
1377
1408
|
currentTransition._updatedFibers = /* @__PURE__ */ new Set();
|
|
1409
|
+
ReactSharedInternals.T = currentTransition;
|
|
1378
1410
|
try {
|
|
1379
1411
|
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
1380
1412
|
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
1381
|
-
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
|
|
1413
|
+
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
|
|
1382
1414
|
} catch (error) {
|
|
1383
1415
|
reportGlobalError(error);
|
|
1384
1416
|
} finally {
|
|
1385
1417
|
null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
|
|
1386
1418
|
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
|
|
1387
|
-
)),
|
|
1419
|
+
)), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error(
|
|
1420
|
+
"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
|
|
1421
|
+
), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
1388
1422
|
}
|
|
1389
1423
|
};
|
|
1390
1424
|
exports.unstable_useCacheRefresh = function() {
|
|
@@ -1416,16 +1450,14 @@ var require_react_development = __commonJS({
|
|
|
1416
1450
|
exports.useDeferredValue = function(value, initialValue) {
|
|
1417
1451
|
return resolveDispatcher().useDeferredValue(value, initialValue);
|
|
1418
1452
|
};
|
|
1419
|
-
exports.useEffect = function(create,
|
|
1453
|
+
exports.useEffect = function(create, deps) {
|
|
1420
1454
|
null == create && console.warn(
|
|
1421
1455
|
"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
|
1422
1456
|
);
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
);
|
|
1428
|
-
return dispatcher.useEffect(create, createDeps);
|
|
1457
|
+
return resolveDispatcher().useEffect(create, deps);
|
|
1458
|
+
};
|
|
1459
|
+
exports.useEffectEvent = function(callback) {
|
|
1460
|
+
return resolveDispatcher().useEffectEvent(callback);
|
|
1429
1461
|
};
|
|
1430
1462
|
exports.useId = function() {
|
|
1431
1463
|
return resolveDispatcher().useId();
|
|
@@ -1470,7 +1502,7 @@ var require_react_development = __commonJS({
|
|
|
1470
1502
|
exports.useTransition = function() {
|
|
1471
1503
|
return resolveDispatcher().useTransition();
|
|
1472
1504
|
};
|
|
1473
|
-
exports.version = "19.
|
|
1505
|
+
exports.version = "19.2.3";
|
|
1474
1506
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1475
1507
|
})();
|
|
1476
1508
|
}
|
|
@@ -1488,9 +1520,9 @@ var require_react = __commonJS({
|
|
|
1488
1520
|
}
|
|
1489
1521
|
});
|
|
1490
1522
|
|
|
1491
|
-
// node_modules/scheduler/cjs/scheduler.development.js
|
|
1523
|
+
// node_modules/react-reconciler/node_modules/scheduler/cjs/scheduler.development.js
|
|
1492
1524
|
var require_scheduler_development = __commonJS({
|
|
1493
|
-
"node_modules/scheduler/cjs/scheduler.development.js"(exports) {
|
|
1525
|
+
"node_modules/react-reconciler/node_modules/scheduler/cjs/scheduler.development.js"(exports) {
|
|
1494
1526
|
"use strict";
|
|
1495
1527
|
(function() {
|
|
1496
1528
|
function performWorkUntilDeadline() {
|
|
@@ -1747,9 +1779,9 @@ var require_scheduler_development = __commonJS({
|
|
|
1747
1779
|
}
|
|
1748
1780
|
});
|
|
1749
1781
|
|
|
1750
|
-
// node_modules/scheduler/index.js
|
|
1782
|
+
// node_modules/react-reconciler/node_modules/scheduler/index.js
|
|
1751
1783
|
var require_scheduler = __commonJS({
|
|
1752
|
-
"node_modules/scheduler/index.js"(exports, module) {
|
|
1784
|
+
"node_modules/react-reconciler/node_modules/scheduler/index.js"(exports, module) {
|
|
1753
1785
|
"use strict";
|
|
1754
1786
|
if (false) {
|
|
1755
1787
|
module.exports = null;
|
|
@@ -19031,7 +19063,7 @@ var require_react_jsx_runtime_development = __commonJS({
|
|
|
19031
19063
|
case REACT_PORTAL_TYPE:
|
|
19032
19064
|
return "Portal";
|
|
19033
19065
|
case REACT_CONTEXT_TYPE:
|
|
19034
|
-
return
|
|
19066
|
+
return type.displayName || "Context";
|
|
19035
19067
|
case REACT_CONSUMER_TYPE:
|
|
19036
19068
|
return (type._context.displayName || "Context") + ".Consumer";
|
|
19037
19069
|
case REACT_FORWARD_REF_TYPE:
|
|
@@ -19119,8 +19151,8 @@ var require_react_jsx_runtime_development = __commonJS({
|
|
|
19119
19151
|
componentName = this.props.ref;
|
|
19120
19152
|
return void 0 !== componentName ? componentName : null;
|
|
19121
19153
|
}
|
|
19122
|
-
function ReactElement(type, key,
|
|
19123
|
-
|
|
19154
|
+
function ReactElement(type, key, props, owner, debugStack, debugTask) {
|
|
19155
|
+
var refProp = props.ref;
|
|
19124
19156
|
type = {
|
|
19125
19157
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
19126
19158
|
type,
|
|
@@ -19128,7 +19160,7 @@ var require_react_jsx_runtime_development = __commonJS({
|
|
|
19128
19160
|
props,
|
|
19129
19161
|
_owner: owner
|
|
19130
19162
|
};
|
|
19131
|
-
null !== (void 0 !==
|
|
19163
|
+
null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
|
|
19132
19164
|
enumerable: false,
|
|
19133
19165
|
get: elementRefGetterWithDeprecationWarning
|
|
19134
19166
|
}) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
|
@@ -19160,7 +19192,7 @@ var require_react_jsx_runtime_development = __commonJS({
|
|
|
19160
19192
|
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
19161
19193
|
return type;
|
|
19162
19194
|
}
|
|
19163
|
-
function jsxDEVImpl(type, config, maybeKey, isStaticChildren,
|
|
19195
|
+
function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
|
|
19164
19196
|
var children = config.children;
|
|
19165
19197
|
if (void 0 !== children)
|
|
19166
19198
|
if (isStaticChildren)
|
|
@@ -19202,58 +19234,53 @@ var require_react_jsx_runtime_development = __commonJS({
|
|
|
19202
19234
|
return ReactElement(
|
|
19203
19235
|
type,
|
|
19204
19236
|
children,
|
|
19205
|
-
self2,
|
|
19206
|
-
source,
|
|
19207
|
-
getOwner(),
|
|
19208
19237
|
maybeKey,
|
|
19238
|
+
getOwner(),
|
|
19209
19239
|
debugStack,
|
|
19210
19240
|
debugTask
|
|
19211
19241
|
);
|
|
19212
19242
|
}
|
|
19213
19243
|
function validateChildKeys(node) {
|
|
19214
|
-
"object" === typeof node && null !== node && node.$$typeof ===
|
|
19244
|
+
isValidElement3(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement3(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
|
|
19245
|
+
}
|
|
19246
|
+
function isValidElement3(object) {
|
|
19247
|
+
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
19215
19248
|
}
|
|
19216
|
-
var React = require_react(), REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler")
|
|
19217
|
-
/* @__PURE__ */ Symbol.for("react.provider");
|
|
19218
|
-
var REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
|
|
19249
|
+
var React = require_react(), REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
|
|
19219
19250
|
return null;
|
|
19220
19251
|
};
|
|
19221
19252
|
React = {
|
|
19222
|
-
|
|
19253
|
+
react_stack_bottom_frame: function(callStackForError) {
|
|
19223
19254
|
return callStackForError();
|
|
19224
19255
|
}
|
|
19225
19256
|
};
|
|
19226
19257
|
var specialPropKeyWarningShown;
|
|
19227
19258
|
var didWarnAboutElementRef = {};
|
|
19228
|
-
var unknownOwnerDebugStack = React
|
|
19259
|
+
var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(
|
|
19229
19260
|
React,
|
|
19230
19261
|
UnknownOwner
|
|
19231
19262
|
)();
|
|
19232
19263
|
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
19233
19264
|
var didWarnAboutKeySpread = {};
|
|
19234
19265
|
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
19235
|
-
exports.jsx = function(type, config, maybeKey
|
|
19266
|
+
exports.jsx = function(type, config, maybeKey) {
|
|
19236
19267
|
var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
19237
19268
|
return jsxDEVImpl(
|
|
19238
19269
|
type,
|
|
19239
19270
|
config,
|
|
19240
19271
|
maybeKey,
|
|
19241
19272
|
false,
|
|
19242
|
-
source,
|
|
19243
|
-
self2,
|
|
19244
19273
|
trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
|
19245
19274
|
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
19246
19275
|
);
|
|
19247
19276
|
};
|
|
19248
|
-
exports.jsxs = function(type, config, maybeKey
|
|
19277
|
+
exports.jsxs = function(type, config, maybeKey) {
|
|
19249
19278
|
var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
19250
19279
|
return jsxDEVImpl(
|
|
19251
19280
|
type,
|
|
19252
19281
|
config,
|
|
19253
19282
|
maybeKey,
|
|
19254
19283
|
true,
|
|
19255
|
-
source,
|
|
19256
|
-
self2,
|
|
19257
19284
|
trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
|
19258
19285
|
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
19259
19286
|
);
|