@devframes/hub-ui 0.9.16 → 0.9.18
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 +13 -6
- package/dist/client/standalone/assets/{DockStandalone-CQJV-WSf.js → DockStandalone-9hV4q-BV.js} +2 -2
- package/dist/client/standalone/assets/context-DqwXZ41X.js +1 -0
- package/dist/client/standalone/assets/{index-qBrvmyIw.js → index-DuHeA4a8.js} +2 -2
- package/dist/client/standalone/assets/{popup-DA7RJqFP.js → popup-BxQKEU7g.js} +3 -3
- package/dist/client/standalone/index.html +1 -1
- package/package.json +8 -8
- package/dist/client/standalone/assets/context-B5Wzvr6b.js +0 -1
package/dist/client/embedded.js
CHANGED
|
@@ -11610,9 +11610,12 @@ function bS(e) {
|
|
|
11610
11610
|
pendingSelectId: null
|
|
11611
11611
|
}), n = /* @__PURE__ */ new Map(), r = !0, i = null;
|
|
11612
11612
|
async function a() {
|
|
11613
|
-
let a = await e.rpc.call("devframes:plugin:messages:list", i), o = 0;
|
|
11614
|
-
a.full
|
|
11615
|
-
|
|
11613
|
+
let a = await e.rpc.call("devframes:plugin:messages:list", i), o = 0, s = a.removedIds;
|
|
11614
|
+
if (a.full) {
|
|
11615
|
+
let e = new Set(a.entries.map((e) => e.id));
|
|
11616
|
+
s = [...n.keys()].filter((t) => !e.has(t));
|
|
11617
|
+
}
|
|
11618
|
+
for (let e of s) n.delete(e), hS(e);
|
|
11616
11619
|
for (let e of a.entries) {
|
|
11617
11620
|
let t = n.get(e.id);
|
|
11618
11621
|
t || o++, yS(e, t, r) && mS(e), n.set(e.id, e);
|
|
@@ -16097,8 +16100,10 @@ var Ck = t((() => {})), wk, Tk, Ek, Dk, Ok, kk, Ak, jk = t((() => {
|
|
|
16097
16100
|
let t = e.context, n = Mc("viewsContainer"), r = a_(n, t.panel, () => i_(t.docks.selected)), i = s_(t, (e) => {
|
|
16098
16101
|
e || t.docks.switchEntry(null);
|
|
16099
16102
|
});
|
|
16100
|
-
z(() => t.docks.
|
|
16101
|
-
|
|
16103
|
+
z([() => t.docks.groupedEntries, i], ([e, n]) => {
|
|
16104
|
+
if (!n || t.docks.selectedId) return;
|
|
16105
|
+
let r = e.flatMap(([, e]) => e).find((e) => e.type !== "action" && e.type !== "~builtin");
|
|
16106
|
+
r && t.docks.switchEntry(r.id);
|
|
16102
16107
|
}, { immediate: !0 });
|
|
16103
16108
|
let a = J(() => t.docks.groupedEntries), o = J(() => Mg(t.docks.entries, t.docks.selected));
|
|
16104
16109
|
function s(e) {
|
|
@@ -16454,7 +16459,9 @@ async function nj(e, t) {
|
|
|
16454
16459
|
function rj(e, t) {
|
|
16455
16460
|
if (e.type !== "action" && ij.has(e.id)) return ij.get(e.id);
|
|
16456
16461
|
let n = nj(e, t);
|
|
16457
|
-
return e.type !== "action" && ij.set(e.id, n), n
|
|
16462
|
+
return e.type !== "action" && (ij.set(e.id, n), n.catch(() => {
|
|
16463
|
+
ij.get(e.id) === n && ij.delete(e.id);
|
|
16464
|
+
})), n;
|
|
16458
16465
|
}
|
|
16459
16466
|
var ij, aj = t((() => {
|
|
16460
16467
|
Qi(), ij = /* @__PURE__ */ new Map();
|