@kubb/react-fabric 0.1.8 → 0.2.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/README.md +273 -26
- package/dist/{App-D7ehObix.d.ts → Fabric-nxgJyzWH.d.cts} +27 -27
- package/dist/{App-CbT7rbmH.d.cts → Fabric-tVWTpMR5.d.ts} +27 -27
- package/dist/{KubbFile-D4gyyfL-.d.ts → KubbFile-DFnA3mmn.d.ts} +1 -1
- package/dist/{KubbFile-FGXV713i.d.cts → KubbFile-DHCtBOpy.d.cts} +1 -1
- package/dist/chunk-CVmoYqME.js +27 -0
- package/dist/chunk-DWy1uDak.cjs +39 -0
- package/dist/devtools-DPye8o33.js +11448 -0
- package/dist/devtools-DPye8o33.js.map +1 -0
- package/dist/devtools-DnQsy6Us.cjs +11456 -0
- package/dist/devtools-DnQsy6Us.cjs.map +1 -0
- package/dist/devtools.cjs +2 -10885
- package/dist/devtools.d.cts +11 -1
- package/dist/devtools.d.ts +11 -1
- package/dist/devtools.js +2 -10885
- package/dist/{globals-BRG2DOJd.d.cts → globals-C7dPa-nz.d.cts} +3 -3
- package/dist/{globals-D_1Lfe9-.d.ts → globals-CxZEi_Pn.d.ts} +3 -3
- package/dist/globals.d.cts +3 -3
- package/dist/globals.d.ts +3 -3
- package/dist/index.cjs +34 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -9
- package/dist/index.d.ts +16 -9
- package/dist/index.js +15 -5
- package/dist/index.js.map +1 -1
- package/dist/jsx-dev-runtime.cjs +8 -0
- package/dist/jsx-dev-runtime.js +5 -0
- package/dist/jsx-runtime-9ohe6OS2.cjs +36 -0
- package/dist/jsx-runtime-9ohe6OS2.cjs.map +1 -0
- package/dist/{react-BBkwFtZV.js → jsx-runtime-BOrVcbIT.cjs} +253 -42
- package/dist/jsx-runtime-BOrVcbIT.cjs.map +1 -0
- package/dist/{react-Bq0UOw6S.cjs → jsx-runtime-CFd_ktZn.js} +239 -57
- package/dist/jsx-runtime-CFd_ktZn.js.map +1 -0
- package/dist/jsx-runtime-CvGZkcTo.js +13 -0
- package/dist/jsx-runtime-CvGZkcTo.js.map +1 -0
- package/dist/jsx-runtime.cjs +6 -15
- package/dist/jsx-runtime.d.cts +3 -3
- package/dist/jsx-runtime.d.ts +3 -3
- package/dist/jsx-runtime.js +3 -12
- package/dist/parsers.d.cts +2 -2
- package/dist/parsers.d.ts +2 -2
- package/dist/{Runtime-JI640uK4.cjs → plugins-CEGJdkpj.cjs} +115 -81
- package/dist/plugins-CEGJdkpj.cjs.map +1 -0
- package/dist/{Runtime-DWlDUeLZ.js → plugins-aZCNhIC8.js} +90 -63
- package/dist/plugins-aZCNhIC8.js.map +1 -0
- package/dist/plugins.cjs +4 -35
- package/dist/plugins.d.cts +16 -49
- package/dist/plugins.d.ts +16 -49
- package/dist/plugins.js +3 -33
- package/dist/reactPlugin-B47Guoya.d.ts +38 -0
- package/dist/reactPlugin-CLgWWifj.d.cts +38 -0
- package/dist/{types-C3p0Ljxf.d.cts → types-DoYRYV1C.d.cts} +1 -1
- package/dist/{types-Brnyan9B.d.ts → types-u_NEi07i.d.ts} +1 -1
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +11 -7
- package/src/Renderer.ts +26 -22
- package/src/Runtime.tsx +8 -7
- package/src/createReactFabric.ts +17 -0
- package/src/devtools.ts +106 -111
- package/src/index.ts +2 -1
- package/src/plugins/reactPlugin.ts +4 -3
- package/dist/Runtime-DWlDUeLZ.js.map +0 -1
- package/dist/Runtime-JI640uK4.cjs.map +0 -1
- package/dist/devtools.cjs.map +0 -1
- package/dist/devtools.js.map +0 -1
- package/dist/jsx-runtime-Dg-pJBHd.js +0 -228
- package/dist/jsx-runtime-Dg-pJBHd.js.map +0 -1
- package/dist/jsx-runtime-d2dmYscH.cjs +0 -233
- package/dist/jsx-runtime-d2dmYscH.cjs.map +0 -1
- package/dist/jsx-runtime.cjs.map +0 -1
- package/dist/jsx-runtime.js.map +0 -1
- package/dist/plugins.cjs.map +0 -1
- package/dist/plugins.js.map +0 -1
- package/dist/react-BBkwFtZV.js.map +0 -1
- package/dist/react-Bq0UOw6S.cjs.map +0 -1
|
@@ -1,33 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __commonJS = (cb, mod) => function() {
|
|
9
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
13
|
-
key = keys[i];
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
15
|
-
get: ((k) => from[k]).bind(null, key),
|
|
16
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
return to;
|
|
20
|
-
};
|
|
21
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
22
|
-
value: mod,
|
|
23
|
-
enumerable: true
|
|
24
|
-
}) : target, mod));
|
|
25
|
-
|
|
26
|
-
//#endregion
|
|
1
|
+
import { t as __commonJS } from "./chunk-CVmoYqME.js";
|
|
27
2
|
|
|
28
3
|
//#region ../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react.production.js
|
|
29
4
|
var require_react_production = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react.production.js": ((exports) => {
|
|
30
|
-
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_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;
|
|
5
|
+
var REACT_ELEMENT_TYPE$1 = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE$1 = 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_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;
|
|
31
6
|
function getIteratorFn(maybeIterable) {
|
|
32
7
|
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
33
8
|
maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
|
|
@@ -78,7 +53,7 @@ var require_react_production = /* @__PURE__ */ __commonJS({ "../../node_modules/
|
|
|
78
53
|
function ReactElement(type, key, props) {
|
|
79
54
|
var refProp = props.ref;
|
|
80
55
|
return {
|
|
81
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
56
|
+
$$typeof: REACT_ELEMENT_TYPE$1,
|
|
82
57
|
type,
|
|
83
58
|
key,
|
|
84
59
|
ref: void 0 !== refProp ? refProp : null,
|
|
@@ -89,7 +64,7 @@ var require_react_production = /* @__PURE__ */ __commonJS({ "../../node_modules/
|
|
|
89
64
|
return ReactElement(oldElement.type, newKey, oldElement.props);
|
|
90
65
|
}
|
|
91
66
|
function isValidElement(object) {
|
|
92
|
-
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
67
|
+
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE$1;
|
|
93
68
|
}
|
|
94
69
|
function escape(key) {
|
|
95
70
|
var escaperLookup = {
|
|
@@ -131,7 +106,7 @@ var require_react_production = /* @__PURE__ */ __commonJS({ "../../node_modules/
|
|
|
131
106
|
invokeCallback = !0;
|
|
132
107
|
break;
|
|
133
108
|
case "object": switch (children.$$typeof) {
|
|
134
|
-
case REACT_ELEMENT_TYPE:
|
|
109
|
+
case REACT_ELEMENT_TYPE$1:
|
|
135
110
|
case REACT_PORTAL_TYPE:
|
|
136
111
|
invokeCallback = !0;
|
|
137
112
|
break;
|
|
@@ -215,7 +190,7 @@ var require_react_production = /* @__PURE__ */ __commonJS({ "../../node_modules/
|
|
|
215
190
|
exports.Activity = REACT_ACTIVITY_TYPE;
|
|
216
191
|
exports.Children = Children;
|
|
217
192
|
exports.Component = Component;
|
|
218
|
-
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
193
|
+
exports.Fragment = REACT_FRAGMENT_TYPE$1;
|
|
219
194
|
exports.Profiler = REACT_PROFILER_TYPE;
|
|
220
195
|
exports.PureComponent = PureComponent;
|
|
221
196
|
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
@@ -432,7 +407,7 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
432
407
|
if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
|
|
433
408
|
if ("string" === typeof type) return type;
|
|
434
409
|
switch (type) {
|
|
435
|
-
case REACT_FRAGMENT_TYPE$
|
|
410
|
+
case REACT_FRAGMENT_TYPE$2: return "Fragment";
|
|
436
411
|
case REACT_PROFILER_TYPE$1: return "Profiler";
|
|
437
412
|
case REACT_STRICT_MODE_TYPE$1: return "StrictMode";
|
|
438
413
|
case REACT_SUSPENSE_TYPE$1: return "Suspense";
|
|
@@ -459,7 +434,7 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
459
434
|
return null;
|
|
460
435
|
}
|
|
461
436
|
function getTaskName(type) {
|
|
462
|
-
if (type === REACT_FRAGMENT_TYPE$
|
|
437
|
+
if (type === REACT_FRAGMENT_TYPE$2) return "<>";
|
|
463
438
|
if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE$1) return "<...>";
|
|
464
439
|
try {
|
|
465
440
|
var name = getComponentNameFromType(type);
|
|
@@ -501,7 +476,7 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
501
476
|
function ReactElement$1(type, key, props, owner, debugStack, debugTask) {
|
|
502
477
|
var refProp = props.ref;
|
|
503
478
|
type = {
|
|
504
|
-
$$typeof: REACT_ELEMENT_TYPE$
|
|
479
|
+
$$typeof: REACT_ELEMENT_TYPE$2,
|
|
505
480
|
type,
|
|
506
481
|
key,
|
|
507
482
|
props,
|
|
@@ -551,7 +526,7 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
551
526
|
isValidElement$1(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE$1 && ("fulfilled" === node._payload.status ? isValidElement$1(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
|
|
552
527
|
}
|
|
553
528
|
function isValidElement$1(object) {
|
|
554
|
-
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE$
|
|
529
|
+
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE$2;
|
|
555
530
|
}
|
|
556
531
|
function escape$1(key) {
|
|
557
532
|
var escaperLookup = {
|
|
@@ -592,7 +567,7 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
592
567
|
invokeCallback = !0;
|
|
593
568
|
break;
|
|
594
569
|
case "object": switch (children.$$typeof) {
|
|
595
|
-
case REACT_ELEMENT_TYPE$
|
|
570
|
+
case REACT_ELEMENT_TYPE$2:
|
|
596
571
|
case REACT_PORTAL_TYPE$1:
|
|
597
572
|
invokeCallback = !0;
|
|
598
573
|
break;
|
|
@@ -733,7 +708,7 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
733
708
|
}
|
|
734
709
|
}
|
|
735
710
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
736
|
-
var REACT_ELEMENT_TYPE$
|
|
711
|
+
var REACT_ELEMENT_TYPE$2 = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE$1 = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE$2 = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE$1 = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE$1 = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE$1 = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE$1 = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE$1 = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE$1 = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE$1 = Symbol.for("react.memo"), REACT_LAZY_TYPE$1 = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE$1 = Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL$1 = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue$1 = {
|
|
737
712
|
isMounted: function() {
|
|
738
713
|
return !1;
|
|
739
714
|
},
|
|
@@ -841,7 +816,7 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
841
816
|
exports.Activity = REACT_ACTIVITY_TYPE$1;
|
|
842
817
|
exports.Children = fnName;
|
|
843
818
|
exports.Component = Component$1;
|
|
844
|
-
exports.Fragment = REACT_FRAGMENT_TYPE$
|
|
819
|
+
exports.Fragment = REACT_FRAGMENT_TYPE$2;
|
|
845
820
|
exports.Profiler = REACT_PROFILER_TYPE$1;
|
|
846
821
|
exports.PureComponent = PureComponent$1;
|
|
847
822
|
exports.StrictMode = REACT_STRICT_MODE_TYPE$1;
|
|
@@ -1135,22 +1110,229 @@ var require_react = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/react
|
|
|
1135
1110
|
}) });
|
|
1136
1111
|
|
|
1137
1112
|
//#endregion
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1113
|
+
//#region ../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-jsx-runtime.production.js
|
|
1114
|
+
var require_react_jsx_runtime_production = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-jsx-runtime.production.js": ((exports) => {
|
|
1115
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
1116
|
+
function jsxProd(type, config, maybeKey) {
|
|
1117
|
+
var key = null;
|
|
1118
|
+
void 0 !== maybeKey && (key = "" + maybeKey);
|
|
1119
|
+
void 0 !== config.key && (key = "" + config.key);
|
|
1120
|
+
if ("key" in config) {
|
|
1121
|
+
maybeKey = {};
|
|
1122
|
+
for (var propName in config) "key" !== propName && (maybeKey[propName] = config[propName]);
|
|
1123
|
+
} else maybeKey = config;
|
|
1124
|
+
config = maybeKey.ref;
|
|
1125
|
+
return {
|
|
1126
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
1127
|
+
type,
|
|
1128
|
+
key,
|
|
1129
|
+
ref: void 0 !== config ? config : null,
|
|
1130
|
+
props: maybeKey
|
|
1131
|
+
};
|
|
1132
|
+
}
|
|
1133
|
+
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
1134
|
+
exports.jsx = jsxProd;
|
|
1135
|
+
exports.jsxs = jsxProd;
|
|
1136
|
+
}) });
|
|
1137
|
+
|
|
1138
|
+
//#endregion
|
|
1139
|
+
//#region ../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-jsx-runtime.development.js
|
|
1140
|
+
var require_react_jsx_runtime_development = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-jsx-runtime.development.js": ((exports) => {
|
|
1141
|
+
"production" !== process.env.NODE_ENV && (function() {
|
|
1142
|
+
function getComponentNameFromType(type) {
|
|
1143
|
+
if (null == type) return null;
|
|
1144
|
+
if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
|
|
1145
|
+
if ("string" === typeof type) return type;
|
|
1146
|
+
switch (type) {
|
|
1147
|
+
case REACT_FRAGMENT_TYPE$2: return "Fragment";
|
|
1148
|
+
case REACT_PROFILER_TYPE$1: return "Profiler";
|
|
1149
|
+
case REACT_STRICT_MODE_TYPE$1: return "StrictMode";
|
|
1150
|
+
case REACT_SUSPENSE_TYPE$1: return "Suspense";
|
|
1151
|
+
case REACT_SUSPENSE_LIST_TYPE: return "SuspenseList";
|
|
1152
|
+
case REACT_ACTIVITY_TYPE$1: return "Activity";
|
|
1153
|
+
}
|
|
1154
|
+
if ("object" === typeof type) switch ("number" === typeof type.tag && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), type.$$typeof) {
|
|
1155
|
+
case REACT_PORTAL_TYPE$1: return "Portal";
|
|
1156
|
+
case REACT_CONTEXT_TYPE$1: return type.displayName || "Context";
|
|
1157
|
+
case REACT_CONSUMER_TYPE$1: return (type._context.displayName || "Context") + ".Consumer";
|
|
1158
|
+
case REACT_FORWARD_REF_TYPE$1:
|
|
1159
|
+
var innerType = type.render;
|
|
1160
|
+
type = type.displayName;
|
|
1161
|
+
type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
|
|
1162
|
+
return type;
|
|
1163
|
+
case REACT_MEMO_TYPE$1: return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
|
|
1164
|
+
case REACT_LAZY_TYPE$1:
|
|
1165
|
+
innerType = type._payload;
|
|
1166
|
+
type = type._init;
|
|
1167
|
+
try {
|
|
1168
|
+
return getComponentNameFromType(type(innerType));
|
|
1169
|
+
} catch (x) {}
|
|
1170
|
+
}
|
|
1171
|
+
return null;
|
|
1172
|
+
}
|
|
1173
|
+
function testStringCoercion(value) {
|
|
1174
|
+
return "" + value;
|
|
1175
|
+
}
|
|
1176
|
+
function checkKeyStringCoercion(value) {
|
|
1177
|
+
try {
|
|
1178
|
+
testStringCoercion(value);
|
|
1179
|
+
var JSCompiler_inline_result = !1;
|
|
1180
|
+
} catch (e) {
|
|
1181
|
+
JSCompiler_inline_result = !0;
|
|
1182
|
+
}
|
|
1183
|
+
if (JSCompiler_inline_result) {
|
|
1184
|
+
JSCompiler_inline_result = console;
|
|
1185
|
+
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
|
1186
|
+
var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
|
|
1187
|
+
JSCompiler_temp_const.call(JSCompiler_inline_result, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", JSCompiler_inline_result$jscomp$0);
|
|
1188
|
+
return testStringCoercion(value);
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
function getTaskName(type) {
|
|
1192
|
+
if (type === REACT_FRAGMENT_TYPE$2) return "<>";
|
|
1193
|
+
if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE$1) return "<...>";
|
|
1194
|
+
try {
|
|
1195
|
+
var name = getComponentNameFromType(type);
|
|
1196
|
+
return name ? "<" + name + ">" : "<...>";
|
|
1197
|
+
} catch (x) {
|
|
1198
|
+
return "<...>";
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
function getOwner() {
|
|
1202
|
+
var dispatcher = ReactSharedInternals$1.A;
|
|
1203
|
+
return null === dispatcher ? null : dispatcher.getOwner();
|
|
1204
|
+
}
|
|
1205
|
+
function UnknownOwner() {
|
|
1206
|
+
return Error("react-stack-top-frame");
|
|
1207
|
+
}
|
|
1208
|
+
function hasValidKey(config) {
|
|
1209
|
+
if (hasOwnProperty$1.call(config, "key")) {
|
|
1210
|
+
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
1211
|
+
if (getter && getter.isReactWarning) return !1;
|
|
1212
|
+
}
|
|
1213
|
+
return void 0 !== config.key;
|
|
1214
|
+
}
|
|
1215
|
+
function defineKeyPropWarningGetter(props, displayName) {
|
|
1216
|
+
function warnAboutAccessingKey() {
|
|
1217
|
+
specialPropKeyWarningShown || (specialPropKeyWarningShown = !0, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", displayName));
|
|
1218
|
+
}
|
|
1219
|
+
warnAboutAccessingKey.isReactWarning = !0;
|
|
1220
|
+
Object.defineProperty(props, "key", {
|
|
1221
|
+
get: warnAboutAccessingKey,
|
|
1222
|
+
configurable: !0
|
|
1223
|
+
});
|
|
1224
|
+
}
|
|
1225
|
+
function elementRefGetterWithDeprecationWarning() {
|
|
1226
|
+
var componentName = getComponentNameFromType(this.type);
|
|
1227
|
+
didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = !0, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."));
|
|
1228
|
+
componentName = this.props.ref;
|
|
1229
|
+
return void 0 !== componentName ? componentName : null;
|
|
1230
|
+
}
|
|
1231
|
+
function ReactElement$1(type, key, props, owner, debugStack, debugTask) {
|
|
1232
|
+
var refProp = props.ref;
|
|
1233
|
+
type = {
|
|
1234
|
+
$$typeof: REACT_ELEMENT_TYPE$2,
|
|
1235
|
+
type,
|
|
1236
|
+
key,
|
|
1237
|
+
props,
|
|
1238
|
+
_owner: owner
|
|
1239
|
+
};
|
|
1240
|
+
null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
|
|
1241
|
+
enumerable: !1,
|
|
1242
|
+
get: elementRefGetterWithDeprecationWarning
|
|
1243
|
+
}) : Object.defineProperty(type, "ref", {
|
|
1244
|
+
enumerable: !1,
|
|
1245
|
+
value: null
|
|
1246
|
+
});
|
|
1247
|
+
type._store = {};
|
|
1248
|
+
Object.defineProperty(type._store, "validated", {
|
|
1249
|
+
configurable: !1,
|
|
1250
|
+
enumerable: !1,
|
|
1251
|
+
writable: !0,
|
|
1252
|
+
value: 0
|
|
1253
|
+
});
|
|
1254
|
+
Object.defineProperty(type, "_debugInfo", {
|
|
1255
|
+
configurable: !1,
|
|
1256
|
+
enumerable: !1,
|
|
1257
|
+
writable: !0,
|
|
1258
|
+
value: null
|
|
1259
|
+
});
|
|
1260
|
+
Object.defineProperty(type, "_debugStack", {
|
|
1261
|
+
configurable: !1,
|
|
1262
|
+
enumerable: !1,
|
|
1263
|
+
writable: !0,
|
|
1264
|
+
value: debugStack
|
|
1265
|
+
});
|
|
1266
|
+
Object.defineProperty(type, "_debugTask", {
|
|
1267
|
+
configurable: !1,
|
|
1268
|
+
enumerable: !1,
|
|
1269
|
+
writable: !0,
|
|
1270
|
+
value: debugTask
|
|
1271
|
+
});
|
|
1272
|
+
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
1273
|
+
return type;
|
|
1274
|
+
}
|
|
1275
|
+
function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
|
|
1276
|
+
var children = config.children;
|
|
1277
|
+
if (void 0 !== children) if (isStaticChildren) if (isArrayImpl$1(children)) {
|
|
1278
|
+
for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++) validateChildKeys(children[isStaticChildren]);
|
|
1279
|
+
Object.freeze && Object.freeze(children);
|
|
1280
|
+
} else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1281
|
+
else validateChildKeys(children);
|
|
1282
|
+
if (hasOwnProperty$1.call(config, "key")) {
|
|
1283
|
+
children = getComponentNameFromType(type);
|
|
1284
|
+
var keys = Object.keys(config).filter(function(k) {
|
|
1285
|
+
return "key" !== k;
|
|
1286
|
+
});
|
|
1287
|
+
isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1288
|
+
didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error("A props object containing a \"key\" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />", isStaticChildren, children, keys, children), didWarnAboutKeySpread[children + isStaticChildren] = !0);
|
|
1289
|
+
}
|
|
1290
|
+
children = null;
|
|
1291
|
+
void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
|
|
1292
|
+
hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
|
|
1293
|
+
if ("key" in config) {
|
|
1294
|
+
maybeKey = {};
|
|
1295
|
+
for (var propName in config) "key" !== propName && (maybeKey[propName] = config[propName]);
|
|
1296
|
+
} else maybeKey = config;
|
|
1297
|
+
children && defineKeyPropWarningGetter(maybeKey, "function" === typeof type ? type.displayName || type.name || "Unknown" : type);
|
|
1298
|
+
return ReactElement$1(type, children, maybeKey, getOwner(), debugStack, debugTask);
|
|
1299
|
+
}
|
|
1300
|
+
function validateChildKeys(node) {
|
|
1301
|
+
isValidElement$1(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE$1 && ("fulfilled" === node._payload.status ? isValidElement$1(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
|
|
1302
|
+
}
|
|
1303
|
+
function isValidElement$1(object) {
|
|
1304
|
+
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE$2;
|
|
1305
|
+
}
|
|
1306
|
+
var React = require_react(), REACT_ELEMENT_TYPE$2 = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE$1 = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE$2 = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE$1 = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE$1 = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE$1 = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE$1 = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE$1 = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE$1 = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE$1 = Symbol.for("react.memo"), REACT_LAZY_TYPE$1 = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE$1 = Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals$1 = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty$1 = Object.prototype.hasOwnProperty, isArrayImpl$1 = Array.isArray, createTask = console.createTask ? console.createTask : function() {
|
|
1307
|
+
return null;
|
|
1308
|
+
};
|
|
1309
|
+
React = { react_stack_bottom_frame: function(callStackForError) {
|
|
1310
|
+
return callStackForError();
|
|
1311
|
+
} };
|
|
1312
|
+
var specialPropKeyWarningShown;
|
|
1313
|
+
var didWarnAboutElementRef = {};
|
|
1314
|
+
var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(React, UnknownOwner)();
|
|
1315
|
+
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
1316
|
+
var didWarnAboutKeySpread = {};
|
|
1317
|
+
exports.Fragment = REACT_FRAGMENT_TYPE$2;
|
|
1318
|
+
exports.jsx = function(type, config, maybeKey) {
|
|
1319
|
+
var trackActualOwner = 1e4 > ReactSharedInternals$1.recentlyCreatedOwnerStacks++;
|
|
1320
|
+
return jsxDEVImpl(type, config, maybeKey, !1, trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack, trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask);
|
|
1321
|
+
};
|
|
1322
|
+
exports.jsxs = function(type, config, maybeKey) {
|
|
1323
|
+
var trackActualOwner = 1e4 > ReactSharedInternals$1.recentlyCreatedOwnerStacks++;
|
|
1324
|
+
return jsxDEVImpl(type, config, maybeKey, !0, trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack, trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask);
|
|
1325
|
+
};
|
|
1326
|
+
})();
|
|
1327
|
+
}) });
|
|
1328
|
+
|
|
1329
|
+
//#endregion
|
|
1330
|
+
//#region ../../node_modules/.pnpm/react@19.2.0/node_modules/react/jsx-runtime.js
|
|
1331
|
+
var require_jsx_runtime = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/react@19.2.0/node_modules/react/jsx-runtime.js": ((exports, module) => {
|
|
1332
|
+
if (process.env.NODE_ENV === "production") module.exports = require_react_jsx_runtime_production();
|
|
1333
|
+
else module.exports = require_react_jsx_runtime_development();
|
|
1334
|
+
}) });
|
|
1335
|
+
|
|
1336
|
+
//#endregion
|
|
1337
|
+
export { require_react as n, require_jsx_runtime as t };
|
|
1338
|
+
//# sourceMappingURL=jsx-runtime-CFd_ktZn.js.map
|