@xyd-js/content 0.0.0-build-eeaeeda-20251001123000 → 0.0.0-build-7376fe0-20251003015041
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/CHANGELOG.md +7 -7
- package/dist/index.js +119 -95
- package/dist/index.js.map +1 -1
- package/dist/md.js +119 -95
- package/dist/md.js.map +1 -1
- package/dist/vite.js +119 -95
- package/dist/vite.js.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# @xyd-js/content
|
|
2
2
|
|
|
3
|
-
## 0.0.0-build-
|
|
3
|
+
## 0.0.0-build-7376fe0-20251003015041
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- update all packages
|
|
8
8
|
- Updated dependencies
|
|
9
|
-
- @xyd-js/components@0.0.0-build-
|
|
10
|
-
- @xyd-js/context@0.0.0-build-
|
|
11
|
-
- @xyd-js/core@0.0.0-build-
|
|
12
|
-
- @xyd-js/gql@0.0.0-build-
|
|
13
|
-
- @xyd-js/openapi@0.0.0-build-
|
|
14
|
-
- @xyd-js/sources@0.0.0-build-
|
|
9
|
+
- @xyd-js/components@0.0.0-build-7376fe0-20251003015041
|
|
10
|
+
- @xyd-js/context@0.0.0-build-7376fe0-20251003015041
|
|
11
|
+
- @xyd-js/core@0.0.0-build-7376fe0-20251003015041
|
|
12
|
+
- @xyd-js/gql@0.0.0-build-7376fe0-20251003015041
|
|
13
|
+
- @xyd-js/openapi@0.0.0-build-7376fe0-20251003015041
|
|
14
|
+
- @xyd-js/sources@0.0.0-build-7376fe0-20251003015041
|
package/dist/index.js
CHANGED
|
@@ -24,9 +24,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
24
|
mod
|
|
25
25
|
));
|
|
26
26
|
|
|
27
|
-
// ../../node_modules/.pnpm/react@19.
|
|
27
|
+
// ../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react.production.js
|
|
28
28
|
var require_react_production = __commonJS({
|
|
29
|
-
"../../node_modules/.pnpm/react@19.
|
|
29
|
+
"../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react.production.js"(exports) {
|
|
30
30
|
"use strict";
|
|
31
31
|
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
|
|
32
32
|
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
@@ -39,6 +39,7 @@ var require_react_production = __commonJS({
|
|
|
39
39
|
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
|
40
40
|
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
|
41
41
|
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
42
|
+
var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
|
|
42
43
|
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
43
44
|
function getIteratorFn(maybeIterable) {
|
|
44
45
|
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
@@ -89,27 +90,22 @@ var require_react_production = __commonJS({
|
|
|
89
90
|
assign(pureComponentPrototype, Component.prototype);
|
|
90
91
|
pureComponentPrototype.isPureReactComponent = true;
|
|
91
92
|
var isArrayImpl = Array.isArray;
|
|
92
|
-
|
|
93
|
+
function noop() {
|
|
94
|
+
}
|
|
95
|
+
var ReactSharedInternals = { H: null, A: null, T: null, S: null };
|
|
93
96
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
94
|
-
function ReactElement(type, key,
|
|
95
|
-
|
|
97
|
+
function ReactElement(type, key, props) {
|
|
98
|
+
var refProp = props.ref;
|
|
96
99
|
return {
|
|
97
100
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
98
101
|
type,
|
|
99
102
|
key,
|
|
100
|
-
ref: void 0 !==
|
|
103
|
+
ref: void 0 !== refProp ? refProp : null,
|
|
101
104
|
props
|
|
102
105
|
};
|
|
103
106
|
}
|
|
104
107
|
function cloneAndReplaceKey(oldElement, newKey) {
|
|
105
|
-
return ReactElement(
|
|
106
|
-
oldElement.type,
|
|
107
|
-
newKey,
|
|
108
|
-
void 0,
|
|
109
|
-
void 0,
|
|
110
|
-
void 0,
|
|
111
|
-
oldElement.props
|
|
112
|
-
);
|
|
108
|
+
return ReactElement(oldElement.type, newKey, oldElement.props);
|
|
113
109
|
}
|
|
114
110
|
function isValidElement(object) {
|
|
115
111
|
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
@@ -124,8 +120,6 @@ var require_react_production = __commonJS({
|
|
|
124
120
|
function getElementKey(element, index) {
|
|
125
121
|
return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index.toString(36);
|
|
126
122
|
}
|
|
127
|
-
function noop$1() {
|
|
128
|
-
}
|
|
129
123
|
function resolveThenable(thenable) {
|
|
130
124
|
switch (thenable.status) {
|
|
131
125
|
case "fulfilled":
|
|
@@ -133,7 +127,7 @@ var require_react_production = __commonJS({
|
|
|
133
127
|
case "rejected":
|
|
134
128
|
throw thenable.reason;
|
|
135
129
|
default:
|
|
136
|
-
switch ("string" === typeof thenable.status ? thenable.then(noop
|
|
130
|
+
switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
|
|
137
131
|
function(fulfilledValue) {
|
|
138
132
|
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
139
133
|
},
|
|
@@ -265,9 +259,7 @@ var require_react_production = __commonJS({
|
|
|
265
259
|
}
|
|
266
260
|
console.error(error);
|
|
267
261
|
};
|
|
268
|
-
|
|
269
|
-
}
|
|
270
|
-
exports.Children = {
|
|
262
|
+
var Children = {
|
|
271
263
|
map: mapChildren,
|
|
272
264
|
forEach: function(children, forEachFunc, forEachContext) {
|
|
273
265
|
mapChildren(
|
|
@@ -298,6 +290,8 @@ var require_react_production = __commonJS({
|
|
|
298
290
|
return children;
|
|
299
291
|
}
|
|
300
292
|
};
|
|
293
|
+
exports.Activity = REACT_ACTIVITY_TYPE;
|
|
294
|
+
exports.Children = Children;
|
|
301
295
|
exports.Component = Component;
|
|
302
296
|
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
303
297
|
exports.Profiler = REACT_PROFILER_TYPE;
|
|
@@ -316,14 +310,17 @@ var require_react_production = __commonJS({
|
|
|
316
310
|
return fn.apply(null, arguments);
|
|
317
311
|
};
|
|
318
312
|
};
|
|
313
|
+
exports.cacheSignal = function() {
|
|
314
|
+
return null;
|
|
315
|
+
};
|
|
319
316
|
exports.cloneElement = function(element, config, children) {
|
|
320
317
|
if (null === element || void 0 === element)
|
|
321
318
|
throw Error(
|
|
322
319
|
"The argument must be a React element, but you passed " + element + "."
|
|
323
320
|
);
|
|
324
|
-
var props = assign({}, element.props), key = element.key
|
|
321
|
+
var props = assign({}, element.props), key = element.key;
|
|
325
322
|
if (null != config)
|
|
326
|
-
for (propName in void 0 !== config.
|
|
323
|
+
for (propName in void 0 !== config.key && (key = "" + config.key), config)
|
|
327
324
|
!hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
|
|
328
325
|
var propName = arguments.length - 2;
|
|
329
326
|
if (1 === propName) props.children = children;
|
|
@@ -332,7 +329,7 @@ var require_react_production = __commonJS({
|
|
|
332
329
|
childArray[i] = arguments[i + 2];
|
|
333
330
|
props.children = childArray;
|
|
334
331
|
}
|
|
335
|
-
return ReactElement(element.type, key,
|
|
332
|
+
return ReactElement(element.type, key, props);
|
|
336
333
|
};
|
|
337
334
|
exports.createContext = function(defaultValue) {
|
|
338
335
|
defaultValue = {
|
|
@@ -365,7 +362,7 @@ var require_react_production = __commonJS({
|
|
|
365
362
|
if (type && type.defaultProps)
|
|
366
363
|
for (propName in childrenLength = type.defaultProps, childrenLength)
|
|
367
364
|
void 0 === props[propName] && (props[propName] = childrenLength[propName]);
|
|
368
|
-
return ReactElement(type, key,
|
|
365
|
+
return ReactElement(type, key, props);
|
|
369
366
|
};
|
|
370
367
|
exports.createRef = function() {
|
|
371
368
|
return { current: null };
|
|
@@ -398,7 +395,7 @@ var require_react_production = __commonJS({
|
|
|
398
395
|
} catch (error) {
|
|
399
396
|
reportGlobalError(error);
|
|
400
397
|
} finally {
|
|
401
|
-
ReactSharedInternals.T = prevTransition;
|
|
398
|
+
null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
402
399
|
}
|
|
403
400
|
};
|
|
404
401
|
exports.unstable_useCacheRefresh = function() {
|
|
@@ -421,13 +418,11 @@ var require_react_production = __commonJS({
|
|
|
421
418
|
exports.useDeferredValue = function(value, initialValue) {
|
|
422
419
|
return ReactSharedInternals.H.useDeferredValue(value, initialValue);
|
|
423
420
|
};
|
|
424
|
-
exports.useEffect = function(create,
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
);
|
|
430
|
-
return dispatcher.useEffect(create, createDeps);
|
|
421
|
+
exports.useEffect = function(create, deps) {
|
|
422
|
+
return ReactSharedInternals.H.useEffect(create, deps);
|
|
423
|
+
};
|
|
424
|
+
exports.useEffectEvent = function(callback) {
|
|
425
|
+
return ReactSharedInternals.H.useEffectEvent(callback);
|
|
431
426
|
};
|
|
432
427
|
exports.useId = function() {
|
|
433
428
|
return ReactSharedInternals.H.useId();
|
|
@@ -466,13 +461,13 @@ var require_react_production = __commonJS({
|
|
|
466
461
|
exports.useTransition = function() {
|
|
467
462
|
return ReactSharedInternals.H.useTransition();
|
|
468
463
|
};
|
|
469
|
-
exports.version = "19.
|
|
464
|
+
exports.version = "19.2.0";
|
|
470
465
|
}
|
|
471
466
|
});
|
|
472
467
|
|
|
473
|
-
// ../../node_modules/.pnpm/react@19.
|
|
468
|
+
// ../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react.development.js
|
|
474
469
|
var require_react_development = __commonJS({
|
|
475
|
-
"../../node_modules/.pnpm/react@19.
|
|
470
|
+
"../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react.development.js"(exports, module) {
|
|
476
471
|
"use strict";
|
|
477
472
|
"production" !== process.env.NODE_ENV && (function() {
|
|
478
473
|
function defineDeprecationWarning(methodName, info) {
|
|
@@ -515,6 +510,8 @@ var require_react_development = __commonJS({
|
|
|
515
510
|
this.refs = emptyObject;
|
|
516
511
|
this.updater = updater || ReactNoopUpdateQueue;
|
|
517
512
|
}
|
|
513
|
+
function noop() {
|
|
514
|
+
}
|
|
518
515
|
function testStringCoercion(value) {
|
|
519
516
|
return "" + value;
|
|
520
517
|
}
|
|
@@ -563,7 +560,7 @@ var require_react_development = __commonJS({
|
|
|
563
560
|
case REACT_PORTAL_TYPE:
|
|
564
561
|
return "Portal";
|
|
565
562
|
case REACT_CONTEXT_TYPE:
|
|
566
|
-
return
|
|
563
|
+
return type.displayName || "Context";
|
|
567
564
|
case REACT_CONSUMER_TYPE:
|
|
568
565
|
return (type._context.displayName || "Context") + ".Consumer";
|
|
569
566
|
case REACT_FORWARD_REF_TYPE:
|
|
@@ -629,8 +626,8 @@ var require_react_development = __commonJS({
|
|
|
629
626
|
componentName = this.props.ref;
|
|
630
627
|
return void 0 !== componentName ? componentName : null;
|
|
631
628
|
}
|
|
632
|
-
function ReactElement(type, key,
|
|
633
|
-
|
|
629
|
+
function ReactElement(type, key, props, owner, debugStack, debugTask) {
|
|
630
|
+
var refProp = props.ref;
|
|
634
631
|
type = {
|
|
635
632
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
636
633
|
type,
|
|
@@ -638,7 +635,7 @@ var require_react_development = __commonJS({
|
|
|
638
635
|
props,
|
|
639
636
|
_owner: owner
|
|
640
637
|
};
|
|
641
|
-
null !== (void 0 !==
|
|
638
|
+
null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
|
|
642
639
|
enumerable: false,
|
|
643
640
|
get: elementRefGetterWithDeprecationWarning
|
|
644
641
|
}) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
|
@@ -674,16 +671,17 @@ var require_react_development = __commonJS({
|
|
|
674
671
|
newKey = ReactElement(
|
|
675
672
|
oldElement.type,
|
|
676
673
|
newKey,
|
|
677
|
-
void 0,
|
|
678
|
-
void 0,
|
|
679
|
-
oldElement._owner,
|
|
680
674
|
oldElement.props,
|
|
675
|
+
oldElement._owner,
|
|
681
676
|
oldElement._debugStack,
|
|
682
677
|
oldElement._debugTask
|
|
683
678
|
);
|
|
684
679
|
oldElement._store && (newKey._store.validated = oldElement._store.validated);
|
|
685
680
|
return newKey;
|
|
686
681
|
}
|
|
682
|
+
function validateChildKeys(node) {
|
|
683
|
+
isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
|
|
684
|
+
}
|
|
687
685
|
function isValidElement(object) {
|
|
688
686
|
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
689
687
|
}
|
|
@@ -696,8 +694,6 @@ var require_react_development = __commonJS({
|
|
|
696
694
|
function getElementKey(element, index) {
|
|
697
695
|
return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape("" + element.key)) : index.toString(36);
|
|
698
696
|
}
|
|
699
|
-
function noop$1() {
|
|
700
|
-
}
|
|
701
697
|
function resolveThenable(thenable) {
|
|
702
698
|
switch (thenable.status) {
|
|
703
699
|
case "fulfilled":
|
|
@@ -705,7 +701,7 @@ var require_react_development = __commonJS({
|
|
|
705
701
|
case "rejected":
|
|
706
702
|
throw thenable.reason;
|
|
707
703
|
default:
|
|
708
|
-
switch ("string" === typeof thenable.status ? thenable.then(noop
|
|
704
|
+
switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
|
|
709
705
|
function(fulfilledValue) {
|
|
710
706
|
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
711
707
|
},
|
|
@@ -812,28 +808,46 @@ var require_react_development = __commonJS({
|
|
|
812
808
|
}
|
|
813
809
|
function lazyInitializer(payload) {
|
|
814
810
|
if (-1 === payload._status) {
|
|
815
|
-
var
|
|
816
|
-
|
|
817
|
-
|
|
811
|
+
var ioInfo = payload._ioInfo;
|
|
812
|
+
null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
|
|
813
|
+
ioInfo = payload._result;
|
|
814
|
+
var thenable = ioInfo();
|
|
815
|
+
thenable.then(
|
|
818
816
|
function(moduleObject) {
|
|
819
|
-
if (0 === payload._status || -1 === payload._status)
|
|
820
|
-
payload._status = 1
|
|
817
|
+
if (0 === payload._status || -1 === payload._status) {
|
|
818
|
+
payload._status = 1;
|
|
819
|
+
payload._result = moduleObject;
|
|
820
|
+
var _ioInfo = payload._ioInfo;
|
|
821
|
+
null != _ioInfo && (_ioInfo.end = performance.now());
|
|
822
|
+
void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
|
|
823
|
+
}
|
|
821
824
|
},
|
|
822
825
|
function(error) {
|
|
823
|
-
if (0 === payload._status || -1 === payload._status)
|
|
824
|
-
payload._status = 2
|
|
826
|
+
if (0 === payload._status || -1 === payload._status) {
|
|
827
|
+
payload._status = 2;
|
|
828
|
+
payload._result = error;
|
|
829
|
+
var _ioInfo2 = payload._ioInfo;
|
|
830
|
+
null != _ioInfo2 && (_ioInfo2.end = performance.now());
|
|
831
|
+
void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
|
|
832
|
+
}
|
|
825
833
|
}
|
|
826
834
|
);
|
|
827
|
-
|
|
835
|
+
ioInfo = payload._ioInfo;
|
|
836
|
+
if (null != ioInfo) {
|
|
837
|
+
ioInfo.value = thenable;
|
|
838
|
+
var displayName = thenable.displayName;
|
|
839
|
+
"string" === typeof displayName && (ioInfo.name = displayName);
|
|
840
|
+
}
|
|
841
|
+
-1 === payload._status && (payload._status = 0, payload._result = thenable);
|
|
828
842
|
}
|
|
829
843
|
if (1 === payload._status)
|
|
830
|
-
return
|
|
844
|
+
return ioInfo = payload._result, void 0 === ioInfo && console.error(
|
|
831
845
|
"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?",
|
|
832
|
-
|
|
833
|
-
), "default" in
|
|
846
|
+
ioInfo
|
|
847
|
+
), "default" in ioInfo || console.error(
|
|
834
848
|
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
|
|
835
|
-
|
|
836
|
-
),
|
|
849
|
+
ioInfo
|
|
850
|
+
), ioInfo.default;
|
|
837
851
|
throw payload._result;
|
|
838
852
|
}
|
|
839
853
|
function resolveDispatcher() {
|
|
@@ -843,7 +857,8 @@ var require_react_development = __commonJS({
|
|
|
843
857
|
);
|
|
844
858
|
return dispatcher;
|
|
845
859
|
}
|
|
846
|
-
function
|
|
860
|
+
function releaseAsyncTransition() {
|
|
861
|
+
ReactSharedInternals.asyncTransitions--;
|
|
847
862
|
}
|
|
848
863
|
function enqueueTask(task) {
|
|
849
864
|
if (null === enqueueTaskImpl)
|
|
@@ -919,9 +934,7 @@ var require_react_development = __commonJS({
|
|
|
919
934
|
}
|
|
920
935
|
}
|
|
921
936
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
922
|
-
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler")
|
|
923
|
-
Symbol.for("react.provider");
|
|
924
|
-
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
|
|
937
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
|
|
925
938
|
isMounted: function() {
|
|
926
939
|
return false;
|
|
927
940
|
},
|
|
@@ -956,7 +969,7 @@ var require_react_development = __commonJS({
|
|
|
956
969
|
"replaceState",
|
|
957
970
|
"Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
|
|
958
971
|
]
|
|
959
|
-
}
|
|
972
|
+
};
|
|
960
973
|
for (fnName in deprecatedAPIs)
|
|
961
974
|
deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
|
|
962
975
|
ComponentDummy.prototype = Component.prototype;
|
|
@@ -969,8 +982,8 @@ var require_react_development = __commonJS({
|
|
|
969
982
|
A: null,
|
|
970
983
|
T: null,
|
|
971
984
|
S: null,
|
|
972
|
-
V: null,
|
|
973
985
|
actQueue: null,
|
|
986
|
+
asyncTransitions: 0,
|
|
974
987
|
isBatchingLegacy: false,
|
|
975
988
|
didScheduleLegacyUpdate: false,
|
|
976
989
|
didUsePromise: false,
|
|
@@ -1017,7 +1030,7 @@ var require_react_development = __commonJS({
|
|
|
1017
1030
|
return resolveDispatcher().useMemoCache(size);
|
|
1018
1031
|
}
|
|
1019
1032
|
});
|
|
1020
|
-
|
|
1033
|
+
var fnName = {
|
|
1021
1034
|
map: mapChildren,
|
|
1022
1035
|
forEach: function(children, forEachFunc, forEachContext) {
|
|
1023
1036
|
mapChildren(
|
|
@@ -1048,6 +1061,8 @@ var require_react_development = __commonJS({
|
|
|
1048
1061
|
return children;
|
|
1049
1062
|
}
|
|
1050
1063
|
};
|
|
1064
|
+
exports.Activity = REACT_ACTIVITY_TYPE;
|
|
1065
|
+
exports.Children = fnName;
|
|
1051
1066
|
exports.Component = Component;
|
|
1052
1067
|
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
1053
1068
|
exports.Profiler = REACT_PROFILER_TYPE;
|
|
@@ -1138,6 +1153,9 @@ var require_react_development = __commonJS({
|
|
|
1138
1153
|
return fn.apply(null, arguments);
|
|
1139
1154
|
};
|
|
1140
1155
|
};
|
|
1156
|
+
exports.cacheSignal = function() {
|
|
1157
|
+
return null;
|
|
1158
|
+
};
|
|
1141
1159
|
exports.captureOwnerStack = function() {
|
|
1142
1160
|
var getCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
1143
1161
|
return null === getCurrentStack ? null : getCurrentStack();
|
|
@@ -1176,15 +1194,13 @@ var require_react_development = __commonJS({
|
|
|
1176
1194
|
props = ReactElement(
|
|
1177
1195
|
element.type,
|
|
1178
1196
|
key,
|
|
1179
|
-
void 0,
|
|
1180
|
-
void 0,
|
|
1181
|
-
owner,
|
|
1182
1197
|
props,
|
|
1198
|
+
owner,
|
|
1183
1199
|
element._debugStack,
|
|
1184
1200
|
element._debugTask
|
|
1185
1201
|
);
|
|
1186
1202
|
for (key = 2; key < arguments.length; key++)
|
|
1187
|
-
|
|
1203
|
+
validateChildKeys(arguments[key]);
|
|
1188
1204
|
return props;
|
|
1189
1205
|
};
|
|
1190
1206
|
exports.createContext = function(defaultValue) {
|
|
@@ -1206,16 +1222,14 @@ var require_react_development = __commonJS({
|
|
|
1206
1222
|
return defaultValue;
|
|
1207
1223
|
};
|
|
1208
1224
|
exports.createElement = function(type, config, children) {
|
|
1209
|
-
for (var i = 2; i < arguments.length; i++)
|
|
1210
|
-
|
|
1211
|
-
isValidElement(node) && node._store && (node._store.validated = 1);
|
|
1212
|
-
}
|
|
1225
|
+
for (var i = 2; i < arguments.length; i++)
|
|
1226
|
+
validateChildKeys(arguments[i]);
|
|
1213
1227
|
i = {};
|
|
1214
|
-
|
|
1228
|
+
var key = null;
|
|
1215
1229
|
if (null != config)
|
|
1216
1230
|
for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, console.warn(
|
|
1217
1231
|
"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"
|
|
1218
|
-
)), hasValidKey(config) && (checkKeyStringCoercion(config.key),
|
|
1232
|
+
)), hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key), config)
|
|
1219
1233
|
hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]);
|
|
1220
1234
|
var childrenLength = arguments.length - 2;
|
|
1221
1235
|
if (1 === childrenLength) i.children = children;
|
|
@@ -1228,18 +1242,16 @@ var require_react_development = __commonJS({
|
|
|
1228
1242
|
if (type && type.defaultProps)
|
|
1229
1243
|
for (propName in childrenLength = type.defaultProps, childrenLength)
|
|
1230
1244
|
void 0 === i[propName] && (i[propName] = childrenLength[propName]);
|
|
1231
|
-
|
|
1245
|
+
key && defineKeyPropWarningGetter(
|
|
1232
1246
|
i,
|
|
1233
1247
|
"function" === typeof type ? type.displayName || type.name || "Unknown" : type
|
|
1234
1248
|
);
|
|
1235
1249
|
var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
1236
1250
|
return ReactElement(
|
|
1237
1251
|
type,
|
|
1238
|
-
|
|
1239
|
-
void 0,
|
|
1240
|
-
void 0,
|
|
1241
|
-
getOwner(),
|
|
1252
|
+
key,
|
|
1242
1253
|
i,
|
|
1254
|
+
getOwner(),
|
|
1243
1255
|
propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
|
1244
1256
|
propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
1245
1257
|
);
|
|
@@ -1278,11 +1290,23 @@ var require_react_development = __commonJS({
|
|
|
1278
1290
|
};
|
|
1279
1291
|
exports.isValidElement = isValidElement;
|
|
1280
1292
|
exports.lazy = function(ctor) {
|
|
1281
|
-
|
|
1293
|
+
ctor = { _status: -1, _result: ctor };
|
|
1294
|
+
var lazyType = {
|
|
1282
1295
|
$$typeof: REACT_LAZY_TYPE,
|
|
1283
|
-
_payload:
|
|
1296
|
+
_payload: ctor,
|
|
1284
1297
|
_init: lazyInitializer
|
|
1298
|
+
}, ioInfo = {
|
|
1299
|
+
name: "lazy",
|
|
1300
|
+
start: -1,
|
|
1301
|
+
end: -1,
|
|
1302
|
+
value: null,
|
|
1303
|
+
owner: null,
|
|
1304
|
+
debugStack: Error("react-stack-top-frame"),
|
|
1305
|
+
debugTask: console.createTask ? console.createTask("lazy()") : null
|
|
1285
1306
|
};
|
|
1307
|
+
ctor._ioInfo = ioInfo;
|
|
1308
|
+
lazyType._debugInfo = [{ awaited: ioInfo }];
|
|
1309
|
+
return lazyType;
|
|
1286
1310
|
};
|
|
1287
1311
|
exports.memo = function(type, compare) {
|
|
1288
1312
|
null == type && console.error(
|
|
@@ -1310,18 +1334,20 @@ var require_react_development = __commonJS({
|
|
|
1310
1334
|
};
|
|
1311
1335
|
exports.startTransition = function(scope) {
|
|
1312
1336
|
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
|
1313
|
-
ReactSharedInternals.T = currentTransition;
|
|
1314
1337
|
currentTransition._updatedFibers = /* @__PURE__ */ new Set();
|
|
1338
|
+
ReactSharedInternals.T = currentTransition;
|
|
1315
1339
|
try {
|
|
1316
1340
|
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
1317
1341
|
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
1318
|
-
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
|
|
1342
|
+
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
|
|
1319
1343
|
} catch (error) {
|
|
1320
1344
|
reportGlobalError(error);
|
|
1321
1345
|
} finally {
|
|
1322
1346
|
null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
|
|
1323
1347
|
"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."
|
|
1324
|
-
)),
|
|
1348
|
+
)), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error(
|
|
1349
|
+
"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."
|
|
1350
|
+
), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
1325
1351
|
}
|
|
1326
1352
|
};
|
|
1327
1353
|
exports.unstable_useCacheRefresh = function() {
|
|
@@ -1353,16 +1379,14 @@ var require_react_development = __commonJS({
|
|
|
1353
1379
|
exports.useDeferredValue = function(value, initialValue) {
|
|
1354
1380
|
return resolveDispatcher().useDeferredValue(value, initialValue);
|
|
1355
1381
|
};
|
|
1356
|
-
exports.useEffect = function(create,
|
|
1382
|
+
exports.useEffect = function(create, deps) {
|
|
1357
1383
|
null == create && console.warn(
|
|
1358
1384
|
"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
|
1359
1385
|
);
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
);
|
|
1365
|
-
return dispatcher.useEffect(create, createDeps);
|
|
1386
|
+
return resolveDispatcher().useEffect(create, deps);
|
|
1387
|
+
};
|
|
1388
|
+
exports.useEffectEvent = function(callback) {
|
|
1389
|
+
return resolveDispatcher().useEffectEvent(callback);
|
|
1366
1390
|
};
|
|
1367
1391
|
exports.useId = function() {
|
|
1368
1392
|
return resolveDispatcher().useId();
|
|
@@ -1407,15 +1431,15 @@ var require_react_development = __commonJS({
|
|
|
1407
1431
|
exports.useTransition = function() {
|
|
1408
1432
|
return resolveDispatcher().useTransition();
|
|
1409
1433
|
};
|
|
1410
|
-
exports.version = "19.
|
|
1434
|
+
exports.version = "19.2.0";
|
|
1411
1435
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1412
1436
|
})();
|
|
1413
1437
|
}
|
|
1414
1438
|
});
|
|
1415
1439
|
|
|
1416
|
-
// ../../node_modules/.pnpm/react@19.
|
|
1440
|
+
// ../../node_modules/.pnpm/react@19.2.0/node_modules/react/index.js
|
|
1417
1441
|
var require_react = __commonJS({
|
|
1418
|
-
"../../node_modules/.pnpm/react@19.
|
|
1442
|
+
"../../node_modules/.pnpm/react@19.2.0/node_modules/react/index.js"(exports, module) {
|
|
1419
1443
|
"use strict";
|
|
1420
1444
|
if (process.env.NODE_ENV === "production") {
|
|
1421
1445
|
module.exports = require_react_production();
|