@ai-ecoverse/slicc-spectrum 1.68.0 → 1.68.2
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/slicc-ui.js +4 -18
- package/dist/slicc-ui.js.map +3 -3
- package/package.json +2 -2
package/dist/slicc-ui.js
CHANGED
|
@@ -14398,22 +14398,8 @@ var SliccTerminalPanel = class extends ThemedElement {
|
|
|
14398
14398
|
const host4 = this.getRootNode().host;
|
|
14399
14399
|
const panel = host4?.localName === "slicc-dock" ? host4.api.getPanel(terminalPanel(id)) : void 0;
|
|
14400
14400
|
if (!panel) return Promise.resolve(false);
|
|
14401
|
-
if (
|
|
14402
|
-
|
|
14403
|
-
return new Promise((resolve2) => {
|
|
14404
|
-
const done2 = (hidden) => {
|
|
14405
|
-
watch.dispose();
|
|
14406
|
-
document.removeEventListener("visibilitychange", visible2);
|
|
14407
|
-
resolve2(hidden);
|
|
14408
|
-
};
|
|
14409
|
-
const watch = panel.api.onDidDimensionsChange((size4) => {
|
|
14410
|
-
if (laid(size4)) done2(true);
|
|
14411
|
-
});
|
|
14412
|
-
const visible2 = () => {
|
|
14413
|
-
if (!document.hidden) done2(false);
|
|
14414
|
-
};
|
|
14415
|
-
document.addEventListener("visibilitychange", visible2);
|
|
14416
|
-
}).then((hidden) => hidden || this.#seen(panel, screen).then(() => false));
|
|
14401
|
+
if (document.hidden) return Promise.resolve(true);
|
|
14402
|
+
return this.#seen(panel, screen).then(() => false);
|
|
14417
14403
|
}
|
|
14418
14404
|
#seen(panel, screen) {
|
|
14419
14405
|
const sized = laid(panel.api) ? Promise.resolve() : new Promise((resolve2) => {
|
|
@@ -26883,9 +26869,9 @@ e25("swc-icon-clock", o85);
|
|
|
26883
26869
|
// src/app/vault.ts
|
|
26884
26870
|
var exitNames = {
|
|
26885
26871
|
page: "This page",
|
|
26886
|
-
proxy: "
|
|
26872
|
+
proxy: "slicc on this computer",
|
|
26887
26873
|
"vault-direct": "Straight from the vault",
|
|
26888
|
-
"local-proxy": "
|
|
26874
|
+
"local-proxy": "slicc on this computer",
|
|
26889
26875
|
"cli-v": "Local SLICC, direct",
|
|
26890
26876
|
tailscale: "Tailscale",
|
|
26891
26877
|
"local-link": "Linked SLICC, through this page"
|