@burdenoff/fe-libs 2026.1027.5 → 2026.1027.6
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/_virtual/_rolldown/runtime.js +2 -5
- package/dist/node_modules/@openuidev/devtools/dist/index.js +34 -35
- package/dist/node_modules/@openuidev/lang-core/dist/index.js +826 -828
- package/dist/node_modules/@openuidev/react-lang/dist/index.js +6 -7
- package/dist/shared/assistant/openui/library.js +73 -73
- package/package.json +1 -1
- package/dist/node_modules/react-dom/cjs/react-dom-client.development.js +0 -11168
- package/dist/node_modules/react-dom/cjs/react-dom-client.production.js +0 -7384
- package/dist/node_modules/react-dom/client.js +0 -19
- package/dist/node_modules/scheduler/cjs/scheduler.development.js +0 -203
- package/dist/node_modules/scheduler/cjs/scheduler.production.js +0 -203
- package/dist/node_modules/scheduler/index.js +0 -10
- package/dist/node_modules/zod/v4/classic/errors.js +0 -23
- package/dist/node_modules/zod/v4/classic/iso.js +0 -31
- package/dist/node_modules/zod/v4/classic/parse.js +0 -6
- package/dist/node_modules/zod/v4/classic/schemas.js +0 -339
- package/dist/node_modules/zod/v4/core/api.js +0 -491
- package/dist/node_modules/zod/v4/core/checks.js +0 -283
- package/dist/node_modules/zod/v4/core/core.js +0 -44
- package/dist/node_modules/zod/v4/core/doc.js +0 -23
- package/dist/node_modules/zod/v4/core/errors.js +0 -41
- package/dist/node_modules/zod/v4/core/json-schema-processors.js +0 -306
- package/dist/node_modules/zod/v4/core/parse.js +0 -68
- package/dist/node_modules/zod/v4/core/regexes.js +0 -25
- package/dist/node_modules/zod/v4/core/registries.js +0 -40
- package/dist/node_modules/zod/v4/core/schemas.js +0 -796
- package/dist/node_modules/zod/v4/core/to-json-schema.js +0 -222
- package/dist/node_modules/zod/v4/core/util.js +0 -266
- package/dist/node_modules/zod/v4/core/versions.js +0 -8
|
@@ -15,9 +15,6 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
15
15
|
}, u = (n, r, a) => (a = n == null ? {} : e(i(n)), l(r || !n || !n.__esModule ? t(a, "default", {
|
|
16
16
|
value: n,
|
|
17
17
|
enumerable: !0
|
|
18
|
-
}) : a, n)), d = (e) => a.call(e, "module.exports") ? e["module.exports"] : l(t({}, "__esModule", { value: !0 }), e)
|
|
19
|
-
if (typeof require < "u") return require.apply(this, arguments);
|
|
20
|
-
throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
|
|
21
|
-
});
|
|
18
|
+
}) : a, n)), d = (e) => a.call(e, "module.exports") ? e["module.exports"] : l(t({}, "__esModule", { value: !0 }), e);
|
|
22
19
|
//#endregion
|
|
23
|
-
export { s as __commonJSMin, o as __esmMin, c as __exportAll,
|
|
20
|
+
export { s as __commonJSMin, o as __esmMin, c as __exportAll, d as __toCommonJS, u as __toESM };
|
|
@@ -1,60 +1,59 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { useEffect as t } from "react";
|
|
2
|
+
import { useEffect as e } from "react";
|
|
4
3
|
//#region node_modules/@openuidev/devtools/dist/index.mjs
|
|
5
|
-
var
|
|
6
|
-
function
|
|
7
|
-
let
|
|
8
|
-
return
|
|
4
|
+
var t = /^\d+(\.\d+){0,2}$/;
|
|
5
|
+
function n(e) {
|
|
6
|
+
let n = e?.trim();
|
|
7
|
+
return n ? t.test(n) ? n : null : "latest";
|
|
9
8
|
}
|
|
10
|
-
var
|
|
11
|
-
function
|
|
12
|
-
let t =
|
|
9
|
+
var r = 300 * 1e3;
|
|
10
|
+
function i(e) {
|
|
11
|
+
let t = n(e);
|
|
13
12
|
if (t === null) return null;
|
|
14
|
-
let
|
|
15
|
-
return /^\d+\.\d+\.\d+$/.test(t) ?
|
|
13
|
+
let i = `https://cdn.jsdelivr.net/npm/@openuidev/devtools@${t}/dist/devtools.browser.js`;
|
|
14
|
+
return /^\d+\.\d+\.\d+$/.test(t) ? i : `${i}?t=${Math.floor(Date.now() / r)}`;
|
|
16
15
|
}
|
|
17
|
-
function
|
|
18
|
-
let { version:
|
|
19
|
-
if (!(
|
|
20
|
-
let
|
|
21
|
-
if (
|
|
22
|
-
let
|
|
23
|
-
|
|
16
|
+
function a(e = {}) {
|
|
17
|
+
let { version: t, enabled: n, ...r } = e;
|
|
18
|
+
if (!(n ?? (typeof process > "u" || process.env.NODE_ENV !== "production")) || typeof document > "u") return () => {};
|
|
19
|
+
let a = i(t);
|
|
20
|
+
if (a === null) return console.warn(`[@openuidev/devtools] invalid version "${t?.trim()}" — use a major ("0"), minor ("0.1"), or exact ("0.1.0") pin. Widget not mounted.`), () => {};
|
|
21
|
+
let o = !1, s = () => {
|
|
22
|
+
o = !0;
|
|
24
23
|
};
|
|
25
24
|
return Promise.all([
|
|
26
25
|
import(
|
|
27
26
|
/* webpackIgnore: true */
|
|
28
27
|
/* @vite-ignore */
|
|
29
|
-
|
|
28
|
+
a
|
|
30
29
|
),
|
|
31
30
|
import("react"),
|
|
32
31
|
import("react-dom"),
|
|
33
|
-
import("
|
|
34
|
-
]).then(([e, t,
|
|
35
|
-
if (
|
|
36
|
-
let
|
|
37
|
-
|
|
32
|
+
import("react-dom/client")
|
|
33
|
+
]).then(([e, t, i, a]) => {
|
|
34
|
+
if (o) return;
|
|
35
|
+
let c = () => {
|
|
36
|
+
o || (s = e.mountOpenUIDevtools({
|
|
38
37
|
React: t,
|
|
39
|
-
ReactDOM:
|
|
38
|
+
ReactDOM: i,
|
|
40
39
|
ReactDOMClient: a,
|
|
41
40
|
loadReactLang: () => import("../../react-lang/dist/index.js"),
|
|
42
41
|
props: {
|
|
43
|
-
...
|
|
44
|
-
enabled:
|
|
42
|
+
...r,
|
|
43
|
+
enabled: n
|
|
45
44
|
}
|
|
46
45
|
}));
|
|
47
46
|
};
|
|
48
|
-
document.body ?
|
|
49
|
-
}).catch(() => {}), () =>
|
|
47
|
+
document.body ? c() : document.addEventListener("DOMContentLoaded", c, { once: !0 });
|
|
48
|
+
}).catch(() => {}), () => s();
|
|
50
49
|
}
|
|
51
|
-
function
|
|
52
|
-
let { enabled: n, position: r, maxEvents: i, errorsOnly:
|
|
53
|
-
return
|
|
50
|
+
function o(t) {
|
|
51
|
+
let { enabled: n, position: r, maxEvents: i, errorsOnly: o, autoOpenOnError: s, theme: c, version: l, __autoMounted: u } = t;
|
|
52
|
+
return e(() => a({
|
|
54
53
|
enabled: n,
|
|
55
54
|
position: r,
|
|
56
55
|
maxEvents: i,
|
|
57
|
-
errorsOnly:
|
|
56
|
+
errorsOnly: o,
|
|
58
57
|
autoOpenOnError: s,
|
|
59
58
|
theme: c,
|
|
60
59
|
version: l,
|
|
@@ -63,7 +62,7 @@ function s(e) {
|
|
|
63
62
|
n,
|
|
64
63
|
r,
|
|
65
64
|
i,
|
|
66
|
-
|
|
65
|
+
o,
|
|
67
66
|
s,
|
|
68
67
|
c,
|
|
69
68
|
l,
|
|
@@ -71,4 +70,4 @@ function s(e) {
|
|
|
71
70
|
]), null;
|
|
72
71
|
}
|
|
73
72
|
//#endregion
|
|
74
|
-
export {
|
|
73
|
+
export { o as OpenUIDevtools };
|