@devframes/hub-ui 0.9.9 → 0.9.10
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/client/embedded.js +8 -6
- package/dist/client/standalone/assets/{DockStandalone-Ce0YdEIy.js → DockStandalone-3_CzgPVL.js} +1 -1
- package/dist/client/standalone/assets/{context-DBww7Wy4.js → context-Bt79Y4N5.js} +1 -1
- package/dist/client/standalone/assets/{index-WkX38nos.js → index-BGXSUn0A.js} +4 -4
- package/dist/client/standalone/assets/{popup-e5pfQ1h4.js → popup-B_knQQry.js} +3 -3
- package/dist/client/standalone/index.html +1 -1
- package/package.json +8 -8
package/dist/client/embedded.js
CHANGED
|
@@ -107,7 +107,8 @@ var f, p, m, h, g, _ = t((() => {
|
|
|
107
107
|
dockRenderers: "devframe:dock-renderers"
|
|
108
108
|
},
|
|
109
109
|
stream: { terminals: "devframe:terminals" },
|
|
110
|
-
postMessage: { frameNav: "devframe:frame-nav" }
|
|
110
|
+
postMessage: { frameNav: "devframe:frame-nav" },
|
|
111
|
+
broadcastChannel: { docksActivate: "devframe:docks:activate" }
|
|
111
112
|
}, y = {
|
|
112
113
|
framework: -100,
|
|
113
114
|
default: 0,
|
|
@@ -2027,12 +2028,12 @@ async function Tr(e = {}) {
|
|
|
2027
2028
|
try {
|
|
2028
2029
|
let n = await fetch(t);
|
|
2029
2030
|
if (!n.ok) throw Error(`Failed to fetch connection meta from ${i}: ${n.status}`);
|
|
2030
|
-
let r = await n.json(), a = {
|
|
2031
|
+
let r = await n.json(), a = n.url || i, o = {
|
|
2031
2032
|
connectionMeta: r,
|
|
2032
|
-
metaBaseUrl:
|
|
2033
|
+
metaBaseUrl: r.baseUrl ? new URL(r.baseUrl, a).href : a,
|
|
2033
2034
|
authToken: yr(e.authToken ?? r.authToken)
|
|
2034
2035
|
};
|
|
2035
|
-
return br(
|
|
2036
|
+
return br(o), o;
|
|
2036
2037
|
} catch (e) {
|
|
2037
2038
|
r.push(e);
|
|
2038
2039
|
}
|
|
@@ -8367,7 +8368,8 @@ function bg(e, t, n, r) {
|
|
|
8367
8368
|
}
|
|
8368
8369
|
}
|
|
8369
8370
|
function xg(e, t, n, r) {
|
|
8370
|
-
|
|
8371
|
+
let i = bg(e, t.id, n, r);
|
|
8372
|
+
return (i?.type === "action" ? void 0 : i) ?? bg(e, t.id, t.defaultChildId, r);
|
|
8371
8373
|
}
|
|
8372
8374
|
function Sg(e, t) {
|
|
8373
8375
|
return e ? t ? !Sh(e, t) : e === "false" : !1;
|
|
@@ -16327,7 +16329,7 @@ async function KA(e, t, n, r, i = /* @__PURE__ */ F(!0)) {
|
|
|
16327
16329
|
logs: n
|
|
16328
16330
|
}));
|
|
16329
16331
|
}, le = (e) => {
|
|
16330
|
-
e.type === "iframe" && e.frameId && !e.subTabs && oe.set(e.frameId, e.id), e.groupId && ((r.value.groupLastChildIds ??= {})[e.groupId] = e.id), e.type !== "iframe" && (r.value.selectedDockRoute = null);
|
|
16332
|
+
e.type === "iframe" && e.frameId && !e.subTabs && oe.set(e.frameId, e.id), e.type !== "action" && e.groupId && ((r.value.groupLastChildIds ??= {})[e.groupId] = e.id), e.type !== "iframe" && (r.value.selectedDockRoute = null);
|
|
16331
16333
|
}, ue = async (t = null) => {
|
|
16332
16334
|
if (t == null) return m.value = !1, h.value = null, r.value.open = !1, r.value.selectedDockRoute = null, !0;
|
|
16333
16335
|
if (t === "~client-auth-notice") return m.value = !1, h.value = t, r.value.open = !0, !0;
|