@burdenoff/fe-libs 2026.1027.2 → 2026.1027.3
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 +8 -5
- package/dist/node_modules/@openuidev/devtools/dist/index.js +74 -0
- package/dist/node_modules/@openuidev/lang-core/dist/index.js +3779 -0
- package/dist/node_modules/@openuidev/lang-core/dist/shared-Dzgc28Wo.js +39 -0
- package/dist/node_modules/@openuidev/observability/dist/index.js +30 -0
- package/dist/node_modules/@openuidev/react-lang/dist/exports-CLfR509v.js +946 -0
- package/dist/node_modules/@openuidev/react-lang/dist/index.js +25 -0
- package/dist/node_modules/ci-info/index.js +34 -0
- package/dist/node_modules/ci-info/vendors.json.js +331 -0
- package/dist/node_modules/react-dom/cjs/react-dom-client.development.js +11168 -0
- package/dist/node_modules/react-dom/cjs/react-dom-client.production.js +7384 -0
- package/dist/node_modules/react-dom/client.js +19 -0
- package/dist/node_modules/scheduler/cjs/scheduler.development.js +203 -0
- package/dist/node_modules/scheduler/cjs/scheduler.production.js +203 -0
- package/dist/node_modules/scheduler/index.js +10 -0
- package/dist/node_modules/zod/v4/classic/errors.js +23 -0
- package/dist/node_modules/zod/v4/classic/iso.js +31 -0
- package/dist/node_modules/zod/v4/classic/parse.js +6 -0
- package/dist/node_modules/zod/v4/classic/schemas.js +339 -0
- package/dist/node_modules/zod/v4/core/api.js +491 -0
- package/dist/node_modules/zod/v4/core/checks.js +283 -0
- package/dist/node_modules/zod/v4/core/core.js +44 -0
- package/dist/node_modules/zod/v4/core/doc.js +23 -0
- package/dist/node_modules/zod/v4/core/errors.js +41 -0
- package/dist/node_modules/zod/v4/core/json-schema-processors.js +306 -0
- package/dist/node_modules/zod/v4/core/parse.js +68 -0
- package/dist/node_modules/zod/v4/core/regexes.js +25 -0
- package/dist/node_modules/zod/v4/core/registries.js +40 -0
- package/dist/node_modules/zod/v4/core/schemas.js +796 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.js +222 -0
- package/dist/node_modules/zod/v4/core/util.js +266 -0
- package/dist/node_modules/zod/v4/core/versions.js +8 -0
- package/dist/shared/assistant/index.d.ts +4 -0
- package/dist/shared/assistant/openui/AssistantOpenUiBlock.d.ts +19 -0
- package/dist/shared/assistant/openui/AssistantOpenUiBlock.js +26 -0
- package/dist/shared/assistant/openui/AssistantRichContent.d.ts +13 -0
- package/dist/shared/assistant/openui/AssistantRichContent.js +37 -0
- package/dist/shared/assistant/openui/OpenUiBoundary.d.ts +26 -0
- package/dist/shared/assistant/openui/OpenUiBoundary.js +13 -0
- package/dist/shared/assistant/openui/generativeUi.d.ts +6 -0
- package/dist/shared/assistant/openui/generativeUi.js +12 -0
- package/dist/shared/assistant/openui/library.d.ts +2 -0
- package/dist/shared/assistant/openui/library.js +191 -0
- package/dist/shared/assistant/openui/limits.d.ts +12 -0
- package/dist/shared/assistant/openui/limits.js +7 -0
- package/dist/shared/assistant/openui/segments.d.ts +40 -0
- package/dist/shared/assistant/openui/segments.js +52 -0
- package/dist/shared/assistant/ui/AssistantMessageItem.js +115 -109
- package/dist/shared-assistant.js +108 -104
- package/package.json +2 -1
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
//#region \0rolldown/runtime.js
|
|
2
|
-
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports),
|
|
2
|
+
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (e && (t = e(e = 0)), t), s = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), c = (e, n) => {
|
|
3
3
|
let r = {};
|
|
4
4
|
for (var i in e) t(r, i, {
|
|
5
5
|
get: e[i],
|
|
6
6
|
enumerable: !0
|
|
7
7
|
});
|
|
8
8
|
return n || t(r, Symbol.toStringTag, { value: "Module" }), r;
|
|
9
|
-
},
|
|
9
|
+
}, l = (e, i, o, s) => {
|
|
10
10
|
if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
|
|
11
11
|
get: ((e) => i[e]).bind(null, d),
|
|
12
12
|
enumerable: !(s = n(i, d)) || s.enumerable
|
|
13
13
|
});
|
|
14
14
|
return e;
|
|
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))
|
|
18
|
+
}) : a, n)), d = (e) => a.call(e, "module.exports") ? e["module.exports"] : l(t({}, "__esModule", { value: !0 }), e), f = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof require < "u" ? require : e)[t] }) : e)(function(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
|
+
});
|
|
19
22
|
//#endregion
|
|
20
|
-
export {
|
|
23
|
+
export { s as __commonJSMin, o as __esmMin, c as __exportAll, f as __require, d as __toCommonJS, u as __toESM };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { __toESM as e } from "../../../../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { useEffect as t } from "react";
|
|
4
|
+
//#region node_modules/@openuidev/devtools/dist/index.mjs
|
|
5
|
+
var n = /^\d+(\.\d+){0,2}$/;
|
|
6
|
+
function r(e) {
|
|
7
|
+
let t = e?.trim();
|
|
8
|
+
return t ? n.test(t) ? t : null : "latest";
|
|
9
|
+
}
|
|
10
|
+
var i = 300 * 1e3;
|
|
11
|
+
function a(e) {
|
|
12
|
+
let t = r(e);
|
|
13
|
+
if (t === null) return null;
|
|
14
|
+
let n = `https://cdn.jsdelivr.net/npm/@openuidev/devtools@${t}/dist/devtools.browser.js`;
|
|
15
|
+
return /^\d+\.\d+\.\d+$/.test(t) ? n : `${n}?t=${Math.floor(Date.now() / i)}`;
|
|
16
|
+
}
|
|
17
|
+
function o(t = {}) {
|
|
18
|
+
let { version: n, enabled: r, ...i } = t;
|
|
19
|
+
if (!(r ?? (typeof process > "u" || process.env.NODE_ENV !== "production")) || typeof document > "u") return () => {};
|
|
20
|
+
let o = a(n);
|
|
21
|
+
if (o === null) return console.warn(`[@openuidev/devtools] invalid version "${n?.trim()}" — use a major ("0"), minor ("0.1"), or exact ("0.1.0") pin. Widget not mounted.`), () => {};
|
|
22
|
+
let s = !1, c = () => {
|
|
23
|
+
s = !0;
|
|
24
|
+
};
|
|
25
|
+
return Promise.all([
|
|
26
|
+
import(
|
|
27
|
+
/* webpackIgnore: true */
|
|
28
|
+
/* @vite-ignore */
|
|
29
|
+
o
|
|
30
|
+
),
|
|
31
|
+
import("react"),
|
|
32
|
+
import("react-dom"),
|
|
33
|
+
import("../../../react-dom/client.js").then((t) => /* @__PURE__ */ e(t.default, 1))
|
|
34
|
+
]).then(([e, t, n, a]) => {
|
|
35
|
+
if (s) return;
|
|
36
|
+
let o = () => {
|
|
37
|
+
s || (c = e.mountOpenUIDevtools({
|
|
38
|
+
React: t,
|
|
39
|
+
ReactDOM: n,
|
|
40
|
+
ReactDOMClient: a,
|
|
41
|
+
loadReactLang: () => import("../../react-lang/dist/index.js"),
|
|
42
|
+
props: {
|
|
43
|
+
...i,
|
|
44
|
+
enabled: r
|
|
45
|
+
}
|
|
46
|
+
}));
|
|
47
|
+
};
|
|
48
|
+
document.body ? o() : document.addEventListener("DOMContentLoaded", o, { once: !0 });
|
|
49
|
+
}).catch(() => {}), () => c();
|
|
50
|
+
}
|
|
51
|
+
function s(e) {
|
|
52
|
+
let { enabled: n, position: r, maxEvents: i, errorsOnly: a, autoOpenOnError: s, theme: c, version: l, __autoMounted: u } = e;
|
|
53
|
+
return t(() => o({
|
|
54
|
+
enabled: n,
|
|
55
|
+
position: r,
|
|
56
|
+
maxEvents: i,
|
|
57
|
+
errorsOnly: a,
|
|
58
|
+
autoOpenOnError: s,
|
|
59
|
+
theme: c,
|
|
60
|
+
version: l,
|
|
61
|
+
__autoMounted: u
|
|
62
|
+
}), [
|
|
63
|
+
n,
|
|
64
|
+
r,
|
|
65
|
+
i,
|
|
66
|
+
a,
|
|
67
|
+
s,
|
|
68
|
+
c,
|
|
69
|
+
l,
|
|
70
|
+
u
|
|
71
|
+
]), null;
|
|
72
|
+
}
|
|
73
|
+
//#endregion
|
|
74
|
+
export { s as OpenUIDevtools };
|